/* ============================================
   CSS Variables - Color Palette
   ============================================ */
:root {
  --primary: #003399;
  --accent: #12B5C9;
  --text-dark: #1F2A37;
  --text-light: #6B7280;
  --bg-neutral: #F7FAFC;
  --success: #1CB58F;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  padding-top: 140px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* ============================================
   Container & Layout
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-title h2 {
  margin-bottom: 1.25rem;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: #4B5563;
  line-height: 1.7;
  font-weight: 400;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: var(--white);
  padding: 8px 0;
  z-index: 1002;
  font-size: 0.875rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 24px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-link {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.top-bar-link:hover {
  color: var(--accent);
}

.top-bar-link svg {
  flex-shrink: 0;
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.4);
}

.top-bar-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .top-bar-left {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .top-bar-right {
    gap: 0.5rem;
  }
  
  .top-bar-divider {
    display: none;
  }
  
  .top-bar-text {
    display: none;
  }
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
  top: 0;
  box-shadow: var(--shadow-md);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  list-style: none;
  margin-top: 0.5rem;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: var(--bg-neutral);
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-cta {
  margin-left: 0;
}

.language-selector {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 51, 153, 0.05);
}

.current-lang {
  min-width: 30px;
  text-align: center;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.language-selector.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.language-option:hover {
  background: var(--light-bg);
}

.language-option.active {
  background: rgba(0, 51, 153, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.lang-flag {
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 1024px) {
  .language-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
  
  .current-lang {
    min-width: 25px;
  }
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 1003;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

.mobile-menu-nav {
  flex: 1;
  padding: 1rem 0;
}

.mobile-menu-list {
  list-style: none;
}

.mobile-menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  width: 100%;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  cursor: pointer;
}

.mobile-menu-sublist {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu-toggle-sub.active + .mobile-menu-sublist {
  max-height: 500px;
}

.mobile-menu-sublist li a {
  display: block;
  padding: 0.75rem 1.5rem 0.75rem 3rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.mobile-menu-language {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mobile-language-selector {
  width: 100%;
}

.mobile-language-btn {
  width: 100%;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: var(--bg-neutral);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.mobile-language-dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  background: transparent;
  margin-top: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-language-selector.active .mobile-language-dropdown {
  display: flex;
}

.mobile-language-dropdown .language-option {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: left;
  justify-content: space-between;
}

.mobile-language-dropdown .language-option:hover {
  background: var(--bg-neutral);
  border-color: var(--primary);
}

.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.125rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 51, 153, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 51, 153, 0.4);
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.1);
}

.btn-outline::before {
  background: rgba(0, 51, 153, 0.1);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 51, 153, 0.3);
  border-color: var(--primary);
}

.btn-outline:active {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 10px 20px;
}

.btn-ghost:hover {
  background: var(--bg-neutral);
}

.btn-full {
  width: 100%;
}

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

.btn-success:hover {
  background: #159a7a;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  margin-top: -140px;
  padding-top: 140px;
  padding-left: 0;
  padding-right: 0;
  max-width: 100vw;
  width: 100%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  z-index: -1;
  border-radius: 0;
  overflow: hidden;
  /* Subtle pattern overlay for depth */
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-image-container {
    max-width: 500px;
    transform: none;
  }
  
  .hero-image-container:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .hero {
    max-width: 100vw;
    overflow-x: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-background {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    border-radius: 0;
    top: 0;
    height: 100%;
  }
  
  .hero-container {
    gap: 2rem;
    padding: 2rem 15px;
    max-width: 100vw;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  
  /* Hero section için ekstra genişlik kontrolü */
  section.hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    left: 0;
    right: 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.125rem;
  }
  
  .hero-image-wrapper {
    min-height: 400px;
    height: auto;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
  }
  
  .hero-image-container {
    max-width: 100%;
    width: 100%;
    min-height: 400px;
    height: auto;
    border-radius: 20px;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 51, 153, 0.2);
    transform: none;
  }
  
  .hero-slide {
    position: relative;
    padding: 20px;
  }
  
  .hero-slide .hero-image {
    min-height: 360px;
    height: auto;
    max-height: 500px;
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
  }
  
  .hero-slider-indicators {
    bottom: 15px;
    gap: 8px;
  }
  
  .hero-indicator {
    width: 10px;
    height: 10px;
  }
  
  .hero-indicator.active {
    width: 24px;
  }
  
  /* Hero image decoration'ları mobilde gizle */
  .hero-image-decoration,
  .hero-image-container::before {
    display: none;
  }
  
  .hero-image-overlay {
    display: none;
  }
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15); /* Subtle overlay for better text readability */
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 0;
  transform: translateZ(0);
  will-change: auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

/* Hero Image Section */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 51, 153, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  margin: 0;
  padding: 0;
}

/* Hero Slider Styles */
.hero-slider-container {
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide .hero-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

/* Hero Slider Indicators */
.hero-slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-indicator.active {
  background: var(--white);
  border-color: var(--white);
  width: 32px;
  border-radius: 6px;
}

.hero-image-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 51, 153, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.hero-image-container:hover .hero-slide.active .hero-image {
  transform: scale(1.05);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.2) 0%, rgba(0, 34, 102, 0.3) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.hero-image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  filter: blur(40px);
}

.hero-image-container::before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(18, 181, 201, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  filter: blur(30px);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.hero-badge svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 51, 153, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 51, 153, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 51, 153, 0.2), 0 0 0 1px rgba(0, 51, 153, 0.15);
  border-color: rgba(0, 51, 153, 0.25);
  background: var(--white);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  color: var(--white);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 51, 153, 0.25);
  position: relative;
  z-index: 1;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  filter: blur(8px);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 15px 40px rgba(0, 51, 153, 0.35);
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

.service-card:hover .service-icon::before {
  opacity: 0.5;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.3s ease;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  margin-bottom: 2rem;
  line-height: 1.75;
  color: #4B5563;
  font-size: 1rem;
  flex-grow: 1;
  font-weight: 400;
}

.service-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 51, 153, 0.25);
  text-transform: none;
  letter-spacing: 0.3px;
  pointer-events: none;
  position: relative;
  overflow: hidden;
}

.service-card-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.service-card:hover .service-card-btn::before {
  width: 300px;
  height: 300px;
}

.service-card:hover .service-card-btn {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 51, 153, 0.35);
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.25rem;
  }
  
  .section-title p {
    font-size: 1.125rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-icon {
    width: 75px;
    height: 75px;
    font-size: 2.25rem;
  }
  
  .service-card-btn {
    font-size: 0.875rem;
    padding: 0.875rem 1.5rem;
    margin-top: 0.75rem;
  }
  
  .btn {
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
  }
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
  background: var(--bg-neutral);
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-list {
  list-style: none;
}

.why-us-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.why-us-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.why-us-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

/* ============================================
   About Page Styles
   ============================================ */
.hero-small {
  min-height: 600px;
  padding: 140px 0 100px;
}

.hero-small .hero-background {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.about-intro {
  background: var(--white);
}

.about-intro-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-title-left {
  text-align: left;
  margin-bottom: 0;
}

.section-title-left h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-text-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about-stats-mini {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.stat-mini {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-mini-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-mini-label {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-weight: 500;
}

.about-intro-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  aspect-ratio: 4/3;
}

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

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

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.1) 0%, rgba(18, 181, 201, 0.1) 100%);
  pointer-events: none;
}

