/* ============================================================
   VIBEZONE - ULTRA MODERN UI/UX
============================================================ */

:root {
  /* Vibrant Modern Palette */
  --bg-dark: #3d0642;
  --bg-light: #ffffff;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  
  --primary: #ff7b00; /* Hot Pink */
  --secondary: #efb711; /* Deep Purple */
  --tertiary: #c248ff; /* Electric Blue */
  
  --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-glow: linear-gradient(135deg, rgba(255,0,122,0.5), rgba(121,40,202,0.5));
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing & Easing */
  --section-pad: 120px 0;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad); position: relative; z-index: 10; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.w-100 { width: 100%; display: block; text-align: center; }

/* Typography */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   BACKGROUND ANIMATIONS (THE VIBE)
============================================================ */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.5;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.shape-1 { width: 40vw; height: 40vw; background: var(--primary); top: -10%; left: -10%; }
.shape-2 { width: 30vw; height: 30vw; background: var(--secondary); bottom: -10%; right: -5%; animation-delay: -5s; }
.shape-3 { width: 25vw; height: 25vw; background: var(--tertiary); top: 40%; left: 40%; animation-delay: -10s; opacity: 0.3; }

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 10%) scale(1.1); }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-glow {
  background: var(--gradient-main);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px;
  background: var(--gradient-main);
  z-index: -1;
  transition: var(--transition-smooth);
  filter: blur(15px);
  opacity: 0;
}

.btn-glow:hover { transform: translateY(-3px); }
.btn-glow:hover::before { opacity: 0.8; }

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.2);
  transition: var(--transition-smooth);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(255,0,122,0.1); }

/* ============================================================
   NAVBAR (GLASSMORPHISM)
============================================================ */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
}
.logo-vibe { color: var(--primary); }
.logo-zone { color: #fff; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0%; height: 2px; background: var(--primary);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Mobile Menu Button */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 6px; z-index: 1001;
}
.hamburger span {
  width: 30px; height: 2px; background: #fff;
  transition: 0.3s ease; border-radius: 2px;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--tertiary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 20px; align-items: center; }

/* Hero Visual & Floating Elements */
.image-wrapper { position: relative; width: 100%; }
.main-img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.floating-card {
  position: absolute;
  background: rgba(20, 20, 25, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 15px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.floating-card h4 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.floating-card p { font-size: 0.8rem; color: var(--text-muted); }
.floating-card .emoji { font-size: 2rem; }

.float-up { bottom: 10%; left: -10%; animation: floatY 6s ease-in-out infinite; }
.float-down { top: 15%; right: -10%; animation: floatY 8s ease-in-out infinite reverse; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about {
    padding: 80px 24px;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

/* Constrains your container to look sleek and uncrowded */
.about-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1020px; /* Controls total container scale */
    margin: 0 auto;
    width: 100%;
}

/* Narrows down the video housing block size */
.about-visual {
    flex: 0 1 38%; /* Shrinks layout foot-print down dynamically */
    min-width: 320px;
    position: relative;
}

/* Layout allocation for text area content */
.about-content {
    flex: 0 1 62%;
    text-align: left;
}

/* Tightened Premium Glass Frame */
.glass-panel {
    position: relative;
    padding: 12px; /* Tight spacing frame around video track */
    background: var(--glass-bg, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.07));
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.rounded-img { 
    width: 100%; 
    height: auto;
    border-radius: 16px; 
    display: block; 
    object-fit: cover;
}

/* Experience Badge Position Preservation */
.experience-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, #FFA500 0%, #FF6A00 100%);
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.2);
    color: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.experience-badge .years {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1.2;
}

/* Typography Enhancements */
.about-content .section-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted, rgba(255, 255, 255, 0.7));
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 16px;
}

.about-tagline {
    color: #FFA500 !important; /* Forces your brand emphasis hue */
    font-weight: 600;
    font-size: 14px !important;
    letter-spacing: 0.3px;
    margin-bottom: 30px !important;
}

/* Stats Counter Layout Formatting */
.stats-row {
    display: flex;
    gap: 24px;
    margin-top: 30px;
    border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.07));
    padding-top: 24px;
}

.stat-box {
    flex: 1;
}

.stat-box h3.counter {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stat-box p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, rgba(255, 255, 255, 0.5));
    margin: 0;
}

