/* ===================================================
   HOME CULINARY & TECHNICAL SCHOOL — Design System
   Brand Guidelines: Fraunces + Outfit | Teal, Crimson, Gold
   Inspired by: sofa.edu.ph  · Gen Z Friendly Refresh
   =================================================== */

/* ---------- Custom Properties ---------- */
:root {
  /* Brand Colors */
  --crimson: #93061b;
  --teal: #0a3428;
  --gold: #b57e0f;
  --white: #ffffff;
  --cream: #EDF2F0;
  --charcoal: #212121;
  --light-gray: #f5f5f3;

  /* Typography */
  --font-heading: 'Fraunces', 'Georgia', serif;
  --font-body: 'Outfit', sans-serif;

  /* UI Elements */
  /* Pill-shaped radius for a friendly, bubbly feel */
  --radius: 50px;
  --radius-card: 28px;
  --radius-input: 14px;
  --shadow-soft: 0 10px 30px rgba(10, 52, 40, 0.04);

  /* Bouncy spring curve for playful interactions */
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --gap: 40px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--teal);
  line-height: 1.2;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-cream {
  color: var(--cream);
}

.text-white {
  color: var(--white);
}

.text-teal {
  color: var(--teal);
}

.text-gold {
  color: var(--gold);
}

.text-crimson {
  color: var(--crimson);
}

.bg-white {
  background-color: var(--white);
}

.bg-cream {
  background-color: var(--cream);
}

.bg-teal {
  background-color: var(--teal);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7a5c10;
  margin-bottom: 16px;
  font-weight: 600;
}

.bg-teal .section-label,
.hero .section-label {
  color: var(--cream);
}

