@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-cream: #f5f4ef;
  --bg-dark: #0e1e16;
  --text-dark: #0e1e16;
  --text-light: #f5f4ef;
  --accent: #e55a41;
  --border-light: #d8d6cd;
  --border-dark: #1f3328;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;

  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

html.modal-open,
html.modal-open body {
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html.modal-open::-webkit-scrollbar,
html.modal-open body::-webkit-scrollbar {
  display: none !important;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Using clip to prevent horizontal overflow without breaking sticky */
  overflow-x: clip;
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}

.heading-xl {
  font-size: clamp(2.5rem, 6vw, 6rem);
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: clamp(2.2rem, 8vw, 6.5rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.heading-md {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.heading-sm {
  font-size: 1.5rem;
}

.text-accent {
  color: var(--accent);
}

.text-italic {
  font-style: italic;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 100%;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: inline-block;
  height: 1px;
  background-color: currentColor;
  flex: 0 1 30px;
}

.eyebrow.eyebrow-left::before {
  display: none;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 5rem;
  gap: 2rem;
}

.section-header .eyebrow {
  margin-bottom: 0;
}

.section-header .heading-lg {
  max-width: 1300px;
  margin: 0 auto;
}

.section-header p {
  max-width: 900px;
  margin: 0 auto;
}

p {
  font-size: 1rem;
  color: #555;
}

.dark-section p {
  color: #555;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* Buttons & Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: #c94b34;
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-light);
}

.btn-outline:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background-color: var(--text-dark);
}

.link-arrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.link-arrow:hover {
  color: var(--accent);
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.container-wide {
  max-width: 1850px;
  margin: 0 auto;
  padding: 0 2%;
}

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

.dark-section {
  background-color: #ffffff;
  color: var(--text-dark);
}

/* Nav */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 2%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "logo mid actions"
    "logo links actions";
  align-items: center;
  row-gap: 0;
  z-index: 100;
  background-color: #ffffff;
  color: var(--text-dark);
  box-shadow: none;
}

/* On subpages nav is always fixed */
body.subpage nav {
  position: fixed;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  z-index: 200;
}

/* Active nav link */
.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

.logo {
  flex-shrink: 0;
  position: relative;
  grid-area: logo;
  justify-self: start;
}

.logo a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover a {
  transform: scale(1.05);
}

.logo-subtitle {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-top: -2px;
  letter-spacing: 0.02em;
  font-style: italic;
}

.logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: rgba(76, 217, 100, 0.08);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
  animation: organic-glow 8s infinite alternate ease-in-out;
}

@keyframes organic-glow {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.95);
    background: rgba(76, 217, 100, 0.08);
  }

  100% {
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
    transform: translate(-50%, -50%) rotate(10deg) scale(1.05);
    background: rgba(146, 254, 157, 0.12);
  }
}

.logo img {
  position: relative;
  z-index: 2;
}

.logo-icon {
  background-color: var(--bg-dark);
  color: var(--accent);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  font-size: 1.1rem;
}

.nav-content,
.nav-top,
.nav-bottom {
  display: contents;
}

.nav-mid-text {
  grid-area: mid;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--accent);
  /* Changed to orange */
  font-weight: 700;
  font-style: italic;
  text-align: center;
  justify-self: center;
  letter-spacing: 0.05em;
}

.nav-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  justify-self: end;
}

.nav-actions .btn {
  width: 100%;
  text-align: center;
  padding: 0.5rem 0.2rem !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.65rem !important;
  white-space: nowrap;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0 0.2rem;
}

.nav-links {
  grid-area: links;
  display: flex;
  gap: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  justify-self: center;
}

/* .nav-bottom .btn is now handled within .nav-actions */

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
  transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -2px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 2px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

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

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-close-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dark);
}

