:root {
  /* Light theme colors */
  --background-color: #ffffff;
  --text-color: #333333;
  --primary-color: #0066cc; /* Ana mavi renk */
  --primary-color-rgb: 0, 102, 204;
  --secondary-color: #003366; /* Koyu mavi */
  --secondary-color-rgb: 0, 51, 102;
  --accent-color: #66b3ff; /* Açık mavi */
  --accent-color-rgb: 102, 179, 255;
  --card-background: #f0f8ff; /* Çok açık mavi arka plan */
  --header-background: rgba(255, 255, 255, 0.9);
  --border-color: #cce6ff;
  --shadow-color: rgba(0, 51, 102, 0.1);
  --footer-background: #003366; /* Koyu mavi footer */
  --footer-text: #f0f8ff;
  --section-alt-background: #e6f2ff; /* Alternatif bölüm arka planı */
}

[data-theme="dark"] {
  /* Dark theme colors */
  --background-color: #0f1a2a; /* Koyu lacivert arka plan */
  --text-color: #e6f2ff;
  --primary-color: #3b82f6;
  --primary-color-rgb: 59, 130, 246;
  --secondary-color: #0066cc;
  --secondary-color-rgb: 0, 102, 204;
  --accent-color: #66b3ff;
  --accent-color-rgb: 102, 179, 255;
  --card-background: #1e2a3b;
  --header-background: rgba(15, 26, 42, 0.9);
  --border-color: #334155;
  --shadow-color: rgba(102, 179, 255, 0.2);
  --footer-background: #0a1428;
  --footer-text: #cce6ff;
  --section-alt-background: #172a45;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Wider content areas to fill approximately 75% of screen */
.scroll-container,
.services-grid,
.about-grid,
.product-slider,
.stats-grid,
.contact-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

.text-center {
  text-align: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-color);
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Theme Switch */
.theme-switch-wrapper {
  position: fixed;
  top: 20px;
  right: 80px;
  z-index: 1000;
}

.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: var(--card-background);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  border: 1px solid var(--border-color);
}

.slider:before {
  background-color: var(--primary-color);
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}

input:checked + .slider {
  background-color: var(--card-background);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.slider.round:before {
  border-radius: 50%;
}

.fa-sun {
  color: #f59e0b;
}

.fa-moon {
  color: #6366f1;
}

/* Header and Navigation */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--header-background);
  padding: 15px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px var(--shadow-color);
  backdrop-filter: blur(15px);
}

#header.scrolled {
  padding: 10px 0;
  background-color: var(--header-background);
}

.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}

.logo a:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin-right: 10px;
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
}

#navbar ul {
  display: flex;
}

#navbar ul li {
  margin-left: 30px;
  position: relative;
}

#navbar ul li a {
  color: var(--text-color);
  font-weight: 600;
  padding: 10px 15px;
  position: relative;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#navbar ul li a:hover {
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

#navbar ul li a.active {
  background-color: var(--primary-color);
  color: white;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--card-background);
  min-width: 200px;
  box-shadow: 0 5px 15px var(--shadow-color);
  border-radius: 8px;
  overflow: hidden;
  z-index: 1000;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent var(--card-background) transparent;
}

.dropdown-content a {
  color: var(--text-color);
  padding: 12px 20px;
  display: block;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s ease;
  text-align: center;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: var(--primary-color);
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobil için dropdown düzeltmesi */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    display: none;
    opacity: 1;
  }
  
  .dropdown-content:before {
    display: none;
  }
  
  .dropdown.active .dropdown-content {
    display: block;
  }
  
  .dropdown > a {
    display: block;
    width: 100%;
  }
}

/* Menü hover geçişlerini düzelt */
#navbar ul li a {
  position: relative;
  overflow: hidden;
}

#navbar ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

#navbar ul li a:hover:after {
  width: 80%;
}

#navbar ul li a.active:after {
  width: 80%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  position: relative;
  z-index: 101;
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--accent-color-rgb), 0.1) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: 3.5rem;
  color: var(--text-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-color);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Animated Line */
.animated-lines {
  width: 100%;
  margin-bottom: 40px;
}

.path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: dash 3s linear forwards;
  stroke: #000 !important; /* Siyah renk */
  stroke-width: 4px !important; /* Daha kalın çizgi */
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

/* Services Section */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.section-header:hover h2::after {
  width: 100px;
}

