:root {
  --color-background-alice-50: #feffff;
  --color-background-alice-400: #f5fcff;
  --color-primary-tang-50: #f2fbff;
  --color-primary-tang-100: #b0cdf8;
  --color-primary-tang-500: #005ee7;
  --color-primary-tang-900: #002761;
  --color-secondary-night-500: #111111;
  --color-secondary-night-300: #606060;
  --color-secondary-night-200: #929292;
  --color-additional-red-500: #ff4444;
  --color-additional-green-200: #8ae0a1;
  --color-additional-green-500: #00bb32;
  --color-additional-gold-500: #f79800;

  --spacing-2: 8px;
  --spacing-2-5: 10px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 20px;
  --spacing-6: 24px;
  --spacing-7: 28px;
  --spacing-8: 32px;
  --spacing-10: 40px;
  --spacing-12: 48px;
  --spacing-14: 56px;
  --spacing-16: 64px;
  --spacing-20: 80px;

  --radius-sm: 8px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-nav: 0px 2px 4px -2px rgba(0, 94, 231, 0.12), 0px 4px 4px -2px rgba(0, 94, 231, 0.08);
  --shadow-soft: 0px 4px 6px -4px rgba(0, 94, 231, 0.12), 0px 8px 8px -4px rgba(0, 94, 231, 0.08);

  --max-width: 1240px;

  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-background-alice-50);
  color: var(--color-secondary-night-500);
  font-family: "Poppins", sans-serif;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2 * 70px, var(--max-width));
}


.site-header {
  position: fixed;    /* Forces header to stay at top of screen */
  top: 0;
  left: 0;            /* Anchors to left edge */
  width: 100%;        /* Ensures it spans full width */
  z-index: 1000;      /* High z-index ensures it sits on top of hero images */
  background: #fff;
  padding-block: var(--spacing-3);
  box-shadow: var(--shadow-nav);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--spacing-8);
}

.brand img {
  width: auto;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-10);
  margin-left: auto;
}

.nav-links a,
.nav-links span {
  font: 500 18px/1 "Roboto", sans-serif;
  color: var(--color-secondary-night-500);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
}

.nav-links a.active {
  color: var(--color-primary-tang-500);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-primary-tang-500);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  font: 500 18px/1 "Roboto", sans-serif;
  color: var(--color-secondary-night-500);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-trigger svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.nav-item.open .nav-trigger,
.nav-trigger:hover,
.nav-trigger:focus-visible {
  color: var(--color-primary-tang-500);
  outline: none;
}

.nav-trigger.active {
  color: var(--color-primary-tang-500);
  position: relative;
}

.nav-trigger.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-primary-tang-500);
}

.nav-trigger--icon {
  padding: 4px;
}

.nav-trigger--icon svg {
  width: 20px;
  height: 20px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
  min-width: 180px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  z-index: 40;
}

.dropdown-menu[hidden] {
  display: none !important;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font: 500 16px/1.4 "Roboto", sans-serif;
  color: var(--color-secondary-night-500);
  white-space: nowrap;
}

.dropdown-menu a.active::after {
  content: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(0, 94, 231, 0.08);
  color: var(--color-primary-tang-500);
  outline: none;
}

.nav-item.open .dropdown-menu {
  display: flex;
}

.nav-item.open .nav-trigger svg {
  transform: rotate(180deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-anchor {
  position: relative;
  top: -120px;
  display: block;
  height: 0;
}

#care-plans,
#process,
#services,
#contact,
#faq,
#blogs,
#our-team {
  scroll-margin-top: 140px;
}

.who-page #our-team,
.who-page #contact {
  scroll-margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-6);
  border-radius: var(--radius-sm);
  font: 600 18px/1.4 "Poppins", sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--color-primary-tang-500);
  color: var(--color-primary-tang-500);
}

.btn-outline:hover {
  background: var(--color-primary-tang-50);
}

.btn-outline-light {
  border: 1.5px solid var(--color-primary-tang-500);
  color: var(--color-primary-tang-500);
  background: var(--color-primary-tang-50);
}

.btn-primary {
  background: var(--color-primary-tang-500);
  color: var(--color-background-alice-50);
}

.btn-primary:hover {
  box-shadow: var(--shadow-soft);
}

.btn-light {
  background: var(--color-background-alice-50);
  color: var(--color-primary-tang-500);
}

.who-page main {
  padding-top: 0px;
}

.hero .container {
  max-width: 100%;      
  padding-left: 0px;     
  padding-right: 540px;
}

.hero-content {
  max-width: 650px;       /* keep readable line length */
  padding-left: 0;        /* reset forced 100px padding */
  padding-right: 0;
}


.hero {
  position: relative;
  padding: calc(var(--spacing-20) + 32px) 0 var(--spacing-20);
  color: var(--color-background-alice-50);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 94, 231, 0.85) 0%, rgba(0, 94, 231, 0.45) 45%, rgba(0, 94, 231, 0.2) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  max-width: 900px;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 100px;
  padding-right: 100px;
  line-height: 1.4;
  margin-left: 0;
  text-align: left;
}



.hero h1 {
  font-size: clamp(40px, 5vw, 48px);
  line-height: 1.3;
  margin: 0;
}

.lead {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 400;
  color: var(--color-background-alice-400);
  margin: 0;
}

.hero-subtitle {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-6);
}

.intro {
  padding: var(--spacing-14) 0 40px 0;
}

.section-heading {
  text-align: center;
  max-width: 1300px;
  margin: 0 auto var(--spacing-4);
}

.section-heading h2 {
  font-size: 48px;
  line-height: 1.5;
  margin-bottom: var(--spacing-4);
}

.section-heading p {
  font-size: clamp(20px, 3vw, 20px);
  color: var(--color-secondary-night-300);
  margin: 0;
}

.highlight-panel {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(0, 94, 231, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 20px;
}

.panel-media {
  /* Make the media take the full width of its grid cell */
  width: 100%;
  /* keep a sensible minimum height so the panel doesn't collapse */
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.panel-media img {
  /* Fill the container and center the image horizontally/vertically */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* Let the highlight-panel's overflow/rounding control the visible corners */
  border-radius: 0;
}

.panel-copy {
  /* uniform 16px padding on all sides as requested previously */
  padding-top: 28px;
  padding-bottom: 28px;
  padding-right: 16px;
  padding-left: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.panel-copy article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-4);
  align-items: start;
}

.panel-copy h3 {
  margin: 0 0 var(--spacing-2);
  font-size: 24px;
  font-weight: 500;
}

.panel-copy p {
  margin: 0;
  font-size: 18px;
  color: var(--color-secondary-night-300);
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--color-primary-tang-500);
}

.icon-circle svg {
  width: 20px;
  height: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.feature-card {
  background: linear-gradient(180deg, var(--color-background-alice-50) 0%, var(--color-background-alice-400) 100%);
  border: 1px solid var(--color-primary-tang-100);
  border-radius: var(--radius-md);
  padding: var(--spacing-6);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  min-height: 256px;
}

.feature-card h3 {
  margin: 0;
  font-size: 24px;
}

.feature-card p {
  margin: 0;
  font: 400 16px/1.6 "Roboto", sans-serif;
  color: var(--color-secondary-night-300);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: inline-flex;
}

.gradient-blue {
  background: linear-gradient(135deg, rgba(0, 94, 231, 0.2), rgba(0, 94, 231, 0.05));
}

.gradient-red {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.2), rgba(255, 68, 68, 0.05));
}

