/* =========================================
   TRIDENT EYE & RETINA HOSPITAL
   Main Stylesheet — style.css
   ========================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #0A2558;
  --navy-dark: #071a3e;
  --navy-light: #1a3a6e;
  --teal: #00B4D8;
  --teal-dark: #0096b7;
  --teal-light: #48cae4;
  --teal-pale: #e0f7fc;
  --bg: #F8FAFC;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --success: #10b981;
  --error: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(10,37,88,0.10);
  --shadow-lg: 0 8px 32px rgba(10,37,88,0.15);
  --shadow-xl: 0 16px 48px rgba(10,37,88,0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.2; }

/* --- Utility Classes --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-teal { color: var(--teal); }
.bg-navy { background: var(--navy); }
.bg-teal { background: var(--teal); }
.bg-white { background: var(--white); }
.bg-off { background: var(--bg); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.section-tag {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 700;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 48px;
  font-family: 'Inter', sans-serif;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,180,216,0.35);
}
.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 28px rgba(0,180,216,0.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(10,37,88,0.25);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* =========================================
   NAVIGATION
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(10,37,88,0.08);
  transition: var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(10,37,88,0.14);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 22px; height: 22px; fill: none; }
.nav-logo-text { line-height: 1.1; }
.nav-logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.nav-logo-text .tagline {
  font-size: 0.68rem;
  color: var(--teal-dark);
  font-weight: 500;
  letter-spacing: 0.3px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--navy);
  background: var(--teal-pale);
}
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu a:hover { background: var(--teal-pale); color: var(--navy); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* =========================================
   HERO SECTION
   ========================================= */
#hero {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 45%, #0d4a6e 75%, #006b8a 100%);
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 70% 50%, rgba(0,180,216,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 10% 80%, rgba(0,180,216,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 80px;
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,0.2);
  border: 1px solid rgba(0,180,216,0.4);
  color: var(--teal-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
}
.hero-tag i { font-size: 0.75rem; }
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
  font-weight: 800;
}
.hero-title span { color: var(--teal-light); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  max-width: 500px;
}
.hero-subtitle strong { color: var(--teal-light); font-weight: 600; }
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
}
.trust-badge i { color: var(--teal-light); font-size: 0.78rem; }
.hero-image-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 520px;
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,37,88,0.25) 0%, transparent 60%);
}
.hero-stat-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-stat-card.card-1 { bottom: -16px; left: -20px; }
.hero-stat-card.card-2 { top: -16px; right: -20px; }
.hero-stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-stat-icon.teal { background: var(--teal-pale); color: var(--teal-dark); }
.hero-stat-icon.navy { background: rgba(10,37,88,0.08); color: var(--navy); }
.hero-stat-text .num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  display: block;
  line-height: 1;
}
.hero-stat-text .label {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}

/* =========================================
   SYMPTOMS SECTION
   ========================================= */
#symptoms { background: var(--bg); }
.symptoms-closing {
  text-align: center;
  margin-top: 48px;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(10,37,88,0.06));
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--teal);
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.symptom-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.symptom-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.symptom-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.symptom-card:hover::before { transform: scaleX(1); }
.symptom-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--teal-pale), rgba(10,37,88,0.06));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  color: var(--teal-dark);
  transition: var(--transition);
}
.symptom-card:hover .symptom-icon {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
}
.symptom-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}
.symptom-card p {
  font-size: 0.87rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =========================================
   EDUCATION SECTION
   ========================================= */
#education { background: var(--white); }
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.edu-text .section-tag, .edu-text .section-title { text-align: left; }
.edu-text .section-title { margin-bottom: 22px; }
.edu-para {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 18px;
}
.lens-types {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.lens-tag {
  background: var(--teal-pale);
  color: var(--teal-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(0,180,216,0.3);
}
.edu-image-side { position: relative; }
.edu-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.edu-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Surgery Timeline */
.surgery-timeline {
  margin-top: 36px;
  position: relative;
}
.surgery-timeline h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.surgery-timeline h4 i { color: var(--teal); }
.timeline-steps { position: relative; padding-left: 28px; }
.timeline-steps::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--navy));
}
.tl-step {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tl-step.animate { opacity: 1; transform: translateX(0); }
.tl-step::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 5px;
  width: 10px; height: 10px;
  background: var(--teal);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}
.tl-step strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}
.tl-step span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* =========================================
   WHY US SECTION
   ========================================= */