/* Mobile Structural Adaptability */
@media (max-width: 768px) {
    .about-grid {
        flex-direction: column; /* Stack structural columns smoothly */
        gap: 45px;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-visual {
        width: 100%;
        max-width: 360px; /* Restricts scaling out massively on mobile devices */
        margin-bottom: 15px;
    }
    
    .stats-row {
        justify-content: center;
        gap: 16px;
    }
}
/* ============================================================
   CLASSES (MODERN CARDS)
============================================================ */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

/* 1. The Main Card: Bright, glowing, and impossible to ignore */
.glass-card {
  /* A very light, bright gradient mixing your orange and purple into soft pastels */
  background: linear-gradient(135deg, #ffffffa5, #ffffffeb);
  
  /* A thicker, vibrant border to frame it */
  border: 3px solid var(--primary); 
  
  /* A massive, eye-catching glow */
  box-shadow: 0 15px 40px rgb(255, 123, 0); 
  
  padding: 40px 30px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  
  /* Forces the default text to be dark so it's readable on the bright background */
  color: var(--bg-dark); 
}

/* 2. The Hover Effect: Makes it physically pop out at the user */
.glass-card:hover { 
  transform: translateY(-12px) scale(1.02); 
  border-color: var(--tertiary); /* Swaps border to electric blue/purple on hover */
  box-shadow: 0 25px 50px rgba(194, 72, 255, 0.5);
}

/* 3. Text Color Overrides: We must make the headings and list items dark! */
.glass-card h3, 
.glass-card .price-tag {
  color: #1a021c; /* Very dark purple, almost black, for maximum readability */
}

.glass-card .class-features li {
  color: #4a154b; /* Darker text for the schedule/details */
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Faint dark line instead of faint white line */
}

.glass-card .price-tag span {
  color: #666666; /* Dark grey for the "/mo" text */
}

/* 4. Make the Featured Card Even Crazier */
.glass-card.featured {
  background: linear-gradient(135deg, #ffffffa5, #ffffffa8); /* Even brighter white/pink */
  border: 3px solid var(--tertiary);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(194, 72, 255, 0.5);
}

.glass-card.featured:hover {
  transform: scale(1.05) translateY(-12px);
}

.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
  background: var(--glass-border); transition: 0.4s;
}

.glass-card:hover::before { background: var(--gradient-main); }


.popular-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--tertiary); color: var(--bg-dark);
  font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; text-transform: uppercase;
}

.card-icon { font-size: 3rem; margin-bottom: 20px; }
.age-tag { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 20px; }

.class-features { list-style: none; margin-bottom: 30px; }
.class-features li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.95rem; }
.class-features li:last-child { border-bottom: none; }

.price-tag { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 30px; }
.price-tag span { font-size: 1rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }

.btn-card {
  display: block; width: 100%; text-align: center;
  padding: 14px; border-radius: 50px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border);
  color: #fff; font-weight: 600; text-decoration: none; transition: 0.3s;
}
.btn-card:hover { background: #fff; color: var(--bg-dark); }

/* ============================================================
   OTHER SERVICES SECTION
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 20px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Side gradient accent line */
.service-card::before {
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 4px; 
  height: 100%;
  background: var(--gradient-main); 
  transition: 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Sweeps the background slightly on hover */
.service-card:hover::before {
  width: 100%; 
  opacity: 0.05; 
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   9. EVENTS & COMMUNITY SECTION
============================================================ */
.section-pad {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.section-tag {
  display: inline-block;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.centered {
  text-align: center;
}

.events-grid {
  display: grid;
  /* CHANGED: Forces exactly 2 columns */
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.event-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  overflow: hidden;
  transition: var(--transition-smooth);
  
  /* CHANGED: Added flexbox so the card stretches to fit content */
  display: flex;
  flex-direction: column;
  height: auto; 
}

.event-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.event-img-wrap {
  width: 100%;
  /* This forces EVERY image box to be the exact same landscape shape */
  aspect-ratio: 4 / 3; 
  position: relative;
  background: transparent;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  object-position:center; 
  display: block;
}

.event-info {
  padding: 25px;
  /* CHANGED: Forces the text area to fill remaining space */
  flex-grow: 1; 
}

.ph-icon { font-size: 3rem; margin-bottom: 10px; }

.event-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(255, 123, 0, 0.3);
}


.event-info h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

.event-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================================
   FOUNDER
============================================================ */
.founder-section {
    padding: 80px 5%; /* Adds breathing room around the section */
    color: white;     /* Assumes you are placing this on a dark background */
}

.founder-container {
    display: flex;
    align-items: center; /* Vertically centers the text with the image */
    justify-content: center;
    gap: 50px; /* Space between the image and the text */
    max-width: 1200px;
    margin: 0 auto; /* Centers the whole block on large screens */
}

/* --- Left Side: Image --- */
.founder-image-wrapper {
    flex: 1; /* Takes up half the space */
    max-width: 450px; /* Prevents the image from getting too huge */
}

.founder-img {
    width: 100%;
    height: auto;
    border-radius: 20px; /* Matches the rounded corners in your other sections */
    box-shadow: 0 10px 30px rgba(255, 183, 3, 0.2); /* A subtle warm glow */
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* --- Right Side: Text --- */
.founder-content {
    flex: 1; /* Takes up the other half of the space */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between the title, quote, and paragraph */
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.founder-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #FFB703; /* A warm yellow/orange color to match your buttons */
    margin: 0;
    border-left: 4px solid #FFB703; /* Adds a nice design accent line */
    padding-left: 20px;
}

.founder-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0; /* Slightly off-white for better readability */
    margin: 0;
}

.founder-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin-top: 10px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .founder-container {
        flex-direction: column; /* Stacks the image on top of the text on phones */
        text-align: center;
    }
    
    .founder-quote {
        border-left: none; /* Removes the left border on mobile */
        padding-left: 0;
    }
}

/* ============================================================
   10. INSTRUCTORS SECTION
============================================================ */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.instructor-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition-smooth);
}

.instructor-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(255, 123, 0, 0.15);
}