.menu-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.mobile-menu-close {
  display: block !important;
  position: static !important;
  font-size: 2.2rem !important;
  color: var(--text-dark) !important;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.menu-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.menu-card:active {
  transform: scale(0.96) translateY(2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  background: #fcfcfc;
}

.menu-card.full-width {
  grid-column: span 2;
  flex-direction: row;
  justify-content: center;
  padding: 2rem;
}

.menu-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.menu-card span {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.mobile-menu-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
}

.mobile-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.mobile-social a {
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 150px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 10s ease-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 0.6;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--bg-dark) 40%, transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto 0;
  padding: 2rem 5% 2rem max(5%, 5rem);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.section-header {
  margin-bottom: 5rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  height: 1px;
  width: 40px;
  background-color: var(--accent);
  opacity: 0.6;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.vertical-text {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  z-index: 2;
}

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: auto;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.stat-item p {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin: 0;
}

.about-sticky-wrapper {
  display: flex;
  gap: 6rem;
  align-items: flex-start;
  overflow: visible !important;
}

.about-sidebar-images-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  flex: 0 0 45%;
  z-index: 10;
  height: fit-content;
}

.about-content-scroll {
  flex: 1;
}

.about-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.about-quote {
  background: var(--bg-dark);
  padding: 3rem;
  color: #fff;
  border-radius: 4px;
}

.about-quote h4 {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-info {
  font-size: 0.9rem;
  font-weight: 600;
}

.author-info span {
  display: block;
  font-size: 0.65rem;
  color: var(--accent);
  margin-top: 0.2rem;
}

.about-details-list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-detail-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 3rem;
}

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


.programs-sticky-wrapper {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
  max-width: 100% !important;
  padding: 0 5% !important;
  overflow: visible !important;
}

.programs-header-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 180px;
  /* Below fixed nav (two-row layout + logo) */
  flex: 0 0 35%;
  text-align: left;
  z-index: 10;
  /* Below site nav (nav is z-index 200 on subpages) */
  align-self: flex-start;
  height: fit-content;
}

.programs-header-sticky .eyebrow {
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.programs-header-sticky .eyebrow::after {
  display: none;
}

.programs-header-sticky .heading-lg {
  font-size: clamp(2.5rem, 4vw, 4rem);
  max-width: 100%;
  margin: 0 0 2rem 0;
  text-align: left;
}

.programs-header-sticky p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  text-align: left;
  max-width: 100%;
}

.programs-sidebar-features {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-feature {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 1.5rem;
  transition: border-color 0.3s ease;
}

.sidebar-feature:hover {
  border-left-color: var(--accent);
}

.feature-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.sidebar-feature p {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #555 !important;
  margin: 0 !important;
}

.health-benefits-box {
  margin-top: 4rem;
  background: #fcfcfc;
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefits-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 1.5rem;
  margin-top: 2rem;
}

.benefit-val {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.benefit-lab {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  font-weight: 600;
}

.benefits-note {
  margin-top: 2.5rem !important;
  font-size: 0.65rem !important;
  color: #aaa !important;
  font-style: italic;
  line-height: 1.4 !important;
}

.programs-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 0;
}

@media (min-width: 769px) {
  #programs .programs-sticky-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
  }

  #programs .programs-header-sticky {
    position: sticky;
    top: 180px;
    align-self: flex-start;
    flex: 0 0 35%;
  }

  #programs .programs-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.program-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  border: none;
  padding: 0;
}

.program-card:hover {
  transform: translateY(-15px);
}

.program-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.1);
}

.program-body {
  padding: 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-meta {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.program-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  font-family: var(--font-serif);
  color: var(--bg-dark);
}

.program-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  color: #666;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.program-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #ffffff;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.program-stats .stat {
  padding: 0.8rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
}

.program-stats .stat:last-child {
  border-right: none;
}

.program-stats .stat span {
  font-size: 1.1rem;
  font-family: var(--font-serif);
}

/* Theme Colors for Programs */
.theme-pink .program-meta {
  color: #ff2d55;
}

.theme-pink .program-stats {
  background-color: #ff2d55;
}

.theme-orange .program-meta {
  color: #ff5e3a;
}

.theme-orange .program-stats {
  background-color: #ff5e3a;
}

.theme-green .program-meta {
  color: #4cd964;
}

.theme-green .program-stats {
  background-color: #4cd964;
}

.tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  background-color: #f5f5f5;
  color: #555;
  transition: all 0.3s ease;
  font-weight: 600;
}

.tag:nth-child(1) {
  background-color: #f0f9ff;
  color: #0369a1;
}

.tag:nth-child(2) {
  background-color: #fdf2f8;
  color: #be185d;
}

.tag:nth-child(3) {
  background-color: #fffbeb;
  color: #b45309;
}

.tag:nth-child(4) {
  background-color: #f0fdf4;
  color: #15803d;
}

.tag:nth-child(5) {
  background-color: #faf5ff;
  color: #6b21a8;
}

.tag:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.learn-more-link {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bg-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.learn-more-link::after {
  content: '→';
  transition: transform 0.3s;
}

.learn-more-link:hover {
  color: var(--accent);
}

.learn-more-link:hover::after {
  transform: translateX(8px);
}

/* Program Modal - Redesigned */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 30, 22, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fbfaf5;
  width: 100%;
  max-width: 950px;
  display: flex;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
  border-radius: 32px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
  display: none;
  /* Chrome / Safari */
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #0e1e16;
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  border-radius: 50%;
  /* Circular Close Button */
  z-index: 2;
}