/* Gradient text on section titles — teal-to-gold shimmer */
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--teal) 0%, #1a5c4a 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Override gradient text in teal/dark sections */
.bg-teal .section-title,
.hero .section-title {
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: #444;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.35s var(--bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Bouncy click micro-animation */
.btn:active {
  transform: scale(0.95) !important;
  transition-duration: 0.1s;
}

/* (Sparkle emoji removed per user request) */

.btn-primary {
  background-color: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
  box-shadow: 0 4px 15px rgba(147, 6, 27, 0.15);
}

/* Use background-color instead of gradient for smooth transition */
.btn-primary:hover {
  background-color: #c4102e;
  border-color: #c4102e;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(147, 6, 27, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(10, 52, 40, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--teal);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}

.pulse-once {
  animation: pulse-once 1s ease-out;
}

@keyframes pulse-once {
  0% {
    box-shadow: 0 0 0 0 rgba(147, 6, 27, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(147, 6, 27, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(147, 6, 27, 0);
  }
}

/* ===================================================
   HEADER / NAVIGATION
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 52, 40, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo img {
  height: 50px;
  transition: height var(--transition);
}

.site-header.scrolled .site-logo img {
  height: 40px;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions .btn {
  padding: 10px 24px;
  font-size: 0.7rem;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.open span {
  background: var(--white) !important;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hidden on desktop */
.mobile-nav {
  display: none;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background-color: var(--teal);
  /* Prevents white flash between slide transitions */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1;
  /* keep opacity 1 to avoid white flashes */
  transform: translateX(100%);
  transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.hero-bg.active {
  transform: translateX(0);
}

.hero-bg.exit-left {
  transform: translateX(-100%);
}

/* Hero Slide Dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.15);
}

.hero-dot.active {
  width: 36px;
  border-radius: 6px;
  background: var(--gold);
  border-color: var(--gold);
}

.hero-dot.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  animation: dot-progress 3.5s linear forwards;
}

@keyframes dot-progress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: all 0.35s ease;
}

.hero:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow--left {
  left: 24px;
}

.hero-arrow--right {
  right: 24px;
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(181, 126, 15, 0.18) 0%, transparent 70%),
    linear-gradient(180deg,
      rgba(10, 52, 40, 0.50) 0%,
      rgba(10, 52, 40, 0.35) 45%,
      rgba(10, 52, 40, 0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .hero-arrow {
    display: none !important;
  }

  .hero {
    align-items: flex-start;
    padding-top: 130px;
    padding-bottom: 40px;
  }
}

.hero-content .section-label {
  color: #d4a02a;
  margin-bottom: 24px;
  text-shadow:
    0 0 12px rgba(212, 160, 42, 0.75),
    0 0 28px rgba(212, 160, 42, 0.40),
    0 0 50px rgba(212, 160, 42, 0.20);
  animation: gold-shimmer 3s ease-in-out infinite;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

/* Page hero - shorter */
.hero-page {
  height: 50vh;
  min-height: 400px;
}

.hero-page h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

@keyframes gold-shimmer {

  0%,
  100% {
    text-shadow:
      0 0 12px rgba(212, 160, 42, 0.75),
      0 0 28px rgba(212, 160, 42, 0.40),
      0 0 50px rgba(212, 160, 42, 0.20);
    opacity: 1;
  }

  50% {
    text-shadow:
      0 0 18px rgba(230, 185, 80, 1),
      0 0 40px rgba(212, 160, 42, 0.70),
      0 0 80px rgba(181, 126, 15, 0.40);
    opacity: 0.92;
  }
}

/* ===================================================
   SECTIONS
   =================================================== */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ---------- Split Layout (50/50) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.split-image:hover img {
  transform: scale(1.03);
}

.split-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}

.split-text p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #555;
}

/* About page bullet lists */
.about-list {
  list-style: none;
  margin-top: 16px;
  padding: 0;
}

.about-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

/* ===================================================
   COURSE / PROGRAM CARDS
   =================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.card-grid.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.hero-img-tall {
  height: 500px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-img-md {
  height: 400px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Bubbly rounded cards with bouncy spring hover */
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--white);
  transition: transform 0.4s var(--bounce), box-shadow 0.4s ease;
  border: 1px solid #e8e8e5;
  box-shadow: var(--shadow-soft);
}

/* Ensure border remains visible against the cream background */
.bg-cream .card {
  border-color: #d1d8d5;
}

/* Bouncy hover with a tiny playful rotation + rainbow glow */
.card:hover,
.card.mobile-hover {
  transform: translateY(-10px) scale(1.03) rotate(-0.5deg);
  box-shadow:
    0 20px 50px rgba(10, 52, 40, 0.10),
    0 0 0 2px var(--gold),
    0 0 30px rgba(181, 126, 15, 0.12);
}

/* Alternating glow tints per card for variety */
.card:nth-child(4n+2):hover,
.card:nth-child(4n+2).mobile-hover {
  box-shadow:
    0 20px 50px rgba(10, 52, 40, 0.10),
    0 0 0 2px var(--teal),
    0 0 30px rgba(10, 52, 40, 0.10);
}

.card:nth-child(4n+3):hover,
.card:nth-child(4n+3).mobile-hover {
  box-shadow:
    0 20px 50px rgba(147, 6, 27, 0.08),
    0 0 0 2px var(--crimson),
    0 0 30px rgba(147, 6, 27, 0.10);
}

a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-image {
  position: relative;
  padding-top: 85%;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img,
.card.mobile-hover .card-image img {
  transform: scale(1.08);
}

.card-body {
  background: var(--white);
  position: relative;
  z-index: 2;
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-image+.card-body {
  margin-top: -32px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.card-body p {
  font-size: 0.9rem;
  color: #4a4a4a;
  line-height: 1.6;
}

/* Pill-shaped colored badge instead of plain text tag */
.card-body .card-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--teal), #1a6b52);
  padding: 5px 14px;
  border-radius: 50px;
}

/* Minimal card (like SoFA short courses) */
.card-minimal {
  background: transparent;
  box-shadow: none !important;
  border: none !important;
}

.card-minimal:hover {
  box-shadow: none !important;
  transform: scale(1.04) rotate(-0.5deg);
  border: none !important;
}

.card-minimal .card-image {
  padding-top: 100%;
  border-radius: var(--radius-card);
}

.card-minimal .card-body {
  padding: 16px 0;
}

.card-minimal .card-body h3 {
  font-size: 1.05rem;
}

/* ===================================================
   FULL-WIDTH QUOTE / VISION SECTION
   =================================================== */
.quote-section {
  padding: 120px 0;
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5;
}

.bg-teal .quote-section blockquote,
.quote-section.bg-teal blockquote {
  color: var(--white);
}

.bg-teal .quote-section .quote-author,
.quote-section.bg-teal .quote-author {
  color: var(--cream);
}

.quote-section .quote-author {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

@media (min-width: 769px) {
  .testimonial-grid .testimonial:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc(50% - 24px);
  }
}

/* Glassmorphism testimonial cards — frosted glass effect */
.testimonial {
  padding: 48px;
  background: rgba(245, 245, 243, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  position: relative;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e8e8e5;
  transition: transform 0.4s var(--bounce), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.testimonial:hover,
.testimonial.mobile-hover {
  transform: translateY(-10px) scale(1.03) rotate(-0.5deg);
  box-shadow:
    0 20px 50px rgba(10, 52, 40, 0.10),
    0 0 0 2px var(--gold),
    0 0 30px rgba(181, 126, 15, 0.12);
}

.testimonial:nth-child(4n+2):hover,
.testimonial:nth-child(4n+2).mobile-hover {
  box-shadow:
    0 20px 50px rgba(10, 52, 40, 0.10),
    0 0 0 2px var(--teal),
    0 0 30px rgba(10, 52, 40, 0.10);
}

.testimonial:nth-child(4n+3):hover,
.testimonial:nth-child(4n+3).mobile-hover {
  box-shadow:
    0 20px 50px rgba(147, 6, 27, 0.08),
    0 0 0 2px var(--crimson),
    0 0 30px rgba(147, 6, 27, 0.10);
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 16px;
  left: 28px;
  line-height: 1;
}

.testimonial p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}

.testimonial .testimonial-author {
  font-weight: 600;
  color: var(--teal);
  font-size: 0.9rem;
}

/* ===================================================
   ADMISSIONS PROCESS (Steps)
   =================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 40px;
}

.step {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-card);
  transition: transform 0.4s var(--bounce), box-shadow 0.4s ease;
  border: 1px solid #e8e8e5;
  box-shadow: var(--shadow-soft);
}

.step:hover {
  transform: translateY(-10px) scale(1.03) rotate(-0.5deg);
  box-shadow:
    0 20px 50px rgba(10, 52, 40, 0.10),
    0 0 0 2px var(--gold),
    0 0 30px rgba(181, 126, 15, 0.12);
}

.step:nth-child(4n+2):hover {
  box-shadow:
    0 20px 50px rgba(10, 52, 40, 0.10),
    0 0 0 2px var(--teal),
    0 0 30px rgba(10, 52, 40, 0.10);
}

.step:nth-child(4n+3):hover {
  box-shadow:
    0 20px 50px rgba(147, 6, 27, 0.08),
    0 0 0 2px var(--crimson),
    0 0 30px rgba(147, 6, 27, 0.10);
}

/* Instantly track javascript cursor coordinates without 0.4s lag */
.tilt-active {
  transition: transform 0.05s linear, box-shadow 0.4s ease !important;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9rem;
  color: #666;
}

/* Requirements list */
.requirements-list {
  max-width: 700px;
  margin: 0 auto;
}

.requirements-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--cream);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.requirements-list li::before {
  content: '\2713';
  color: var(--gold);
  font-weight: 700;
}

/* ===================================================
   CONTACT / ENROLL INFO
   =================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  margin-bottom: 28px;
}

.contact-item h3 {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-item p,
.contact-item a {
  font-size: 1rem;
  color: #555;
}

.contact-item a:hover {
  color: var(--crimson);
}

/* ===================================================
   EVENT VENUE
   =================================================== */
.venue-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.venue-feature {
  text-align: center;
  padding: 32px 20px;
  background: var(--light-gray);
  border-radius: var(--radius-card);
  transition: transform 0.4s var(--bounce);
}

.venue-feature:hover {
  transform: translateY(-5px);
}

.venue-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.venue-feature p {
  font-size: 0.9rem;
  color: #666;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--teal);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col .footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 10px;
  transition: opacity var(--transition);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

.itmonsters-link {
  color: inherit;
  text-decoration: none;
}

.itmonsters-link:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.footer-social a:hover {
  opacity: 1;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-col {
    margin-left: 25%;
    margin-right: 25%;
    padding-left: 0;
  }
}

@media (max-width: 768px) {

  .footer-brand,
  .footer-col {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ===================================================
   RATE CARDS
   =================================================== */
.rates-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rate-card {
  background: var(--white);
  border: 1px solid #e8e8e5;
  border-radius: var(--radius-card);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--bounce), box-shadow 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.rate-card-image {
  width: 100%;
  height: 240px;
  background-color: var(--cream);
}

.rate-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.rate-card-content {
  background: var(--white);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  margin-top: -32px;
  padding: 32px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rate-card:hover,
.rate-card.mobile-hover {
  transform: translateY(-10px) scale(1.03) rotate(-0.5deg);
  box-shadow:
    0 20px 50px rgba(10, 52, 40, 0.10),
    0 0 0 2px var(--gold),
    0 0 30px rgba(181, 126, 15, 0.12);
}

.rate-card:hover .rate-card-image img,
.rate-card.mobile-hover .rate-card-image img {
  transform: scale(1.08);
}

/* Alternating rainbow glow tints */
.rate-card:nth-child(4n+2):hover,
.rate-card:nth-child(4n+2).mobile-hover {
  box-shadow:
    0 20px 50px rgba(10, 52, 40, 0.10),
    0 0 0 2px var(--teal),
    0 0 30px rgba(10, 52, 40, 0.10);
}

.rate-card:nth-child(4n+3):hover,
.rate-card:nth-child(4n+3).mobile-hover {
  box-shadow:
    0 20px 50px rgba(147, 6, 27, 0.08),
    0 0 0 2px var(--crimson),
    0 0 30px rgba(147, 6, 27, 0.10);
}

.rate-card-header {
  margin-bottom: 24px;
}

.rate-card-header h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.rate-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-body);
}

.rate-card-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.price-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
  font-weight: 600;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--teal);
  font-weight: 600;
}

.rate-card-details {
  margin-bottom: 24px;
}

.rate-detail {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}

.rate-detail span:first-child {
  color: #999;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rate-detail span:last-child {
  font-weight: 600;
  color: var(--charcoal);
}

/* ===================================================
   COURSE DETAIL PAGE
   =================================================== */
.course-detail {
  padding: 80px 0;
}

.course-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.course-detail-body h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.course-detail-body p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
}

.course-detail-body ul {
  margin-bottom: 20px;
}

.course-detail-body ul li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 1rem;
  color: #555;
}

