/* ==========================================================================
   Bold Play - Empowered Coaching by Megan Price
   Main Stylesheet
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
  --teal: #024048;
  --teal-light: #035a64;
  --purple: #272361;
  --navy: #0C0827;
  --yellow: #F0C20F;
  --yellow-hover: #d4aa0a;
  --off-white: #EBEBEB;
  --white: #FFFFFF;
  --gray-100: #f7f7f7;
  --gray-200: #e2e2e2;
  --gray-300: #ccc;
  --gray-600: #666;
  --gray-800: #333;
  --font-heading: 'League Spartan', system-ui, -apple-system, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --header-height: 72px;
  --section-pad: 100px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(12, 8, 39, 0.08);
  --shadow-md: 0 4px 20px rgba(12, 8, 39, 0.12);
  --shadow-lg: 0 8px 32px rgba(12, 8, 39, 0.16);
  --radius: 8px;
  --radius-lg: 16px;
}

/* ---------- Skip Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  background-color: var(--teal);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ---------- Focus Styles (Accessibility) ---------- */
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

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

h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(22px, 3vw, 28px); }
h4 { font-size: clamp(18px, 2.5vw, 22px); }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-teal { color: var(--teal); }
.text-yellow { color: var(--yellow); }
.text-purple { color: var(--purple); }
.text-white { color: var(--white); }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--gray {
  background: var(--gray-100);
}

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

.section--teal h2,
.section--teal h3,
.section--teal h4 {
  color: var(--white);
}

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

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  max-width: 680px;
  opacity: 0.85;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--yellow);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--white);
  color: var(--navy);
}

