/* ME Pilates Institute - Premium Modern Design System */

:root {
  /* HSL-based Color Palette */
  --color-green-dark: hsl(145, 25%, 9%);       /* Main dark color (Deep Forest) */
  --color-green-medium: hsl(145, 20%, 15%);   /* Medium forest accent */
  --color-green-light: hsl(145, 12%, 35%);    /* Soft sage green text */
  --color-gold: hsl(43, 62%, 61%);            /* Brushed Gold */
  --color-gold-hover: hsl(43, 62%, 50%);      /* Darker Gold on hover */
  --color-sand-bg: hsl(36, 25%, 96%);         /* Warm light background */
  --color-white: hsl(0, 0%, 100%);
  --color-dark-text: hsl(145, 25%, 15%);
  --color-light-text: hsl(35, 10%, 80%);
  
  /* Fonts - Premium Serif headings & Clean Sans-serif body */
  --font-headings: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Grids & Spacing */
  --container-width: 1600px;
  --base-spacing: 8px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-sand-bg);
  color: var(--color-dark-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-green-dark);
}

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

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

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

/* --- Premium Sticky Header & Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

/* Shrink header on scroll - support native scroll animations */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrink-header {
    to {
      padding: 12px 0;
      background-color: rgba(255, 255, 255, 0.85);
      border-bottom: 1px solid rgba(255, 255, 255, 0.55);
      box-shadow: 0 8px 32px 0 rgba(17, 29, 21, 0.04);
    }
  }
  
  .site-header {
    animation: shrink-header auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

/* JS Fallback Class (Applied when scroll timeline isn't supported) */
.site-header.shrunk {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px 0 rgba(17, 29, 21, 0.04);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo styling */
.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 56px;
  width: auto;
  transition: var(--transition-smooth);
}

/* Shrink logo on scroll */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrink-logo {
    to {
      height: 42px;
    }
  }
  .logo-image {
    animation: shrink-logo auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

.site-header.shrunk .logo-image {
  height: 42px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-list a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-green-dark);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.03em;
}

/* Hover sliding underline */
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-list a:hover {
  color: var(--color-gold);
}

.nav-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Premium Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px; /* Pill shape for premium feel */
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, hsl(43, 62%, 53%) 100%);
  color: var(--color-green-dark);
  border: none;
  box-shadow: 0 4px 15px rgba(213, 178, 99, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(213, 178, 99, 0.35);
  background: linear-gradient(135deg, hsl(43, 62%, 53%) 0%, var(--color-gold) 100%);
}

.btn-secondary {
  background: transparent;
  color: var(--color-green-dark);
  border: 1px solid var(--color-green-dark);
}

.btn-secondary:hover {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  border-color: var(--color-green-dark);
  box-shadow: 0 4px 15px rgba(17, 29, 21, 0.15);
}

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

@media (max-width: 1024px) {
  .btn-group {
    justify-content: center;
  }
}

/* --- Hero Section & Floating Glass Form --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../assets/images/hero_desktop.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-section {
    background-image: url('../assets/images/hero_mobile.jpg');
    background-attachment: scroll; /* Better scroll rendering on mobile */
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(17, 29, 21, 0.92) 0%, rgba(17, 29, 21, 0.5) 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text-block {
  color: var(--color-white);
}

.hero-text-block h1 {
  color: var(--color-white);
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-text-block h1 span {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
}

.hero-text-block p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-light-text);
  margin-bottom: 32px;
  max-width: 500px;
}