.course-detail-body ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.course-sidebar {
  position: sticky;
  top: 100px;
  background: var(--light-gray);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.course-sidebar .price-amount {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 24px;
}

.sidebar-detail {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0dd;
  font-size: 0.9rem;
}

.sidebar-detail span:first-child {
  color: #999;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-detail span:last-child {
  font-weight: 600;
  color: var(--charcoal);
}

.course-sidebar .btn {
  width: 100%;
  text-align: center;
  margin-top: 24px;
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
/* Slide-up-and-bounce scroll animation with spring curve */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s var(--bounce);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Snappier stagger timing (0.08s gaps) */
.stagger-1 {
  transition-delay: 0.08s;
}

.stagger-2 {
  transition-delay: 0.16s;
}

.stagger-3 {
  transition-delay: 0.24s;
}

.stagger-4 {
  transition-delay: 0.32s;
}

.stagger-5 {
  transition-delay: 0.40s;
}

.stagger-6 {
  transition-delay: 0.48s;
}

/* ---------- Custom Date Picker (OTC visit) ---------- */
/* WHY: Native <input type="date"> can't disable specific days (weekends).
   This custom calendar visually greys out Sat/Sun so users can't pick them. */

.custom-datepicker {
  position: relative;
}

/* The text input that shows the selected date */
.custom-datepicker input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.custom-datepicker input[type="text"]:focus {
  outline: none;
  border-color: var(--teal);
}

.custom-datepicker input[type="text"].error {
  border-color: var(--crimson);
}

/* Calendar dropdown panel */
.dp-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 100;
  width: 300px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  padding: 16px;
  animation: dpFadeIn 0.2s ease;
}

.dp-dropdown.open {
  display: block;
}

@keyframes dpFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Month/year header with nav arrows */
.dp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dp-month-year {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
}

.dp-nav-btn {
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.dp-nav-btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* Weekday header row */
.dp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}

.dp-weekdays span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  padding: 4px 0;
}