.btn--outline-dark {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn--outline-dark:hover,
.btn--outline-dark:focus-visible {
  background: var(--teal);
  color: var(--white);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--teal:hover,
.btn--teal:focus-visible {
  background: var(--teal-light);
  border-color: var(--teal-light);
  box-shadow: var(--shadow-md);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background: var(--teal);
  transition: background var(--transition), box-shadow var(--transition);
  /* Reduces compositor glitches where a hairline can appear above fixed headers */
  backface-visibility: hidden;
}

.site-header.scrolled {
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}

.header-logo:hover img {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Plain nav links only: .nav-links a had higher specificity than .btn and was overriding
   border-radius, transitions, and hover stacking for the Contact CTA. */
.nav-links a:not(.btn) {
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links .btn {
  margin-left: 8px;
  padding: 10px 24px;
  font-size: 13px;
}

.nav-links .btn.btn--primary {
  color: var(--navy);
  font-weight: 800;
}

.nav-links .btn.btn--primary:hover,
.nav-links .btn.btn--primary:focus-visible {
  color: var(--yellow);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.nav-links .btn.btn--primary.active {
  color: var(--navy);
  background: var(--yellow);
  border-color: var(--yellow);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

body.nav-open {
  overflow: hidden;
}

/* ---------- Mobile Navigation Overlay ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 999;
  padding: 40px 24px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

/* Shared layout for all mobile nav links; typography/color only on text links so .btn keeps full button styles */
.mobile-nav a {
  display: block;
  width: 100%;
  max-width: 360px;
  text-align: center;
  padding: 16px 24px;
  border-radius: var(--radius);
}

.mobile-nav a:not(.btn) {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: background var(--transition);
}

.mobile-nav a:not(.btn):hover,
.mobile-nav a:not(.btn).active {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav .btn {
  margin-top: 16px;
  width: 100%;
  max-width: 360px;
}

.mobile-nav .btn.btn--primary {
  color: var(--navy);
  font-weight: 800;
}

.mobile-nav .btn.btn--primary:hover,
.mobile-nav .btn.btn--primary:focus-visible {
  color: var(--yellow);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.mobile-nav .btn.btn--primary.active {
  color: var(--navy);
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ---------- Hero - Home ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(240, 194, 15, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(39, 35, 97, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0;
}

.hero-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero h1 .highlight {
  color: var(--yellow);
}

.hero-text {
  font-size: clamp(17px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-image {
  position: absolute;
  right: -5%;
  top: 0;
  width: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0.35;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.8), transparent 90%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.8), transparent 90%);
}

/* ---------- Hero - Inner Pages ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 60px) 0 60px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(240, 194, 15, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.page-hero .section-label {
  position: relative;
  z-index: 2;
}

/* ---------- Intro / Difference Section ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}

.carousel img.active {
  opacity: 1;
}

/* ---------- Four Pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--yellow);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
}

.pillar-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--teal);
}

.pillar-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---------- About Preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-600);
  font-size: 14px;
}

.photo-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.about-photo-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 3px solid var(--yellow);
  z-index: -1;
  pointer-events: none;
}

.about-text blockquote {
  font-size: clamp(17px, 2vw, 20px);
  font-style: italic;
  color: var(--teal);
  border-left: 4px solid var(--yellow);
  padding-left: 20px;
  margin: 24px 0;
  line-height: 1.6;
}

/* ---------- Audience / Who Is This For ---------- */
.audience-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
  position: relative;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  text-align: left;
}

.audience-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--teal) 100%);
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(2, 64, 72, 0.14);
  border-color: rgba(2, 64, 72, 0.12);
}

.audience-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(2, 64, 72, 0.2);
}

.audience-icon svg {
  width: 30px;
  height: 30px;
}

.audience-card h3 {
  font-size: 22px;
  color: var(--teal);
  margin-bottom: 4px;
}

.audience-ages {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow-hover);
  margin-bottom: 16px !important;
}

.audience-card > p:not(.audience-ages) {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    padding: 32px 24px 28px;
  }
}

/* ---------- Services Grid (Home) ---------- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  width: calc(33.333% - 16px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(2, 64, 72, 0.14);
  border-color: rgba(2, 64, 72, 0.12);
}

.service-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-content {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(2, 64, 72, 0.08);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.service-card-content h3 {
  font-size: 20px;
  color: var(--teal);
  margin-bottom: 8px;
}

.service-card-content p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  transition: color var(--transition), gap var(--transition);
}

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

@media (max-width: 1024px) {
  .service-card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .service-card {
    width: 100%;
  }
}

/* ---------- Testimonials ---------- */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 220px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.testimonial-arrow:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.testimonial-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}

.testimonial-dot:hover {
  background: var(--teal);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-stars {
  color: var(--yellow);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.testimonial-card blockquote {
  font-size: clamp(17px, 2vw, 20px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--teal);
}

.testimonial-role {
  font-size: 14px;
  color: var(--gray-600);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: clamp(16px, 2vw, 19px);
  opacity: 0.88;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About Page ---------- */
.bio-section {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
}

.bio-photo {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.bio-text h2 {
  margin-bottom: 20px;
}

.bio-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-800);
}

.credentials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--gray-100);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
}

.credential-tag svg {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}

/* ---------- Story Section ---------- */
.story-content {
  max-width: 780px;
  margin: 0 auto;
}

.story-content p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--gray-800);
  margin-bottom: 1.4rem;
}

.story-content .story-highlight {
  font-size: clamp(20px, 3vw, 26px);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.4;
  text-align: center;
  padding: 32px 0;
  border-top: 2px solid var(--gray-200);
  border-bottom: 2px solid var(--gray-200);
  margin: 36px 0;
}

.story-content .story-highlight .highlight {
  color: var(--yellow);
}

.story-content .story-pull {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.55;
  text-align: center;
  color: var(--teal);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--gray-200);
}

/* ---------- Philosophy Section ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.philosophy-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow);
}

.philosophy-icon svg {
  width: 22px;
  height: 22px;
}

.philosophy-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  border-left: 3px solid var(--yellow);
}

.philosophy-item h4 {
  margin-bottom: 6px;
  font-size: 17px;
}

.philosophy-item p {
  font-size: 15px;
  opacity: 0.82;
  line-height: 1.6;
}

/* ---------- Core Beliefs (About) ---------- */
.beliefs-section .beliefs-intro {
  margin-bottom: 40px;
}

.beliefs-section .beliefs-intro .section-title {
  margin-bottom: 12px;
}

.beliefs-lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.beliefs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.belief-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.belief-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 64, 72, 0.12);
  transform: translateY(-2px);
}

.belief-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  border-radius: 12px;
  color: var(--yellow);
}

.belief-icon svg {
  width: 26px;
  height: 26px;
}

.belief-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
}

@media (max-width: 480px) {
  .belief-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 18px;
  }

  .belief-icon {
    margin-bottom: 4px;
  }
}