#why-us { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: center;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal-pale), rgba(10,37,88,0.06));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--teal-dark);
  margin-bottom: 18px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.feature-card p {
  font-size: 0.87rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* =========================================
   DOCTOR SECTION
   ========================================= */
#doctor { background: linear-gradient(135deg, var(--navy-dark), var(--navy), #0d4a6e); position: relative; overflow: hidden; }
#doctor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 500px at 80% 50%, rgba(0,180,216,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.doctor-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.doctor-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.doctor-photo-frame {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 4px rgba(0,180,216,0.3);
  transition: var(--transition);
  background: var(--gray-100);
}
.doctor-photo-frame:hover { transform: scale(1.02); box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 4px rgba(0,180,216,0.5); }
.doctor-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.doctor-badge-wrap {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,180,216,0.4);
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}
.doctor-content { color: var(--white); }
.doctor-content .section-tag {
  background: rgba(0,180,216,0.2);
  color: var(--teal-light);
  border: 1px solid rgba(0,180,216,0.4);
}
.doctor-name {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 700;
}
.doctor-creds {
  font-size: 1rem;
  color: var(--teal-light);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.doctor-creds::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--teal);
  display: inline-block;
}
.doctor-bio {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin-bottom: 28px;
  font-family: 'Inter', sans-serif;
}
.specializations { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.spec-tag {
  background: rgba(0,180,216,0.18);
  border: 1px solid rgba(0,180,216,0.35);
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.spec-tag:hover { background: rgba(0,180,216,0.35); border-color: var(--teal); }
.doctor-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.d-stat { text-align: center; }
.d-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-light);
  font-family: 'Playfair Display', serif;
  display: block;
}
.d-stat .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* =========================================
   BOOKING FORM SECTION
   ========================================= */
#booking { background: var(--bg); }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.booking-info {}
.booking-info .section-title { text-align: left; }
.booking-info .section-tag { display: block; text-align: left; margin-bottom: 12px; }
.booking-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 32px;
  font-family: 'Inter', sans-serif;
}
.booking-perks { display: flex; flex-direction: column; gap: 14px; }
.booking-perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.perk-icon {
  width: 38px; height: 38px;
  background: var(--teal-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  font-size: 1rem;
  flex-shrink: 0;
}
.perk-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}
.perk-text span {
  font-size: 0.82rem;
  color: var(--gray-500);
}
.booking-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
  font-family: 'Inter', sans-serif;
}
.form-group label .req { color: var(--error); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: var(--error); }
.form-group textarea { resize: vertical; min-height: 100px; }
.field-error {
  color: var(--error);
  font-size: 0.78rem;
  margin-top: 5px;
  font-family: 'Inter', sans-serif;
  display: none;
}
.field-error.visible { display: block; }
.form-submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,180,216,0.35);
}
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,180,216,0.45); }
.form-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}
.spinner.visible { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form-success.visible { display: block; }
.success-icon {
  width: 72px; height: 72px;
  background: rgba(16,185,129,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--success);
}
.form-success h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.form-success p {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}
.privacy-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--gray-400);
  font-family: 'Inter', sans-serif;
  justify-content: center;
}
.privacy-note i { color: var(--teal); }

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
#testimonials { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  color: var(--teal-pale);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.stars { color: #f59e0b; font-size: 0.88rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  font-family: 'Inter', sans-serif;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}
.author-info .name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
}
.author-info .location {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-family: 'Inter', sans-serif;
}

/* =========================================
   FAQ SECTION
   ========================================= */
#faq { background: var(--bg); }
.faq-container { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  background: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  gap: 16px;
}
.faq-question i {
  font-size: 0.8rem;
  color: var(--teal);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
#contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info {}
.contact-info .section-title { text-align: left; }
.contact-info .section-tag { text-align: left; display: block; margin-bottom: 12px; }
.contact-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 28px;
  font-family: 'Inter', sans-serif;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  text-decoration: none;
}
a.contact-item:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-icon.navy { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.contact-icon.fb { background: linear-gradient(135deg, #1877f2, #0d5fbd); }
.contact-item-text strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}
.contact-item-text span, .contact-item-text a {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.working-hours {
  margin-top: 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(10,37,88,0.05));
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,180,216,0.2);
}
.working-hours h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.working-hours h4 i { color: var(--teal); }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.87rem;
  color: var(--gray-600);
  font-family: 'Inter', sans-serif;
  padding: 4px 0;
  border-bottom: 1px dashed var(--gray-200);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; color: var(--navy); }
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  aspect-ratio: 1 / 1;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--teal), var(--navy-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon svg { width: 22px; height: 22px; fill: none; }
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}
.footer-h { font-size: 0.82rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; font-family: 'Inter', sans-serif; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--teal-light); }
.footer-links a i { font-size: 0.7rem; color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--teal-light); }
.footer-disclaimer {
  text-align: center;
  padding: 14px 24px;
  background: rgba(0,0,0,0.2);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
}

/* =========================================
   INNER PAGES (terms.html, privacy.html)
   ========================================= */
.page-hero {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif;
}
.page-content {
  max-width: 820px;
  margin: 60px auto;
  padding: 0 24px;
}
.page-content h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-pale);
}
.page-content h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 22px 0 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.page-content p {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}
.page-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.page-content ul li {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}
.page-content strong { color: var(--navy); }
.last-updated {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 32px;
  font-family: 'Inter', sans-serif;
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* =========================================
   RESPONSIVE STYLES
   ========================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content { order: 1; }
  .hero-image-wrap { order: 2; }
  .hero-btns { justify-content: center; }
  .trust-badges { justify-content: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .doctor-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .doctor-creds { justify-content: center; }
  .specializations { justify-content: center; }
  .doctor-stats { justify-content: center; }
  .edu-grid { grid-template-columns: 1fr; gap: 40px; }
  .booking-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .symptom-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stat-card { display: none; }
  .booking-form-card { padding: 28px 20px; }
  .doctor-grid { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4/3; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .trust-badges { gap: 8px; }
  .trust-badge { font-size: 0.75rem; padding: 6px 10px; }
}