/* Weekend labels in the header are styled differently */
.dp-weekend-label {
  color: #ccc !important;
}

/* Day grid */
.dp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

/* Individual day cell */
.dp-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--charcoal);
  transition: all 0.15s ease;
  border: none;
  background: none;
  font-family: var(--font-body);
}

.dp-day:hover:not(.dp-disabled):not(.dp-weekend):not(.dp-empty) {
  background: rgba(10, 52, 40, 0.08);
  color: var(--teal);
}

/* Selected day */
.dp-day.dp-selected {
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
}

/* Today indicator */
.dp-day.dp-today:not(.dp-selected) {
  border: 2px solid var(--gold);
  font-weight: 700;
}

/* Weekend days — greyed out and unclickable */
.dp-day.dp-weekend {
  color: #ccc;
  cursor: not-allowed;
  text-decoration: line-through;
  background: #f9f9f9;
}

/* Past dates — also greyed out */
.dp-day.dp-disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* Empty placeholder cells for offset */
.dp-day.dp-empty {
  cursor: default;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1200px) {

  .card-grid,
  .card-grid.card-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .rates-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-detail-grid {
    grid-template-columns: 1fr;
  }

  .main-nav,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Mobile nav overlay — slide down from top */
  .mobile-nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--teal);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
  }

  .mobile-nav a,
  .mobile-nav .btn {
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.35s ease, transform 0.35s var(--bounce);
  }

  @media (max-height: 750px) {
    .mobile-nav {
      justify-content: flex-start;
      padding-top: 100px;
      padding-bottom: 40px;
      gap: 20px;
    }
  }

  .mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Staggered entry animation for menu links */
  .mobile-nav.open a,
  .mobile-nav.open .btn {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav.open > :nth-child(1) { transition-delay: 0.12s; }
  .mobile-nav.open > :nth-child(2) { transition-delay: 0.16s; }
  .mobile-nav.open > :nth-child(3) { transition-delay: 0.20s; }
  .mobile-nav.open > :nth-child(4) { transition-delay: 0.24s; }
  .mobile-nav.open > :nth-child(5) { transition-delay: 0.28s; }
  .mobile-nav.open > :nth-child(6) { transition-delay: 0.32s; }
  .mobile-nav.open > :nth-child(7) { transition-delay: 0.36s; }
  .mobile-nav.open > :nth-child(8) { transition-delay: 0.40s; }
  .mobile-nav.open > :nth-child(9) { transition-delay: 0.44s; }

  /* Reset delays when closing so items disappear together */
  .mobile-nav:not(.open) a,
  .mobile-nav:not(.open) .btn {
    transition-delay: 0s;
  }

  .mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
  }

  .mobile-nav .btn {
    margin-top: 16px;
  }

  .mobile-nav-close {
    display: none !important;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
    --gap: 20px;
  }

  /* Navbar logic moved to 1024px breakpoint */

  .hero {
    min-height: 550px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-page {
    min-height: 480px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .card-grid,
  .card-grid.card-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rates-table {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .admission-form-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .program-options {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .payment-methods {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .form-navigation {
    flex-direction: column;
  }

  .form-navigation .btn {
    width: 100%;
    text-align: center;
  }

  .progress-bar {
    gap: 4px;
  }

  .progress-step span {
    display: none;
  }

  .progress-step .step-num {
    display: flex;
  }

  .tuition-split {
    flex-direction: column;
    gap: 16px;
  }

  .review-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .review-row .review-value {
    display: block;
    text-align: left !important;
    margin-top: 4px;
    max-width: 100%;
  }

  .hero-img-tall {
    height: 300px;
  }
}

/* ===================================================
   MULTI-STEP ADMISSION FORM
   =================================================== */

.admission-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

/* --- Progress Bar --- */
.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  position: relative;
  gap: 8px;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: #ddd;
  z-index: 0;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 24px;
  height: 2px;
  background: var(--teal);
  z-index: 1;
  transition: width 0.4s ease;
  width: var(--progress, 0%);
  max-width: calc(100% - 48px);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  cursor: pointer;
  flex: 1;
}

.progress-step .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ddd;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.progress-step span {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #aaa;
  white-space: nowrap;
  transition: color 0.3s;
}

.progress-step.active .step-num {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(10, 52, 40, 0.15);
}

.progress-step.active span {
  color: var(--teal);
}

.progress-step.completed .step-num {
  background: var(--teal);
  color: var(--white);
}

.progress-step.completed span {
  color: var(--teal);
}

/* --- Form Steps --- */
.form-step {
  display: none;
  animation: fadeInStep 0.35s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-step-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* --- Form Groups --- */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group label .required {
  color: var(--crimson);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  border-radius: var(--radius-input);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 52, 40, 0.08);
}

/* --- Floating Labels --- */
.form-group.floating-label-group {
  position: relative;
}

.form-group.floating-label-group input,
.form-group.floating-label-group select,
.form-group.floating-label-group textarea,
.form-group.floating-label-group .custom-datepicker input[type="text"] {
  padding: 24px 16px 8px;
  /* Top padding for label */
  height: auto;
  min-height: 56px;
  border-radius: var(--radius-input);
}

.form-group.floating-label-group select {
  padding-top: 18px;
  padding-right: 48px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.form-group.floating-label-group label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  transition: all 0.2s var(--bounce);
  pointer-events: none;
  font-size: 0.95rem;
  color: #888;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0;
  font-weight: 400;
  z-index: 10;
}

/* Hide the default option text in select so it doesn't overlap with label */
.form-group.floating-label-group select:invalid {
  color: transparent;
}

.form-group.floating-label-group select:invalid option {
  color: var(--charcoal);
  /* Keep options visible in the dropdown list */
}

/* Float label state */
.form-group.floating-label-group input:focus~label,
.form-group.floating-label-group input:not(:placeholder-shown)~label,
.form-group.floating-label-group select:focus~label,
.form-group.floating-label-group select:valid~label {
  top: 14px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--teal);
}

/* Neutral color when valid but not focused */
.form-group.floating-label-group input:not(:placeholder-shown):not(:focus)~label,
.form-group.floating-label-group select:valid:not(:focus)~label {
  color: #888;
}

/* Handle placeholders - hide initially, show on focus */
.form-group.floating-label-group input::placeholder {
  color: transparent;
  transition: color 0.2s ease;
}

.form-group.floating-label-group input:focus::placeholder {
  color: #bbb;
}

.form-group input.error,
.form-group select.error {
  border-color: var(--crimson);
}

.form-group .error-msg {
  font-size: 0.75rem;
  color: var(--crimson);
  display: none;
  position: absolute;
  bottom: -18px;
  left: 4px;
  white-space: nowrap;
}

.form-group input.error~.error-msg,
.form-group select.error~.error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-row .form-group {
  margin-bottom: 0;
}

/* --- Program Selection Cards --- */
.program-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.program-option {
  position: relative;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.program-option:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 12px rgba(10, 52, 40, 0.08);
}

.program-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.program-option.selected {
  border-color: var(--teal);
  background: rgba(10, 52, 40, 0.03);
  box-shadow: 0 0 0 1px var(--teal);
}

.program-option .program-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 4px;
}

.program-option .program-badge {
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.program-option .program-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #777;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.program-option .program-meta strong {
  color: var(--teal);
  font-weight: 600;
}

.program-category-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 32px;
}