.gradient-gold {
  background: linear-gradient(135deg, rgba(247, 152, 0, 0.2), rgba(247, 152, 0, 0.05));
}

.specialized {
  padding: 0 0 var(--spacing-20) 0;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-6);
}

.care-card {
  background: var(--color-background-alice-50);
  border: 1px solid var(--color-primary-tang-500);
  border-radius: var(--radius-md);
  padding: var(--spacing-6);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--spacing-5);
  align-items: start;
}

.care-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.care-card__body h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-secondary-night-500);
}

.care-card__body p {
  margin: 0;
  font: 400 16px/1.6 "Roboto", sans-serif;
  color: rgba(0, 39, 97, 0.8);
}

.care-icon {
  width: 72px;
  height: 72px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--color-primary-tang-500);
}

.care-icon svg {
  width: 36px;
  height: 36px;
}

.tone-primary {
  background: rgba(0, 94, 231, 0.1);
  color: var(--color-primary-tang-500);
}

.tone-red {
  background: rgba(255, 68, 68, 0.12);
  color: var(--color-additional-red-500);
}

.tone-green {
  background: rgba(138, 224, 161, 0.18);
  color: var(--color-additional-green-500);
}

.tone-neutral {
  background: rgba(17, 17, 17, 0.1);
  color: var(--color-secondary-night-500);
}

.process {
  padding: 20px 0 var(--spacing-20) 0;
  background: linear-gradient(180deg, rgba(255, 236, 236, 0.25), rgba(255, 236, 236, 0));
}

.process h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: var(--spacing-12);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-6);
}

.process-card {
  position: relative;
  background: linear-gradient(180deg, var(--color-background-alice-50), var(--color-primary-tang-50));
  border: 0.5px solid rgba(0, 94, 231, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--spacing-6) var(--spacing-4) var(--spacing-6);
  text-align: center;
}

.process-card h3 {
  margin: var(--spacing-6) 0 var(--spacing-3);
  font-size: 24px;
}

.process-card p {
  margin: 0;
  font: 400 18px/1.5 "Roboto", sans-serif;
  color: rgba(17, 17, 17, 0.8);
}

.badge {
  position: absolute;
  left: 50%;
  top: -33px;
  transform: translateX(-50%);
  width: 66px;
  height: 66px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-tang-100);
  background: var(--color-background-alice-50);
  display: grid;
  place-items: center;
  padding: var(--spacing-2-5);
  box-shadow: var(--shadow-soft);
}

.badge img {
  width: 40px;
  height: 40px;
}

.process-actions {
  margin-top: var(--spacing-12);
  display: flex;
  justify-content: center;
  gap: var(--spacing-6);
}

.cta {
  position: relative;
  padding: var(--spacing-16) 0;
  background: var(--color-primary-tang-500);
  color: var(--color-background-alice-50);
  overflow: visible;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 24px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.32) 20%, transparent 21%);
  background-size: 16px 16px;
  opacity: 0.45;
  pointer-events: none;
}

.cta::before {
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
}

.cta::after {
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
}
/* CTA Section Wrapper */
.cta {
  background: var(--color-primary-tang-500);
  padding-left: 200px;
  padding-right: 200px;
  position:  relative;
  overflow: visible;
  z-index: 0;
}

/* Layout */
.cta .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-8);
  position: relative;
  z-index: 2; /* ensures content stays above background */
}

/* Text Block */
.cta-copy {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
  color: #ffffff;            /* readable on dark/gradient bg */
  position: relative;
  z-index: 3;
}

/* Heading */
.cta h2 {
  margin: 0 0 var(--spacing-2);
  font-size: clamp(32px, 4vw, 40px);
  color: #ffffff;
  font-weight: 700;
  z-index: 3;
}

/* Paragraph */
.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  z-index: 3;
}


.cta .btn-light {
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding-inline: var(--spacing-6);
  position: relative;
  z-index: 2;
}
/* FAQ Section */
.faq {
  padding: var(--spacing-20) 0;
}

.faq h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: var(--spacing-10);
}

/* FAQ List */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: var(--spacing-3);
  color: var(--color-secondary-night-300);
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 94, 231, 0.15);
  border-radius: var(--radius-sm);
  padding: var(--spacing-4) var(--spacing-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-3);

  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;

  color: var(--color-primary-tang-900);
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.faq-question span {
  flex: 1;
  text-align: left;
}

/* Icon */
.faq-question svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary-tang-500);
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.3s ease;
}

/* If using an image sprite/file for the FAQ toggle, keep size and rotation consistent */
.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.faq-question.is-open .faq-icon {
  transform: rotate(180deg);
}

/* Open State */
.faq-question.is-open {
  background: var(--color-primary-tang-50);
}

.faq-question.is-open svg {
  transform: rotate(180deg);
}

/* FAQ Answer (Smooth Expand) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--spacing-5);

  color: var(--color-secondary-night-300);
  font-size: 16px;
  line-height: 1.55;

  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-answer p {
  margin: var(--spacing-3) 0;
}

/* Open Answer */
.faq-question.is-open + .faq-answer {
  max-height: 300px; /* enough for 4–6 lines */
  padding: var(--spacing-3) var(--spacing-5);
}

/* Top popup shown beneath the sticky header */
.top-popup {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 1200;
  max-width: calc(100% - 48px);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 10px 14px;
  opacity: 0;
  visibility: hidden;
  transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
}
.top-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.top-popup__inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-popup__inner p {
  margin: 0;
  font-weight: 600;
  color: var(--color-secondary-night-500);
}
.top-popup__close {
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  color: var(--color-secondary-night-300);
}

/* Video modal overlay */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 12, 28, 0.7);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.video-modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.video-modal {
  width: min(1100px, 96vw);
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  max-height: 86vh;
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.5);
  position: relative;
}
.video-modal__frame {
  width: 100%;
  height: min(62vh, 640px);
  display: block;
  border: 0;
}
.video-modal__close {
  position: absolute;
  right: 8px;
  top: 8px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
}


.site-footer {
  background: var(--color-background-alice-50);
  color: var(--color-secondary-night-500);
  padding: var(--spacing-16) 0 var(--spacing-10);
  box-shadow: 0 -30px 16px rgba(0, 94, 231, 0), 0 -19px 16px rgba(0, 94, 231, 0.01), 0 -11px 12px rgba(0, 94, 231, 0.05), 0 -5px 10px rgba(0, 94, 231, 0.09), 0 -1px 6px rgba(0, 94, 231, 0.1);
}

.site-footer .container {
  max-width: 100%;
  padding-left: 0px;
  padding-right: 0px;
}


.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-10);
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.footer-brand img {
  width: 150px;
  height: auto;
}

.footer-brand p {
  margin: 0;
  font: 400 16px/1.6 "Roboto", sans-serif;
  color: rgba(17, 17, 17, 0.7);
}

.footer-columns {
  flex: 1 1 420px;
  display: grid;
  gap: var(--spacing-10);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
}

.footer-column h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.footer-column a {
  font: 400 16px/1.5 "Roboto", sans-serif;
  color: rgba(17, 17, 17, 0.7);
  transition: color 0.2s ease;
}

.footer-column a:hover,
.footer-column a:focus {
  color: var(--color-primary-tang-500);
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3);
  font: 500 16px/1.4 "Roboto", sans-serif;
  color: rgba(17, 17, 17, 0.7);
}

