/* Base Variables mapped to required specs */
:root {
  --deep-navy: #0B1D3A;
  --trust-blue: #1B4F8A;
  --medical-teal: #0A8B7C;
  --warm-gold: #D4A843;
  --soft-cream: #FDF8F0;
  --pure-white: #FFFFFF;
  --light-sage: #EEF5F2;
  --text-primary: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --accent-red: #C53030;
  --success-green: #25855A;
  --nav-height: 64px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background-color: var(--pure-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

.lang-ta, .lang-ta h1, .lang-ta h2, .lang-ta h3, .lang-ta h4, .lang-ta h5, .lang-ta h6, .lang-ta p, .lang-ta span, .lang-ta div, .lang-ta button, .lang-ta a {
  font-family: 'Noto Sans Tamil', sans-serif !important;
}

.lang-ta {
  line-height: 1.55;
  font-weight: 500;
}

h1 .lang-ta { font-size: 0.82em; line-height: 1.28; }
h2 .lang-ta { font-size: 0.86em; line-height: 1.3; }
h3 .lang-ta { font-size: 0.88em; line-height: 1.32; }
p .lang-ta { line-height: 1.7; }
.btn-primary .lang-ta, button .lang-ta { line-height: 1.3; vertical-align: middle; }
.eyebrow .lang-ta, .badge-pill .lang-ta, .package-badge .lang-ta { font-size: 0.88em; line-height: 1.2; }


/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold {
  color: var(--warm-gold);
}

.bg-white {
  background-color: var(--pure-white);
}

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

.bg-soft-cream {
  background-color: var(--soft-cream);
}

.bg-app-grey {
  background-color: #f5f5f7;
}

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

.w-full {
  width: 100%;
}

.block {
  display: block;
}

.mt-4 {
  margin-top: 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  border: none;
}

.btn-primary {
  background-color: var(--medical-teal);
  color: white;
  padding: 12px 24px;
}

.btn-primary:hover {
  background-color: #087569;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 139, 124, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
  padding: 12px 24px;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.eyebrow--gold {
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--warm-gold);
  border: 1px solid var(--warm-gold);
}

.eyebrow--teal {
  background-color: rgba(10, 139, 124, 0.1);
  color: var(--medical-teal);
  border: 1px solid rgba(10, 139, 124, 0.2);
}

/* Section Headers */
.section {
  padding: 80px 0;
  contain: layout style;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: transparent;
  z-index: 100;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar--scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #eaeaea;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
}

.navbar__logo {
  height: 80px;
  object-fit: contain;
}

.navbar__titles {
  display: flex;
  flex-direction: column;
}

.navbar__title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.navbar--scrolled .navbar__title {
  color: var(--text-primary);
}

.navbar__subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  transition: color 0.3s ease;
}

.navbar--scrolled .navbar__subtitle {
  color: var(--text-secondary);
}

.navbar__links {
  display: flex;
  gap: 24px;
}

.navbar__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    color 0.3s ease,
    opacity 0.2s;
}

.navbar__links a:hover {
  color: #ffffff;
}

.navbar--scrolled .navbar__links a {
  color: var(--text-secondary);
}

.navbar--scrolled .navbar__links a:hover {
  color: var(--text-primary);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Phone button */
.navbar__phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar__phone-btn:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

.navbar--scrolled .navbar__phone-btn {
  border-color: var(--medical-teal);
  color: var(--medical-teal);
}

.navbar--scrolled .navbar__phone-btn:hover {
  background: rgba(10, 139, 124, 0.06);
}

/* Book Now button */
.navbar__book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 10px;
  background-color: var(--medical-teal);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(10, 139, 124, 0.35);
}

.navbar__book-btn:hover {
  background-color: #087569;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 139, 124, 0.4);
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 3px;
  gap: 0;
}

