/* ==========================================================================
   NUREVIX CARE 24/7 — CORE DESIGN SYSTEM & STYLESHEET
   Benchmark: Covian.in visual polish, adapted to Nurevix Healthcare Identity
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Caveat:wght@500;600;700&display=swap');

:root {
  /* Nurevix Brand Colors */
  --primary-navy: #124A86;
  --primary-navy-dark: #0D3560;
  --primary-navy-deep: #09213D;
  --brand-blue: #1769B0;
  --brand-blue-light: #2A82D0;
  --healthcare-green: #079B69;
  --healthcare-green-hover: #058257;
  --healthcare-green-light: #E9F8F3;
  --light-blue-bg: #EEF8FD;
  --pale-mint-bg: #E9F8F3;
  --card-border: #DDEEFA;
  --white: #FFFFFF;
  --body-text: #24364B;
  --muted-text: #61758B;
  --border-light: #E4ECF4;
  --card-shadow: 0 10px 30px -10px rgba(18, 74, 134, 0.08);
  --card-shadow-hover: 0 20px 40px -12px rgba(18, 74, 134, 0.16);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Caveat', cursive, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--body-text);
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #FFFFFF;
  color: var(--body-text);
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.2;
}

.text-navy { color: var(--primary-navy); }
.text-green { color: var(--healthcare-green); }
.text-muted { color: var(--muted-text); }
.text-white { color: var(--white); }
.text-script {
  font-family: var(--font-script);
  font-weight: 700;
  line-height: 1;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background-color: rgba(23, 105, 176, 0.08);
  border: 1px solid rgba(23, 105, 176, 0.2);
  color: var(--brand-blue);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow-badge .dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--healthcare-green);
  box-shadow: 0 0 0 0 rgba(7, 155, 105, 0.4);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(7, 155, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(7, 155, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(7, 155, 105, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-green {
  background-color: var(--healthcare-green);
  color: var(--white);
  box-shadow: 0 6px 20px -4px rgba(7, 155, 105, 0.4);
}

.btn-green:hover {
  background-color: var(--healthcare-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(7, 155, 105, 0.5);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: var(--white);
  box-shadow: 0 6px 20px -4px rgba(18, 74, 134, 0.4);
}

.btn-navy:hover {
  background-color: var(--primary-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(18, 74, 134, 0.5);
}

.btn-outline-navy {
  background-color: transparent;
  border-color: rgba(18, 74, 134, 0.25);
  color: var(--primary-navy);
}

.btn-outline-navy:hover {
  background-color: var(--light-blue-bg);
  border-color: var(--primary-navy);
  color: var(--primary-navy);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  box-shadow: 0 6px 20px -4px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   HEADER & NAVIGATION (Matches Covian floating style & Nurevix brand)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 238, 248, 0.8);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.header-logo:hover {
  transform: scale(1.02);
}

.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body-text);
  position: relative;
  padding: 8px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--healthcare-green);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--light-blue-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--primary-navy);
  cursor: pointer;
  transition: var(--transition);
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 74, 134, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: var(--white);
  padding: 30px 24px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--light-blue-bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-navy);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--body-text);
  padding: 10px 0;
  border-bottom: 1px solid rgba(226, 238, 248, 0.6);
}

.drawer-nav a:hover,
.drawer-nav a.active {
  color: var(--brand-blue);
  padding-left: 8px;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
}

/* ==========================================================================
   HERO SECTION (Matches Reference Mockup)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FBFE 60%, #EEF8FD 100%);
  padding-top: 40px;
  padding-bottom: 60px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 60px;
    padding-bottom: 80px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }
}

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

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-title span.highlight-green {
  color: var(--healthcare-green);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--muted-text);
  line-height: 1.65;
  max-width: 560px;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid rgba(23, 105, 176, 0.15);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.hero-trust-item .trust-icon {
  width: 24px;
  height: 24px;
  color: var(--brand-blue);
}

/* Hero Media Box */
.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(18, 74, 134, 0.2);
  background: var(--white);
  border: 4px solid var(--white);
}

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

.hero-script-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 238, 248, 0.9);
  text-align: right;
  z-index: 2;
}

.hero-script-badge p {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.1;
}

.hero-script-badge .heart-icon {
  color: var(--primary-navy);
  font-size: 1.25rem;
  margin-top: 2px;
}

/* ==========================================================================
   SERVICES SECTION (Light blue grid + Priority Panel)
   ========================================================================== */
.services-section {
  background-color: var(--light-blue-bg);
  position: relative;
}

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.35rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted-text);
  max-width: 620px;
  margin-top: 8px;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .services-layout {
    grid-template-columns: 2.2fr 1fr;
  }
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(23, 105, 176, 0.35);
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--light-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary-navy);
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary-navy);
  color: var(--white);
  transform: scale(1.08);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--muted-text);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  color: var(--healthcare-green);
  gap: 10px;
}

/* Priority Reassurance Panel */
.priority-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.priority-panel-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 24px;
  line-height: 1.25;
}

.priority-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.priority-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body-text);
}