.footer-social__link:hover,
.footer-social__link:focus {
  color: var(--color-primary-tang-500);
}

.footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-primary-tang-500);
  flex-shrink: 0;
}

.footer-icon svg {
  width: 100%;
  height: 100%;
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  font: 400 16px/1.5 "Roboto", sans-serif;
  color: rgba(17, 17, 17, 0.7);
}

.footer-contact__item:not(:last-child) {
  margin-bottom: var(--spacing-2);
}

.footer-contact__item:hover,
.footer-contact__item:focus-within {
  color: var(--color-primary-tang-500);
}

.footer-contact__item p {
  margin: 0;
  line-height: 1.6;
}

.footer-contact__sub {
  display: block;
  margin-top: 2px;
  font: 500 14px/1.4 "Roboto", sans-serif;
  color: var(--color-primary-tang-500);
}

.footer-divider {
  height: 1px;
  background: rgba(133, 152, 179, 0.6);
  margin: var(--spacing-10) 0 var(--spacing-6);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-4);
  font: 400 16px/1.5 "Roboto", sans-serif;
  color: var(--color-secondary-night-300);
}

.footer-meta__links {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  flex-wrap: wrap;
}

.footer-meta__separator {
  color: rgba(133, 152, 179, 1);
}

.footer-meta__links a {
  color: var(--color-primary-tang-500);
  transition: color 0.2s ease;
}

.footer-meta__links a:hover,
.footer-meta__links a:focus {
  text-decoration: underline;
}

.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 94, 231, 0.2);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  z-index: 30;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-primary-tang-500);
  stroke-width: 2;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal-source,
.hero-content,
.highlight-panel,
.feature-card,
.care-card,
.process-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-source.is-visible,
.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Care Plans page */

.care-page main {
  /* Total top spacing aimed at ≈80px: keep .plans-hero top padding (40px)
     and use 40px here so combined top gap is ~80px */
  padding-top: 0px;
}

.plans-hero {
  /* Reduced top padding to align with .care-page main */
  padding: var(--spacing-6) 0 var(--spacing-3);
  background: linear-gradient(180deg, rgba(255, 247, 247, 0.6) 0%, rgba(245, 252, 255, 0) 100%);
  text-align: center;
}

.plans-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.plans-hero__content h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  color: var(--color-secondary-night-500);
}

.plans-hero__content p {
  margin: 0 auto;
  max-width: 640px;
  font: 400 20px/1.5 "Poppins", sans-serif;
  color: rgba(17, 17, 17, 0.7);
}

.plans-section {
  position: relative;
  padding-bottom: var(--spacing-20);
}

.plans-section::before {
  content: "";
  position: absolute;
  inset: 80px 0 auto;
  height: 420px;
  background: radial-gradient(circle at 50% 0%, rgba(247, 152, 0, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.plan-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  /* Explicit 24px gap between plan cards as requested */
  gap: 20px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  padding: var(--spacing-7) var(--spacing-6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-background-alice-50);
  box-shadow: 0 24px 50px rgba(0, 102, 255, 0.22);
  overflow: hidden;
  position: relative;
}

.plan-card--silver {
  background: linear-gradient(180deg, #6da1ff 0%, #005ee7 100%);
}

.plan-card--gold {
  background: linear-gradient(180deg, #6da1ff 0%, #005ee7 100%);
}

.plan-card--platinum {
  background: linear-gradient(180deg, #6da1ff 0%, #005ee7 100%);
}

.plan-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
  text-align: center;
}

.plan-card__icon {
  width: 42px;
  height: 50px;
  color: rgba(255, 255, 255, 0.9);
}

.plan-card__title {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
}

.plan-card__tagline {
  margin: 0;
  font: 600 20px/1.4 "Poppins", sans-serif;
}

.plan-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.plan-card__list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  font: 500 18px/1.5 "Poppins", sans-serif;
}


/* replaced pseudo tick with explicit image icon per item */
.plan-card__list li .plan-list__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-block;
  object-fit: contain;
}

.plan-card__list li span {
  display: inline-block;
}

/* Icon next to each plan list item */
.plan-list__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-block;
}
.plan-card__list li span {
  display: inline-block;
}

.plan-card__price {
  display: flex;
  /* justify-content: center; */
  align-items: baseline;
  gap: var(--spacing-2);
  width: 100%;
  font: 500 16px/1.4 "Poppins", sans-serif;
}

.plan-card__amount {
  font-size: 36px;
  line-height: 1.3;
}

.plan-card__per {
  opacity: 0.8;
}

.plan-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-5);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 17, 17, 0.8);
  background: var(--color-background-alice-50);
  color: var(--color-secondary-night-500);
  font: 500 18px/1.4 "Poppins", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Center the card CTA button horizontally */
.plan-card__button {
  align-self: center;
}

.plan-card__button:hover,
.plan-card__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.4) inset;
  outline: none;
}

.plan-contact {
  position: relative;
  z-index: 1;
  margin-top: var(--spacing-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-3);
  text-align: center;
}

.plan-contact__or {
  font: 500 20px/1.4 "Poppins", sans-serif;
  color: rgba(17, 17, 17, 0.6);
}

.plan-contact__link {
  font: 500 20px/1.4 "Poppins", sans-serif;
  color: var(--color-primary-tang-500);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius-sm);
  /* background: var(--color-primary-tang-500); */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plan-contact__link:hover,
.plan-contact__link:focus {
  transform: translateY(-2px);
  /* box-shadow: var(--shadow-soft); */
}

.plan-contact__link:hover,
.plan-contact__link:focus-visible {
  color: var(--color-primary-tang-900);
  outline: none;
}

/* Who we are page */

/* ------------------------------
   WHO OVERVIEW — UPDATED SECTION
--------------------------------*/

.who-overview {
  padding: 80px 0 var(--spacing-20);
  background: linear-gradient(
    180deg,
    rgba(0, 94, 231, 0.06),
    transparent 20%
  );
}

/* MOBILE-FIRST STACK */
.who-overview__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 650px;
  margin: 0 auto;
  padding-inline: 20px;
}

.who-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.who-card h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 600;
}

.who-card p {
  margin: 0;
  font: 400 18px/1.6 "Poppins", sans-serif;
  color: rgba(17, 17, 17, 0.8);
  max-width: 90%;
  margin-inline: auto;
}

/* IMAGE */
.who-overview__image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 40px rgba(1, 52, 146, 0.18);
}

.who-overview__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* DESKTOP GRID (≥900px) */
@media (min-width: 900px) {
  .who-overview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    padding-inline: 40px;
  }

  .who-card {
    padding: var(--spacing-8);
    justify-content: center;
    gap: 16px;
  }

  .who-card p {
    font-size: 20px;
    max-width: 100%;
  }

  .who-overview__image {
    height: 100%;
  }

  .who-overview__image img {
    height: 100%;
  }
}

/* ------------------------------
   REMAINING CSS (UNCHANGED)
--------------------------------*/

.who-team {
  padding: var(--spacing-20) 0;
  background: var(--color-primary-tang-50);
}

.who-team__intro {
  text-align: center;
  max-width: 840px;
  margin-inline: auto;
  margin-bottom: var(--spacing-12);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.who-team__intro h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
}

.who-team__intro p {
  margin: 0;
  font: 400 20px/1.5 "Poppins", sans-serif;
  color: rgba(17, 17, 17, 0.7);
}

.who-team__grid {
  display: grid;
  gap: var(--spacing-6);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.who-team-card {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: var(--spacing-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-5);
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 94, 231, 0.08);
}

