/* =========================================
   INTERNAL PAGE STYLESHEET
   For all internal pages (modular system)
   ========================================= */

body.internal-page {
  background: #ffffff;
  color: #002a4e;
  font-family: "Poppins", sans-serif;
}

/* -----------------------------------------
   HEADER
   Keeps same nav but adds subtle shadow
----------------------------------------- */
.internal-page header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}


/* -----------------------------------------
   HERO INTERNAL (Fix for CTA visibility)
----------------------------------------- */
.hero-internal {
  background: linear-gradient(135deg, #0072BB, #00B2A9);
  color: #fff;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible; /* <-- important for mobile clipping */
  min-height: 60vh;  /* ensures space for CTA */
}

.hero-internal .hero-content {
  max-width: 800px;
  text-align: center;
}

.hero-internal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-internal p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- CTA Button inside Hero --- */
.hero-internal .cta-btn {
  display: inline-block;
  margin-top: 2rem;
  background: #FFB300;
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative; /* ensures it stays visible */
  z-index: 2;
}

.hero-internal .cta-btn:hover {
  background: #FFA000;
  transform: translateY(-2px);
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
  .hero-internal {
    padding: 6rem 1rem 6rem; /* extra bottom padding */
    min-height: 70vh; /* ensures CTA fits fully */
  }
  .hero-internal .cta-btn {
    font-size: 1rem;
    padding: 1rem 2.4rem;
  }
}


/* -----------------------------------------
   BREADCRUMB NAVIGATION
----------------------------------------- */
.breadcrumb {
  font-size: 0.9rem;
  color: #0072BB;
  margin: 1.5rem auto 0;
  max-width: 1100px;
  padding: 0 1.5rem;
}

.breadcrumb a {
  color: #00B2A9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #0072BB;
}

/* -----------------------------------------
   INFO GRID (content modules)
----------------------------------------- */
/* -----------------------------------------
   INFO GRID
----------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
  justify-items: center;
}

.info-item {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 340px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.info-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.info-item h3 {
  color: #003366;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.info-item p {
  color: #333;
  line-height: 1.5;
  font-size: 0.95rem;
}


/* -----------------------------------------
   CALLOUT SECTION (conversion focus)
----------------------------------------- */
.callout {
  background: #f9fdfd;
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid #e6f2f2;
}

.callout h2 {
  color: #003366;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.callout p {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: #333;
  line-height: 1.6;
}

.callout .cta-btn.center {
  display: inline-block;
  margin-top: 1.5rem;
}

/* -----------------------------------------
   VIDEO SECTION (educational)
----------------------------------------- */
.video-section {
  text-align: center;
  padding: 4rem 1.5rem;
}

.video-section h2 {
  color: #003366;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.video-section p {
  color: #333;
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  aspect-ratio: 16 / 9;
}

/* -----------------------------------------
   FINAL CTA (closing section)
----------------------------------------- */
.final-cta {
  background: linear-gradient(135deg, #0072BB, #00B2A9);
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
}

.final-cta h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */
.main-footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
}

/* -----------------------------------------
   RESPONSIVE ADJUSTMENTS
----------------------------------------- */
@media (max-width: 768px) {
  .hero-internal {
    padding: 6rem 1rem 4rem;
  }

  .info-grid {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .callout,
  .video-section,
  .final-cta {
    padding: 3rem 1rem;
  }

  .info-item {
    padding: 1.5rem;
  }
}



/* Force proper centering for internal hero */
body.internal-page .hero-internal .hero-content {
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto;
}


/* -----------------------------------------
   INTERNAL HERO (FINAL OVERRIDE)
----------------------------------------- */
body.internal-page .hero-internal {
  background: linear-gradient(135deg, #0072BB, #00B2A9);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  padding: 8rem 1.5rem 5rem;
  min-height: 380px;
}

body.internal-page .hero-internal .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center !important;
}

body.internal-page .hero-internal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

body.internal-page .hero-internal p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.95;
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
  font-family: 'Material Symbols Outlined';
  display: inline-block;
  font-size: 36px;
  line-height: 1;
  color: #fff;
}


/* -----------------------------------------
   ICON CIRCLE (MATCHES HOMEPAGE STYLE)
----------------------------------------- */
.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(145deg, #00B2A9, #0072BB);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.icon-circle .material-symbols-outlined {
  color: #fff;
  font-size: 36px;
  line-height: 1;
}

/* -----------------------------------------
   FINAL CTA SECTION (Fix for Mobile)
----------------------------------------- */
.final-cta {
  background: linear-gradient(135deg, #0072BB, #00B2A9);
  text-align: center;
  color: #fff;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: visible;
}

.final-cta h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  color: #002B5B;
}

.final-cta .cta-btn {
  display: inline-block;
  background: #FFB300;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.final-cta .cta-btn:hover {
  background: #FFA000;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .final-cta {
    padding: 5rem 1.5rem 6rem; /* extra breathing room */
  }
  .final-cta .cta-btn {
    font-size: 1rem;
    padding: 1rem 2.2rem;
    display: inline-block;
  }
}