/* Mission & Vision - Modern Design */
.mission-vision {
  background: var(--white);
}

.mission-vision-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.mission-vision-item {
  position: relative;
  padding-left: 3rem;
}

.mission-vision-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.mission-vision-header {
  margin-bottom: 1.5rem;
}

.mission-vision-label {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0.75rem;
}

.mission-vision-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.mission-vision-text {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--text-light);
  margin: 0;
  max-width: 500px;
}

/* Timeline - Modern Text Design (Like "Biz Kimiz") */
.timeline-section {
  background: var(--white);
  padding: 80px 0;
}

.timeline-content-modern {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.timeline-text-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-text-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-text-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.timeline-text-item:last-child {
  border-bottom: none;
}

.timeline-year-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 80px;
  flex-shrink: 0;
  padding-top: 0.25rem;
}

.timeline-text-details {
  flex: 1;
}

.timeline-text-details h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-weight: 700;
}

.timeline-text-details p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
}

.timeline-image-side-modern {
  position: sticky;
  top: 160px;
}

.timeline-image-wrapper-modern {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  aspect-ratio: 4/5;
}

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

.timeline-image-wrapper-modern:hover img {
  transform: scale(1.05);
}

.timeline-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.1) 0%, rgba(18, 181, 201, 0.1) 100%);
  pointer-events: none;
}