.lang-toggle__option {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  border-radius: 100px;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

.lang-toggle__option--active {
  background: var(--trust-blue);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.lang-toggle__option:hover:not(.lang-toggle__option--active) {
  color: #ffffff;
}

/* Scrolled header — lang toggle adjustments */
.navbar--scrolled .lang-toggle {
  background: rgba(0, 0, 0, 0.08);
}

.navbar--scrolled .lang-toggle__option {
  color: rgba(0, 0, 0, 0.5);
}

.navbar--scrolled .lang-toggle__option--active {
  background: var(--trust-blue);
  color: #ffffff;
}

.navbar--scrolled .lang-toggle__option:hover:not(.lang-toggle__option--active) {
  color: var(--text-primary);
}

/* Mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background: #ffffff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  border-top: 1px solid #e8e8e8;
  padding: 10px 16px;
  gap: 10px;
}

.mobile-cta__btn {
  flex: 1;
  text-align: center;
  padding: 11px 12px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.mobile-cta__btn:active {
  opacity: 0.85;
}

.mobile-cta__call {
  background-color: #ffffff;
  color: var(--medical-teal);
  border: 2px solid var(--medical-teal);
  flex: 0 0 auto;
}

.mobile-cta__book {
  background-color: var(--medical-teal);
  color: #ffffff;
  border: 2px solid var(--medical-teal);
  flex: 1;
}

.slide-up-delay {
  animation: slideUp 0.5s ease 2s both;
}

.pulse-hover {
  position: relative;
  overflow: visible;
}

.pulse-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(10, 139, 124, 0.55);
  animation: pulseGlowRing 2s infinite;
  will-change: transform, opacity;
  pointer-events: none;
}

@keyframes pulseGlowRing {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.14);
    opacity: 0;
  }
}

/* Hero */
.hero {
  position: relative;
  background-color: var(--deep-navy);
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 29, 58, 0.5) 40%,
    rgba(11, 29, 58, 0.5) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero__content {
  width: 50%;
  color: white;
}

.hero__mobile-top {
  display: none;
}

.form-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--warm-gold);
  border-radius: 50%;
  position: relative;
  animation: pulseGoldScale 1.5s infinite;
  will-change: transform;
}

.pulse-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: rgba(212, 168, 67, 0.65);
  animation: pulseGoldRing 1.5s infinite;
  will-change: transform, opacity;
}

@keyframes pulseGoldScale {
  0%,
  100% {
    transform: scale(0.92);
  }

  70% {
    transform: scale(1);
  }
}

@keyframes pulseGoldRing {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(3);
    opacity: 0;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 90%;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-val {
  color: var(--warm-gold);
  font-size: 1.8rem;
  font-weight: 700;
  font-family: "DM Serif Display", serif;
}

.hero__stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
}

.hero__actions {
  display: flex;
  gap: 16px;
}

.hero__form-wrapper {
  width: 50%;
  /* max-width: 450px; */
}

.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 32px;
}