.section-header p {
  color: var(--text-color);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.service-card .icon {
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.service-card h3 {
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
  color: var(--primary-color);
}

.read-more i {
  transition: transform 0.3s ease;
  margin-left: 5px;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 20px 40px var(--shadow-color);
}

.about-image img {
  transition: transform 0.5s ease;
  display: block;
  width: 100%;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
}

/* Products Section */
.product-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  padding: 20px 20px 10px;
}

.product-card p {
  padding: 0 20px 20px;
}

/* Stats Section */
#stats {
  background-color: var(--primary-color);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-item i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
}

.stat-item p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item i {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--card-background);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
#footer {
  background-color: var(--footer-background);
  color: var(--footer-text);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-about h3,
.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.footer-about h3::after,
.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
  color: var(--footer-text);
  transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-newsletter form {
  display: flex;
  margin-top: 20px;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 50px 0 0 50px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-newsletter input:focus {
  outline: none;
}

.footer-newsletter button {
  border-radius: 0 50px 50px 0;
  padding: 0 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll To Top Button */
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

#scrollToTop.visible {
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Section Styles - Basit Slider */
.scroll-section {
  padding: 100px 0;
  overflow: hidden;
  background-color: var(--section-alt-background);
  position: relative;
}

.scroll-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  flex-direction: row;
  min-height: 450px;
}

.scroll-text-container {
  width: 50%;
  padding-right: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-text {
  position: absolute;
  width: 100%;
  max-width: 500px;
  opacity: 0;
  visibility: hidden;
  padding: 30px;
  border-radius: 12px;
  background-color: var(--card-background);
  border-left: 3px solid transparent;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 1.5s ease;
  transform: translateX(-50px);
}

.scroll-text.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 10;
  border-left: 3px solid var(--primary-color);
}

.scroll-text h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.product-icon {
  margin-bottom: 15px;
  display: inline-block;
}

.product-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  background-color: rgba(var(--primary-color-rgb), 0.1);
  padding: 15px;
  border-radius: 12px;
  transition: all 0.5s ease;
}

.scroll-text.active .product-icon i {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.solution-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 15px;
  transition: all 0.3s ease;
}

.solution-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.solution-link:hover i {
  transform: translateX(5px);
}

.scroll-image-container {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* İllüstrasyonlar */
.scroll-illustration {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  transition: all 1.5s ease;
  transform: translateX(50px);
}

.scroll-illustration.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 10;
}

.illustration-wrapper {
  width: 90%;
  max-width: 500px;
  height: 400px;
  background-color: var(--card-background);
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.illustration-screen {
  width: 90%;
  height: 85%;
  background-color: var(--background-color);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.illustration-shape {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 50%;
}

.illustration-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: float 4s infinite ease-in-out;
}

.illustration-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.illustration-icon.primary {
  top: 20%;
  left: 25%;
  width: 100px;
  height: 100px;
  background-color: var(--primary-color);
  z-index: 10;
  animation-delay: 0s;
}

.illustration-icon.primary i {
  font-size: 3rem;
  color: white;
}

.illustration-icon.secondary {
  top: 40%;
  right: 15%;
  animation-delay: 0.5s;
}

.illustration-icon.tertiary {
  bottom: 20%;
  left: 15%;
  animation-delay: 1s;
}

.illustration-icon.quaternary {
  bottom: 30%;
  right: 30%;
  animation-delay: 1.5s;
}

/* Scroll Navigation */
.scroll-nav-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
  transition: all 0.3s ease;
  z-index: 20;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.scroll-nav-btn.prev-btn {
  left: -25px;
}

.scroll-nav-btn.next-btn {
  right: -25px;
}

.scroll-nav-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.scroll-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 30px;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(var(--primary-color-rgb), 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Container color alternations */
.bg-primary {
  background-color: var(--primary-color);
  color: white;
}

.bg-secondary {
  background-color: var(--section-alt-background);
}

.bg-accent {
  background-color: rgba(var(--accent-color-rgb), 0.1);
}

.bg-light {
  background-color: var(--card-background);
}

.text-light {
  color: white;
}

.section-title.light::after {
  background-color: white;
}

/* Page Header styles */
#page-header {
  padding: 120px 0 60px;
  text-align: center;
  background-color: var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

#page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: white;
}

#page-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

/* Services page styles */
.service-process {
  margin-top: 50px;
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.process-step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 80px;
  left: 35px;
  width: 1px;
  height: calc(100% - 40px);
  background-color: var(--primary-color);
  opacity: 0.5;
}

.step-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
  flex-shrink: 0;
  z-index: 1;
}

.step-icon i {
  color: white;
  font-size: 1.8rem;
}

.step-content h3 {
  margin-bottom: 10px;
}

/* Tab content styles */
.solution-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.tab-btn {
  padding: 10px 20px;
  background-color: var(--card-background);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-pane-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.tab-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px var(--shadow-color);
}

