/* ============================================
   FREELANCE CHEFS CULINARY ACADEMY
   Main Stylesheet — LIGHT THEME
   Brand Colors: White/Cream bg, Orange #e8611a
   Tagline: LEARN • COOK • SUCCEED
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --clr-bg: #fffdfb;
  --clr-bg-alt: #f8f9fa;
  --clr-bg-warm: #fef9f5;
  --clr-card: #ffffff;
  --clr-card-alt: #fafafa;
  --clr-orange: #e8611a;
  --clr-orange-hover: #c94f14;
  --clr-orange-light: #f97316;
  --clr-orange-bg: #fff5f0;
  --clr-white: #ffffff;
  --clr-black: #111111;
  --clr-text: #1a1a2e;
  --clr-text-secondary: #555555;
  --clr-text-muted: #888888;
  --clr-border: #e0e0e0;
  --clr-border-light: #f0f0f0;

  /* Muted-text scale used for captions, attributions, and secondary
     copy on both light and colored/dark section backgrounds. (These
     were referenced throughout the site via var(--clr-gray-300/400/500)
     but were never actually defined — every such line was silently
     falling back to the inherited text color instead of the intended
     muted tone. Defined here to match --clr-text-muted.) */
  --clr-gray-300: #aeb0b6;
  --clr-gray-400: #8a8d94;
  --clr-gray-500: #6b6e75;

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-orange: 0 4px 20px rgba(232,97,26,0.18);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.05);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--clr-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}
.section-title span { color: var(--clr-orange); }

.section-subtitle {
  text-align: center;
  color: var(--clr-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px; height: 4px;
  background: var(--clr-orange);
  border-radius: 2px;
  margin: 0.8rem auto 0;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-light { background: var(--clr-bg); }
.section-light-alt {
  position: relative;
  overflow: hidden;
  background: var(--clr-bg-alt);
}
.section-light-alt::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 45%; padding-bottom: 45%;
  background: radial-gradient(circle, rgba(232,97,26,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.section-warm {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 90%, rgba(232,97,26,0.07) 0%, transparent 50%),
    var(--clr-bg-warm);
}
.text-orange { color: var(--clr-orange); }
.text-muted { color: var(--clr-text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border-light);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--clr-text);
}
.nav-logo .logo-icon {
  width: 40px; height: 40px;
  background: var(--clr-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--clr-white);
  flex-shrink: 0;
}
.nav-logo span { color: var(--clr-orange); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-orange);
  border-radius: 1px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--clr-text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--clr-orange);
  color: var(--clr-white) !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--clr-orange-hover) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.nav-pill-link {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem !important;
  border-radius: 50px;
  border: 1.5px solid var(--clr-border);
  font-weight: 600 !important;
  font-size: 0.9rem;
}
.nav-pill-link::after { display: none !important; }
.nav-pill-link:hover {
  border-color: var(--clr-orange);
  color: var(--clr-orange) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fef3ea;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}
/* Real uploaded photo, shown sharp and fully clear — no blur, no tint
   wash over it. See .hero-photo / .page-hero-photo below. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
/* No-photo fallback only: reproduces the original soft gradient look.
   Skipped entirely (via :has()) once a real photo is present, so the
   photo is never washed out — readability instead comes from
   .hero-content's own bordered card below. */
.hero:not(:has(.hero-photo))::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 12% 18%, rgba(232,97,26,0.16) 0%, transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(249,115,22,0.14) 0%, transparent 48%),
    radial-gradient(circle at 50% 105%, rgba(201,79,20,0.12) 0%, transparent 58%);
  pointer-events: none;
}
.hero:not(:has(.hero-photo))::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(232,97,26,0.09) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 75%);
  pointer-events: none;
}
/* The text "box": a distinctly bordered card so words stay readable
   over any photo, without touching the photo itself. */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  background: rgba(255,253,250,0.92);
  border: 1.5px solid rgba(232,97,26,0.35);
  border-radius: var(--radius-lg);
  padding: 2.75rem 3rem;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) {
  .hero-content { padding: 2rem 1.5rem; }
}

.hero-badge {
  display: inline-block;
  background: var(--clr-orange-bg);
  color: var(--clr-orange);
  border: 1px solid rgba(232,97,26,0.25);
  padding: 0.45rem 1.3rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease 0.2s both;
  color: var(--clr-text);
}
.hero h1 span { color: var(--clr-orange); }

.hero-tagline {
  font-size: 1.2rem;
  color: var(--clr-text-secondary);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--clr-orange);
  color: var(--clr-white);
  border-color: var(--clr-orange);
}
.btn-primary:hover {
  background: var(--clr-orange-hover);
  border-color: var(--clr-orange-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}
.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border);
}
.btn-outline:hover {
  border-color: var(--clr-orange);
  color: var(--clr-orange);
  background: var(--clr-orange-bg);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--clr-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-stat { text-align: center; }
.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-orange);
  display: block;
}
.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,97,26,0.25);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--clr-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px; height: 56px;
  background: var(--clr-orange-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-orange);
  margin-bottom: 1.2rem;
}

