/* =========================================================
   TOTAL HEALTH NOW — COMPLETE STYLESHEET
   ========================================================= */

:root {
  --blue: #0a2a66;
  --blue-dark: #051a40;
  --gold: #d4af37;
  --gold-light: #f2dc8a;
  --light: #f8f9fb;
  --white: #ffffff;
  --text: #30343b;
  --muted: #667085;
  --border: rgba(10, 42, 102, 0.12);
  --shadow: 0 20px 50px rgba(10, 42, 102, 0.11);
  --radius: 20px;
  --transition: 0.3s ease;
}

/* =========================================================
   RESET AND BASE STYLES
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--light);
  color: var(--text);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

main {
  display: block;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--blue);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.16;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* =========================================================
   HEADER AND DESKTOP NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 4000;
  border-bottom: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.97);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(5, 26, 64, 0.12);
}

.nav {
  display: flex;
  width: min(1200px, calc(100% - 36px));
  min-height: 82px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.logo {
  width: auto;
  max-width: 180px;
  max-height: 50px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop-nav a {
  position: relative;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a:not(.btn)::after {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transition: var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.desktop-nav a.active {
  color: var(--blue);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.22);
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: var(--gold-light);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.32);
}

.btn-nav {
  padding: 0.68rem 1.15rem;
}

/* =========================================================
   HAMBURGER AND MOBILE NAVIGATION
   ========================================================= */

.hamburger {
  position: relative;
  z-index: 4300;
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  cursor: pointer;
  touch-action: manipulation;
}

.hamburger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 4200;
  display: flex;
  visibility: hidden;
  width: min(330px, 88vw);
  height: 100vh;
  height: 100dvh;
  padding: 95px 28px 30px;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(5, 26, 64, 0.2);
  pointer-events: none;
  transition:
    right 0.35s ease,
    visibility 0.35s ease;
}

.mobile-nav.active {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 52px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  text-decoration: none;
  pointer-events: auto;
  touch-action: manipulation;
}

.mobile-nav a.active {
  color: var(--blue);
}

.mobile-nav .btn {
  margin-top: 12px;
  border-bottom: 0;
}