.who-team-card__avatar {
  width: 158px;
  height: 158px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary-night-500);
  background-color: rgba(0, 94, 231, 0.12);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  font: 600 42px/1 "Poppins", sans-serif;
  color: var(--color-secondary-night-500);
  position: relative;
}

.who-team-card__avatar::after {
  content: attr(data-initial);
}

.who-team-card__avatar.has-photo::after {
  content: "";
}

.who-team-card__heading h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.who-team-card__heading p {
  margin: 0;
  font: 500 18px/1.3 "Poppins", sans-serif;
  color: rgba(17, 17, 17, 0.7);
}

.who-team-card__bio {
  margin: 0;
  font: 400 16px/1.6 "Poppins", sans-serif;
  color: rgba(17, 17, 17, 0.8);
}

.who-team-card__social {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-pill);
  background: rgba(0, 94, 231, 0.08);
  color: var(--color-primary-tang-500);
  font: 500 16px/1.4 "Poppins", sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
}

.who-team-card__social:hover {
  background: var(--color-primary-tang-500);
  color: var(--color-background-alice-50);
}

.who-team-card__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.who-contact {
  padding: var(--spacing-20) 0;
}

.who-contact__wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(var(--spacing-6), 4vw, var(--spacing-10));
  align-items: stretch;
}

.who-contact__card {
  position: relative;
  background: var(--color-primary-tang-500);
  color: var(--color-background-alice-50);
  border-radius: var(--radius-md);
  padding: var(--spacing-8);
  overflow: hidden;
  box-shadow: 0 28px 48px rgba(0, 94, 231, 0.25);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}

.who-contact__card::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -160px;
  top: 40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 65%);
  transform: translateY(-50%);
  z-index: 0;
}

.who-contact__card h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 36px);
  font-weight: 600;
}

.who-contact__card > * {
  position: relative;
  z-index: 1;
}

.who-contact__locations {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}

.who-contact__location h3 {
  margin: 0 0 var(--spacing-2);
  font-size: 20px;
  font-weight: 600;
}

.who-contact__location p {
  margin: 0;
  font: 400 16px/1.6 "Poppins", sans-serif;
}

.who-contact__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  position: relative;
  z-index: 1;
}

.who-contact__meta li {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.who-contact__meta a {
  color: var(--color-background-alice-50);
  font: 500 16px/1.6 "Poppins", sans-serif;
}

.who-contact__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
}

.who-contact__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.who-contact__form {
  background: #fff;
  border: 1px solid rgba(0, 94, 231, 0.35);
  border-radius: var(--radius-md);
  padding: var(--spacing-8);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  box-shadow: 0 24px 35px rgba(0, 94, 231, 0.12);
}

.who-contact__form h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 28px);
  font-weight: 500;
  color: var(--color-secondary-night-500);
}

.who-contact__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-6);
}

.who-input {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
  font: 500 18px/1.6 "Poppins", sans-serif;
  color: var(--color-secondary-night-500);
}

.who-input span {
  letter-spacing: 0.36px;
}

.who-input input,
.who-input textarea {
  font: 400 16px/1.6 "Poppins", sans-serif;
  border: none;
  border-bottom: 1px solid rgba(181, 181, 181, 1);
  padding: 0 0 var(--spacing-2);
  background: transparent;
  color: var(--color-secondary-night-500);
  outline: none;
}

.who-input textarea {
  resize: vertical;
  min-height: 120px;
}

.who-input--full {
  grid-column: 1 / -1;
}

.who-contact__form .btn {
  align-self: flex-start;
  min-width: 170px;
}


/* --- Blogs Page Styles --- */
.blogs-main {
  background: var(--color-background-alice-50);
}

.blogs-hero {
  text-align: center;
  margin-bottom: var(--spacing-10);
}
.blogs-hero__title {
  margin: 0;
  font-size: clamp(36px, 5vw, 40px);
  font-weight: 600;
  color: var(--color-secondary-night-500);
}
.blogs-hero__subtitle {
  margin: 12px 0 0 0;
  max-width: 620px;
  margin-inline: auto;
  color: rgba(17, 17, 17, 0.7);
  font: 400 17px/1.5 "Poppins", sans-serif;
}

.blogs-grid-section {
  position: relative;
  padding-bottom: var(--spacing-20);
  background: radial-gradient(ellipse 100vw 60vw at 54vw 70vw, #f7e6ff22 0%, transparent 90%);
  min-height: 33vh;
}
/* .blogs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-6);
  justify-content: center;
  align-items: stretch;
  width: 100%;
} */

/* --- Force 4 Cards in One Row (Desktop) --- */
.blogs-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-6);
  width: 100%;
  justify-items: center;
}


.blog-card {
  background: var(--color-background-alice-50);
  border: 1px solid var(--color-primary-tang-100);
  border-radius: var(--radius-md);
  max-width: 315px;
  min-width: 287px;
  flex: 1 1 290px;
  box-shadow: 0 8px 24px rgba(0,94,231,0.09);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s cubic-bezier(0.36,0,0.66,0.99), transform 0.13s;
  will-change: box-shadow, transform;
}
.blog-card:hover {
  box-shadow: 0 16px 26px rgba(0, 94, 231, 0.13);
  transform: translateY(-4px) scale(1.03);
}
.blog-card__media {
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  height: 190px;
  background: #ecf5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card__img-placeholder {
  width: 96%;
  height: 154px;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, #e6e9f2 0 14px, #ced2de 15px 28px);
  display: block;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  padding: 8px;
  box-sizing: border-box;
}
.blog-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-5);
  gap: var(--spacing-4);
}
.blog-card__title {
  margin: 0 0 4px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-secondary-night-500);
}
.blog-card__desc {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: var(--color-secondary-night-200);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}
.blog-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  font-size: 14px;
  color: var(--color-secondary-night-500);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .blogs-grid {
    justify-content: center;
    gap: var(--spacing-5);
  }
  .blog-card {
    max-width: 310px;
    min-width: 280px;
    flex-basis: 48%;
  }
}

@media (max-width: 850px) {
  .blogs-main {
    padding-top: 54px;
  }
  .blogs-grid {
    justify-content: center;
    gap: var(--spacing-5);
  }
  .blog-card {
    max-width: 340px;
    min-width: 300px;
    flex-basis: 90%;
  }
}
@media (max-width: 640px) {
  .blogs-grid {
    justify-content: center;
    gap: var(--spacing-4);
  }
  .blog-card {
    min-width: 85vw;
    max-width: 95vw;
  }
  .blogs-hero__title {
    font-size: 30px;
  }
}


/* --- Blog Detail Page Styles --- */
.blog-page main.blog-detail-main {
  padding-top: clamp(10px, 10vw, 10px);
  background: var(--color-background-alice-50);
}
.blog-detail-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-10);
  max-width: 720px;
  margin-inline: auto;
  padding-bottom: var(--spacing-12);
}
.blog-detail {
  width: 100%;
}
.blog-detail__header {
  padding-top: var(--spacing-6);
  margin-bottom: var(--spacing-8);
}
.blog-detail__title {
  font-size: clamp(23px, 4vw, 28px);
  font-weight: 600;
  margin: 0 0 var(--spacing-3) 0;
  color: var(--color-secondary-night-500);
}
.blog-detail__meta {
  font: 400 14px/1.4 "Roboto", sans-serif;
  color: var(--color-secondary-night-200);
  display: flex;
  gap: 10px;
  margin-bottom: var(--spacing-6);
  align-items: center;
}
.blog-detail__image-placeholder {
  display: block;
  width: 100%;
  max-width: 368px;
  aspect-ratio: 1.28 / 1;
  border-radius: 14px;
  background: repeating-linear-gradient(135deg, #e6e9f2 0 16px, #ced2de 18px 32px);
  margin: 0 auto;
}

.blog-detail__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: var(--spacing-6);
}
.blog-detail__body {
  font: 400 17px/1.7 "Poppins",sans-serif;
  color: var(--color-secondary-night-500);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}