.card h3 { margin-bottom: 0.6rem; font-size: 1.2rem; color: var(--clr-text); }
.card p { color: var(--clr-text-secondary); font-size: 0.95rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--clr-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: rgba(232,97,26,0.3);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--clr-orange-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-orange);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-text h4 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--clr-text); }
.feature-text p { color: var(--clr-text-secondary); font-size: 0.9rem; }

/* ============================================
   TABLES
   ============================================ */
.curriculum-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-sm);
}
.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.curriculum-table thead { background: var(--clr-orange); }
.curriculum-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.curriculum-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--clr-border-light);
  color: var(--clr-text-secondary);
  font-size: 0.93rem;
  background: var(--clr-card);
}
.curriculum-table tbody tr { transition: var(--transition); }
.curriculum-table tbody tr:hover td { background: var(--clr-orange-bg); }
.curriculum-table .month-badge {
  display: inline-block;
  background: var(--clr-orange-bg);
  color: var(--clr-orange);
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Rate Table */
.rate-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-sm);
}
.rate-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 750px;
}
.rate-table thead { background: var(--clr-orange); }
.rate-table th {
  padding: 1rem 1.2rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rate-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--clr-border-light);
  color: var(--clr-text-secondary);
  font-size: 0.9rem;
  background: var(--clr-card);
}
.rate-table tbody tr:hover td { background: var(--clr-orange-bg); }
.rate-table .price-cell { color: var(--clr-orange); font-weight: 700; white-space: nowrap; }

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}
.pricing-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--clr-orange);
  box-shadow: var(--shadow-orange);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.pricing-card.featured-pro {
  border-color: #f59e0b;
  box-shadow: 0 4px 24px rgba(245,158,11,0.2);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-orange);
  color: var(--clr-white);
  padding: 0.35rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pricing-card.featured-pro .pricing-badge { background: #f59e0b; }
.pricing-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--clr-text); }
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--clr-orange);
  margin: 1rem 0 0.3rem;
}
.pricing-price .currency { font-size: 1.3rem; vertical-align: super; }
.pricing-desc { color: var(--clr-text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pricing-features { text-align: left; margin-bottom: 2rem; }
.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pricing-features li i { color: var(--clr-orange); font-size: 0.85rem; }

.specialty-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--clr-orange-bg);
  color: var(--clr-orange);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.15rem 0.2rem;
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.8rem 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--clr-border-light);
  font-size: 0.85rem;
  color: var(--clr-text-secondary);
}
.service-card-price {
  color: var(--clr-orange);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

/* ============================================
   HIGHLIGHTS SLIDESHOW
   ============================================ */
.slideshow {
  position: relative;
  height: min(60vh, 480px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--clr-bg-alt);
}
.slideshow-track { position: relative; width: 100%; height: 100%; }
.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  cursor: pointer;
}
.slideshow-slide.active { opacity: 1; pointer-events: auto; }
.slideshow-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slideshow-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
  padding: 3rem 2rem 1.6rem;
  color: #fff;
}
.slideshow-caption h4 { font-size: 1.2rem; margin-bottom: 0.3rem; color: #fff; }
.slideshow-caption span { font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--clr-text);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.slideshow-arrow:hover { background: var(--clr-orange); color: #fff; }
.slideshow-prev { left: 1rem; }
.slideshow-next { right: 1rem; }
.slideshow-dots {
  position: absolute;
  bottom: 1.2rem;
  right: 1.5rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}
.slideshow-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.slideshow-dot.active { background: #fff; width: 22px; border-radius: 5px; }
@media (max-width: 640px) {
  .slideshow { height: 320px; }
  .slideshow-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
}

/* ============================================
   GALLERY / EVENTS
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--clr-bg-alt);
  box-shadow: var(--shadow-sm);
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-size: 1rem; margin-bottom: 0.2rem; color: #fff; }
.gallery-overlay span { font-size: 0.8rem; color: rgba(255,255,255,0.8); }

.gallery-item-count {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Filter Buttons */
.gallery-filters {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  color: var(--clr-text-secondary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
  color: var(--clr-white);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: none;
  color: var(--clr-text);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 5;
}
.modal-close:hover { background: var(--clr-orange); color: #fff; }
.modal-body { padding: 2rem; }
.modal-body img,
.modal-body video {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
}
.modal-body h3 { margin-bottom: 0.5rem; }
.modal-body .modal-date { color: var(--clr-orange); font-size: 0.85rem; margin-bottom: 0.8rem; }
.modal-body p { color: var(--clr-text-secondary); }

.modal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: -0.6rem 0 1.2rem;
}
.modal-nav-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--clr-orange-bg);
  color: var(--clr-orange);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-nav-btn:hover { background: var(--clr-orange); color: #fff; }
.modal-nav-count { font-size: 0.85rem; font-weight: 600; color: var(--clr-text-secondary); min-width: 3.5em; text-align: center; }

/* ============================================
   CONTACT / FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--clr-text-secondary); margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}
.contact-detail .cd-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--clr-orange-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-orange);
  flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.9rem; margin-bottom: 0.15rem; }
.contact-detail span { color: var(--clr-text-secondary); font-size: 0.9rem; }

.contact-form {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--clr-text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-orange);
  box-shadow: 0 0 0 3px rgba(232,97,26,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.8rem; right: 1.8rem;
  z-index: 1500;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: var(--transition);
  cursor: pointer;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--clr-text);
  color: var(--clr-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; right: 68px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
  color: #fff;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 3px;
  background: var(--clr-orange);
  border-radius: 2px;
}
.footer-col p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.6rem; color: rgba(255,255,255,0.75); }
.footer-col li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: var(--transition); }
.footer-col li a:hover { color: var(--clr-orange); padding-left: 4px; }
.footer-col li i.text-orange { color: var(--clr-orange); }

.social-links { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--clr-orange);
  color: var(--clr-white);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  overflow: hidden;
  background-color: #fef3ea;
  border-bottom: 1px solid var(--clr-border-light);
}
.page-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
/* No-photo fallback only — see the matching .hero rules above for why
   this is skipped once a real photo is present. */
.page-hero:not(:has(.page-hero-photo))::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 10% 15%, rgba(232,97,26,0.13) 0%, transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(249,115,22,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero:not(:has(.page-hero-photo))::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(232,97,26,0.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}
/* The text "box": a distinctly bordered card so words stay readable
   over any photo, without touching the photo itself. */
.page-hero .container {
  position: relative;
  z-index: 3;
  max-width: 700px;
  background: rgba(255,253,250,0.92);
  border: 1.5px solid rgba(232,97,26,0.35);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-lg);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.8rem;
  color: var(--clr-text);
}
.page-hero h1 span { color: var(--clr-orange); }
.page-hero p { color: var(--clr-text-secondary); max-width: 600px; margin: 0 auto; }
@media (max-width: 640px) {
  .page-hero .container { padding: 1.5rem 1.25rem; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--clr-text-secondary); margin-bottom: 1rem; }

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.mv-card {
  background: var(--clr-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 3px solid var(--clr-orange);
  box-shadow: var(--shadow-xs);
}
.mv-card h4 { margin-bottom: 0.5rem; color: var(--clr-text); }
.mv-card p { color: var(--clr-text-secondary); font-size: 0.9rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  background: var(--clr-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--clr-orange-bg);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--clr-orange);
}
.team-card h4 { font-size: 1rem; margin-bottom: 0.2rem; color: var(--clr-text); }
.team-card span { color: var(--clr-orange); font-size: 0.85rem; }

/* Program Highlights */
.program-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.program-highlight {
  text-align: center;
  padding: 1.5rem;
  background: var(--clr-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}
.program-highlight .ph-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-orange);
  display: block;
}
.program-highlight .ph-label { font-size: 0.85rem; color: var(--clr-text-secondary); }

/* ============================================
   UPLOAD SECTION
   ============================================ */
.upload-section {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}
.upload-section h3 { margin-bottom: 1.5rem; color: var(--clr-text); }
.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}
.upload-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border-light);
}
.upload-preview-item img,
.upload-preview-item video { width: 100%; height: 100%; object-fit: cover; }
.upload-preview-item .remove-preview {
  position: absolute;
  top: 4px; right: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(239,68,68,0.85);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-upload-area {
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--clr-bg-alt);
}
.file-upload-area:hover {
  border-color: var(--clr-orange);
  background: var(--clr-orange-bg);
}
.file-upload-area i { font-size: 2.5rem; color: var(--clr-text-muted); margin-bottom: 0.8rem; }