.modal-close:hover {
  background: #e55a41;
}

/* Modal Banner Image - Left Side */
.modal-banner {
  width: 40%;
  height: auto;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  flex-shrink: 0;
}

.modal-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 30, 22, 0.2), transparent);
}

.modal-body-content {
  width: 60%;
  padding: 4rem;
  overflow-y: auto;
  position: relative;
}

/* Mobile Modal Layout */
@media (max-width: 900px) {
  .modal-content {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    max-height: 95vh;
    border-radius: 20px;
  }

  .modal-banner {
    width: 100%;
    height: 250px;
    min-height: auto;
  }

  .modal-banner::after {
    background: linear-gradient(to bottom, transparent, rgba(14, 30, 22, 0.3));
  }

  .modal-body-content {
    width: 100%;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    border-radius: 20px;
    max-height: 85vh;
  }

  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    background: rgba(14, 30, 22, 0.8);
    backdrop-filter: blur(4px);
  }

  .modal-body-content {
    padding: 1.5rem;
  }

  .modal-banner {
    height: 160px;
  }

  .modal-body-content h2 {
    font-size: 1.75rem !important;
  }

  .modal-body-content .modal-subtitle {
    font-size: 0.9rem !important;
  }
}

/* Program Hero Eyebrow - Left Aligned */
.pg-hero-content .eyebrow {
  justify-content: flex-start;
}

.pg-hero-content .eyebrow::before,
.pg-hero-content .eyebrow::after {
  display: none;
}

.modal-header-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e55a41;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.modal-header-tag svg {
  stroke: currentColor;
  fill: none;
}

#modal-title {
  font-size: 2.5rem;
  color: #0e1e16;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

#modal-subtitle {
  color: #e55a41;
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 2rem;
  font-family: var(--font-serif);
}

.modal-body-text p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-build-section {
  margin-top: 3rem;
}

.modal-build-section h5 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #0e1e16;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.modal-tags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-tag-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #333;
  font-size: 0.9rem;
}

.modal-tag-item svg {
  color: #e55a41;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* About Section - Reverse Sticky */
.about-sticky-wrapper {
  display: flex;
  gap: 0;
  align-items: flex-start;
  max-width: 100% !important;
  padding: 0 5% !important;
}

.about-sidebar-images-sticky {
  position: sticky;
  top: 140px;
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 101;
  align-self: flex-start;
  height: fit-content;
}

.about-content-scroll {
  flex: 1;
  padding-left: 8rem;
}

.about-content-scroll .eyebrow {
  justify-content: flex-start;
  margin-bottom: 2rem;
  color: var(--accent);
}

.about-content-scroll .heading-lg {
  font-size: clamp(2.5rem, 4vw, 4rem);
  max-width: 100%;
  margin: 0 0 2rem 0;
  text-align: left;
}

.about-content-scroll p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  text-align: left;
}

.about-details-list {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.about-detail-item {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 2rem;
  transition: border-color 0.3s ease;
}

.about-detail-item:hover {
  border-left-color: var(--accent);
}

.about-method-card {
  background-color: #fcfcfc;
  padding: 4rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-method-card h3 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin: 1.5rem 0;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.about-quote {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem;
}

.about-quote h4 {
  font-size: 1.15rem !important;
  font-style: italic;
  margin-bottom: 2.5rem;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.9);
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 30px;
  height: 30px;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.author-info {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.author-info span {
  color: #888;
  display: block;
  font-size: 0.6rem;
}

.about-content .eyebrow {
  color: var(--accent);
  margin-bottom: 2rem;
}

.about-content .heading-lg {
  margin-bottom: 2rem;
}

.about-content>p {
  margin-bottom: 4rem;
  font-size: 1.1rem;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.about-item:last-child {
  border-bottom: none;
}

.item-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

.item-text h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.item-text p {
  font-size: 0.9rem;
}

/* Success Stories */
.stories-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 5rem;
  gap: 1.5rem;
}

.stories-grid {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  overflow: visible !important;
}

.video-gallery-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 180px;
  flex: 0 0 55%;
  height: fit-content;
  align-self: start;
  z-index: 10;
}

.testimonials-scroll {
  flex: 1;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background-color: #222;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.video-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.video-card.mini {
  aspect-ratio: 4/3;
}

.play-btn.small {
  width: 40px;
  height: 40px;
}

.play-btn.small svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.video-info.mini {
  bottom: 1rem;
  left: 1rem;
}

.video-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.play-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s;
}

.play-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  margin-left: 4px;
}