/* Glassmorphism Enquiry Card */
.glass-card {
  background: rgba(27, 42, 34, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: var(--color-white);
  max-width: 440px;
  width: 100%;
  justify-self: end;
}

.glass-card h2 {
  color: var(--color-white);
  font-size: 1.45rem;
  margin-bottom: 8px;
  border-left: 3px solid var(--color-gold);
  padding-left: 10px;
}

.glass-card p {
  color: var(--color-light-text);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* Premium Form Elements */
.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(213, 178, 99, 0.2);
}

.form-group select option {
  background-color: var(--color-green-dark);
  color: var(--color-white);
}

/* --- Section Layouts --- */
.section-padding {
  padding: 100px 0;
}

.section-dark {
  position: relative;
  background-color: var(--color-green-dark);
  color: var(--color-white);
  z-index: 1;
}

.section-dark-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-dark-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(17, 29, 21, 0.75), rgba(17, 29, 21, 0.85));
  z-index: -1;
}

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

.section-dark h2 span,
.section-dark h3 span,
.section-dark h4 span {
  color: var(--color-gold) !important;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-green-light);
  font-size: 1.1rem;
}

.section-dark .section-header p {
  color: var(--color-light-text);
}

/* --- Horizontal Scrolling / Carousel (SS1) --- */
.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.carousel-header-flex h2 {
  font-size: 2.8rem;
  max-width: 600px;
}

.carousel-arrows {
  display: flex;
  gap: 12px;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-green-light);
  background: transparent;
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.2rem;
  outline: none;
}

.arrow-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: var(--color-green-dark);
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.carousel-card {
  flex: 0 0 calc(25% - 18px); /* 4 cards on desktop */
  min-width: 280px;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.carousel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(17, 29, 21, 0.9) 0%, rgba(17, 29, 21, 0.3) 60%, rgba(17, 29, 21, 0.1) 100%);
  z-index: 1;
  transition: var(--transition-smooth);
}

.carousel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.carousel-card:hover .carousel-card-img {
  transform: scale(1.05);
}

.carousel-card:hover::before {
  background: linear-gradient(to top, rgba(17, 29, 21, 0.95) 0%, rgba(17, 29, 21, 0.4) 60%, rgba(17, 29, 21, 0.1) 100%);
}

.carousel-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 24px;
  z-index: 2;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.carousel-card-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--color-light-text);
  font-family: var(--font-body);
}

.carousel-card-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  transition: var(--transition-fast);
}

.carousel-card-btn:hover {
  background-color: var(--color-white);
  color: var(--color-green-dark);
  border-color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

@media (max-width: 1024px) {
  .carousel-card {
    flex: 0 0 calc(50% - 12px); /* 2 cards on tablet */
  }
}

@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 82%; /* Swipe hint on mobile */
  }
  .carousel-arrows {
    display: none;
  }
  .carousel-header-flex h2 {
    font-size: 2.2rem;
  }
}

/* --- Power & Precision: Text-Over-Background Split (SS2) --- */
.power-section {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.power-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.power-content-wrapper h2 {
  color: var(--color-white);
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 40px;
}

.power-content-wrapper h2 span {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
}

.power-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

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

/* --- Premium Solid Cards --- */

.power-card-title {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.power-card-divider {
  width: 40px;
  height: 2px;
  background-color: var(--color-gold);
  margin-bottom: 16px;
}

.power-card-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-light-text);
  font-family: var(--font-body);
}

.power-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 520px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.power-image-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(17, 29, 21, 0.4) 0%, rgba(17, 29, 21, 0) 100%);
  z-index: 1;
}

.power-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .power-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .power-image-container {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .power-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Premium Feature Promo Banner (SS3) --- */
.promo-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  margin: 80px 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(17, 29, 21, 0.85) 0%, rgba(17, 29, 21, 0.4) 60%, rgba(17, 29, 21, 0.1) 100%);
  z-index: 1;
}

.promo-banner-content {
  position: relative;
  z-index: 2;
  padding: 60px 80px;
  max-width: 650px;
  color: var(--color-white);
}

.promo-banner-content h2 {
  color: var(--color-white);
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 16px;
}

.promo-banner-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-light-text);
  margin-bottom: 32px;
  font-family: var(--font-body);
}

