/* ----------------------------------------------------
   BASE / BODY
----------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --cream: #fff5d9;
  --deep: #114546;
  --muted: #6b6b5f;
  --cta-text: #fff5d9;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background-color: var(--cream);
  color: var(--deep);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ----------------------------------------------------
   NAVIGATION
----------------------------------------------------*/
.navbar {
  background: var(--cream);
  border-bottom: 1px solid rgba(17,69,70,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0.75rem 0;
}

.nav-container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  width: 160px;
  height: auto;
  display: block;
}

/* primary nav */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--deep);
  font-weight: 600;
  font-size: 17px; /* UPDATED */
  letter-spacing: 0.2px;
}

.btn-get-started,
.btn-learn-more,
.btn-services,
.btn-contact-us {
  padding: 12px 28px;
  background: var(--deep);
  color: var(--cta-text);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  border: 2px solid white;
}

.btn-get-started:hover,
.btn-learn-more:hover,
.btn-services:hover,
.btn-contact-us:hover {
  opacity: 0.95;
}

/* ----------------------------------------------------
   HERO
----------------------------------------------------*/
.hero-home {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* move content to right */
  padding: 4.5rem 1.5rem;
  overflow: hidden;
  color: #FEF3C7;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(0.7);
  opacity: 0;
  transform: translateX(-100px) scale(1.05);
  transition: transform 1.2s ease, opacity 1.2s ease;
  z-index: 1;
}

.hero-bg.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.hero-bg.out {
  opacity: 0;
  transform: translateX(100px) scale(1);
  z-index: 1;
}

/* HERO CONTENT RIGHT */
.hero-home-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  text-align: right;
  white-space: nowrap; /* keep tagline in one line */
  opacity: 0;
  transform: translateX(80px); /* slide in from right */
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.hero-home-content.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-home-content.out {
  opacity: 0;
  transform: translateX(80px);
}

.hero-home-title {
  font-size: 48px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-home-tagline {
  font-size: 20px;
  margin-bottom: 20px;
}

.hero-ctas { 
  display: flex; 
  gap: 14px; 
  flex-wrap: wrap; 
  justify-content: flex-end; 
}

/* ----------------------------------------------------
   SECTIONS
----------------------------------------------------*/
.section-approach,
.section-what-we-do,
.section-no-waitlist,
.section-enroll-cta,
.insurance-section {
  background-color: var(--cream);
  padding: 4.5rem 1.5rem;
}

.container-centered {
  max-width: 950px;
  margin: auto;
  text-align: center;
}

/* ----------------------------------------------------
   UNIVERSAL SUBHEADINGS
----------------------------------------------------*/
h2, h3, h4 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
}

/* ----------------------------------------------------
   APPROACH
----------------------------------------------------*/
.approach-heading {
  font-size: 4rem;
  margin-bottom: 0.8rem;
}

.approach-text-professional {
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ----------------------------------------------------
   WHAT WE DO
----------------------------------------------------*/
.section-what-we-do .section-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 1.75rem;
}

.wwd-item {
  padding: 22px;
  background: transparent !important;
  border: none !important;
}

.wwd-item h3 {
  font-size: 24px;
}

.wwd-item p {
  font-size: 18px;
  line-height: 1.65;
}

/* ----------------------------------------------------
   NO WAITLIST
----------------------------------------------------*/
.section-no-waitlist {
  text-align: center;
  background-color: var(--cream); /* match site background */
  padding: 4rem 1rem;
}

.no-waitlist-heading {
  font-size: 40px;
  margin-bottom: 12px;
}

.no-waitlist-text {
  font-size: 20px;
  margin-bottom: 24px;
}

.no-waitlist-buttons a {
  margin: 0 12px;
}

/* ----------------------------------------------------
   INSURANCE
----------------------------------------------------*/
.insurance-section {
  text-align: center;
}

.insurance-heading {
  font-size: 26px;
  margin-bottom: 20px;
}

.insurance-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.insurance-logos img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

/* ----------------------------------------------------
   CTA
----------------------------------------------------*/
.section-enroll-cta {
  text-align: center;
  padding: 3.5rem 1rem;
}

.enroll-heading {
  margin-bottom: 28px; /* spacing between heading and button */
}

/* ----------------------------------------------------
   FOOTER
----------------------------------------------------*/
.footer {
  background: var(--deep);
  color: white;
  padding: 40px 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer-col a { color: white; opacity: 0.95; }
.footer-bottom { margin-top: 18px; text-align: center; opacity: 0.85; }

/* ----------------------------------------------------
   RESPONSIVE
----------------------------------------------------*/
@media (max-width: 900px) {
  .what-we-do-grid { grid-template-columns: 1fr; }
  .hero-home-content { max-width: 90%; margin-left: 5%; margin-right: 5%; text-align: center; transform: translateX(0); white-space: normal; }
  .hero-ctas { justify-content: center; }
}
/* HERO */
.hero-home {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* space between left and right content */
  padding: 4.5rem 1.5rem;
  overflow: hidden;
  color: #FEF3C7;
}

.hero-home-content-left,
.hero-home-content-right {
  position: relative;
  z-index: 3;
  opacity: 0;
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.hero-home-content-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateX(-80px); /* slide in from left */
  text-align: left;
}

.hero-home-content-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-home-content-left.out {
  opacity: 0;
  transform: translateX(-80px);
}

.hero-home-content-right {
  max-width: 650px;
  text-align: right;
  white-space: nowrap; /* keep tagline in one line */
  transform: translateX(80px); /* slide in from right */
}

.hero-home-content-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-home-content-right.out {
  opacity: 0;
  transform: translateX(80px);
}
/* FOOTER SOCIAL ICON SIZE FIX */
.footer-social .social-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-social .social-icon:hover svg {
  opacity: 1;
}
/* Shared CTA button (matches homepage) */
.cta-btn {
  background-color: #123b3a;
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  display: inline-block;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background-color: #0d2d2c;
}