.instr-img-wrap {
  width: 100%;
  height: 350px; /* Made it a bit taller so a person fits better */
  overflow: hidden;
}

.instr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* Magic trick: keeps faces from being chopped off */
  display: block;
}

.instr-info {
  padding: 30px 20px;
}

.instr-info h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.instr-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--tertiary);
  margin-bottom: 15px;
}

.instr-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
}


/* ============================================================
   GALLERY MASONRY
============================================================ */
.masonry-grid {
  /* Remove display: grid entirely */
  display: block; 
  /* Sets up 4 perfect columns on a laptop screen */
  column-count: 4; 
  column-gap: 20px;
  margin-top: 3rem;
}

.masonry-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  
  /* CRITICAL: This stops a single photo from being sliced in half across two columns */
  break-inside: avoid; 
  -webkit-column-break-inside: avoid; 
  
  /* Adds the vertical spacing between photos */
  margin-bottom: 20px; 
}

.masonry-item video {
  border-radius: 20px;
  width: 100%;
  height: auto;
  display: block;
}


.masonry-item img {
  width: 100%;       
  height: auto;      
  display: block;
  transition: transform 0.6s ease;
  min-height: 250px; display: block;
}

.masonry-item:hover img { transform: scale(1.1); }
.masonry-item::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-main); opacity: 0; transition: 0.4s; mix-blend-mode: overlay;
}
.masonry-item:hover::after { opacity: 0.6; }

.masonry-item.reveal-scale {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #050508;
  padding: 80px 0 20px;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
}