/* ============================================
   ALERT BANNERS
   ============================================ */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* ============================================
   TOAST / NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--clr-text);
  color: var(--clr-white);
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--clr-text-muted);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; display: block; }

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(232,97,26,0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(249,115,22,0.10) 0%, transparent 50%),
    linear-gradient(160deg, #fffaf6 0%, #fef3ea 100%);
  padding: 1.5rem;
}
.login-card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 420px;
}
.login-card .login-logo {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.login-card h2 { text-align: center; margin-bottom: 1.5rem; font-size: 1.3rem; }
.login-card h2 span { color: var(--clr-orange); }

/* ============================================
   ABOUT-UPLOAD INFO BOX
   ============================================ */
.upload-info-box {
  background: var(--clr-orange-bg);
  border: 1px solid rgba(232,97,26,0.2);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
}
.upload-info-box h4 { font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--clr-orange); }
.upload-info-box p { font-size: 0.88rem; color: var(--clr-text-secondary); line-height: 1.6; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-slow);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--clr-card);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--clr-border-light);
  }
  .nav-links.active { right: 0; }

  .hero-stats { gap: 1.5rem; }
  .hero-stat .stat-number { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .mission-vision { grid-template-columns: 1fr; }

  .curriculum-table-wrap { border-radius: 0; margin: 0 -1.5rem; width: calc(100% + 3rem); }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-filters { gap: 0.4rem; }
  .filter-btn { padding: 0.4rem 1rem; font-size: 0.78rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .modal-content { width: 95%; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.3rem; bottom: 1.2rem; right: 1.2rem; }
  .login-card { padding: 1.5rem; }
}