.blog-detail__list {
  margin: var(--spacing-6) 0;
  padding-left: 1em;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  font-size: 16px;
  color: var(--color-secondary-night-500);
}
.blog-detail__list li {
  margin-bottom: var(--spacing-2);
  line-height: 1.7;
}
.blog-detail__list strong {
  font-weight: 600;
  color: var(--color-primary-tang-900);
}

.blog-more-section {
  padding: var(--spacing-12) 0 var(--spacing-16);
  background: linear-gradient(180deg, rgba(245, 252, 255, 0.35) 0%, rgba(245, 252, 255, 0) 100%);
}
.blog-more-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  max-width: 1020px;
}
.blog-more__heading {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--color-secondary-night-500);
}
.blog-more-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4);
  width: 100%;
}
@media (min-width: 600px) {
  .blog-more-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-5);
  }
}
.blog-card.mini {
  width: 100%;
  padding: 0;
  box-shadow: 0 2px 13px rgba(0,94,231,0.09);
  transition: box-shadow 0.13s;
  margin: 0;
  border-radius: var(--radius-md);
  background: var(--color-background-alice-50);
}
.blog-card.mini .blog-card__body {
  padding: var(--spacing-4) var(--spacing-4) var(--spacing-3);
  gap: var(--spacing-2);
}
.blog-card.mini .blog-card__media {
  /* match the main blog detail image aspect ratio for visual consistency */
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #e1e8f0;
  display: block;
  overflow: hidden;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}
.blog-card.mini .blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 0px;
  box-sizing: border-box;
}
.blog-card.mini .blog-card__img-placeholder {
  width: 90px;
  height: 74px;
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, #e6e9f2 0 10px, #ced2de 12px 20px);
  display: block;
}

@media (max-width: 900px) {
  .blog-detail-wrapper {
    padding-left: var(--spacing-2);
    padding-right: var(--spacing-2);
    max-width: 96vw;
  }
}
@media (max-width: 700px) {
  .blog-more-grid {
    grid-template-columns: 1fr;
  }
  .blog-detail__image-placeholder {
    aspect-ratio: 1.6/1;
    max-width: 100%;
  }
}


/* Register modal styles (loaded from register.html) */
.register-modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 12, 28, 0.55);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.register-modal-overlay[aria-hidden="false"],
.register-modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.register-modal {
  width: 455px;
  height: 593px;
  background: #ffffff;
  color: var(--color-secondary-night-500);
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.32);
  padding: 24px;
  transform: translateY(-8px);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.register-modal-overlay.is-visible .register-modal {
  transform: translateY(0);
}
.register-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.register-modal__header h2 {
  margin: 0 0 6px 0;
  font-size: 22px;
}
.register-modal__subtitle {
  margin: 0 0 12px 0;
  color: var(--color-secondary-night-300);
}
.register-modal__form {
  display: grid;
  gap: 12px;
}
.register-modal__form .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.register-modal__form .form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 14px/1.4 "Poppins", sans-serif;
  cursor: pointer;
  margin-top: 6px;
}
.register-modal__form .form-checkbox input[type="checkbox"] {
  cursor: pointer;
}
.register-modal__form input[type="text"],
.register-modal__form input[type="email"],
.register-modal__form input[type="tel"] {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(17,17,17,0.08);
  font: 400 16px/1.4 "Poppins", sans-serif;
}
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
}
.register-modal__status {
  margin-top: 8px;
  color: var(--color-secondary-night-500);
}
@media (max-width: 520px) {
  .register-modal { width: calc(100% - 24px); padding: 16px; }
  .form-actions { flex-direction: column; }
}

body.modal-open {
  overflow: hidden;
}

/* Success modal styles (loaded from success.html) */
.success-modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 12, 28, 0.55);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.success-modal-overlay[aria-hidden="false"],
.success-modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.success-modal {
  width: 500px;
  height: 362px;
  background: #ffffff;
  color: var(--color-secondary-night-500);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.32);
  padding: 32px 24px;
  transform: translateY(-8px);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.success-modal-overlay.is-visible .success-modal {
  transform: translateY(0);
}
.success-modal__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary-tang-50);
  display: grid;
  place-items: center;
  color: var(--color-primary-tang-500);
  margin-bottom: 8px;
}
.success-modal__icon svg {
  width: 48px;
  height: 48px;
}
.success-modal__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.success-modal__header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-secondary-night-500);
}
.success-modal__message {
  margin: 0;
  font: 400 16px/1.5 "Poppins", sans-serif;
  color: var(--color-secondary-night-300);
  max-width: 420px;
}
.success-modal__actions {
  margin-top: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.success-modal__confirm {
  min-width: 140px;
}
@media (max-width: 580px) {
  .success-modal {
    width: calc(100% - 32px);
    height: auto;
    padding: 24px;
  }
  .success-modal__header h2 {
    font-size: 20px;
  }
  .success-modal__message {
    font-size: 14px;
  }
}

/* Loading modal styles (shown during form submission) */
.loading-modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 12, 28, 0.55);
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.loading-modal-overlay[aria-hidden="false"],
.loading-modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.loading-modal {
  display: grid;
  place-items: center;
  padding: 32px;
  transform: scale(0.95);
  transition: transform 180ms ease;
}
.loading-modal-overlay.is-visible .loading-modal {
  transform: scale(1);
}
.loading-modal__gif {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* --- Blog More Carousel --- */
.blog-more-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-more-track {
  display: flex;
  gap: var(--spacing-6);
  overflow: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}
.blog-more-track .blog-card {
  /* Match the cards used on the main blogs page */
  flex: 0 0 290px;
  max-width: 315px;
  min-width: 287px;
}

/* Make the media area smaller for the "More blogs" carousel */
.blog-more-track .blog-card__media {
  height: 106px;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e9f0fb;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}
.blog-more-track .blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.carousel-btn {
  background: #fff;
  border: 1px solid #e6eefc;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  cursor: pointer;
}
.carousel-btn[disabled] { opacity: 0.45; cursor: default; }

@media (max-width: 900px) {
  .blog-more-track .blog-card { flex: 0 0 calc((100% - (2 * 24px)) / 3); }
}
@media (max-width: 640px) {
  .blog-more-carousel { gap: 8px; }
  .blog-more-track { gap: var(--spacing-4); }
  .blog-more-track .blog-card { flex: 0 0 85%; }
  .carousel-btn { display: none; }
}


/* --- Legal Pages (Privacy Policy & Terms and Conditions) --- */
.legal-main {
  background: var(--color-background-alice-50);
  padding-top: 40px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-5);
}

.legal-hero {
  text-align: center;
  margin-bottom: 60px;
  padding-top: 40px;
}

.legal-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: var(--color-secondary-night-500);
  margin: 0 0 12px 0;
}