.tab-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.tab-image:hover img {
  transform: scale(1.05);
}

.tab-info {
  flex: 1;
  min-width: 300px;
}

.tab-info ul {
  margin-top: 20px;
}

.tab-info ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.tab-info ul li i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
}

/* Case Studies */
.case-studies {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.case-study {
  display: flex;
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px var(--shadow-color);
  transition: all 0.3s ease;
  flex-wrap: wrap;
}

.case-study:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.case-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study:hover .case-image img {
  transform: scale(1.05);
}

.case-content {
  flex: 2;
  padding: 30px;
  min-width: 300px;
}

.case-category {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--card-background);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.question h3 {
  margin: 0;
  font-size: 1.1rem;
  flex: 1;
}

.question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .question {
  background-color: var(--primary-color);
  color: white;
}

.faq-item.active .question i {
  transform: rotate(45deg);
  color: white;
}

.answer {
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .answer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

/* CTA Section */
#cta {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Products page styles */
.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 10px;
}

.filter-btn {
  padding: 10px 20px;
  background-color: var(--card-background);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.product-item {
  margin-bottom: 30px;
}

.product-card {
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--primary-color-rgb), 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.product-image:hover .product-overlay {
  opacity: 1;
}

.btn-details {
  padding: 12px 25px;
  background-color: white;
  color: var(--primary-color);
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-details:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.product-features {
  margin-top: auto;
  padding-top: 15px;
}

.product-features span {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.product-features i {
  color: var(--primary-color);
  margin-right: 5px;
}

/* Featured product section */
.featured-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.featured-info {
  flex: 1;
  min-width: 300px;
}

.featured-tag {
  display: inline-block;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.featured-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.spec-item {
  display: flex;
  align-items: center;
}

.spec-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.spec-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.spec-details h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.spec-details p {
  margin: 0;
  font-size: 0.9rem;
}

.featured-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.featured-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow-color);
}

.featured-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.featured-image:hover img {
  transform: scale(1.05);
}

/* Benefits section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 30px;
  background-color: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.benefit-icon i {
  color: var(--primary-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  background-color: var(--primary-color);
}

.benefit-item:hover .benefit-icon i {
  color: white;
  transform: rotateY(360deg);
}

/* Request Form */
.request-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.request-info {
  flex: 1;
  min-width: 300px;
}

.request-benefits {
  margin-top: 30px;
}

.request-benefits li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.request-benefits li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.request-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 15px 30px var(--shadow-color);
}

/* Contact page styles */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: start;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px var(--shadow-color);
}

#map {
  width: 100%;
  height: 100%;
}

.info-card {
  display: flex;
  align-items: flex-start;
  background-color: var(--card-background);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.info-content h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.info-content p {
  margin: 0 0 5px;
}

.social-media {
  margin-top: 30px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.contact-form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  justify-content: center;
  margin-bottom: 30px;
}

.contact-option {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
}

.contact-option:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.option-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.option-icon i {
  color: var(--primary-color);
  font-size: 2rem;
}

.option-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.option-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.option-link:hover::after {
  width: 100%;
}

.contact-form-wrapper {
  flex: 1;
  min-width: 300px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--card-background);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 15px 30px var(--shadow-color);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  min-width: 200px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-check input {
  margin-right: 10px;
  width: auto;
}

.form-check label {
  margin: 0;
  font-size: 0.9rem;
}

/* Offices section */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.office-card {
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px var(--shadow-color);
  transition: all 0.3s ease;
}

.office-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px var(--shadow-color);
}

.office-image {
  position: relative;
  height: 200px;
}