/* =========================================
   MOBILE MENU STYLES (for internal pages)
   ========================================= */
@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    border: none;
    background: #f7a200;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: relative;
    transition: transform .25s ease, opacity .25s ease;
  }

  .menu-toggle span::before,
  .menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }

  .menu-toggle span::before { top: -7px; }
  .menu-toggle span::after { top: 7px; }

  /* X (open) state */
  .menu-toggle.is-open span {
    transform: rotate(45deg);
  }

  .menu-toggle.is-open span::before {
    transform: rotate(90deg);
    top: 0;
  }

  .menu-toggle.is-open span::after {
    opacity: 0;
  }

  /* Mobile nav panel */
  #primary-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transform: translateY(-120%);
    transition: transform .25s ease;
    z-index: 1000;
  }

  #primary-nav.open {
    transform: translateY(0);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 14px 18px;
  }

  .nav-links a {
    display: block;
    padding: 12px 6px;
    font-size: 18px;
    color: #003366;
    text-decoration: none;
  }

  .nav-links a:hover {
    color: #00B8A9;
  }

  body.no-scroll {
    overflow: hidden;
  }

  /* Hide top CTA button on small screens */
  .cta-btn {
    display: none;
  }
}


/* PROVIDERS SECTION */
.providers-section {
  background: #f7fbfd; /* light background for contrast */
  text-align: center;
  padding: 4rem 1rem 3rem;
  border-top: 1px solid #e4eff5;
}

.providers-section h2 {
  color: #003366;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.providers-section p {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

/* PROVIDERS LOGO GRID */
.providers-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row on desktop */
  gap: 2.2rem 2rem;
  align-items: stretch; /* ensures same height cards */
  justify-items: center;
  justify-content: center; /* centers last row if incomplete */
  max-width: 950px;
  margin: 0 auto;
}

/* LOGO CARD CONTAINER */
.providers-logos .provider {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px; /* uniform card height */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.providers-logos .provider:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 114, 187, 0.15); /* subtle blue tint matches brand */
}


/* LOGO IMAGE STYLE */
.providers-logos img {
  max-height: 45px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.providers-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* INDIVIDUAL ADJUSTMENTS */
.providers-logos img[alt="Humana"] {
  max-height: 38px; /* smaller to balance */
  transform: scale(0.95); /* keeps proportions even */
}

.providers-logos img[alt="Molina Healthcare"] {
  max-height: 42px;
}

/* TABLET VIEW (3 per row) */
@media (max-width: 992px) {
  .providers-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE VIEW (2 per row) */
@media (max-width: 600px) {
  .providers-section {
    padding: 3rem 1rem;
  }

  .providers-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .providers-logos .provider {
    height: 70px;
  }

  .providers-logos img {
    max-height: 38px;
    max-width: 100px;
  }
}