.program-category-label:first-child {
  margin-top: 0;
}

/* --- Requirements Checklist --- */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  user-select: none;
}

.checklist-item:hover {
  border-color: var(--teal);
  background: rgba(10, 52, 40, 0.02);
}

.checklist-item input[type="checkbox"] {
  display: none;
}

.checklist-item .check-box {
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.checklist-item .check-box svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.2s;
  fill: var(--white);
}

.checklist-item.checked .check-box {
  background: var(--teal);
  border-color: var(--teal);
}

.checklist-item.checked .check-box svg {
  opacity: 1;
}

.checklist-item.checked {
  border-color: var(--teal);
  background: rgba(10, 52, 40, 0.03);
}

.checklist-item .check-label {
  font-size: 0.95rem;
  color: #444;
}

.checklist-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(181, 126, 15, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}

.checklist-counter {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 16px;
}

.checklist-counter strong {
  color: var(--teal);
}

/* --- Payment Methods --- */
.tuition-breakdown {
  background: var(--light-gray);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.tuition-breakdown h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  margin-bottom: 12px;
}

.tuition-breakdown .tuition-total {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 16px;
}

.tuition-split {
  display: flex;
  gap: 16px;
}

.tuition-split-item {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.tuition-split-item .split-label {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  font-weight: 600;
  margin-bottom: 4px;
}

.tuition-split-item .split-amount {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--teal);
  font-weight: 500;
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.payment-method {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.payment-method:hover {
  border-color: var(--teal);
}

.payment-method.selected {
  border-color: var(--teal);
  background: rgba(10, 52, 40, 0.03);
  box-shadow: 0 0 0 1px var(--teal);
}

.payment-method.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  position: relative;
}

.coming-soon-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--crimson);
  color: var(--white);
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-method .method-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.payment-method .method-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 4px;
}

.payment-method .method-desc {
  font-size: 0.75rem;
  color: #888;
}

.payment-details {
  background: var(--light-gray);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  display: none;
}

.payment-details.active {
  display: block;
  animation: fadeInStep 0.3s ease;
}

.payment-details h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 16px;
  font-weight: 500;
}

.payment-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.9rem;
}

.payment-detail-row:last-child {
  border-bottom: none;
}