.office-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-location {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(var(--primary-color-rgb), 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 600;
}

.office-info {
  padding: 25px;
}

.office-info h3 {
  margin-bottom: 15px;
}

.office-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.office-info p i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* Dealers section */
.dealer-regions {
  max-width: 900px;
  margin: 0 auto;
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.region-tab {
  padding: 10px 20px;
  background-color: var(--card-background);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
}

.region-tab.active, .region-tab:hover {
  background-color: var(--primary-color);
  color: white;
}

.region-pane {
  display: none;
}

.region-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.dealers-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.dealer-item {
  background-color: var(--card-background);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.dealer-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.dealer-item h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.dealer-item p {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.dealer-item p i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* Robot Teknolojileri Sayfası Stilleri */
.service-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.service-content {
  flex: 1;
  min-width: 300px;
}

.service-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px var(--shadow-color);
}

.service-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.service-image:hover img {
  transform: scale(1.05);
}

.service-features {
  margin-top: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.feature-card .icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.case-studies-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.case-study {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
}

.case-study:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.case-study img {
  width: 300px;
  height: 100%;
  object-fit: cover;
}

.case-study-content {
  flex: 1;
  padding: 30px;
  min-width: 300px;
}

.results {
  margin-top: 20px;
}

.results li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.results li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.tech-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.tech-detail {
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
}

.tech-detail:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.industry {
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
}

.industry:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
  background-color: var(--primary-color);
  color: white;
}

.industry i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.industry:hover i {
  color: white;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 40px;
}

/* Responsive Tasarım Geliştirmeleri */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .about-grid,
  .contact-grid,
  .featured-content {
    grid-template-columns: 1fr;
  }

  .about-image,
  .featured-image {
    order: -1;
    margin-bottom: 30px;
  }

  .scroll-container {
    flex-direction: column;
    align-items: center;
  }

  .scroll-text-container,
  .scroll-image-container {
    width: 100%;
    position: relative;
    top: 0;
    height: auto;
  }

  .scroll-image-container {
    margin-top: 50px;
  }

  .scroll-illustration {
    position: relative;
    margin-bottom: 30px;
  }

  .theme-switch-wrapper {
    top: 80px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .menu-toggle {
    display: block;
  }

  #navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--card-background);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px var(--shadow-color);
    z-index: 100;
  }

  #navbar.active {
    right: 0;
  }

  #navbar ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  #navbar ul li {
    margin: 15px 0;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    opacity: 1;
    display: none;
    box-shadow: none;
    margin: 10px 0;
    text-align: center;
  }

  .dropdown-content:before {
    display: none;
  }

  .dropdown-content a {
    text-align: center;
  }

  .dropdown-content a:hover {
    transform: translateY(0);
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .cta-buttons,
  .featured-actions {
    flex-direction: column;
  }

  .theme-switch-wrapper {
    top: 20px;
    right: 80px;
  }

  .case-study {
    flex-direction: column;
  }

  .case-image {
    max-width: 100%;
  }

  .tab-pane-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .services-grid,
  .product-slider,
  .stats-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-option {
    min-width: 100%;
  }

  .contact-form {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .process-step:not(:last-child):after {
    display: none;
  }

  .step-icon {
    margin: 0 auto 20px;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .region-tabs {
    flex-direction: column;
  }

  .theme-switch-wrapper {
    top: 20px;
    right: 70px;
  }
}

/* Animasyonlu Success Message */
.success-message {
  text-align: center;
  padding: 30px;
}

.success-message i {
  font-size: 3rem;
  color: #4CAF50;
  margin-bottom: 20px;
}

.success-message h3 {
  margin-bottom: 15px;
}

/* Tarihçe Sağ-Sol Düzeni */
.timeline-carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
  overflow: hidden;
}

.timeline-carousel {
  position: relative;
  display: flex;
  transition: transform 0.6s ease;
  min-height: 400px;
}

.timeline-carousel::before {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-item {
  flex: 0 0 100%;
  width: 100%;
  padding: 20px 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  position: relative;
}

.timeline-item.active {
  opacity: 1;
}

.timeline-card {
  width: 48%;
  background-color: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow-color);
  position: relative;
  transition: all 0.5s ease;
}

.timeline-card.left {
  margin-right: auto;
}

.timeline-card.right {
  margin-left: auto;
}

.timeline-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.timeline-content {
  padding: 25px;
  position: relative;
}

.year-badge {
  position: absolute;
  background-color: var(--primary-color);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  top: -35px;
  z-index: 2;
  box-shadow: 0 0 0 5px var(--background-color), 0 0 0 10px rgba(var(--primary-color-rgb), 0.3);
}

.timeline-card.left .year-badge {
  right: 20px;
}

.timeline-card.right .year-badge {
  left: 20px;
}

.timeline-content h3 {
  margin-top: 15px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.timeline-content p {
  margin: 0;
}

.timeline-icon {
  position: absolute;
  background-color: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  bottom: -25px;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.5);
}

.timeline-card.left .timeline-icon {
  left: 20px;
}

.timeline-card.right .timeline-icon {
  right: 20px;
}

.timeline-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.timeline-nav-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.timeline-nav-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.5);
}

.timeline-progress {
  flex: 1;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 3px;
  position: relative;
  max-width: 300px;
}

.timeline-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  width: 0;
  transition: width 0.3s ease;
}

@media (max-width: 768px) {
  .timeline-card {
    width: 80%;
    margin: 0 auto;
  }

  .timeline-card.left .year-badge,
  .timeline-card.right .year-badge {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-card.left .timeline-icon,
  .timeline-card.right .timeline-icon {
    left: 50%;
    transform: translateX(-50%);
  }
}