.video-info {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.video-info p {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  max-width: 70%;
}

.video-tag {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card {
  border: 1px solid var(--border-light);
  padding: 2.5rem;
}

.quote-icon {
  color: var(--accent);
  font-size: 2rem;
  font-family: serif;
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.client-info h5 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.client-info span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* Creative Membership Grid */
.membership-section {
  background-color: #fcfcfc;
  padding: 10rem 0;
  text-align: center;
}

.membership-section .eyebrow {
  justify-content: center;
  color: var(--accent);
  margin-bottom: 2rem;
}

.membership-section .heading-lg {
  margin-bottom: 2rem;
}

.membership-section>p {
  max-width: 600px;
  margin: 0 auto 6rem;
  font-size: 1.1rem;
  color: #666;
}

/* Creative Membership Window */
.membership-section {
  background: radial-gradient(circle at top right, #fcfcfc, #f4f4f4);
  padding: 12rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.membership-section::before {
  content: 'MEMBERSHIP';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}

.membership-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 6rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

.membership-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 4rem;
  position: relative;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.membership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.membership-card .card-header h3 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.membership-card .card-header p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.card-tag {
  position: absolute;
  top: 0;
  right: 4rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transform: translateY(-50%);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.features-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1rem;
  color: #111;
  font-weight: 500;
}

.features-list li span {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.9;
}

.features-list li:last-child {
  border-bottom: none;
}

/* Membership Card Dropdown Styles */
.membership-card .title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.4s ease;
  color: var(--accent);
}

.membership-card.active .dropdown-arrow {
  transform: rotate(180deg);
}

.card-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.membership-card.active .card-dropdown-content {
  max-height: 1000px;
}

.special-condition-box {
  background: #fcfcfc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  margin-top: 2rem;
}

.special-condition-box p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

@media (max-width: 992px) {
  .membership-cards-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .membership-card {
    padding: 3rem;
  }
}

font-size: 1.05rem;
margin-bottom: 1.8rem;
padding-left: 2.2rem;
position: relative;
color: #444;
}

.tab-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.tab-special-message {
  background: #fbfbfb;
  padding: 4rem;
  border-left: 1px solid var(--accent);
}

.tab-special-message p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

/* Features Table */
.features-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.features-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.features-table td {
  padding: 1.2rem 0;
  vertical-align: middle;
}

.features-table td:first-child {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  width: 60px;
  opacity: 0.6;
}

.features-table td:last-child {
  font-size: 1.05rem;
  color: #444;
  letter-spacing: -0.01em;
}

.features-table tr:last-child {
  border-bottom: none;
}

.pricing-grid {
  display: none;
}

/* Advanced Journal Section */
.journal-section-advanced {
  padding: var(--spacing-xl) 0;
  background-color: #fafaf7;
}

.journal-watermark-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(14, 30, 22, 0.02);
  pointer-events: none;
  z-index: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.journal-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8rem;
  align-items: start;
}

.journal-sticky-side {
  position: -webkit-sticky;
  position: sticky;
  top: 180px;
  /* Adjusted for nav height */
  height: fit-content;
  align-self: start;
}

.journal-stat-floating {
  margin-top: 6rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border-light);
  width: fit-content;
}

.journal-stat-floating .num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
}

.journal-stat-floating .label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