.mobile-nav::before,
.mobile-nav::after {
  pointer-events: none;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 3900;
  visibility: hidden;
  background: rgba(5, 26, 64, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.menu-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   HOME HERO
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  min-height: 620px;
  padding: 90px 20px;
  overflow: hidden;
  align-items: center;
  justify-content: flex-start;
  color: var(--white);
  text-align: left;
  background-image: url("../images/hero-image.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(5, 26, 64, 0.96) 0%,
    rgba(5, 26, 64, 0.82) 38%,
    rgba(5, 26, 64, 0.35) 68%,
    rgba(5, 26, 64, 0.08) 100%
  );
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  text-align: left;
}

.hero-content h1,
.hero-content p {
  max-width: 650px;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  color: var(--white);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* =========================================================
   PAGE HERO BASE
   ========================================================= */

.page-hero {
  position: relative;
  display: flex;
  min-height: 430px;
  padding: 80px 20px;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--white);
  text-align: left;
  background-image: url("../images/hero-image.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(5, 26, 64, 0.94) 0%,
    rgba(5, 26, 64, 0.78) 42%,
    rgba(5, 26, 64, 0.3) 72%,
    rgba(5, 26, 64, 0.08) 100%
  );
  content: "";
  pointer-events: none;
}

.page-hero h1,
.page-hero p {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.page-hero h1 {
  margin-bottom: 0.8rem;
  color: var(--white);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.page-hero p {
  max-width: 1100px;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   UNIQUE PAGE HERO IMAGES
   ========================================================= */

.about-hero {
  min-height: 430px;
  background-image: url("../images/about.png");
  background-position: 72% top;
}

.story-hero {
  background-image: url("../images/story-banner.png");
  background-position: center 28%;
}

.programs-hero {
  background-image: url("../images/programs-banner.png");
  background-position: center 26%;
}

.goal-hero {
  background-image: url("../images/goal-banner.png");
  background-position: center 24%;
}

.contact-hero {
  min-height: 430px;
  background-image: url("../images/contact-banner.png");
  background-position: 58% top;
}

/* Page-specific overlays */

.about-hero::before {
  background: linear-gradient(
    90deg,
    rgba(5, 26, 64, 0.96) 0%,
    rgba(5, 26, 64, 0.82) 44%,
    rgba(5, 26, 64, 0.28) 72%,
    rgba(5, 26, 64, 0.06) 100%
  );
}

.contact-hero::before {
  background: linear-gradient(
    90deg,
    rgba(5, 26, 64, 0.93) 0%,
    rgba(5, 26, 64, 0.74) 42%,
    rgba(5, 26, 64, 0.25) 72%,
    rgba(5, 26, 64, 0.05) 100%
  );
}

/* =========================================================
   TRUST AND AUTHORITY BARS
   ========================================================= */

.trust-bar,
.authority-strip {
  padding: 0.8rem 20px;
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--gold-light),
    var(--gold)
  );
  color: var(--blue-dark);
  text-align: center;
  font-weight: 700;
}

.trust-bar p,
.authority-strip p {
  margin: 0;
}

/* =========================================================
   CONTAINERS AND SECTIONS
   ========================================================= */

.container {
  width: min(1100px, calc(100% - 40px));
  margin: auto;
}

.section {
  padding: 85px 0;
}

.section-light {
  background: var(--light);
}

.section-white {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(
      rgba(5, 26, 64, 0.93),
      rgba(10, 42, 102, 0.9)
    ),
    url("../images/hero-image.png") center / cover fixed;
}

.section-dark h2 {
  color: var(--white);
}

.section-intro {
  max-width: 820px;
  text-align: center;
}

.section-intro p,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.center {
  text-align: center;
}

/* =========================================================
   GRIDS
   ========================================================= */

.grid,
.grid-2,
.grid-3 {
  display: grid;
  gap: 28px;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================================================
   CARDS
   ========================================================= */

.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card {
  height: 100%;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 60px rgba(10, 42, 102, 0.16);
}

.highlight-card {
  border: 2px solid var(--gold);
}

.card ul {
  margin-bottom: 1.25rem;
}

.card li::marker {
  color: var(--gold);
}

/* =========================================================
   CDC DPRP RECOGNITION CARD
   ========================================================= */

.recognition-card {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 42px;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.99),
    rgba(248, 249, 251, 0.99)
  );
}

.recognition-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 100%;
  background: linear-gradient(
    var(--gold),
    var(--gold-light)
  );
  content: "";
}

.recognition-content {
  max-width: 820px;
}

.recognition-label {
  margin-bottom: 10px;
  color: #8a6c08;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recognition-card h2,
.recognition-card h3 {
  margin-bottom: 18px;
}

.recognition-details {
  margin: 22px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: rgba(212, 175, 55, 0.1);
  color: var(--blue-dark);
  font-weight: 600;
}

/* =========================================================
   CALL TO ACTION
   ========================================================= */

.cta-section {
  padding: 75px 20px;
  background: linear-gradient(
    135deg,
    var(--blue-dark),
    var(--blue)
  );
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 1rem;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-luxury {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  padding: 75px 0;
  align-items: center;
  gap: 60px;
}

.about-text .title {
  color: #8a6c08;
  font-weight: 700;
}

.credentials {
  display: grid;
  margin: 24px 0;
  gap: 9px;
}

.about-contact a {
  color: var(--blue);
  font-weight: 600;
}

.about-image {
  display: flex;
  justify-content: center;
}

.profile-frame {
  width: 270px;
  height: 270px;
  padding: 8px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--gold),
    var(--gold-light)
  );
  box-shadow: var(--shadow);
}

.profile-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

/* =========================================================
   PROGRAM CARDS
   ========================================================= */

.program-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.program-card .program-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-dark);
  font-weight: 800;
}