.legal-hero__subtitle {
  font-size: 18px;
  color: rgba(17, 17, 17, 0.7);
  margin: 0;
  font: 400 18px/1.5 "Poppins", sans-serif;
}

.legal-content {
  background: transparent;
  border-radius: 0;
  padding: var(--spacing-12);
}

.legal-article {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-10);
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.legal-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-secondary-night-500);
  margin: 0;
  padding-bottom: var(--spacing-2);
}

.legal-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-secondary-night-500);
  margin: var(--spacing-4) 0 var(--spacing-2) 0;
}

.legal-section p {
  font: 400 16px/1.7 "Poppins", sans-serif;
  color: rgba(17, 17, 17, 0.85);
  margin: 0;
  text-align: justify;
}

.legal-list {
  list-style: none;
  margin: var(--spacing-3) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  padding-left: var(--spacing-6);
}

.legal-list li {
  font: 400 16px/1.6 "Poppins", sans-serif;
  color: rgba(17, 17, 17, 0.85);
  position: relative;
  padding-left: var(--spacing-3);
}

.legal-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--color-primary-tang-500);
  font-weight: 600;
}

.legal-link {
  color: var(--color-primary-tang-500);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: var(--color-primary-tang-900);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .legal-container {
    padding: 0 var(--spacing-4);
  }
  .legal-content {
    padding: var(--spacing-8);
  }
}

@media (max-width: 600px) {
  .legal-main {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  .legal-hero {
    margin-bottom: 40px;
    padding-top: 20px;
  }
  .legal-hero__title {
    font-size: 28px;
  }
  .legal-content {
    padding: var(--spacing-6);
  }
  .legal-section h2 {
    font-size: 20px;
  }
  .legal-section h3 {
    font-size: 16px;
  }
  .legal-section p {
    font-size: 15px;
    text-align: left;
  }
  .legal-list {
    padding-left: var(--spacing-5);
  }
}

/* ---------- Mobile / Responsive tweaks (Clean Version) ---------- */

/* 1. GLOBAL MOBILE TWEAKS */
.container {
  width: min(100%, var(--max-width));
  padding-inline: 20px;
  margin-inline: auto;
}

/* Mobile navigation toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  cursor: pointer;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

/* 2. TABLET LAYOUT (900px) */
@media (max-width: 900px) {
  .site-header .container { gap: 12px; }
  .nav-toggle { display: inline-flex; }

  /* Slide-down Nav Drawer */
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: #fff;
    padding: 12px 20px;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    box-shadow: 0 8px 30px rgba(2,6,23,0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 60;
    transition: all 0.2s ease;
  }

  body.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a, .nav-links .nav-item {
    padding: 12px 6px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 16px;
  }

  .nav-links .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 0;
    display: none;
  }
  .nav-item.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
  
  .who-contact__fields {
    grid-template-columns: 1fr !important;
  }
  
  .scroll-top {
    right: 16px; bottom: 16px;
  }
}

/* 3. SMALL MOBILE TEXT SIZES */
@media (max-width: 480px) {
  .btn { font-size: 16px; padding-inline: 12px; }
  .hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .section-heading h2 { font-size: 28px; }
}

/* 4. NAV REFINEMENTS (768px) */
@media (max-width: 768px) {
  .site-header .container { align-items: center; }
  .brand img { height: 36px; width: auto; }
  .nav-toggle { margin-left: auto; }
  
  .site-header .btn.btn-outline { display: block; width: 100%; margin-top: 8px; justify-content: center; }
  .mobile-login-clone { display: block; margin: 8px 0 0 0; width: 100%; justify-content: center; }
}

/* 5. MOBILE NAV (480px - Centered Card Style) */
@media (max-width: 480px) {
  .nav-links {
    all: unset; position: fixed; top: 72px; left: 50%; transform: translateX(-50%) translateY(-8px);
    width: min(360px, calc(100% - 32px)); background: #ffffff; border-radius: 14px; padding: 24px 20px;
    box-shadow: 0 12px 30px rgba(2,6,23,0.18); display: flex; flex-direction: column; gap: 16px;
    align-items: center; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; z-index: 1001;
    transition: all 200ms ease;
  }
  body.nav-open .nav-links { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
  body.nav-open::before { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); z-index: 900; }
  .nav-links a, .nav-links .nav-trigger { font-size: 18px; font-weight: 600; padding: 8px 0; justify-content: center; width: 100%; }
  
  .mobile-login-clone { 
    width: 135px; height: 41px; border-radius: 10px; border: 2px solid var(--color-primary-tang-500); 
    font-weight: 600; font-size: 15px; color: var(--color-primary-tang-500); background: #ffffff; 
    display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; 
  }
}