.journal-articles-scroll {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.journal-card-advanced {
  background: #fff;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
}

.journal-card-advanced:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.card-img-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.journal-card-advanced:hover .card-img-wrapper img {
  transform: scale(1.1);
}

.category-tag {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: #fff;
  padding: 0.5rem 1.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-content {
  padding: 4rem;
}

.card-meta {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.journal-card-advanced h4 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.journal-card-advanced p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Featured variation */
.journal-card-advanced.featured {
  background: var(--bg-dark);
  color: #fff;
  border: none;
}

.journal-card-advanced.featured p {
  color: rgba(255, 255, 255, 0.6);
}

.journal-card-advanced.featured .link-arrow {
  color: #fff;
}

/* Horizontal variation */
.journal-card-advanced.horizontal {
  flex-direction: row;
}

.journal-card-advanced.horizontal .card-img-wrapper {
  flex: 0 0 40%;
  height: auto;
}

/* Newsletter Card */
.journal-newsletter-card {
  background: var(--accent);
  padding: 6rem 4rem;
  color: #fff;
}

.journal-newsletter-card h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.journal-newsletter-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.teaser-form {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1rem;
}

.teaser-form input {
  background: transparent;
  border: none;
  color: #fff;
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  outline: none;
}

.teaser-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.teaser-form button {
  background: #fff;
  color: var(--accent);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .journal-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .journal-sticky-side {
    position: relative;
    top: 0;
  }

  .journal-card-advanced.horizontal {
    flex-direction: column;
  }

  .card-content {
    padding: 2.5rem;
  }

  .journal-stat-floating {
    margin-top: 2rem;
    padding: 1.5rem;
    width: 100%;
    justify-content: center;
  }

  .journal-sticky-side p {
    margin-bottom: 2rem;
  }

  .journal-articles-scroll {
    width: 100%;
    overflow-x: hidden;
  }

  .journal-newsletter-card {
    padding: 4rem 2rem;
  }

  .teaser-form {
    flex-direction: column;
    gap: 2rem;
    border-bottom: none;
    padding-bottom: 0;
  }

  .teaser-form input {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1rem;
    width: 100%;
  }

  .teaser-form button {
    width: 100%;
  }
}


/* Testimony Video Placeholder */
.testimony-video-section {
  background-color: var(--bg-dark);
  padding-bottom: 8rem;
  color: var(--text-light);
}

.testimony-video-section .heading-lg {
  color: var(--text-light);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 21/9;
  background: linear-gradient(rgba(14, 30, 22, 0.7), rgba(14, 30, 22, 0.8)), url('../assets/images/others/stories-video.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(229, 90, 65, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.placeholder-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 500px;
  padding: 2rem;
}

.coming-soon-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.video-placeholder .play-btn.disabled {
  border-color: rgba(255, 255, 255, 0.1);
  cursor: default;
  margin: 0 auto 2rem;
  width: 80px;
  height: 80px;
}

.video-placeholder .play-btn.disabled svg {
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.1);
  stroke: none;
}

/* Consultation Section */
.consultation-section {
  padding: 8rem 0;
  background-color: #ffffff;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.consultation-content p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.consultation-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.benefit-item svg {
  color: var(--accent);
}

.consultation-form-card {
  background: #f9f9f9;
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.booking-form .form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.booking-form label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 600;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
  color: var(--text-dark);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
}

.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.booking-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: 4rem;
  position: relative;
  z-index: 20;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding-bottom: 1rem;
}

.marquee h2 {
  font-size: 4rem;
  display: inline-block;
  animation: scroll 30s linear infinite;
  color: var(--text-light);
}

.marquee span {
  font-style: italic;
  color: var(--accent);
  margin: 0 1rem;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.footer-content {
  padding: 2rem 5% 5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-col .logo {
  margin-bottom: 2rem;
}

.footer-col>p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 3rem;
  max-width: 80%;
}

.newsletter-box .eyebrow {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 0.6rem;
}

.newsletter-box p {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.input-group {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.input-group input {
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  outline: none;
  font-size: 0.9rem;
}

.input-group button {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #aaa;
}

.footer-links a:hover {
  color: #fff;
}

.footer-info p {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-cta {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

.footer-cta h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-cta p {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 2rem;
}

.footer-bottom {
  padding: 2rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
}

.footer-social {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
}

/* Animations */
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 1024px) {

  .about-sticky-wrapper {
    flex-direction: column;
    gap: 3rem;
  }

  .programs-sticky-wrapper {
    flex-direction: row;
    gap: 3rem;
  }

  .about-sidebar-images-sticky {
    position: relative;
    top: 0;
    width: 100%;
    flex: none;
  }

  .programs-header-sticky {
    position: sticky !important;
    top: 180px;
    width: auto;
    flex: 0 0 35%;
    max-height: none;
    overflow: visible;
    z-index: 10;
  }

  .about-content-scroll {
    padding-left: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stories-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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

  .article-card {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .programs-sticky-wrapper,
  .about-sticky-wrapper {
    flex-direction: column;
    gap: 3rem;
    padding: 0 1.5rem !important;
  }

  .programs-header-sticky {
    position: relative !important;
    top: 0 !important;
    width: 100%;
    flex: none;
    max-height: none;
    overflow: visible;
  }

  /* ---- Nav ---- */
  nav {
    /* padding: 0.8rem 5%; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed !important;
    background-color: #ffffff !important;
    color: var(--text-dark) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  }

  .nav-mid-text {
    color: rgba(0, 0, 0, 0.6);
  }

  .hamburger span {
    background-color: var(--text-dark);
  }

  .logo img {
    height: 45px !important;
  }

  .nav-content {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  /* ---- Hero ---- */
  .hero {
    padding-top: 100px;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .hero-overlay {
    background: linear-gradient(to bottom,
        rgba(14, 30, 22, 0.85) 0%,
        rgba(14, 30, 22, 0.4) 50%,
        rgba(14, 30, 22, 0.8) 100%);
  }

  .hero-content {
    padding: 2rem 5% 4rem;
    max-width: 100%;
    text-align: center;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-content p {
    margin: 1.5rem auto;
    font-size: 1rem;
  }

  .hero-tag {
    margin: 0 auto 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .vertical-text {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 5%;
    gap: 1rem;
    background: #0e1e16;
    /* Solid background as per screenshot */
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .stat-item h3 {
    font-size: 1.8rem;
  }

  .stat-item p {
    font-size: 0.65rem;
  }

  /* ---- Programs ---- */
  .section {
    padding: 5rem 0;
  }

  .programs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .programs-header p {
    max-width: 100%;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  /* ---- About ---- */
  .about-grid {
    gap: 2.5rem;
  }

  .about-quote {
    padding: 2rem 1.5rem;
  }

  .about-quote h4 {
    font-size: 1.2rem;
  }

  .about-content>p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  /* ---- Success Stories ---- */
  .stories-header {
    gap: 1rem;
  }

  .stories-grid {
    flex-direction: column;
    gap: 3rem;
  }

  .video-gallery-sticky {
    position: relative;
    top: 0;
    width: 100%;
    flex: none;
  }

  .video-gallery {
    position: relative !important;
    top: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
  }

  .video-gallery>.video-card:first-child {
    grid-column: unset !important;
  }

  .video-card {
    position: relative;
    top: 0;
    aspect-ratio: 16/9;
  }

  .video-info p {
    font-size: 1rem;
    max-width: 80%;
  }

  .testimonials {
    gap: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  /* ---- Membership ---- */
  .window-header {
    padding: 1rem;
    flex-direction: column;
    gap: 1.5rem;
  }

  .window-controls {
    margin-right: 0;
    display: none;
  }

  .window-tabs {
    gap: 0.5rem;
    width: 100%;
  }

  .tab-btn {
    padding: 0.8rem 0.5rem;
    font-size: 0.55rem;
    flex: 1;
    white-space: nowrap;
  }

  .tab-badge {
    display: none;
  }

  .window-logo {
    margin: 0 auto !important;
    order: -1;
  }

  .window-body {
    padding: 3rem 1.5rem;
  }

  .tab-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .tab-info .plan-name {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .tab-info p {
    margin-bottom: 2.5rem;
  }

  .tab-special-message {
    padding: 2rem;
  }

  /* ---- Video Placeholder ---- */
  .video-placeholder {
    aspect-ratio: 4/3;
  }

  /* ---- Consultation ---- */
  .consultation-section {
    padding: 5rem 0;
  }

  .consultation-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .consultation-form-card {
    padding: 2rem 1.5rem;
  }

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

  /* ---- Footer ---- */
  .marquee {
    padding-bottom: 2.5rem;
  }

  .marquee h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 3rem 5%;
    gap: 2.5rem;
  }

  .footer-col>p {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 1.5rem 5%;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.8rem;
    margin: 0 !important;
  }

  /* ---- Modals ---- */
  .modal-overlay {
    padding: 1rem;
    align-items: flex-end;
  }

  .modal-content {
    padding: 2rem 1.5rem;
    max-height: 85vh;
    border-radius: 16px 16px 0 0;
  }

  #modal-title {
    font-size: 1.8rem;
  }

  .modal-tags-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 10%;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    text-align: center;
  }

  .stat-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
  }

  .stat-item p {
    font-size: 0.7rem;
  }

  .heading-xl {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  .heading-lg {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .section {
    padding: 4rem 0;
  }

  .container,
  .container-wide {
    padding: 0 5%;
  }

  .hero-btns .btn {
    max-width: 100%;
  }

  .programs-header .heading-lg {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .program-image {
    height: 200px;
  }

  .mobile-menu-links a {
    font-size: 1.6rem;
  }

  .footer-cta {
    padding: 1.5rem;
  }

  .video-mini-grid {
    grid-template-columns: 1fr;
  }

  .journal-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .journal-card h4 {
    font-size: 1.4rem !important;
  }

  .contact-form-wrap {
    padding: 3rem 1.5rem;
    border-left: none;
    border-right: none;
  }

  .contact-page-grid {
    padding: 0;
    gap: 3rem;
  }

  .card-img-wrapper {
    height: 240px;
  }

  .card-content {
    padding: 2rem 1.5rem;
  }

  .journal-card-advanced h4 {
    font-size: 1.6rem !important;
  }

  .journal-newsletter-card {
    padding: 3rem 1.5rem;
  }

  .eyebrow.eyebrow-left::before {
    display: none;
  }
}

/* === SECTION WATERMARK === */
.section-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 14rem;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.02);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

@media (max-width: 768px) {
  .section-watermark {
    font-size: 8rem !important;
  }
}

@media (max-width: 480px) {
  .section-watermark {
    display: none;
  }
}

/* Membership Section */
.membership-section {
  background-color: #faf9f6;
}

.membership-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  align-items: start;
  /* Allow independent expansion */
}

.membership-card {
  background: #fff;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  /* Symmetry when closed */
}

.membership-card.active {
  min-height: auto;
  /* Allow growth when expanded */
}

.membership-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.foundation-card {
  border-top: 4px solid var(--accent);
}

.advance-card {
  background-color: var(--accent);
  color: #fff !important;
  border-left: 1px solid var(--accent) !important;
  border-right: 1px solid var(--accent) !important;
  border-bottom: 1px solid var(--accent) !important;
  border-top: 4px solid #fff !important;
}

.advance-card .heading-lg,
.advance-card h3,
.advance-card .eyebrow,
.advance-card p,
.advance-card span,
.advance-card li,
.advance-card .dropdown-arrow svg {
  color: #fff !important;
  stroke: #fff !important;
}

.advance-card .eyebrow::before,
.advance-card .eyebrow::after {
  background: #fff !important;
}

.advance-card p {
  color: #fff !important;
  opacity: 1 !important;
}

.card-header {
  padding: 1.5rem 2.5rem;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 0;
  box-shadow: 0 4px 10px rgba(229, 90, 65, 0.15);
  z-index: 5;
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  /* Reduced from 1.5rem */
  width: 100%;
}

.title-row h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  /* Slightly smaller for compactness */
  margin: 0;
  line-height: 1.1;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  flex-shrink: 0;
}

.membership-card:hover .dropdown-arrow {
  opacity: 1;
}

.membership-card.active .dropdown-arrow {
  transform: rotate(180deg);
}

.card-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.membership-card.active .card-dropdown-content {
  max-height: 1000px;
}

.card-body {
  padding: 0 3rem 3rem;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.features-list li {
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.features-list li span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
}

.advance-card .features-list li span {
  color: #fff;
  opacity: 0.8;
}

.advance-card .features-list li {
  color: rgba(255, 255, 255, 0.8);
}

.special-condition-box {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  margin-top: 2rem;
}

.advance-card .btn-outline {
  background-color: #fff;
  color: var(--accent);
  border-color: #fff;
}

@media (max-width: 991px) {
  .membership-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .card-header {
    padding: 1.5rem;
  }

  .card-body {
    padding: 0 1.5rem 2.5rem;
  }

  .features-list {
    grid-template-columns: 1fr;
    /* Stack features on mobile */
    gap: 1rem;
  }

  .title-row h3 {
    font-size: 1.8rem;
  }

  .card-tag {
    display: none;
    /* Remove recommended tag on mobile as requested */
  }
}

/* ==========================================================================
   LEGAL SUBPAGES (Privacy, Terms, Refund)
   ========================================================================== */
.legal-header {
  background: var(--bg-dark);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 90, 65, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}

.legal-header .eyebrow {
  color: var(--accent);
  margin-bottom: 1.5rem;
  justify-content: center;
  letter-spacing: 0.15em;
}

.legal-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.legal-header p {
  color: rgba(245, 244, 239, 0.65);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.legal-container {
  max-width: 1000px;
  margin: -80px auto 120px;
  position: relative;
  z-index: 10;
  padding: 0 5%;
}

/* Timeline Split Layout */
.legal-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4.5rem;
  align-items: start;
}

/* Borderless Timeline Sidebar */
.legal-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 140px;
  background: transparent;
  padding: 1rem 0;
  border: none;
  box-shadow: none;
  z-index: 5;
}

.legal-sidebar h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  opacity: 0.9;
}

.legal-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
}

/* Timeline continuous vertical track line */
.legal-nav-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: rgba(14, 30, 22, 0.07);
  border-radius: 2px;
}

.legal-nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: #6a7b72;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  line-height: 1.4;
  text-align: left;
  position: relative;
  padding-left: 1.8rem;
}

/* Dot on the timeline */
.legal-nav-link::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) scale(0.65);
  width: 8px;
  height: 8px;
  background: #6a7b72;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.4;
  z-index: 2;
}

.legal-nav-link span {
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.5;
  min-width: 20px;
  color: var(--bg-dark);
  transition: all 0.3s ease;
}

.legal-nav-link:hover {
  color: var(--bg-dark);
  padding-left: 2.1rem;
}

.legal-nav-link:hover::before {
  transform: translateY(-50%) scale(1.1);
  background: var(--bg-dark);
  opacity: 0.8;
}

/* Active timeline node styling */
.legal-nav-link.active {
  color: var(--accent);
  font-weight: 700;
  padding-left: 2.3rem;
}

.legal-nav-link.active::before {
  transform: translateY(-50%) scale(1.4);
  background: var(--accent);
  opacity: 1;
  box-shadow: 0 0 10px rgba(229, 90, 65, 0.4);
}

.legal-nav-link.active span {
  color: var(--accent);
  opacity: 1;
}

/* Premium Card Canvas */
.legal-card {
  background: #ffffff;
  border: 1px solid rgba(14, 30, 22, 0.05);
  padding: 6rem 5rem;
  box-shadow: 0 40px 80px rgba(14, 30, 22, 0.03);
  border-radius: 8px;
  position: relative;
}

.legal-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--bg-dark);
  margin-top: 4.5rem;
  margin-bottom: 1.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(14, 30, 22, 0.06);
  position: relative;
  letter-spacing: -0.01em;
}

.legal-card h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-card h3:hover::after {
  width: 120px;
}

.legal-card h3:first-of-type {
  margin-top: 0;
}

.legal-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a554f;
  margin-bottom: 1.5rem;
}

.legal-card p strong {
  color: var(--bg-dark);
}

.legal-card ul {
  margin-bottom: 2.5rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.legal-card li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a554f;
  position: relative;
  padding-left: 2rem;
}

/* Elegant custom bullet dot */
.legal-card li::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.85;
}

.legal-card a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-card a:hover {
  color: #c94b34;
}

.legal-card strong {
  font-weight: 600;
}

.legal-card p strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--bg-dark);
}