/* =========================================================
   CONTACT AND FORMS
   ========================================================= */

.contact-list {
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--blue);
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd2dc;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(212, 175, 55, 0.28);
}

.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
}

.notice-success {
  border: 1px solid #b9e3c4;
  background: #edf9f0;
  color: #1c6b32;
}

.notice-error {
  border: 1px solid #efc2c2;
  background: #fff1f1;
  color: #8b2424;
}

.booking-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 25px;
  gap: 20px;
}

.disclaimer {
  color: var(--muted);
  font-size: 0.93rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 55px 20px 22px;
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  width: min(1100px, 100%);
  margin: auto;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 40px;
}

.footer h2 {
  color: var(--white);
  font-family: Poppins, Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold-light);
}

.footer-logo {
  max-width: 185px;
  max-height: 58px;
  margin-bottom: 18px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  width: min(1100px, 100%);
  margin: 35px auto 0;
  padding-top: 20px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  display: inline;
  color: var(--gold-light);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-visible {
  transform: none;
  opacity: 1;
}

/* =========================================================
   LARGE DESKTOPS
   ========================================================= */

@media (min-width: 1400px) {
  .hero {
    background-position: center top;
  }

  .about-hero {
    background-position: 72% top;
  }

  .contact-hero {
    background-position: 58% top;
  }
}

/* =========================================================
   TABLETS AND SMALL DESKTOPS
   ========================================================= */

@media (max-width: 1024px) {
  .hero {
    min-height: 580px;
    background-position: 66% top;
  }

  .about-hero {
    min-height: 390px;
    background-position: 72% top;
  }

  .contact-hero {
    min-height: 390px;
    background-position: 58% top;
  }
}

@media (max-width: 940px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .brand span {
    display: none;
  }

  .grid-3,
  .grid-2,
  .about-luxury,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-luxury {
    gap: 35px;
    text-align: center;
  }

  .about-image {
    grid-row: 1;
  }

  .booking-options {
    grid-template-columns: 1fr;
  }

  .section-dark {
    background-attachment: scroll;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-hero {
    min-height: 380px;
    padding: 65px 20px;
  }

  .story-hero,
  .programs-hero,
  .goal-hero {
    background-position: center top;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .hero {
    min-height: 570px;
    padding: 70px 20px;
    background-position: 68% top;
  }

  .hero::before,
  .page-hero::before {
    background: linear-gradient(
      180deg,
      rgba(5, 26, 64, 0.3) 0%,
      rgba(5, 26, 64, 0.62) 48%,
      rgba(5, 26, 64, 0.97) 100%
    );
  }

  .hero-content {
    display: flex;
    min-height: 430px;
    flex-direction: column;
    justify-content: flex-end;
  }

  .page-hero {
    min-height: 430px;
    padding: 55px 20px;
    justify-content: flex-end;
  }

  .about-hero {
    background-position: 74% top;
  }

  .contact-hero {
    background-position: 58% top;
  }

  .page-hero h1,
  .page-hero p {
    width: 100%;
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 560px) {
  .nav {
    min-height: 72px;
  }

  .logo {
    max-height: 40px;
  }

  .hero {
    min-height: 550px;
    padding: 60px 18px;
    background-position: 70% top;
  }

  .hero-content {
    width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .page-hero {
    min-height: 410px;
    padding: 50px 18px;
  }

  .about-hero {
    background-position: 76% top;
  }

  .contact-hero {
    background-position: 60% top;
  }

  .section {
    padding: 65px 0;
  }

  .card {
    padding: 24px;
  }

  .recognition-card {
    padding: 30px 24px;
  }

  .recognition-details {
    font-size: 0.92rem;
  }

  .profile-frame {
    width: 220px;
    height: 220px;
  }
}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {
  .hero {
    min-height: 530px;
    background-position: 72% top;
  }

  .page-hero {
    min-height: 390px;
  }

  .about-hero {
    background-position: 78% top;
  }

  .contact-hero {
    background-position: 62% top;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}