.payment-detail-row .detail-label {
  color: #888;
}

.payment-detail-row .detail-value {
  color: var(--charcoal);
  font-weight: 600;
}

.reservation-notice {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(147, 6, 27, 0.05);
  border-left: 3px solid var(--crimson);
  border-radius: 0 4px 4px 0;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}

/* --- Terms Checkbox --- */
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
}

.terms-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--teal);
}

.terms-check span {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
}

/* --- Review Summary --- */
.review-section {
  margin-bottom: 28px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--light-gray);
}

.review-header h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.review-header button {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--crimson);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.review-header button:hover {
  opacity: 0.7;
}

.review-body {
  padding: 20px;
}

.review-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.review-row:last-child {
  border-bottom: none;
}

.review-row .review-label {
  color: #888;
}

.review-row .review-value {
  color: var(--charcoal);
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

/* --- Form Navigation --- */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  gap: 16px;
}

.form-navigation .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  transition: color 0.3s;
}

.form-navigation .btn-back:hover {
  color: var(--teal);
}

/* --- Success Modal --- */
.success-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 24px;
}

.success-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-modal {
  background: var(--white);
  padding: 60px 48px;
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-modal-overlay.active .success-modal {
  transform: translateY(0);
}

.success-modal .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  /* Brand teal — #0a3428 */
  box-shadow: 0 8px 24px rgba(10, 52, 40, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  /* Style the ✓ text character */
  color: var(--gold);
  /* Brand gold — #b57e0f */
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.success-modal h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 12px;
  font-weight: 500;
}

.success-modal p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* --- Contact Sidebar in Admission Form --- */
.admission-sidebar {
  position: sticky;
  top: 100px;
}

/* ===================================================
   HOST YOUR EVENT — Perfect For Card
   =================================================== */
.perfect-for-card {
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 36px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.perfect-for-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 20px;
  font-weight: 500;
}

.perfect-for-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.perfect-for-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.5;
}

.perfect-for-card li::before {
  content: '\2022';
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===================================================
   HOST YOUR EVENT — Studio Gallery
   =================================================== */
.studio-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.studio-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.studio-gallery-item--wide {
  grid-column: span 2;
}

.studio-gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.studio-gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .studio-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .studio-gallery::-webkit-scrollbar {
    display: none;
  }

  .studio-gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .studio-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .studio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d8d5;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .studio-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
  }

  .studio-gallery-item--wide {
    grid-column: span 1;
  }

  .studio-gallery-item img {
    height: 240px;
    width: 100%;
    object-fit: cover;
  }

  .perfect-for-card {
    padding: 28px 24px;
  }
}

/* ===================================================
   GEN Z REFRESH — Additional Styles
   =================================================== */

/* --- Wave SVG Divider --- */
/* Organic wave shape between sections (replaces boxy edges) */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
  margin-top: -1px;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* --- Floating Hero Label Animation --- */
/* Gentle up-down bob on the hero section label */
.hero-content .section-label {
  animation: gold-shimmer 3s ease-in-out infinite, float-bob 3s ease-in-out infinite;
}

@keyframes float-bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* --- Gradient CTA Section Background --- */
/* Warm creamâ†’gold gradient instead of flat cream */
.bg-gradient-cream,
.section.bg-cream.text-center {
  background: linear-gradient(160deg, #EDF2F0 0%, #f5f0e4 50%, #EDF2F0 100%);
}

/* --- 3D Card Tilt (JS-driven) --- */
/* Cards get perspective and smooth transform-style for 3D hover */
.card-link {
  perspective: 800px;
}

.card.tilt-active,
.rate-card.tilt-active,
.step.tilt-active,
.testimonial.tilt-active {
  transition: none;
  transform-style: preserve-3d;
}

/* --- (Section label emojis removed per user request) --- */

/* --- Form Inline Errors (Modern Highlight) --- */
.inline-error {
  display: none;
  background-color: #fdf3f4;
  border-left: 4px solid var(--crimson);
  color: var(--crimson);
  font-size: 0.85rem;
  margin-top: 16px;
  padding: 12px 16px;
  font-weight: 500;
  border-radius: 4px;
  animation: fadeInError 0.3s ease;
}

.inline-error.visible {
  display: block;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================
   TRACK MY APPLICATION / STATUS CHECK PAGE
   =================================================== */

/* Card wrapper */
.status-check-card {
  max-width: 780px;
  margin: 0 auto;
}

/* Search form */
.status-search-form {
  margin-bottom: 40px;
}

.status-search-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.status-search-input {
  flex: 1;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-input);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.status-search-input::placeholder {
  color: #aaa;
  font-weight: 400;
  letter-spacing: 2px;
}

.status-search-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(10, 52, 40, 0.08);
}

.status-search-btn {
  white-space: nowrap;
  padding: 16px 32px;
  font-size: 0.8rem;
}

.status-search-hint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}

/* Error message */
.status-error {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fdf3f4;
  border-left: 4px solid var(--crimson);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  color: var(--crimson);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 32px;
  animation: fadeInError 0.3s ease;
}

.status-error svg {
  flex-shrink: 0;
}

/* Result container */
.status-result {
  animation: statusFadeIn 0.5s ease-out forwards;
}

@keyframes statusFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Result header */
.status-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--cream);
}