.promo-btn-container {
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .promo-banner {
    min-height: 380px;
    margin: 40px 0;
  }
  .promo-banner-content {
    padding: 40px 24px;
  }
  .promo-banner-content h2 {
    font-size: 2.2rem;
  }
  .promo-btn-container {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- Membership Split & Collage (SS4) --- */
.collage-section {
  background-color: var(--color-sand-bg);
}

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.collage-text-container h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.collage-text-container h2 span {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
}

.collage-text-container p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-green-light);
  margin-bottom: 32px;
}

.collage-bullet-list {
  list-style: none;
  margin-bottom: 40px;
}

.collage-bullet-list li {
  margin-bottom: 24px;
}

.collage-bullet-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.collage-bullet-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-green-light);
  font-family: var(--font-body);
}

.collage-price {
  font-family: var(--font-headings);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 32px;
}

.collage-price span {
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--color-green-light);
}

/* Overlapping Image Collage */
.collage-image-container {
  position: relative;
  height: 520px;
  width: 100%;
}

.collage-photo {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 4px solid var(--color-white);
  transition: var(--transition-smooth);
}

.collage-photo:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  z-index: 10 !important;
}

/* Overlapping photo positioning layout */
.photo-1 {
  top: 0;
  right: 15%;
  width: 48%;
  height: 220px;
  z-index: 3;
}

.photo-2 {
  top: 60px;
  left: 0;
  width: 35%;
  height: 200px;
  z-index: 2;
}

.photo-3 {
  top: 180px;
  right: 0;
  width: 48%;
  height: 300px;
  z-index: 4;
}

.photo-4 {
  top: 280px;
  left: 5%;
  width: 45%;
  height: 220px;
  z-index: 5;
}

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

@media (max-width: 1024px) {
  .collage-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .collage-image-container {
    height: 420px;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* --- Welcome / Split highlights --- */
.feature-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.split-text-container h2 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.split-text-container p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-green-light);
  margin-bottom: 32px;
}

.highlight-list {
  list-style: none;
  margin-bottom: 40px;
}

.highlight-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 500;
}

.highlight-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-gold);
  font-size: 0.95rem;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(213, 178, 99, 0.25);
  padding: 24px 0;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  padding: 8px 0;
}

.faq-trigger h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  transition: var(--transition-fast);
}

.faq-trigger:hover h3 {
  color: var(--color-gold);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-gold);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content p {
  padding-top: 16px;
  color: var(--color-light-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Premium Footer --- */
.site-footer {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  padding: 100px 0 24px 0;
  position: relative;
  background-image: url('../assets/images/footer_bg.jpg');
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(213, 178, 99, 0.15);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 29, 21, 0.96);
  z-index: 1;
}

.footer-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--color-light-text);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 24px;
  position: relative;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul a {
  color: var(--color-light-text);
  font-size: 0.95rem;
}