/* Action Tools */
.legal-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(14, 30, 22, 0.06);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-search-box {
  position: relative;
  flex: 1;
  max-width: 380px;
}

.legal-search-box input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 3rem;
  border: 1px solid rgba(14, 30, 22, 0.08);
  border-radius: 50px;
  font-size: 0.85rem;
  background: #fcfbfa;
  color: var(--bg-dark);
  font-family: var(--font-sans);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-search-box input:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(229, 90, 65, 0.08);
}

.legal-search-box svg {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #88968f;
  pointer-events: none;
  transition: color 0.3s ease;
}

.legal-search-box input:focus+svg {
  color: var(--accent);
}

.legal-actions {
  display: flex;
  gap: 1rem;
}

.legal-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(14, 30, 22, 0.08);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50px;
  color: #4a554f;
}

.legal-btn-action:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(229, 90, 65, 0.08);
  transform: translateY(-2px);
}

.legal-btn-action svg {
  transition: transform 0.3s ease;
}

.legal-btn-action:hover svg {
  transform: scale(1.1);
}

/* Highlight matches */
.legal-highlight {
  background-color: rgba(229, 90, 65, 0.2);
  color: var(--bg-dark);
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(229, 90, 65, 0.08);
}

/* Scroll indicator */
.legal-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

/* Responsive constraints */
@media (max-width: 1200px) {
  .legal-wrapper {
    gap: 3rem;
  }

  .legal-card {
    padding: 5rem 4rem;
  }
}

@media (max-width: 1024px) {
  .legal-wrapper {
    grid-template-columns: 260px 1fr;
    gap: 2rem;
  }

  .legal-card {
    padding: 4rem 3rem;
  }
}

@media (max-width: 991px) {
  .legal-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .legal-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 0;
    padding: 1.5rem;
    border: 1px solid rgba(14, 30, 22, 0.05);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(14, 30, 22, 0.02);
  }

  .legal-sidebar h5 {
    padding-left: 0;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .legal-nav-list::before {
    display: none;
  }

  .legal-nav-link {
    padding-left: 1.5rem;
  }

  .legal-nav-link::before {
    left: 0;
  }

  .legal-nav-link:hover {
    padding-left: 1.7rem;
  }

  .legal-nav-link.active {
    padding-left: 1.8rem;
  }
}

@media (max-width: 768px) {
  .legal-header {
    padding: 140px 0 80px;
  }

  .legal-card {
    padding: 3rem 2rem;
  }

  .legal-card h3 {
    font-size: 1.6rem;
  }
}