/* Certificates - Modern Design */
.certificates-section {
  background: var(--white);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.certificate-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.certificate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.certificate-card:hover::before {
  transform: scaleX(1);
}

.certificate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.certificate-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.certificate-icon svg {
  stroke-width: 1.5;
}

.certificate-card:hover .certificate-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.certificate-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 700;
}

.certificate-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-intro-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .mission-vision-modern {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .mission-vision-item {
    padding-left: 2.5rem;
  }
  
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-content-modern {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .timeline-image-side-modern {
    position: static;
  }
  
  .timeline-image-wrapper-modern {
    aspect-ratio: 16/9;
  }
  
  .timeline-text-item {
    gap: 1.5rem;
  }
  
  .timeline-year-text {
    font-size: 1.25rem;
    min-width: 70px;
  }
  
  .timeline-text-details h3 {
    font-size: 1.375rem;
  }
}

@media (max-width: 768px) {
  .logo-image {
    width: 32px;
    height: 32px;
  }
  
  .navbar-logo {
    font-size: 1.25rem;
    gap: 0.5rem;
  }
  
  .hero-small {
    min-height: 500px;
    padding: 120px 0 80px;
  }
  
  .section-title-left h2 {
    font-size: 2rem;
  }
  
  .about-stats-mini {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat-mini-number {
    font-size: 2rem;
  }
  
  .mission-vision-modern {
    gap: 3rem;
    padding: 1.5rem 0;
  }
  
  .mission-vision-item {
    padding-left: 2rem;
  }
  
  .mission-vision-label {
    font-size: 1.5rem;
  }
  
  .mission-vision-text {
    font-size: 1rem;
  }
  
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-section {
    padding: 60px 0;
  }
  
  .timeline-content-modern {
    gap: 2rem;
  }
  
  .timeline-text-content {
    gap: 2rem;
  }
  
  .timeline-text-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .timeline-year-text {
    font-size: 1.375rem;
    min-width: auto;
    padding-top: 0;
  }
  
  .timeline-text-details h3 {
    font-size: 1.25rem;
  }
  
  .timeline-text-details p {
    font-size: 1rem;
  }
}

/* ============================================
   Statistics Section
   ============================================ */
.statistics {
  background: linear-gradient(135deg, #003399 0%, #002266 100%);
  color: var(--white);
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.statistics .container {
  padding-bottom: 0;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
  padding-bottom: 0;
  margin-bottom: 0;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* ============================================
   Doctors Section
   ============================================ */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.doctor-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: var(--bg-neutral);
}

.doctor-info {
  padding: 1.5rem;
}

.doctor-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.doctor-specialty {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.doctor-bio {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.doctor-social {
  display: flex;
  gap: 0.75rem;
}

.doctor-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-neutral);
  border-radius: 50%;
  color: var(--text-dark);
  transition: var(--transition);
}

.doctor-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   What Makes Us Different Section
   ============================================ */
.what-makes-us-different {
  padding: 0;
  margin-top: 0;
  background: var(--white);
  overflow: hidden;
}

.what-makes-us-container {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 600px;
}

.what-makes-us-left {
  background: linear-gradient(135deg, #003399 0%, #002266 100%);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.what-makes-us-left::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.what-makes-us-left h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 3.5rem;
  color: var(--white);
  line-height: 1.2;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.what-makes-us-left h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.differentiator-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.differentiator-item {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.differentiator-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.differentiator-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.differentiator-item:hover::before {
  transform: scaleY(1);
}

.differentiator-item:nth-child(1) { animation-delay: 0.1s; }
.differentiator-item:nth-child(2) { animation-delay: 0.2s; }
.differentiator-item:nth-child(3) { animation-delay: 0.3s; }
.differentiator-item:nth-child(4) { animation-delay: 0.4s; }

.differentiator-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.differentiator-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.differentiator-item:hover .differentiator-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.differentiator-item:hover .differentiator-icon::before {
  width: 100%;
  height: 100%;
}

.differentiator-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
  position: relative;
  z-index: 1;
}

.differentiator-content {
  flex: 1;
}

.differentiator-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.differentiator-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 400;
}

.what-makes-us-right {
  background: var(--white);
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.clinic-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 51, 153, 0.2), 0 0 0 1px rgba(0, 51, 153, 0.1);
  background: #f0f0f0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.clinic-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.05) 0%, rgba(0, 34, 102, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.clinic-image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 80px rgba(0, 51, 153, 0.3), 0 0 0 1px rgba(0, 51, 153, 0.15);
}

.clinic-image-wrapper:hover::after {
  opacity: 1;
}

.clinic-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  position: relative;
  z-index: 0;
}

.clinic-image-wrapper:hover img {
  transform: scale(1.08);
}

.clinic-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.15) 0%, rgba(0, 34, 102, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .what-makes-us-container {
    grid-template-columns: 1fr;
  }
  
  .what-makes-us-left {
    padding: 3rem 2rem;
  }
  
  .what-makes-us-right {
    padding: 2rem;
  }
  
  .clinic-image-wrapper {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .what-makes-us-left {
    padding: 3rem 2rem;
  }
  
  .what-makes-us-left h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .differentiator-list {
    gap: 1.5rem;
  }
  
  .differentiator-item {
    padding: 1.25rem;
    gap: 1.25rem;
  }
  
  .differentiator-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  
  .differentiator-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .differentiator-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .differentiator-item p {
    font-size: 0.9375rem;
  }
  
  .clinic-image-wrapper {
    min-height: 300px;
  }
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
  background: var(--bg-neutral);
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-item {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.testimonial-info p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin: 0;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #FFB800;
}

/* ============================================
   Partners Section
   ============================================ */
.partners {
  padding: 60px 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

/* ============================================
   Blog Section
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-neutral);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-card p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-newsletter input {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.875rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

.footer-bottom-links span {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Scroll to Top
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ============================================
   WhatsApp Float
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* ============================================
   Modal
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2001;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary);
}

.appointment-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
  background: var(--white);
}

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

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

.form-actions {
  margin-top: 2rem;
}

/* ============================================
   Toast Notification
   ============================================ */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--success);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 3000;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================================
   Cookie Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.cookie-banner-text p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--text-light);
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-link {
  color: var(--primary);
  font-size: 0.875rem;
  text-decoration: underline;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  
  .why-us-content {
    grid-template-columns: 1fr;
  }
  
  .navbar-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .navbar-actions {
    display: none;
  }
  
  /* Mobilde dil seçiciyi sağ altta sabit göster */
  .language-selector {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .language-btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: var(--white);
  }
  
  .language-dropdown {
    bottom: calc(100% + 0.5rem) !important;
    top: auto !important;
    right: 0 !important;
    transform: translateY(10px);
    position: absolute !important;
  }
  
  .language-selector.active .language-dropdown {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }
  
  .top-bar {
    font-size: 0.7rem;
    padding: 4px 0;
    min-height: 28px;
    display: flex;
    align-items: center;
  }
  
  .navbar {
    top: 28px;
    padding: 0.75rem 0;
  }
  
  .navbar-content {
    padding: 0.5rem 0;
    min-height: 60px;
  }
  
  .top-bar-content {
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .top-bar-left,
  .top-bar-right {
    justify-content: center;
    flex: 1;
    min-width: 0;
  }
  
  .top-bar-divider {
    display: none;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .section {
    padding: 60px 0;
  }
  
  .hero {
    margin-top: -120px;
    padding-top: 120px;
    min-height: 80vh;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-background {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    border-radius: 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.125rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .services-grid,
  .doctors-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .statistics-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ============================================
   Accordion
   ============================================ */
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--text-dark);
}

.accordion-trigger:hover {
  background: var(--bg-neutral);
}

.accordion-trigger svg {
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary);
}

.accordion-item.active .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
  line-height: 1.7;
}

.accordion-item.active .accordion-content {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

/* ============================================
   Slider Navigation
   ============================================ */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 10;
}

.slider-prev,
.slider-next {
  background: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  pointer-events: all;
  color: var(--primary);
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

/* ============================================
   Utility Classes (see utilities.css)
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info-section h2,
.contact-form-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-subtitle {
  color: var(--text);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.contact-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-info-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-info-content p {
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.contact-info-content a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-content a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-form-section {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form {
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9375rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: var(--white);
}

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

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

.contact-form .form-actions {
  margin-top: 2rem;
}

.contact-form .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-right {
  position: sticky;
  top: 100px;
}

.map-container {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.map-container h2 {
  font-size: 2rem;
  font-weight: 700;
  padding: 2rem 2rem 1rem;
  margin: 0;
  color: var(--text-dark);
}

.map-wrapper {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-actions {
  padding: 1.5rem 2rem 2rem;
  text-align: center;
}

.map-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-right {
    position: static;
  }
  
  .map-wrapper {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-info-card {
    padding: 1.25rem;
  }
  
  .contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  
  .contact-form-section {
    padding: 2rem 1.5rem;
  }
  
  .map-container h2 {
    padding: 1.5rem 1.5rem 1rem;
  }
}

/* ============================================
   Category Pages Styles
   ============================================ */
.category-content-section {
  background: linear-gradient(180deg, var(--bg-neutral) 0%, var(--white) 100%);
  padding: 100px 0;
  position: relative;
}

.category-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.category-content {
  margin-top: 4rem;
}

.category-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 51, 153, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.category-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item:hover::before {
  transform: scaleY(1);
}

.category-item::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 51, 153, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.category-item:hover::after {
  opacity: 1;
}

.category-item:hover {
  box-shadow: 0 20px 60px rgba(0, 51, 153, 0.15), 0 0 0 1px rgba(0, 51, 153, 0.15);
  transform: translateY(-8px);
  border-color: rgba(0, 51, 153, 0.25);
}

.category-item h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: -0.3px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.category-item h3::before {
  content: '';
  width: 5px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 51, 153, 0.3);
}

.category-item p {
  color: #4B5563;
  line-height: 1.8;
  font-size: 1.0625rem;
  margin: 0;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.category-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 51, 153, 0.3);
  transition: var(--transition);
}

.btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 51, 153, 0.4);
}

/* Category content styling for dynamic content from database */
.category-content {
  /* Reset default styles */
}

/* Group h2/h3 with following p into single cards */
.category-content > h2,
.category-content > h3 {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  margin: 0 0 2rem 0;
  border: 1px solid rgba(0, 51, 153, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* When h2/h3 is followed by p, combine them into one card */
.category-content > h2 + p,
.category-content > h3 + p {
  margin-top: -2rem;
  margin-bottom: 2rem;
}

/* Use :has() to detect if p follows h2/h3 */
.category-content > h2:has(+ p),
.category-content > h3:has(+ p) {
  border-radius: 24px 24px 0 0;
  margin-bottom: 0;
}

/* Fallback for browsers without :has() - adjust via adjacent sibling */
@supports not selector(:has(*)) {
  .category-content > h2 + p,
  .category-content > h3 + p {
    margin-top: -2rem;
  }
}

.category-content > h2::before,
.category-content > h3::before {
  content: '';
  width: 5px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 51, 153, 0.3);
}

.category-content > h2:hover,
.category-content > h3:hover {
  box-shadow: 0 20px 60px rgba(0, 51, 153, 0.15), 0 0 0 1px rgba(0, 51, 153, 0.15);
  transform: translateY(-8px);
  border-color: rgba(0, 51, 153, 0.25);
}

.category-content > h2:first-child,
.category-content > h3:first-child {
  margin-top: 0;
}

/* Style paragraphs that follow h2/h3 as card content */
.category-content > h2 + p,
.category-content > h3 + p {
  background: var(--white);
  padding: 0 2.5rem 2.5rem 2.5rem;
  border-radius: 0 0 24px 24px;
  margin: -2rem 0 2rem 0;
  border: 1px solid rgba(0, 51, 153, 0.12);
  border-top: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
  color: #4B5563;
  line-height: 1.8;
  font-size: 1.0625rem;
  font-weight: 400;
  position: relative;
  z-index: 0;
  padding-top: 1rem;
}


/* Standalone paragraphs (not following h2/h3) */
.category-content > p:not(h2 + p):not(h3 + p) {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 51, 153, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
  color: #4B5563;
  line-height: 1.8;
  font-size: 1.0625rem;
  font-weight: 400;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-content > p:not(h2 + p):not(h3 + p):hover {
  box-shadow: 0 20px 60px rgba(0, 51, 153, 0.15), 0 0 0 1px rgba(0, 51, 153, 0.15);
  transform: translateY(-8px);
  border-color: rgba(0, 51, 153, 0.25);
}

/* Style lists */
.category-content ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

.category-content ul li {
  padding: 1.25rem 1.75rem;
  background: var(--white);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  font-size: 1.0625rem;
  color: #1F2A37;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  font-weight: 500;
}

.category-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.category-content ul li:hover {
  background: rgba(0, 51, 153, 0.03);
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(0, 51, 153, 0.1);
}

.category-content ul li:hover::before {
  transform: scaleY(1);
}

/* Style any div or section that might contain content */
.category-content > div:not(.category-item) {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 51, 153, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: auto;
  color: #1F2A37;
}

.category-content > div:not(.category-item):empty {
  display: none;
}

.category-content > div:not(.category-item):hover {
  box-shadow: 0 20px 60px rgba(0, 51, 153, 0.15), 0 0 0 1px rgba(0, 51, 153, 0.15);
  transform: translateY(-8px);
  border-color: rgba(0, 51, 153, 0.25);
}

/* Hide empty elements and whitespace-only elements */
.category-content > *:empty {
  display: none !important;
}

.category-content > div:empty,
.category-content > p:empty,
.category-content > h2:empty,
.category-content > h3:empty {
  display: none !important;
}

/* Son boş elementi gizle - daha spesifik */
.category-content > *:last-child:empty,
.category-content > div:last-child:empty,
.category-content > p:last-child:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
}

/* Better handling for nested structures */
.category-content h2,
.category-content h3 {
  margin-top: 0;
}

.category-content h2:first-of-type,
.category-content h3:first-of-type {
  margin-top: 0;
}

@media (max-width: 768px) {
  .category-content-section {
    padding: 60px 0;
  }
  
  .category-item {
    padding: 2rem 1.5rem;
  }
  
  .category-item h3 {
    font-size: 1.5rem;
    gap: 0.75rem;
  }
  
  .category-item h3::before {
    width: 4px;
    height: 28px;
  }
  
  .category-item p {
    font-size: 1rem;
  }
  
  .category-cta {
    margin-top: 3rem;
    padding-top: 2rem;
  }
  
  .btn-large {
    padding: 1.125rem 2rem;
    font-size: 1rem;
  }
  
  .category-content ul li {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
  
  .category-content > h2,
  .category-content > h3 {
    font-size: 1.5rem;
    padding: 2rem 1.5rem;
    gap: 0.75rem;
  }
  
  .category-content > h2::before,
  .category-content > h3::before {
    width: 4px;
    height: 28px;
  }
  
  .category-content > h2 + p,
  .category-content > h3 + p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 1rem;
  }
  
  .category-content > p:not(h2 + p):not(h3 + p) {
    padding: 2rem 1.5rem;
    font-size: 1rem;
  }
  
  .category-content > div:not(.category-item) {
    padding: 2rem 1.5rem;
  }
  
  .category-content > div:not(.category-item):empty {
    display: none;
  }
}

/* ============================================
   Partner Companies Slider
   ============================================ */
.partner-companies {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-neutral) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.partner-companies::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 51, 153, 0.2), transparent);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.partner-card {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 51, 153, 0.12);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.03) 0%, rgba(18, 181, 201, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 51, 153, 0.15), 0 0 0 1px rgba(0, 51, 153, 0.15);
  border-color: rgba(0, 51, 153, 0.25);
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(20%);
}

.partner-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.partner-card:hover img {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .partner-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .partner-card {
    padding: 1rem;
  }
}