.footer-links ul a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-contact p {
  color: var(--color-light-text);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Mobile Menu & Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-text-block {
    text-align: center;
  }
  
  .hero-text-block h1 {
    font-size: 3rem;
  }
  
  .hero-text-block p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding: 14px 0;
  }
  
  .logo-image {
    height: 38px;
  }
  
  /* Mobile Menu Toggle Button */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
  }
  
  .mobile-menu-toggle .hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-green-dark);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
  }
  
  .mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Mobile Slide-out Drawer */
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 100px 32px 40px;
    box-shadow: -10px 0 40px rgba(17, 29, 21, 0.12);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    display: block;
  }
  
  .site-nav.active {
    right: 0;
  }
  
  .nav-list {
    display: flex !important;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  
  .nav-list li {
    width: 100%;
  }
  
  .nav-list li a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-green-dark);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(17, 29, 21, 0.05);
    transition: var(--transition-smooth);
  }
  
  .nav-list li a:hover {
    color: var(--color-gold);
    padding-left: 6px;
  }
  
  .nav-list li a.btn {
    border-bottom: none;
    text-align: center;
    margin-top: 12px;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --- Horizontal Curriculum Cards --- */
.curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.power-glass-card {
  background: #16241c; /* Solid rich dark green */
  border: 1px solid rgba(213, 178, 99, 0.2);
  border-radius: 12px;
  padding: 32px 24px;
  transition: var(--transition-smooth);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.power-glass-card:hover {
  background: #1b2d22; /* Slightly lighter solid green on hover */
  border-color: rgba(213, 178, 99, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* --- Premium Solid Cards --- */
.horizontal-card {
  display: flex;
  background: #e2e8e4; /* Soft, premium sage green card color for contrast */
  border: 1px solid rgba(17, 29, 21, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(17, 29, 21, 0.04);
}

.horizontal-card:hover {
  background: #dbe2dd; /* Slightly deeper sage green on hover */
  border-color: rgba(213, 178, 99, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(17, 29, 21, 0.08);
}

.horizontal-card-image {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
}

.horizontal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.horizontal-card:hover .horizontal-card-image img {
  transform: scale(1.05);
}

.horizontal-card-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.level-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(213, 178, 99, 0.15);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.horizontal-card-content h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--color-green-dark); /* Dark green headings on light background */
}

.horizontal-card-content p {
  color: var(--color-green-light); /* Readable soft dark green text on light background */
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.curriculum-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.curriculum-bullets li {
  font-size: 0.85rem;
  color: var(--color-green-light); /* Readable text on light background */
  display: flex;
  align-items: center;
  gap: 8px;
}

.curriculum-bullets li i {
  color: var(--color-gold);
  font-size: 0.8rem;
}

/* --- Dark Background Overrides for Horizontal Cards --- */
.section-dark .horizontal-card,
.section-dark-bg .horizontal-card {
  background: #16241c; /* Solid deep forest green */
  border: 1px solid rgba(213, 178, 99, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.section-dark .horizontal-card:hover,
.section-dark-bg .horizontal-card:hover {
  background: #1b2d22; /* Slightly lighter green on hover */
  border-color: rgba(213, 178, 99, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.section-dark .horizontal-card-content h3,
.section-dark-bg .horizontal-card-content h3 {
  color: var(--color-white) !important;
}

.section-dark .horizontal-card-content p,
.section-dark-bg .horizontal-card-content p {
  color: var(--color-light-text) !important;
}

.section-dark .curriculum-bullets li,
.section-dark-bg .curriculum-bullets li {
  color: var(--color-light-text) !important;
}


/* Mobile responsive for horizontal cards */
@media (max-width: 768px) {
  .horizontal-card {
    flex-direction: column;
  }
  .horizontal-card-image {
    flex: 0 0 200px;
    height: 200px;
  }
  .horizontal-card-content {
    padding: 24px;
  }
  .horizontal-card-content h3 {
    font-size: 1.5rem;
  }
}

/* --- Pricing Section Grid & Normal Modern Cards (No Glassmorphism) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1150px;
  margin: 40px auto 0 auto;
}

.pricing-card {
  background: #16241c; /* Solid rich dark green - matches page theme */
  border: 1px solid rgba(213, 178, 99, 0.25);
  border-radius: 16px;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.pricing-card.featured {
  border: 2px solid var(--color-gold);
  background: #1b2d22; /* Slightly lighter/richer solid green for featured card */
  box-shadow: 0 20px 45px rgba(213, 178, 99, 0.1);
}

.pricing-card .card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--color-gold);
}

.pricing-card.featured .card-icon {
  background: rgba(213, 178, 99, 0.15);
}

.pricing-card h3 {
  color: var(--color-white) !important;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.pricing-card .power-card-divider {
  width: 40px;
  height: 2px;
  background-color: var(--color-gold);
  margin-bottom: 16px;
}

.pricing-card p {
  font-size: 0.85rem;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.pricing-card .highlight-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.pricing-card .highlight-list li {
  color: var(--color-light-text) !important;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-card .highlight-list li i {
  color: var(--color-gold);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    gap: 32px;
  }
}