.priority-item .check-icon {
  width: 20px;
  height: 20px;
  color: var(--healthcare-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.priority-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: auto;
}

.priority-image-box img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.priority-script-overlay {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-script);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* ==========================================================================
   WHY CHOOSE NUREVIX CARE (Pale mint background)
   ========================================================================== */
.why-choose-section {
  background-color: var(--pale-mint-bg);
  position: relative;
}

.features-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .features-grid-wrapper {
    grid-template-columns: 1.4fr 1fr;
  }
}

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

.feature-pill-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid rgba(7, 155, 105, 0.15);
  box-shadow: 0 8px 24px rgba(7, 155, 105, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-pill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(7, 155, 105, 0.12);
  border-color: var(--healthcare-green);
}

.feature-circle-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(7, 155, 105, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--healthcare-green);
  transition: var(--transition);
}

.feature-pill-card:hover .feature-circle-icon {
  background: var(--healthcare-green);
  color: var(--white);
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.3;
}

.why-choose-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 4px solid var(--white);
}

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

/* ==========================================================================
   HOW IT WORKS (4 Step Process + Recruitment Box)
   ========================================================================== */
.how-it-works-section {
  background-color: var(--white);
}

.process-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .process-grid-layout {
    grid-template-columns: 1.8fr 1.1fr;
  }
}

.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.step-card {
  background: var(--light-blue-bg);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--card-border);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: var(--brand-blue);
}

.step-number-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--healthcare-green);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted-text);
  line-height: 1.5;
}

/* Recruitment Card */
.recruitment-card {
  background: linear-gradient(135deg, #EEF8FD 0%, #FFFFFF 100%);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  border: 2px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.recruitment-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.recruitment-card .recruitment-sub {
  font-size: 0.875rem;
  color: var(--muted-text);
  margin-bottom: 20px;
}

.recruitment-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.recruitment-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.recruitment-img-wrap img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

/* ==========================================================================
   TESTIMONIALS / FAMILY STORIES
   ========================================================================== */
.testimonials-section {
  background-color: var(--light-blue-bg);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.quote-symbol {
  font-size: 3.5rem;
  color: var(--brand-blue);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 12px;
  opacity: 0.5;
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--healthcare-green);
}

.testimonial-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.testimonial-author-location {
  font-size: 0.85rem;
  color: var(--muted-text);
}

/* ==========================================================================
   FINAL CTA / NEED A CAREGIVER TODAY
   ========================================================================== */
.final-cta-section {
  background-color: var(--white);
}

.final-cta-box {
  background: linear-gradient(135deg, #EEF8FD 0%, #E3F2FA 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  padding: 48px 32px;
  box-shadow: var(--card-shadow);
}

@media (min-width: 992px) {
  .final-cta-box {
    padding: 60px 48px;
  }
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .cta-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.locations-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(18, 74, 134, 0.08);
  color: var(--primary-navy);
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 18px;
}

.cta-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(18, 74, 134, 0.15);
}

.cta-photo-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.cta-script-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-script);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* ==========================================================================
   FOOTER (Deep Navy Background matching Covian structure & Nurevix brand)
   ========================================================================== */
.site-footer {
  background-color: var(--primary-navy-deep);
  color: #A0B3C6;
  padding-top: 80px;
  padding-bottom: 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1.2fr 1.5fr 1.5fr;
  }
}

.footer-brand-col p {
  color: #8CA3BD;
  font-size: 0.925rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 340px;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--healthcare-green);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #9DB4CC;
  font-size: 0.925rem;
  transition: var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.925rem;
  color: #9DB4CC;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  color: var(--healthcare-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--healthcare-green);
  border-color: var(--healthcare-green);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 0.85rem;
  color: #7A93AC;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

/* ==========================================================================
   FORMS & MODALS (High Conversion, Accessible, Mobile Optimized)
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: #FAFCFE;
  font-size: 0.95rem;
  color: var(--body-text);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-blue);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(23, 105, 176, 0.12);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted-text);
  cursor: pointer;
  line-height: 1.4;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--healthcare-green);
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 33, 61, 0.6);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-blue-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--primary-navy);
  color: var(--white);
}

/* Alert Notification */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background: #E8F8F1;
  border: 1px solid #B8EAD3;
  color: #056645;
}

.alert-error {
  background: #FEECEB;
  border: 1px solid #FBCAC7;
  color: #B42318;
}

/* Floating Actions on Mobile */
.floating-actions-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 36px rgba(18, 74, 134, 0.2);
  border: 1px solid var(--card-border);
  z-index: 999;
}

@media (min-width: 768px) {
  .floating-actions-bar {
    display: none;
  }
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* Subpage Hero */
.page-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF8FD 100%);
  padding: 60px 0 70px 0;
  text-align: center;
  position: relative;
}

.page-hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-top: 12px;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 3rem;
  }
}

.page-hero-sub {
  font-size: 1.1rem;
  color: var(--muted-text);
  max-width: 680px;
  margin: 0 auto;
}

/* Service Detail Layout */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .service-detail-layout {
    grid-template-columns: 1.8fr 1.2fr;
  }
}

.service-feature-card {
  background: var(--light-blue-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--card-border);
  margin-bottom: 24px;
}

.faq-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.faq-card summary {
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-card p {
  margin-top: 12px;
  color: var(--muted-text);
  font-size: 0.95rem;
  line-height: 1.6;
}