.form-card__badge {
  display: inline-block;
  background-color: var(--warm-gold);
  color: var(--deep-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.form-card__title {
  color: white;
  font-size: 2rem;
  margin-bottom: 8px;
}

.form-card__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
  width: 50%;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(1);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: var(--medical-teal);
  background-color: rgba(255, 255, 255, 0.15);
}

.input-error {
  border-color: var(--accent-red) !important;
  background-color: rgba(197, 48, 48, 0.1) !important;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
  line-height: 1.5;
}

.form-consent {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.form-consent label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}

.form-footer {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 32px 0;
  color: white;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background-color: var(--success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.form-success__title {
  font-family: "DM Serif Display", serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-success__msg {
  color: rgba(255, 255, 255, 0.8);
}

/* Price Strip */
.price-strip {
  background: linear-gradient(135deg, #d4a843, #c49935);
  padding: 28px 0;
}

.price-strip__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.price-strip__desc {
  flex: none;
}

.price-strip__line1 {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  margin-bottom: 2px;
}

.price-strip__line2 {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
}

.price-strip__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.price-strip__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-strip__old {
  font-size: 15px;
  color: rgba(180, 30, 30, 0.75);
  text-decoration: line-through;
}

.price-strip__price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-strip__new {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  color: #0b1d3a;
  line-height: 1;
}

.price-strip__only {
  font-size: 14px;
  color: rgba(11, 29, 58, 0.6);
  font-weight: 500;
}

.price-strip__badge {
  background: #0b1d3a;
  color: #d4a843;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  white-space: nowrap;
}

.badge-dark {
  background-color: var(--deep-navy);
  color: var(--warm-gold);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 1px;
}

/* Symptoms */
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.symptom-card {
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: white;
}

.symptom-card:hover {
  border-color: #ccc;
}

.symptom-card--active {
  border-color: var(--medical-teal);
  background-color: rgba(10, 139, 124, 0.05);
}

.checkbox-circle {
  width: 24px;
  height: 24px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-circle--checked {
  background-color: var(--medical-teal);
  border-color: var(--medical-teal);
}

.symptom-card__title {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.symptom-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.symptoms-result {
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  animation: fadeInUp 0.4s ease;
  transition:
    background-color 0.7s ease,
    border-color 0.7s ease;
}

.symptoms-result--risk-1 {
  background-color: rgba(10, 139, 124, 0.05);
  border: 1px solid rgba(10, 139, 124, 0.25);
}

.symptoms-result--risk-2 {
  background-color: rgba(220, 120, 40, 0.07);
  border: 1px solid rgba(220, 120, 40, 0.3);
}

.symptoms-result--risk-3 {
  background-color: rgba(200, 60, 40, 0.07);
  border: 1px solid rgba(200, 60, 40, 0.3);
}

.symptoms-result__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.symptoms-result--risk-1 .symptoms-result__title {
  color: var(--medical-teal);
}

.symptoms-result--risk-2 .symptoms-result__title {
  color: #b85c00;
}

.symptoms-result--risk-3 .symptoms-result__title {
  color: #c03020;
}

.symptoms-result__icon {
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.risk-icon--medium,
.risk-icon--high {
  animation: pulse-icon 1.4s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.18);
  }
}

.symptoms-result__desc {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

/* Why Screen */
.why-screen__blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.why-block {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-left: 4px solid var(--accent, var(--medical-teal));
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.why-block:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.why-block__icon {
  flex-shrink: 0;
}

.why-block__title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
}

.why-block__body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.why-screen__closing {
  margin: 48px auto 0;
  max-width: 600px;
  text-align: center;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: 40px;
  position: relative;
}

.why-screen__closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--medical-teal);
  border-radius: 2px;
}

/* Package */
.package__container {
  display: flex;
  align-items: center;
  gap: 48px;
}

.package__content {
  flex: 0 0 45%;
}

.package__card {
  flex: 0 0 50%;
  background-color: var(--deep-navy);
  border-radius: 16px;
  padding: 40px;
  color: white;
  box-shadow: 0 20px 40px rgba(11, 29, 58, 0.15);
}

.package-badge {
  display: inline-block;
  background-color: var(--warm-gold);
  color: var(--deep-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.package__card-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.package__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package__price {
  font-family: "DM Serif Display", serif;
  font-size: 3rem;
  color: var(--warm-gold);
  line-height: 1;
}

.package__price-label {
  color: rgba(255, 255, 255, 0.6);
}

.package__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.package-item {
  display: flex;
  gap: 16px;
}

.package-item__icon {
  width: 40px;
  height: 40px;
  background-color: rgba(10, 139, 124, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.package-item__text {
  flex: 1;
}

.package-item__name {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-item__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.badge-pill {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
}

.badge-pill.gold {
  background-color: var(--warm-gold);
  color: var(--deep-navy);
}

/* Doctors */
.doctors-grid {
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
  gap: 32px;
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.doctor-card {
  width: 50%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 36px 32px;
  background-color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.doctor-card__photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  margin-bottom: 24px;
  flex-shrink: 0;
}

.doctor-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.doctor-card__name {
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  color: var(--deep-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.doctor-card__title {
  color: var(--medical-teal);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.doctor-card__quals {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.doctor-card__bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.75;
  text-align: left;
}

.doctor-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
}

.doctor-card__tags span {
  background-color: var(--light-sage);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.doctor-card__exp {
  display: inline-block;
  background-color: rgba(212, 168, 67, 0.12);
  color: #9a7820;
  border: 1px solid rgba(212, 168, 67, 0.35);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.doctor-card__consult {
  display: block;
  margin-top: 20px;
  width: 100%;
  padding: 12px 20px;
  background-color: var(--medical-teal);
  color: white;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.doctor-card__consult:hover {
  background-color: var(--teal-dark, #088a7a);
  transform: translateY(-1px);
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  background-color: white;
  border-radius: 12px;
  padding: 32px;
  border-left: 4px solid var(--medical-teal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.trust-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.trust-card__title {
  font-family: "DM Serif Display", serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.trust-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.test-card__quote-mark {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 72px;
  color: rgba(10, 139, 124, 0.1);
  font-family: serif;
  line-height: 1;
}

.test-card__quote {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

.test-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--trust-blue), var(--medical-teal));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.test-card__name {
  font-weight: 700;
  font-size: 0.9rem;
}

.test-card__loc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.test-card__stars {
  margin-left: auto;
  font-size: 0.8rem;
}

/* FAQ */
.faq__container {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.faq__sidebar {
  flex: 0 0 35%;
  position: sticky;
  top: 100px;
}

.faq__contact-box {
  margin-top: 32px;
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.faq__contact-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.faq__phone {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--trust-blue);
  text-decoration: none;
  margin-bottom: 8px;
}

.faq__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

.faq-item__header {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
}

.faq-item__q {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  padding-right: 24px;
}

.faq-item__icon {
  font-size: 1.5rem;
  color: var(--medical-teal);
  transition: transform 0.3s ease;
}

.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item--open .faq-item__body {
  max-height: 300px;
}

.faq-item__content {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Bottom Booking */
.bottom-booking {
  background: linear-gradient(
    135deg,
    var(--deep-navy) 0%,
    var(--trust-blue) 100%
  );
  color: white;
}

.bottom-booking__container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.bottom-booking__content {
  flex: 0 0 45%;
}

.bottom-booking__title {
  font-size: 3rem;
  margin-bottom: 16px;
}

.bottom-booking__subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 32px;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1.05rem;
}

.bottom-booking__form-wrapper {
  flex: 1;
}

/* Footer */
.footer {
  background-color: var(--deep-navy);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding-bottom: 40px;
  /* Space for mobile CTA */
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  font-weight: 700;
  margin-bottom: 4px;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer__right {
  display: flex;
  gap: 24px;
}

.footer__right a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  75% {
    transform: translateX(8px);
  }
}

.shake {
  animation: shake 0.4s ease;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  will-change: transform, opacity;
}

/* Media Queries */
@media (max-width: 900px) {
  .hero__container,
  .package__container,
  .bottom-booking__container {
    flex-direction: column;
  }

  .hero__content,
  .hero__form-wrapper,
  .package__content,
  .package__card,
  .bottom-booking__content,
  .bottom-booking__form-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .faq__container {
    flex-direction: column;
    gap: 32px;
  }

  .faq__sidebar {
    position: static;
  }

  .symptoms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }
  .doctor-card {
    width: 100%;
  }

  .why-screen__blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  .section {
    padding: 48px 0;
  }

  .hidden-mobile {
    display: none !important;
  }

  .mobile-cta {
    display: flex;
  }

  .footer {
    padding-bottom: 80px;
    /* Space for mobile CTA */
  }

  .navbar__links {
    display: none;
  }

  .navbar__phone {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 48px;
    min-height: auto;
  }

  .hero__bg-img {
    object-position: center;
    opacity: 0.3;
  }

  .hero::before {
    background: transparent;
  }

  .hero__mobile-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
  }

  .hero__mobile-top img {
    height: 32px;
  }

  .hero__title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    line-height: 1.2;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .price-strip__container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

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

  .price-strip__right {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .price-strip__price-block {
    align-items: center;
  }

  .price-strip__new {
    font-size: 32px;
  }

  .symptoms-grid {
    grid-template-columns: 1fr;
  }

  .why-screen__blocks {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .package__price {
    font-size: 2.5rem;
  }

  .bottom-booking__title {
    font-size: 2.2rem;
  }

  .footer__container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

/* ===== ABOUT VS HOSPITALS ===== */
.about-vs {
  background: var(--soft-cream);
}

.about-vs__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-vs__story {
  margin-top: 40px;
  border-left: 4px solid var(--medical-teal);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-vs__para {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0;
}

.about-vs__para:first-child {
  color: var(--text-primary);
}

.about-vs__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 40px;
}

.about-vs__pillar {
  text-align: center;
  padding: 0 32px;
}

.about-vs__pillar + .about-vs__pillar {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.about-vs__num {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--medical-teal);
  line-height: 1;
  margin-bottom: 12px;
}

.about-vs__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-vs__story {
    border-left: none;
    padding-left: 0;
    border-top: 4px solid var(--medical-teal);
    padding-top: 24px;
  }

  .about-vs__pillars {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .about-vs__pillar {
    padding: 28px 0;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .about-vs__pillar + .about-vs__pillar {
    border-left: none;
  }
}

/* ===== TAMIL LANGUAGE OVERRIDES =====
   Prevent layout jumps — Tamil glyphs are taller/wider than English.
   Apply globally when data-lang="ta" is on the <html> element. */
[data-lang="ta"] .hero__title {
  font-size: clamp(1.5rem, 3.8vw, 2.8rem);
  line-height: 1.4;
}

[data-lang="ta"] .section-title {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.5;
}

[data-lang="ta"] .hero__subtitle {
  font-size: 1rem;
  line-height: 1.7;
}

[data-lang="ta"] .navbar__book-btn {
  font-size: 0.8rem;
  padding: 9px 14px;
}

[data-lang="ta"] .navbar__links a {
  font-size: 0.8rem;
}

[data-lang="ta"] .btn-lg {
  font-size: 0.95rem;
  padding: 14px 24px;
}

[data-lang="ta"] .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

[data-lang="ta"] .mobile-cta__book {
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  [data-lang="ta"] .hero__title {
    font-size: clamp(1.35rem, 5.5vw, 1.9rem);
    line-height: 1.45;
  }

  [data-lang="ta"] .section-title {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
  }
}

/* ── hidden-desktop utility ── */
.hidden-desktop {
  display: none !important;
}

/* ── Why Carousel (mobile only) ── */
.why-carousel__viewport {
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 6% 4px;
}

.why-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.why-carousel__track {
  display: flex;
  gap: 16px;
}

.why-carousel__slide {
  flex: 0 0 88%;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-left: 4px solid var(--accent, var(--medical-teal));
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0.5;
  transform: scale(0.97);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.why-carousel__slide--active {
  opacity: 1;
  transform: scale(1);
}

.why-carousel__divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 2px 0;
}

.why-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.why-carousel__arrow {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition:
    background 0.2s,
    border-color 0.2s;
}

.why-carousel__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.why-carousel__arrow:not(:disabled):hover {
  background: var(--medical-teal);
  border-color: var(--medical-teal);
  color: #fff;
}

.why-carousel__counter {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-secondary);
  min-width: 50px;
  text-align: center;
}

/* Show carousel + hide grid on mobile */
@media (max-width: 768px) {
  .hidden-desktop {
    display: block !important;
  }
}

* Side-by-side name row */ .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Time picker row */
.form-time-row {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  gap: 8px;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}

/* Inline validation error text */
.form-error {
  display: block;
  color: #e53e3e;
  font-size: 11px;
  font-weight: 600;
  margin-top: 3px;
}

.mobile-banner {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .mobile-banner {
    display: block !important;
  }

  .web-banner {
    display: none !important;
  }

  .form-group {
    width: 100%;
  }

  .navbar__logo {
    height: 60px;
    width: 60px;
  }

  .navbar__brand {
    padding-top: 0px;
  }

  .navbar {
    height: auto !important;
  }
}

/* Collapse columns to single on very small screens */
@media (max-width: 380px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-time-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