.status-result-header h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.status-program {
  font-size: 0.95rem;
  color: #888;
  font-weight: 500;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Details grid */
.status-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.status-detail {
  background: var(--cream);
  padding: 18px 22px;
  border-radius: var(--radius-input);
}

.status-detail-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-bottom: 6px;
}

.status-detail-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--teal);
}

/* Progress tracker */
.status-progress {
  margin-bottom: 36px;
  padding: 28px;
  background: var(--cream);
  border-radius: var(--radius-card);
}

.status-progress-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.status-progress-bar {
  height: 8px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.status-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 10px;
  transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.status-steps {
  display: flex;
  justify-content: space-between;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.status-step-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ddd;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px #ddd;
  transition: all 0.35s ease;
}

.status-step.completed .status-step-dot {
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--teal);
}

.status-step.active .status-step-dot {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), 0 0 12px rgba(196, 151, 42, 0.4);
  transform: scale(1.2);
}

.status-step-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #aaa;
  text-align: center;
}

.status-step.completed .status-step-label,
.status-step.active .status-step-label {
  color: var(--teal);
}

/* Payment summary card */
.status-payment-card {
  padding: 28px;
  background: var(--cream);
  border-radius: var(--radius-card);
  margin-bottom: 36px;
}

.status-payment-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.status-payment-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.status-payment-bar {
  flex: 1;
  height: 10px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.status-payment-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #10b981);
  border-radius: 10px;
  transition: width 1s ease;
}

.status-payment-pct {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}

.status-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.status-payment-grid>div {
  text-align: center;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius-input);
}

/* Help CTA */
.status-help {
  text-align: center;
  padding: 36px 0 0;
  border-top: 2px solid var(--cream);
  margin-top: 12px;
}

.status-help p {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 20px;
}

/* Blockquote / CTA quote section */
.quote-section {
  text-align: center;
  padding: var(--section-padding);
}

.quote-section blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--teal);
  max-width: 800px;
  margin: 0 auto;
}

/* ===================================================
   STATUS CHECK — RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
  .status-search-row {
    flex-direction: column;
  }

  .status-search-btn {
    width: 100%;
  }

  .status-result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .status-details-grid {
    grid-template-columns: 1fr;
  }

  .status-payment-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   SWUP PAGE TRANSITIONS
   =================================================== */
html.is-animating .transition-fade {
  opacity: 0;
}

.transition-fade {
  transition: opacity 0.4s ease;
  opacity: 1;
}

/* Prevent white flash behind transparent header during transitions */
html.is-animating .site-header {
  background: rgba(10, 52, 40, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================================
   SCATTER VISION SECTION (HOME PAGE)
   =================================================== */
.scatter-vision {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  text-align: center;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scatter-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  margin: 0 auto;
}

.scatter-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--charcoal);
  line-height: 0.95;
  margin-bottom: 32px;
  letter-spacing: -1px;
}

.scatter-lead {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}

.scatter-text {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Floating Elements Container */
.scatter-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Let clicks pass through to content */
  z-index: 1;
}

/* Images */
.scatter-img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background-color: #d1d8d5;
}

/* Perfect oval capsule shapes */
.scatter-img-1 {
  top: 8%;
  right: 22%;
  width: 260px;
  height: 340px;
  border-radius: 200px;
  transform: rotate(4deg);
}

.scatter-img-2 {
  top: 38%;
  left: 12%;
  width: 240px;
  height: 320px;
  border-radius: 200px;
  transform: rotate(-3deg);
}

.scatter-img-3 {
  bottom: 12%;
  right: 15%;
  width: 220px;
  height: 300px;
  border-radius: 200px;
  transform: rotate(-6deg);
}

.scatter-img-4 {
  bottom: 5%;
  left: 8%;
  width: 280px;
  height: 280px;
  border-radius: 200px;
  transform: rotate(5deg);
}

/* Inline Pills */
.scatter-pills-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.scatter-pill-inline {
  background: var(--white);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 10px 24px;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(181, 126, 15, 0.1);
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.scatter-pill-inline:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(181, 126, 15, 0.2);
}

/* Responsive constraints */
@media (max-width: 1200px) {
  .scatter-img-1 {
    right: 5%;
  }

  .scatter-img-2 {
    left: 2%;
  }

  .scatter-img-3 {
    right: 2%;
  }

  .scatter-img-4 {
    left: 2%;
  }
}