.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-brand h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 15px; }
.footer-brand p { color: var(--text-muted); max-width: 300px; }
.footer-info h4, .footer-contact h4 { font-family: var(--font-display); margin-bottom: 20px; color: #fff; }
.footer-info p { color: var(--text-muted); }

/* Unified Layout for Contact Links */
.email-link, .phone-link, .whatsapp-footer-link { 
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 15px;
  transition: 0.3s;
}

/* Base colors and hover states */
.email-link, .phone-link { color: var(--primary); }
.email-link:hover, .phone-link:hover { color: #fff; } 

/* WhatsApp Custom Branding & Micro-interactions */
.whatsapp-footer-link { 
  color: #25D366; 
}
.whatsapp-footer-link:hover { 
  color: #1ebd57;
  text-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

.footer-whatsapp-wrap {
  display: block;
}

.whatsapp-icon {
  flex-shrink: 0;
  margin-top: 4px; /* Perfectly centers the SVG graphic with text height */
  transition: transform 0.3s ease;
}

.whatsapp-footer-link:hover .whatsapp-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Shared Contact Utility Classes */
.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  word-break: break-all;
}

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.9rem; }
/* ============================================================
   SCROLL REVEAL ANIMATIONS (Triggered by JS)
============================================================ */
.reveal-fade, .reveal-left, .reveal-right, .reveal-slide-up, .reveal-up, .reveal-scale {
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-fade { transform: translateY(30px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-slide-up { transform: translateY(50px); }
.reveal-up { transform: translateY(50px); transition-delay: var(--delay); }
.reveal-scale { transform: scale(0.9); transition-delay: var(--delay); }

.active.reveal-fade, .active.reveal-left, .active.reveal-right, .active.reveal-slide-up, .active.reveal-up, .active.reveal-scale {
  opacity: 1; visibility: visible; transform: none;
}

/* ============================================================
   RESPONSIVE DESIGN
============================================================ */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .float-up, .float-down { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .glass-card.featured { transform: scale(1); }
  .glass-card.featured:hover { transform: translateY(-10px); }
  .footer-content { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .footer-brand p { margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    transition: 0.4s ease;
  }
  .nav-links.nav-active { right: 0; }
  .nav-links a { font-size: 1.5rem; }
  .hamburger { display: flex; }
  .navbar .btn-glow { display: none; }
  
  /* Hamburger Animation */
  .hamburger.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
  .hamburger.toggle span:nth-child(2) { opacity: 0; }
  .hamburger.toggle span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

  .masonry-item:nth-child(2) { grid-row: auto; }
  .masonry-item:nth-child(3) { grid-column: auto; }
}




/* ============================================================
   RESPONSIVE DESIGN (FULL SITE MOBILE OPTIMIZATION)
============================================================ */
@media (max-width: 992px) {
  /* Hero & About Adjustments */
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .float-up, .float-down { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  
  /* Card Hover Fixes for Tablets */
  .glass-card.featured { transform: scale(1); }
  .glass-card.featured:hover { transform: translateY(-10px); }
  
  /* Footer */
  .footer-content { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .footer-brand p { margin: 0 auto; }
  
  /* Force all grids to 1 column on smaller screens */
  .events-grid, .instructors-grid, .services-grid, .schedule-grid { 
    grid-template-columns: 1fr; 
  }

  .masonry-grid { column-count: 3; }
}

@media (max-width: 768px) {
  /* Mobile Hamburger Menu */
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: rgba(10, 10, 15, 0.98); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    transition: 0.4s ease;
  }
  .nav-links.nav-active { right: 0; }
  .nav-links a { font-size: 1.5rem; margin: 15px 0; }
  .hamburger { display: flex; }
  .navbar .btn-glow { display: none; }
  
  .reveal-fade, .reveal-left, .reveal-right, .reveal-slide-up, .reveal-up, .reveal-scale {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  /* Hamburger Animation */
  .hamburger.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
  .hamburger.toggle span:nth-child(2) { opacity: 0; }
  .hamburger.toggle span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

  /* 1. Turn grids into horizontal swipeable carousels */
  .events-grid, .instructors-grid, .services-grid, .schedule-grid { 
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 15px;
    padding-bottom: 20px;
    /* Makes swiping snap cleanly to the next card */
    scroll-snap-type: x mandatory; 
    /* Hides the ugly scrollbar but keeps the swipe function */
    scrollbar-width: none; 
    -ms-overflow-style: none;
    padding-right: 24px;
  }
  
  /* Hides scrollbar on Chrome/Safari/Edge */
  .events-grid::-webkit-scrollbar, .instructors-grid::-webkit-scrollbar, 
  .services-grid::-webkit-scrollbar, .schedule-grid::-webkit-scrollbar {
    display: none;
  }

  /* 2. Size the cards to fit phone screens properly */
  .glass-card, .event-card, .instructor-card, .service-card {
    /* 85% width lets the next card 'peek' in from the right edge */
    flex: 0 0 80vw; 
    scroll-snap-align: start;
    height: auto;
  }

  /* 3. Compact the padding and text so they are shorter vertically */
  .glass-card { 
    padding: 25px 20px; 
  }
  
  .price-tag { 
    margin-bottom: 15px; 
    font-size: 1.8rem; 
  }
  
  .event-info { 
    padding: 15px; 
  }
  
  .event-info h4 { 
    font-size: 1.1rem; 
    margin-bottom: 5px; 
  }
  
  .event-info p { 
    font-size: 0.85rem; 
    line-height: 1.4; 
    margin: 0; 
  }
  
  /* Reduce massive whitespace on mobile */
  .section, .section-pad { padding: 60px 0; }
  
  /* Fix About Section "Stats" overflowing */
  .stats-row { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .stat-box { flex: 1 1 40%; text-align: center; }
  
  /* Founder section adjustments */
  .founder-container { flex-direction: column; text-align: center; padding: 40px 5%; }
  .founder-quote { border-left: none; padding-left: 0; font-size: 1.2rem; }
  
  /* Gallery fixes */
  .masonry-grid { grid-template-columns: 1fr; }
  .masonry-item:nth-child(2) { grid-row: auto; }
  .masonry-item:nth-child(3) { grid-column: auto; }

  .masonry-item img { min-height: auto; object-fit: cover;}
}

@media (max-width: 480px) {
   /* Extra tweaks for very small phone screens */
   .hero-title { font-size: 2.5rem; }
   
   /* Stack buttons on top of each other */
   .hero-actions { flex-direction: column; width: 100%; gap: 15px; }
   .hero-actions a { width: 100%; text-align: center; }
   
   /* Stack stats completely */
   .stat-box { flex: 1 1 100%; }
   
}

/* --- SUMMER CAMP POPUP MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* Darkens the background */
  z-index: 9999; /* Makes sure it sits on top of EVERYTHING */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out;
  padding: 20px;
}

.modal-overlay.show-modal {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  max-width: 950px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto; /* Adds a scrollbar if the phone screen is too small */
  background: #14081f;
  border: 2px solid var(--primary, #ffb300);
  border-radius: 20px;
  padding: 30px;
}

/* The X Close Button */
.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
  font-weight: bold;
}

.close-modal:hover {
  color: var(--primary, #ffb300);
}

.modal-body {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 40px;
}

.modal-image{
  flex: 0 0 45%;
}

.modal-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.modal-text {
  flex: 1;
  color: #e0e0e0;
}

.modal-text h2 {
  color: var(--primary, #ffb300);
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.camp-tagline {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.camp-levels {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.camp-levels li {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 4px solid var(--primary);
  color: #fff;
}

.floating-camp-btn{
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--primary, #ffb300);
  color: #000;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 179, 0, 0.4);
  z-index: 9990;
  transition: 0.3s;
}

.floating-camp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 179, 0, 0.6);
}


/* Make it stack nicely on mobile phones */
@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
    padding: 25px;
  }
  .modal-image{
    flex: 1;
  }
  .modal-image img {
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
  .modal-text h2 {
    font-size: 1.6rem;
    text-align: center;
  }
  .floating-camp-btn{
    bottom: 20px;
    left: 20px;
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* ==========================================================================
   PREMIUM COMPACT GLASSMORPHISM REVIEWS GRID
   ========================================================================== */

#reviews {
    padding: 100px 24px;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

/* Section Header Spacing */
#reviews .section-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    text-align: center;
}

#reviews .section-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto 50px auto;
    line-height: 1.5;
    text-align: center;
}

/* 5-Column Grid Matrix Layout */
#reviews .reviews-grid {
    display: grid;
    /* Divides the available horizontal space into 5 identical, flexible columns */
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    max-width: 1280px; /* Slightly wider boundaries to accommodate 5 blocks nicely */
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Compact Premium Frosted Glass Card Design */
#reviews .review-card {
    position: relative;
    background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px; /* Slightly tighter radius for scaled down boxes */
    padding: 24px 20px;   /* Trimmed excessive padding down to make boxes compact */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    box-sizing: border-box;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Subtle, high-end hover glow */
#reviews .review-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 165, 0, 0.05);
}

/* Star Row Formatting */
#reviews .review-card .stars {
    color: #FFA500;
    font-size: 11px; /* Scaled down proportionally */
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-align: left;
}

/* Clean Micro-Typography for Small Cards */
#reviews .review-text {
    color: rgba(0, 0, 0, 0.85);
    font-size: 13.5px; /* Clean scannable density for shorter grids */
    line-height: 1.6;
    font-weight: 400;
    margin: 0 0 20px 0;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#reviews .review-card{
    color: rgba(239, 239, 239, 0.381);
    font-size: 13.5px; /* Clean scannable density for shorter grids */
    line-height: 1.6;
    font-weight: 400;
    margin: 0 0 20px 0;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Author Layout Anchoring */
#reviews .review-card .author {
    color: #FFA500;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    margin-top: auto;
    display: block;
}

/* "...And many more" Footnote Styling */
#reviews .reviews-footer {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

#reviews .footer-text {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    border-bottom: 1px dashed rgba(255, 165, 0, 0.3);
    padding-bottom: 4px;
    display: inline-block;
}

/* Responsive Structural Fluidity */
@media (max-width: 1100px) {
    #reviews .reviews-grid {
        /* Drop to 3 blocks per line on standard tablets */
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 768px) {
    #reviews .reviews-grid {
        /* Drop to 2 blocks per line on small viewports */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #reviews .review-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    #reviews .reviews-grid {
        /* Stack blocks into a single column structure on modern mobile phones */
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Review Action CTA Link */
#reviews .review-cta-wrap {
    margin-top: 20px;
}

#reviews .review-cta-link {
    font-size: 14px;
    font-weight: 600;
    color: #FFA500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    padding-bottom: 2px;
}

/* Premium sliding underline animation on hover */
#reviews .review-cta-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: #FFA500;
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#reviews .review-cta-link:hover {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
    transform: translateX(3px); /* Subtle nudging animation */
}

#reviews .review-cta-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    background-color: rgba(255, 255, 255, 0.95);
}