/* ---------- Programs Page ---------- */
.program-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
  border-bottom: 1px solid var(--gray-200);
}

.program-detail:last-child {
  border-bottom: none;
}

.program-detail:nth-child(even) {
  direction: rtl;
}

.program-detail:nth-child(even) > * {
  direction: ltr;
}

.program-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
}

.program-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-detail-content h3 {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--teal);
}

.program-detail-content .program-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.program-detail-content p {
  color: var(--gray-800);
  line-height: 1.7;
}

.program-detail-content ul {
  margin-top: 12px;
}

.program-detail-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  color: var(--gray-800);
  font-size: 15px;
}

.program-detail-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-alert {
  display: none;
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.45;
}

.contact-form-alert.contact-form-alert--visible {
  display: block;
}

.contact-form-alert--error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #b91c1c;
}

.contact-form .form-group input.contact-field-error,
.contact-form .form-group select.contact-field-error,
.contact-form .form-group textarea.contact-field-error {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.contact-checkbox-group {
  margin-bottom: 24px;
}

.contact-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-800);
  font-weight: 400;
}

.contact-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(2, 64, 72, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
  opacity: 0.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info-panel {
  padding: 40px;
  background: var(--teal);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.contact-info-panel > p {
  opacity: 0.82;
  margin-bottom: 32px;
  font-size: 15px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}

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

.contact-info-text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-info-text a {
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
}

.contact-info-text a:hover {
  color: var(--yellow);
}

.contact-info-text span {
  font-size: 15px;
  opacity: 0.82;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
}

.contact-social a:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-2px);
}

.contact-social a svg {
  width: 20px;
  height: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-subscribe {
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-subscribe h4 {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}

.footer-subscribe > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color var(--transition), background var(--transition);
}

.subscribe-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.12);
}

.subscribe-form .btn {
  white-space: nowrap;
  padding: 12px 24px;
}

.subscribe-message {
  display: none;
  font-size: 14px;
  margin: 0 auto 12px;
  max-width: 460px;
  padding: 10px 14px;
  border-radius: var(--radius);
  line-height: 1.45;
}

.subscribe-message.subscribe-message--visible {
  display: block;
}

.subscribe-message--error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #FECACA;
}

.subscribe-form input.subscribe-input--error {
  border-color: rgba(220, 38, 38, 0.6);
}

.subscribe-success {
  display: none;
  font-size: 14px;
  color: var(--yellow);
  margin-top: 12px;
}

.subscribe-success.show {
  display: block;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Form Success Message ---------- */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.show {
  display: block;
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--teal);
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-600);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --section-pad: 72px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-image {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
    --header-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .intro-grid,
  .about-preview,
  .bio-section,
  .contact-grid,
  .program-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .program-detail:nth-child(even) {
    direction: ltr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .bio-photo {
    position: static;
    max-width: 360px;
    margin: 0 auto;
  }

  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-photo-accent {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    text-align: center;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .contact-info-panel {
    padding: 28px 20px;
  }

  .pillar-card {
    padding: 28px 20px;
  }

  .testimonial-slide {
    padding: 28px 20px;
  }

  .testimonial-carousel {
    min-height: auto;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
  }

  .hero-content {
    padding: 40px 0;
  }

  .page-hero {
    padding: calc(var(--header-height) + 40px) 0 40px;
  }

  .program-detail-content h3 {
    font-size: 22px;
  }

  .cta-banner {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 44px;
  }

  .container {
    padding: 0 16px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar-card {
    padding: 24px 16px;
  }

  .audience-card {
    padding: 28px 18px 24px;
  }

  .testimonial-slide {
    padding: 24px 16px;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .contact-info-panel {
    padding: 24px 16px;
  }

  .credentials-list {
    gap: 8px;
  }

  .credential-tag {
    font-size: 12px;
    padding: 6px 12px;
  }

  .story-content p {
    font-size: 15px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-content {
    padding: 24px 0;
  }

  .cta-banner {
    padding: 44px 0;
  }

  h1 { font-size: clamp(28px, 7vw, 38px); }
  h2 { font-size: clamp(22px, 5vw, 30px); }
}

/* ---------- Reduced Motion (Accessibility) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  .carousel img {
    transition: none;
  }

  .testimonial-slide {
    transition: none;
  }
}