@media (max-width: 1024px) {
  .scatter-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  
  .scatter-img-1 {
    right: 2%;
    width: 200px;
    height: 260px;
  }

  .scatter-img-2 {
    left: 2%;
    width: 180px;
    height: 240px;
  }

  .scatter-img-3 {
    right: 2%;
    width: 170px;
    height: 230px;
  }

  .scatter-img-4 {
    left: 2%;
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 767px) {
  .scatter-img {
    position: absolute !important;
    border-radius: 100px !important;
    opacity: 0.35;
    z-index: 1;
  }

  .scatter-img-1 {
    top: 5% !important;
    right: -10% !important;
    width: 140px !important;
    height: 180px !important;
    transform: rotate(10deg) !important;
  }

  .scatter-img-2 {
    top: 35% !important;
    left: -15% !important;
    width: 120px !important;
    height: 160px !important;
    transform: rotate(-15deg) !important;
  }

  .scatter-img-3 {
    bottom: 25% !important;
    right: -5% !important;
    width: 110px !important;
    height: 150px !important;
    transform: rotate(-8deg) !important;
  }

  .scatter-img-4 {
    bottom: 2% !important;
    left: -10% !important;
    width: 130px !important;
    height: 130px !important;
    transform: rotate(12deg) !important;
  }

  .scatter-vision {
    min-height: auto;
    padding: 100px 20px;
    overflow: hidden;
  }

  .scatter-pill-inline {
    font-size: 0.9rem;
    padding: 8px 16px;
    white-space: normal;
    /* Allow text wrapping on very small screens */
    text-align: center;
  }

  .scatter-pills-row {
    gap: 12px;
    margin-top: 32px;
  }
}

@media (max-width: 375px) {

  /* Fix for iPhone SE dimensions: Nav button word wrapping */
  .mobile-nav .btn {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 32px;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
    width: 100%;
    max-width: 280px;
  }
}

/* ===================================================
   MOBILE SCROLL HOVER OVERRIDES
   Ensures fade-up doesn't break the hover effect on scroll
   =================================================== */
.card.mobile-hover,
.rate-card.mobile-hover,
.step.mobile-hover,
.testimonial.mobile-hover {
  transform: translateY(-10px) scale(1.03) rotate(-0.6deg) !important;
  box-shadow: 0 20px 50px rgba(10, 52, 40, 0.10), 0 0 0 2px var(--gold), 0 0 30px rgba(181, 126, 15, 0.12) !important;
  z-index: 10;
}

.card:nth-child(4n+2).mobile-hover,
.rate-card:nth-child(4n+2).mobile-hover,
.step:nth-child(4n+2).mobile-hover,
.testimonial:nth-child(4n+2).mobile-hover {
  transform: translateY(-10px) scale(1.03) rotate(0.6deg) !important;
  box-shadow: 0 20px 50px rgba(10, 52, 40, 0.10), 0 0 0 2px var(--teal), 0 0 30px rgba(10, 52, 40, 0.10) !important;
}

.card:nth-child(4n+3).mobile-hover,
.rate-card:nth-child(4n+3).mobile-hover,
.step:nth-child(4n+3).mobile-hover,
.testimonial:nth-child(4n+3).mobile-hover {
  transform: translateY(-10px) scale(1.03) rotate(-0.3deg) !important;
  box-shadow: 0 20px 50px rgba(147, 6, 27, 0.08), 0 0 0 2px var(--crimson), 0 0 30px rgba(147, 6, 27, 0.10) !important;
}

.card.mobile-hover .card-image img,
.rate-card.mobile-hover .rate-card-image img {
  transform: scale(1.08) !important;
}
/* ===================================================
   GEN Z REFRESH — Additional Styles
   =================================================== */

/* --- Wave SVG Divider --- */
/* Organic wave shape between sections (replaces boxy edges) */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
  margin-top: -1px;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* --- Floating Hero Label Animation --- */
/* Gentle up-down bob on the hero section label */
.hero-content .section-label {
  animation: gold-shimmer 3s ease-in-out infinite, float-bob 3s ease-in-out infinite;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- Gradient CTA Section Background --- */
/* Warm cream?gold gradient instead of flat cream */
.section.bg-cream.text-center {
  background: linear-gradient(160deg, #EDF2F0 0%, #f5f0e4 50%, #EDF2F0 100%);
}

/* --- 3D Card Tilt (JS-driven) --- */
/* Cards get perspective and smooth transform-style for 3D hover */
.card-link {
  perspective: 800px;
}

.card.tilt-active,
.rate-card.tilt-active,
.step.tilt-active,
.testimonial.tilt-active {
  transition: none;
  transform-style: preserve-3d;
}

/* --- Form Inline Errors (Modern Highlight) --- */
.inline-error {
  display: none;
  background-color: #fdf3f4;
  border-left: 4px solid var(--crimson);
  color: var(--crimson);
  font-size: 0.85rem;
  margin-top: 16px;
  padding: 12px 16px;
  font-weight: 500;
  border-radius: 4px;
  animation: fadeInError 0.3s ease;
}

.inline-error.visible {
  display: block;
}

@keyframes fadeInError {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}


/* --- 4th Variant for Alternating Card Glows & Tilts (4n) --- */
.card:nth-child(4n):hover,
.rate-card:nth-child(4n):hover,
.testimonial:nth-child(4n):hover {
  box-shadow:
    0 20px 50px rgba(181, 126, 15, 0.08),
    0 0 0 2px var(--gold),
    0 0 30px rgba(181, 126, 15, 0.10);
}

.step:nth-child(4n):hover {
  box-shadow:
    0 20px 50px rgba(181, 126, 15, 0.08),
    0 0 0 2px var(--gold),
    0 0 30px rgba(181, 126, 15, 0.10);
}

.card:nth-child(4n).mobile-hover,
.rate-card:nth-child(4n).mobile-hover,
.step:nth-child(4n).mobile-hover,
.testimonial:nth-child(4n).mobile-hover {
  transform: translateY(-10px) scale(1.03) rotate(0.3deg) !important;
  box-shadow: 0 20px 50px rgba(181, 126, 15, 0.08), 0 0 0 2px var(--gold), 0 0 30px rgba(181, 126, 15, 0.10) !important;
}