/* Helper Styles */
.mobile-login-clone { display: none; }
.nav-item--dropdown { display: inline-flex; align-items: center; gap: 8px; }
.nav-item--dropdown > a { flex: 1 1 auto; display: inline-block; }
.nav-item--dropdown .nav-trigger--icon { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; }
.site-header, .nav-links, .nav-links .dropdown-menu { background: #ffffff !important; }
.nav-links .dropdown-menu a { background: #ffffff; }

/* ==========================================================================
   GEMINI CODES (FINAL FIXED VERSION - V22)
   0. Header Fix (Fixed Position + Body Padding to prevent gaps)
   1. Highlight Panel (Flexbox, Stacked on Mobile)
   2. Navigation (Who We Are Fixed, Login 129px Centered)
   3. Hero & Footer Padding (Fixed edges)
   4. Blog Grid Responsiveness (2 Columns Tablet, 1 Column Mobile)
   ========================================================================== */

/* --- 0. GLOBAL HEADER & LAYOUT FIX --- */

/* 1. Make Header Sticky */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0px 2px 4px -2px rgba(0, 94, 231, 0.12);
}

/* 2. Push Body Down (so header doesn't cover content) */
body {
  padding-top: 81px !important;
}

/* 3. FIX THE HERO GAP (Subtract Header height from Hero Padding) */
/* Originally 112px. Now 90px is handled by body, so we only need ~22px here */
.hero {
  padding-top: 100px !important; 
}

@media (max-width: 900px) {
  body { padding-top: 80px !important; }
  /* Tablet Adjustment */
  .hero { padding-top: 30px !important; } 
}

@media (max-width: 600px) {
  body { padding-top: 70px !important; }
  /* Mobile Adjustment */
  .hero { padding-top: 40px !important; padding-bottom: 60px !important; }
}

/* --- 1. HIGHLIGHT PANEL FIX --- */
.highlight-panel {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid rgba(0, 94, 231, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  align-items: stretch;
}

.panel-media {
  flex: 1;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100%;
}

.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0;
}

.panel-copy {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 32px 40px;
  background: linear-gradient(180deg, #FFF0F7 0%, #FFFFFF 100%);
}

.panel-copy article { display: flex; gap: 16px; align-items: flex-start; }
.icon-circle { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.icon-circle img { width: 24px; height: auto; }
.panel-copy h3 { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--color-secondary-night-500); }

@media (max-width: 900px) {
  .highlight-panel { flex-direction: column; }
  .panel-media { width: 100%; height: 350px; flex: none; }
  .panel-copy { width: 100%; padding: 32px 24px; }
}

@media (max-width: 600px) {
  .panel-media { height: 260px; }
  .panel-copy { padding: 24px 20px; gap: 16px; }
  .panel-copy h3 { font-size: 16px; }
}


/* --- 2. NAVIGATION FIX (Tablet & Mobile) --- */

@media (max-width: 1100px) {
  /* Header Layout */
  .site-header .container { justify-content: space-between; }
  .site-header .btn.btn-outline { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  /* Main Menu Container */
  .nav-links {
    all: unset;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    transform: translateY(-10px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    border-top: 1px solid #f0f0f0;
    transition: all 0.25s ease !important;
  }

  /* Open State */
  body.nav-open .nav-links {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
  body.nav-open::before { display: none !important; }


  /* --- ROW STYLING --- */
  .nav-item {
    width: 100% !important;
    border-bottom: 1px solid #f5f5f5 !important;
    display: flex !important;
    flex-wrap: wrap !important; 
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 60px !important;
  }

  /* Plain Links */
  .nav-links > a {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 24px !important;
    height: 60px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #111 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f5f5f5 !important;
  }
  
  /* Remove Blue Line on Mobile */
  .nav-links a.active::after,
  .nav-trigger.active::after { display: none !important; }
  .nav-links a.active,
  .nav-trigger.active { color: #005ee7 !important; font-weight: 600 !important; }

  /* Resources Button */
  .nav-links .nav-trigger:not(.nav-trigger--icon) {
    width: 100% !important;
    padding: 0 24px !important;
    height: 60px !important;
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #111 !important;
    background: none !important;
    border: none !important;
    text-align: left;
  }

  /* Who We Are Link */
  .nav-item--dropdown > a {
    display: flex !important;
    flex: 1 !important;        
    align-items: center !important;
    justify-content: flex-start !important; 
    padding: 0 0 0 24px !important; 
    height: 60px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #111 !important;
    text-decoration: none !important;
  }

  /* Arrow Button */
  .nav-trigger--icon {
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: none !important;
    border: none !important;
    color: #111 !important;
    flex: none !important;
  }
  .nav-links .nav-trigger svg { margin-left: 0 !important; }

  /* Dropdown Menu */
  .nav-links .dropdown-menu {
    width: 100% !important;
    flex-basis: 100% !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: #ffffff !important;
    padding: 0 0 12px 0 !important;
    display: none !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  .nav-item.open .dropdown-menu { display: flex !important; }

  .nav-links .dropdown-menu a {
    padding: 12px 24px 12px 48px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #111 !important; 
    background: transparent !important;
    border: none !important;
    display: block !important;
    height: auto !important;
  }

  /* Login Button */
  .nav-item--mobile-login {
    border-bottom: none !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    background: #fff !important;
    padding: 40px 0 !important;
  }
  .nav-links .mobile-login-clone, .mobile-login-clone {
    flex: none !important;  
    display: inline-flex !important;
    width: 129px !important;
    height: 41px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: 1.5px solid #005ee7 !important; 
    color: #005ee7 !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    margin: 0 !important;
  }
}
@media (max-width: 600px) {
  .nav-item--mobile-login { padding: 28px 0 !important; }
}


/* --- 3. HERO & FOOTER PADDING FIX --- */

@media (max-width: 1200px) {
  .hero .container { width: 100% !important; margin: 0 !important; }
  .hero .container.hero-content {
    text-align: left !important; align-items: flex-start !important; margin-left: 0 !important;
    padding-left: 40px !important; padding-right: 40px !important;
    max-width: 65% !important; width: 100% !important;
  }
  .hero-actions { justify-content: flex-start !important; }
  .site-footer .container { width: 100% !important; padding-left: 40px !important; padding-right: 40px !important; }
}

@media (max-width: 600px) {
  .hero { padding-top: 120px !important; padding-bottom: 60px !important; }
  .hero .container.hero-content {
    padding-left: 20px !important; padding-right: 20px !important; max-width: 100% !important;
  }
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 16px; width: auto; }
  .hero-actions .btn { width: auto; flex: 0 0 auto; }
  .site-footer .container { padding-left: 20px !important; padding-right: 20px !important; }
  .footer-top { flex-direction: column; gap: 40px; }
  .feature-grid, .care-grid, .process-grid, .who-overview__grid, .plan-grid { grid-template-columns: 1fr !important; }
  .section-heading h2 { font-size: 28px !important; }
  .cta { padding: 60px 20px !important; }
}

/* --- 4. BLOGS GRID FIX --- */
@media (max-width: 1200px) {
  .blogs-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    padding-left: 40px !important; padding-right: 40px !important;
  }
}
@media (max-width: 900px) {
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    padding-left: 40px !important; padding-right: 40px !important;
  }
  .blog-card { width: 100% !important; margin: 0 !important; }
}
@media (max-width: 600px) {
  .blogs-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding-left: 20px !important; padding-right: 20px !important;
  }
  .blog-card { width: 100% !important; max-width: 400px !important; margin: 0 auto !important; }
}

/* --- 5. WHO WE ARE GRID FIX (Matches Figma Properties) --- */
@media (min-width: 900px) {
  .who-overview__grid {
    display: grid !important;
    /* Grid Columns: Text (1fr) | Image (1.2fr) | Text (1fr) */
    grid-template-columns: 1fr 1.2fr 1fr !important;
    
    /* Gap: 24px (Matches Figma) */
    gap: 24px !important;
    
    /* Max Width: 1100px (Allows elements to sit close) */
    max-width: 1100px !important;
    
    /* Vertical Align: Center */
    align-items: center !important;
    
    margin: 0 auto !important;
    padding: 40px 24px !important;
  }
  
  .who-card {
    /* Remove extra internal padding that causes gaps */
    padding: 0 !important; 
    
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  
  /* Ensure image respects the column width */
  .who-overview__image {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* =========================================
   FIX: REMOVE HORIZONTAL WHITE GAP
   ========================================= */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Ensure no container accidentally pushes width */
.container, 
.site-header, 
.hero, 
.site-footer {
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

/* =========================================
   REGISTER MODAL DROPDOWN STYLING
   ========================================= */

.register-modal__form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(17,17,17,0.08);
  font: 400 16px/1.4 "Poppins", sans-serif;
  background-color: #fff;
  color: var(--color-secondary-night-500);
  outline: none;
  appearance: none; /* Removes default browser arrow */
  cursor: pointer;
  
  /* Custom Dropdown Arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Change text color for the placeholder option */
.register-modal__form select:invalid {
  color: #999;
}


/* =========================================
   CONTACT FORM DROPDOWN (Who We Are Page)
   ========================================= */
.who-input select {
  width: 100%;
  font: 400 16px/1.6 "Poppins", sans-serif;
  border: none;
  border-bottom: 1px solid rgba(181, 181, 181, 1);
  padding: 0 0 8px 0; /* Matches text inputs */
  background: transparent;
  color: var(--color-secondary-night-500);
  outline: none;
  cursor: pointer;
  border-radius: 0; /* Removes default rounded corners */
  appearance: none; /* Clean look */
  
  /* Custom Arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px;
}

/* Placeholder color */
.who-input select:invalid {
  color: rgba(17, 17, 17, 0.6); 
}

/* Option items */
.who-input select option {
  color: #111;
  background: #fff;
}

/* =========================================
   FOOTER LAYOUT FIX (Wider Contact Section)
   ========================================= */

/* Only apply this new layout on Desktop/Tablet (above 900px) */
@media (min-width: 900px) {
  .footer-columns {
    /* 1. Reduce the gap between columns (was 40px+) */
    gap: 8px !important;

    /* 2. Change Column Ratio:
       - Quick Links: Compact (0.8fr)
       - Follow Us: Compact (0.8fr)
       - Contact Us: Wide (2fr) -> Gives address room to spread out
    */
    grid-template-columns: 0.8fr 0.8fr 10fr !important;
  }
}

/* =========================================
   QA FIX: SPEED UP ANIMATIONS (Make site snappy)
   ========================================= */

/* 1. Faster Scroll Reveal (Was 0.6s -> Now 0.3s) */
.reveal-source,
.hero-content,
.highlight-panel,
.feature-card,
.care-card,
.process-card,
.who-team-card,
.who-contact__card, 
.who-contact__form,
.blog-card {
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* 2. Faster FAQ Toggle (Was 0.35s -> Now 0.2s) */
.faq-answer {
  transition: max-height 0.2s ease, padding 0.2s ease !important;
}

/* 3. Faster Mobile Menu & Modals (Was 0.25s -> Now 0.2s) */
.nav-links, 
.register-modal, 
.success-modal,
.loading-modal {
  transition: all 0.2s ease !important;
}

/* 4. Faster Button/Link Hovers (Was 0.2s -> Now 0.1s) */
.btn, 
.nav-links a, 
.footer-column a,
.plan-card__button,
.footer-social__link {
  transition-duration: 0.1s !important;
}

/* =========================================
   FIX: SILKY SMOOTH BLOG ANIMATIONS
   Uses physics-based curves instead of linear speed
   ========================================= */

/* 1. Smooth Hover Effect (Magnetic Feel) */
.blog-card {
  /* Start fast, land soft (Cubic Bezier) */
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  
  /* Force GPU Rendering for zero stutter */
  will-change: transform, box-shadow; 
  transform: translateZ(0); 
}

/* 2. Smooth Entrance (Scroll Reveal) */
/* Slower, more elegant glide when loading the page */
.blog-card.reveal-source {
  transition: opacity 0.4s ease-out, 
              transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* --- 6. CARE PLANS TABLE (Mobile Fixes) --- */

.plans-comparison { padding-bottom: 80px; background: #fff; margin-top: 40px; }

/* The Wrapper */
.plans-table-frame {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0, 102, 255, 0.15);
  background: #fff;
  overflow: visible; 
}

/* Sticky Header (Desktop Only) */
.plans-header-sticky {
  position: sticky;
  top: 80px;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Grid Rows */
.plans-grid-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: stretch;
  column-gap: 0; 
  padding: 0;
}

/* Cells */
.col-plan {
  background: #fff;
  border-left: 1px solid #f0f0f0;
  padding: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
}

.col-feature {
  padding: 16px 24px;
  display: flex; align-items: center; font-weight: 500; color: #333; font-size: 16px;
  border-bottom: 1px solid #f5f5f5;
}

/* Header Specifics */
.header-row .col-plan { 
  padding-top: 24px; 
  padding-bottom: 16px; 
  position: relative; 
  border-top: 1px solid transparent;
}
.header-row .col-feature { border-top-left-radius: 20px; }
.header-row .col-plan:last-child { border-top-right-radius: 20px; }

/* Footer Specifics */
.footer-row { border-top: 1px solid #e5e7eb; }
.footer-row .col-plan { padding-bottom: 24px; padding-top: 16px; }
.footer-row .col-feature { border-bottom-left-radius: 20px; }
.footer-row .col-plan:last-child { border-bottom-right-radius: 20px; }

/* Highlight Gold */
.col-plan.plan-gold { background-color: #f8fbff; border-left: 1px solid #b0cdf8; border-right: 1px solid #b0cdf8; }
.header-row .col-plan.plan-gold { background-color: #f4f9ff; border-bottom: 1px solid #b0cdf8; }

/* POPULAR BADGE (Desktop Floating) */
.popular-badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: #005ee7; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,94,231,0.3); z-index: 100; }

/* Icons & Text */
.feature-list-icon { width: 24px; height: 24px; margin-right: 12px; vertical-align: middle; display: inline-block; filter: brightness(0) opacity(0.9); }
.check-icon { color: var(--color-primary-tang-500); font-size: 18px; font-weight: 700; }
.dash-icon { color: #ccc; font-size: 20px; }
.plan-name { margin: 0; font-size: 20px; font-weight: 600; }
.plan-price { font-size: 16px; color: #666; margin-bottom: 0; }
.text-highlight { font-size: 14px; font-weight: 600; color: #333; }
.plan-btn { width: 100%; max-width: 140px; font-size: 14px; padding: 8px 16px; }

/* --- MOBILE SCROLL FIX (No Sticky, Static Badge) --- */
@media (max-width: 1200px) {
  
  /* 1. Enable Scroll */
  .plans-comparison .container {
    overflow-x: auto !important;
    padding-bottom: 20px !important;
    display: block !important;
    width: 100% !important;
  }

  /* 2. Force Table Width */
  .plans-table-frame {
    min-width: 900px !important;
    border-radius: 12px !important;
    overflow: visible !important;
  }

  /* 3. DISABLE STICKY (For both Header & Column to clean up glitch) */
  .plans-header-sticky {
    position: relative !important;
    top: auto !important;
    z-index: 10 !important;
    border-radius: 12px 12px 0 0 !important;
  }
  
  .col-feature {
    position: static !important; /* No sticky left column */
    background: transparent !important;
    border-right: none !important;
    box-shadow: none !important;
  }

  /* 4. ADJUST GRID COLUMNS */
  .plans-grid-row {
    display: grid !important;
    /* Fixed Width Feature + 3 Plans */
    grid-template-columns: 220px 1fr 1fr 1fr !important;
  }
  
  /* 5. STATIC BADGE (Fixes overlap/cut-off) */
  .popular-badge {
    position: static !important; /* Sit inside the cell */
    transform: none !important;
    display: inline-block !important;
    margin-bottom: 8px !important;
  }
  
  /* Text adjustments */
  .col-feature { font-size: 15px !important; padding: 12px !important; }
}

/* Mobile Phone Specifics */
@media (max-width: 600px) {
  .plans-table-frame { min-width: 700px !important; }
  .plans-grid-row { grid-template-columns: 160px 1fr 1fr 1fr !important; }
  .feature-list-icon { width: 18px !important; height: 18px !important; margin-right: 6px !important; }
}

html, body { max-width: 100% !important; overflow-x: hidden !important; }
.container, .site-header, .hero, .site-footer { max-width: 100vw !important; box-sizing: border-box !important; }
.who-input select { width: 100%; font: 400 16px/1.6 "Poppins", sans-serif; border: none; border-bottom: 1px solid rgba(181, 181, 181, 1); padding: 0 0 8px 0; background: transparent; color: var(--color-secondary-night-500); outline: none; cursor: pointer; border-radius: 0; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; background-size: 16px; }
.who-input select:invalid { color: rgba(17, 17, 17, 0.6); }
.who-input select option { color: #111; background: #fff; }


/* --- Main Section Header (Top of Contact Section) --- */
.main-section-header {
    text-align: center;       /* Centers text horizontally */
    max-width: 800px;         /* Prevents text from getting too wide on large screens */
    margin: 0 auto 50px auto; /* Centering trick + 50px gap below to push the form down */
    padding-top: 20px;        /* Optional: adds a little breathing room at top */
}

.main-section-header h1 {
    font-size: 48px !important;          /* Bigger size for the main title */
    font-weight: 700;
    color: #111111;
    /* margin-bottom: 15px; */
}

/* .main-section-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
} */