@charset "UTF-8";

/* ==========================================================================
   1. ROOT VARIABLES & DESIGN SYSTEM TOKENS
   ========================================================================== */
:root {
  /* Cream / neutral base */
  --cream:          #F7EFDD;
  --cream-soft:     #FBF6EB;
  --ink:            #241635;   /* near-black text on cream sections */
  --ink-muted:      #4A3B5C;

  /* Dark theme sections */
  --navy-deep:      #14283A;   /* dark section background */
  --purple-deep:    #2A1B45;   /* secondary dark background (alt sections) */
  --purple-deep-2:  #1E1230;

  /* Vibrant accents */
  --cyan:           #4FC3E8;
  --cyan-bright:    #22D3EE;
  --orange:         #FF6B35;
  --amber:          #FFC42B;
  --magenta:        #EC1E6B;
  --green-accent:   #2E9E4F;   /* from the flyer's UNITS/THEORY/PAPER tags */

  /* Gradients */
  --gradient-hero:  linear-gradient(135deg, var(--purple-deep) 0%, var(--navy-deep) 60%, var(--purple-deep-2) 100%);
  --gradient-cta:   linear-gradient(120deg, var(--orange) 0%, var(--magenta) 100%);
  --gradient-gold:  linear-gradient(120deg, var(--amber) 0%, var(--orange) 100%);

  /* Typography */
  --font-heading:   'Poppins', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-sinhala:   'Noto Sans Sinhala', 'Noto Sans', sans-serif;

  /* Elevation Shadows */
  --shadow-sm:      0 4px 14px rgba(20, 40, 58, 0.08);
  --shadow-md:      0 10px 30px rgba(20, 40, 58, 0.14);
  --shadow-lg:      0 20px 45px rgba(20, 40, 58, 0.22);
  --shadow-glow:    0 0 25px rgba(255, 107, 53, 0.4);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

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

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

button, input, textarea, select {
  font: inherit;
}

/* Focus styles for Accessibility AA */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan-bright);
  outline-offset: 3px;
}

/* Top Scroll Progress Bar */
#scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 99999;
  pointer-events: none;
}

#scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--cyan-bright));
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.85);
  transition: width 0.08s ease-out;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sinhala Text Utility */
.sinhala-text {
  font-family: var(--font-sinhala);
}

/* Decorative Rivets (Pins) - the single allowed circle decorative accent */
.rivet-pin {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--amber);
  box-shadow: 0 0 4px rgba(255, 196, 43, 0.6);
}

/* ==========================================================================
   3. SHAPE LANGUAGE UTILITIES (NO CIRCLES RULE)
   ========================================================================== */
/* Hexagon Clip */
.shape-hex {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Ribbon / Chevron Banner Cutout */
.shape-ribbon {
  clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 0% 100%, 12px 50%);
}

.shape-ribbon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Angled Parallelogram */
.shape-angled {
  clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}

/* Diagonal Clip Frame */
.shape-diag-frame {
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}

/* Torn Corner Card */
.shape-torn-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

/* Section Dividers */
.divider-angled-top {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}
.divider-angled-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

/* ==========================================================================
   4. BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.btn-primary {
  background: var(--gradient-cta);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(236, 30, 107, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--amber);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-secondary:hover {
  background: var(--amber);
  color: var(--navy-deep);
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--navy-deep);
  font-weight: 800;
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 196, 43, 0.5);
}

/* Verified Result / Pass Rate Badges (Green Accent) */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-accent);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.9rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   5. STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  background: rgba(20, 40, 58, 0.94);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 2px solid rgba(79, 195, 232, 0.2);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: 0.3px;
}
.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan-bright);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: #F1EAFB;
  padding: 0.4rem 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--amber);
  transition: width 0.25s ease;
}
.nav-link:hover {
  color: var(--amber);
}
.nav-link:hover::after {
  width: 100%;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-nav-lms {
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  border: 1px solid var(--cyan);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-nav-lms:hover {
  background: var(--cyan);
  color: var(--navy-deep);
}

.btn-nav-wa {
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  background: var(--gradient-cta);
  color: #FFF;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 1010;
}
.hamburger-line {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--amber);
  margin: 5px auto;
  transition: all 0.3s ease;
}

/* Mobile Angled Overlay Nav */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--gradient-hero);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.is-active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFF;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  color: #FFFFFF;
  padding: 8rem 0 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background floating geometric shapes (parallax targets) */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bg-shape {
  position: absolute;
  opacity: 0.12;
}
.bg-shape-1 {
  top: 15%;
  left: 5%;
  width: 220px;
  height: 220px;
  background: var(--cyan);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.bg-shape-2 {
  bottom: 10%;
  left: 45%;
  width: 300px;
  height: 300px;
  background: var(--orange);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}
.bg-shape-3 {
  top: 25%;
  right: 8%;
  width: 180px;
  height: 180px;
  background: var(--amber);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  background: rgba(79, 195, 232, 0.15);
  color: var(--cyan-bright);
  border-left: 4px solid var(--cyan-bright);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

.hero-tagline-sinhala {
  font-family: var(--font-sinhala);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.hero-tagline-english {
  font-size: 1.1rem;
  font-weight: 500;
  color: #D1C4E9;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.12rem;
  color: #F1EAFB;
  max-width: 600px;
  margin-bottom: 1.8rem;
}

/* Badge Row */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 196, 43, 0.4);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.hero-badge-pill.highlight {
  background: rgba(46, 158, 79, 0.25);
  border-color: var(--green-accent);
  color: #FFF;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
}

.hero-offer-note {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 600;
  margin-top: 0.6rem;
}

/* Teacher Photo Card */
.hero-photo-wrapper {
  position: relative;
}

.hero-photo-backdrop {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background: var(--gradient-cta);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  z-index: 1;
}

.hero-photo-frame {
  position: relative;
  z-index: 2;
  background: var(--navy-deep);
  padding: 6px;
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  box-shadow: var(--shadow-lg);
}

.hero-photo-frame img,
.about-photo-frame img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top center;
  display: block;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

/* ==========================================================================
   7. ACHIEVEMENT TICKER MARQUEE
   ========================================================================== */
.achievement-ticker {
  background: #120A1E;
  color: #FFFFFF;
  padding: 1rem 0;
  overflow: hidden;
  border-top: 2px solid var(--amber);
  border-bottom: 2px solid var(--cyan-bright);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.ticker-item span {
  color: var(--amber);
}

@keyframes tickerScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   8. SUBJECTS TAUGHT SECTION (#subjects - DARK NAVY)
   ========================================================================== */
.section-subjects {
  background: var(--navy-deep);
  color: #FFFFFF;
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.8rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cyan-bright);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
}
.section-title.cream-title {
  color: var(--ink);
}

.section-subtitle {
  font-size: 1.15rem;
  color: #D1C4E9;
}
.section-subtitle.cream-subtitle {
  color: var(--ink-muted);
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
}

.subject-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 195, 232, 0.22);
  padding: 2.4rem 2rem;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.subject-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
}

.subject-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--amber);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.subject-icon-box {
  width: 58px;
  height: 58px;
  background: var(--purple-deep);
  border: 1px solid var(--cyan-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  color: var(--amber);
  font-size: 1.6rem;
  font-weight: 800;
}

.subject-title {
  font-size: 1.45rem;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
}

.subject-desc {
  color: #F1EAFB;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ==========================================================================
   9. ABOUT THE TEACHER (#about - CREAM SECTION)
   ========================================================================== */
.section-about {
  background: var(--cream);
  color: var(--ink);
  padding: 7rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: start;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.about-credentials-box {
  background: #FFFFFF;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  border: 1px solid rgba(36, 22, 53, 0.08);
}

.credentials-box-title {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--purple-deep);
  margin-bottom: 1.2rem;
  font-weight: 800;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 0.6rem;
}


.about-photo-wrapper {
  position: relative;
}

.about-photo-backdrop {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 100%;
  height: 100%;
  background: var(--purple-deep);
  clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
  z-index: 1;
}

.about-photo-frame {
  position: relative;
  z-index: 2;
  background: #FFF;
  padding: 8px;
  clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
  box-shadow: var(--shadow-md);
}

.about-heading {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.about-subheading-sinhala {
  font-family: var(--font-sinhala);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.about-bio {
  font-size: 1.04rem;
  color: var(--ink);
  margin-bottom: 1.3rem;
  line-height: 1.75;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.cred-badge {
  background: var(--purple-deep);
  color: var(--amber);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.5rem 1.1rem;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.about-pullquote {
  background: var(--cream-soft);
  border-left: 5px solid var(--magenta);
  padding: 1.4rem 1.8rem;
  margin-top: 1.8rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  box-shadow: var(--shadow-sm);
}

.about-pullquote p {
  font-family: var(--font-sinhala);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--purple-deep);
  margin: 0;
}

.about-pullquote-full {
  width: 100%;
  background: var(--cream-soft);
  border-left: 6px solid var(--magenta);
  padding: 2.2rem 2.8rem;
  margin-top: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  box-shadow: var(--shadow-sm);
}

.about-pullquote-full p {
  font-family: var(--font-sinhala);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--purple-deep);
  margin: 0;
}

/* Classroom Experience Showcase Inside About */
.about-classroom-showcase {
  margin-top: 3.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(255, 107, 0, 0.28);
  padding: 2.2rem;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  box-shadow: var(--shadow-md);
}

.classroom-showcase-title {
  font-size: 1.55rem;
  color: var(--purple-deep);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.classroom-showcase-desc {
  color: var(--ink-muted);
  font-size: 0.98rem;
  margin-bottom: 1.8rem;
}

.classroom-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.classroom-photo-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 6px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
}

.classroom-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.classroom-photo-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

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

.classroom-card-overlay {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(18, 10, 30, 0.88);
  backdrop-filter: blur(6px);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.92rem;
}

.badge-zoom {
  background: var(--amber);
  color: var(--navy-deep);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* ==========================================================================
   10. PROVEN RESULTS SECTION (#results - MOST PROMINENT SECTION, DARK PURPLE)
   ========================================================================== */
.section-results {
  background: var(--purple-deep);
  color: #FFFFFF;
  padding: 7.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--amber);
}

.results-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.8rem;
  margin-bottom: 4.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 196, 43, 0.3);
  padding: 2.2rem 1.5rem;
  text-align: center;
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  position: relative;
  transition: transform 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Results Tabs */
.results-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 2.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: all 0.25s ease;
}
.tab-btn:hover,
.tab-btn.is-active {
  background: var(--gradient-gold);
  color: var(--navy-deep);
  border-color: var(--amber);
}

.tab-pane {
  display: none;
  animation: fadeInPane 0.4s ease forwards;
}
.tab-pane.is-active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.results-year-highlight {
  background: rgba(20, 40, 58, 0.6);
  border-left: 4px solid var(--amber);
  padding: 1.3rem 1.8rem;
  margin-bottom: 2.5rem;
  font-size: 1.08rem;
  color: #F1EAFB;
}

.results-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  margin-bottom: 1.2rem;
}

.results-card {
  display: block;
  background: var(--navy-deep);
  padding: 8px;
  border: 1px solid rgba(255, 196, 43, 0.35);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.results-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--amber);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.results-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.results-card:hover img {
  transform: scale(1.05);
}

.results-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 40, 58, 0.92);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--amber);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.gallery-caption {
  text-align: center;
  color: #D1C4E9;
  font-size: 0.9rem;
  margin-bottom: 3.5rem;
}

/* Wall of Fame Strip */
.wall-of-fame-strip {
  background: rgba(20, 40, 58, 0.85);
  border-top: 1px solid rgba(79, 195, 232, 0.3);
  border-bottom: 1px solid rgba(79, 195, 232, 0.3);
  padding: 1.3rem 0;
  overflow-x: auto;
  display: flex;
  gap: 1.5rem;
  scrollbar-width: thin;
}

.fame-card {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--green-accent);
  padding: 0.9rem 1.4rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  display: flex;
  flex-direction: column;
}
.fame-district {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #FFF;
}
.fame-rank {
  font-size: 0.82rem;
  color: var(--amber);
  font-weight: 700;
}
.fame-grade {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-accent);
}

/* ==========================================================================
   10.5 STUDENT TESTIMONIALS SECTION (#testimonials - PREMIUM DARK NAVY)
   ========================================================================== */
.section-testimonials {
  background: var(--navy-deep);
  color: #FFFFFF;
  padding: 7.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(79, 195, 232, 0.25);
  border-bottom: 3px solid var(--amber);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 196, 43, 0.25);
  padding: 2.4rem 2rem;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 480px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--amber);
  box-shadow: 0 20px 45px rgba(255, 196, 43, 0.15);
}

.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex-shrink: 0;
}

.testimonial-rank-badge {
  background: var(--gradient-gold);
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.35rem 1rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(255, 196, 43, 0.3);
}

.testimonial-quote-icon {
  font-size: 2.8rem;
  line-height: 1;
  color: var(--amber);
  opacity: 0.8;
  font-family: serif;
}

.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #E8E2F0;
  margin-bottom: 1.4rem;
  flex-grow: 1;
  min-height: 0;
  overflow-y: auto;
  position: relative;
  font-weight: 400;
  padding-right: 0.8rem;
}

/* Custom Scrollbar for Testimonial Cards */
.testimonial-quote::-webkit-scrollbar {
  width: 6px;
}

.testimonial-quote::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.testimonial-quote::-webkit-scrollbar-thumb {
  background: rgba(255, 196, 43, 0.45);
  border-radius: 3px;
}

.testimonial-quote::-webkit-scrollbar-thumb:hover {
  background: var(--amber);
}

.testimonial-quote p {
  margin-bottom: 1rem;
}

.testimonial-quote p:last-child {
  margin-bottom: 0;
}

.testimonial-author {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-shrink: 0;
}

.author-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.author-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #B2A6C4;
}

.z-score-tag {
  background: rgba(46, 158, 79, 0.25);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 0.2rem 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  font-size: 0.86rem;
}

.testimonial-phase-badge {
  display: inline-block;
  font-family: var(--font-sinhala);
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255, 107, 53, 0.2);
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding: 0.25rem 0.8rem;
  margin: 0.5rem 0 0.8rem 0;
  border-radius: 0 4px 4px 0;
}

.testimonial-phase-badge.phase-after {
  background: rgba(46, 158, 79, 0.2);
  color: #4ADE80;
  border-left-color: #4ADE80;
  margin-top: 1.4rem;
}

/* ==========================================================================
   11. VIDEO LESSONS (#videos - CREAM SOFT SECTION)
   ========================================================================== */
.section-videos {
  background: var(--cream-soft);
  color: var(--ink);
  padding: 6.5rem 0;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
  margin-bottom: 3rem;
}

.video-card {
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(36, 22, 53, 0.1);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.video-thumb-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  overflow: hidden;
}

.video-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-coming-ribbon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--magenta);
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.3rem 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  background: var(--orange);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.6);
}

.video-meta {
  padding: 1.4rem;
}

.video-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.video-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.video-notify-bar {
  background: var(--cream);
  border: 2px dashed var(--purple-deep);
  padding: 2rem;
  text-align: center;
  clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}

/* ==========================================================================
   12. CLASS TIMETABLE (#timetable - DARK NAVY)
   ========================================================================== */
.section-timetable {
  background: var(--navy-deep);
  color: #FFFFFF;
  padding: 7rem 0;
  position: relative;
}

.timetable-grid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 3.2rem;
}

.schedule-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-left: 6px solid var(--amber);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.6rem 2.2rem;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  display: grid;
  grid-template-columns: 140px 1.5fr 1fr 1fr auto;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.schedule-card:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateX(6px);
  border-left-color: var(--cyan-bright);
}

.sch-date {
  background: var(--purple-deep);
  color: var(--amber);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.45rem 0.8rem;
  text-align: center;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.sch-day-time {
  display: flex;
  flex-direction: column;
}
.sch-day {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFF;
}
.sch-time {
  font-size: 0.92rem;
  color: var(--cyan-bright);
  font-weight: 600;
}

.sch-location {
  display: flex;
  flex-direction: column;
}
.sch-venue {
  font-weight: 700;
  color: #FFF;
  font-size: 1.05rem;
}
.sch-mode {
  font-size: 0.85rem;
  color: #D1C4E9;
}

.sch-medium {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 107, 53, 0.18);
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.38rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  text-align: center;
  justify-content: center;
}

.sch-action .btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
}

/* Timetable Filter & View Switcher Bar */
.timetable-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(79, 195, 232, 0.22);
  padding: 1.2rem 1.8rem;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.timetable-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.07);
  color: #D1C4E9;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: all 0.25s ease;
}

.filter-pill:hover,
.filter-pill.is-active {
  background: var(--gradient-gold);
  color: var(--navy-deep);
  border-color: var(--amber);
}

.timetable-view-toggles {
  display: flex;
  gap: 0.6rem;
}

.view-toggle-btn {
  background: rgba(20, 40, 58, 0.8);
  color: #FFF;
  border: 1px solid rgba(79, 195, 232, 0.3);
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: all 0.25s ease;
}

.view-toggle-btn:hover,
.view-toggle-btn.is-active {
  background: var(--cyan-bright);
  color: var(--navy-deep);
  border-color: var(--cyan-bright);
}

/* Structured HTML Timetable (Table View) */
.timetable-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 3.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(79, 195, 232, 0.25);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  box-shadow: var(--shadow-lg);
}

.timetable-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  text-align: left;
}

.timetable-table thead {
  background: var(--purple-deep);
  border-bottom: 2px solid var(--amber);
}

.timetable-table th {
  padding: 1.2rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.timetable-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.timetable-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.timetable-table tbody tr:hover {
  background: rgba(79, 195, 232, 0.14);
  transform: translateX(6px) scale(1.006);
  box-shadow: inset 4px 0 0 var(--amber), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.timetable-table tbody tr:hover .tbl-date-badge {
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.7);
}

.timetable-table td {
  padding: 1.2rem 1.4rem;
  font-size: 0.95rem;
  color: #FFF;
  vertical-align: middle;
}

.tbl-batch-tag {
  display: inline-block;
  background: var(--purple-deep);
  color: var(--cyan-bright);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.tbl-date-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--amber);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Live Enrolling Pulse Badge */
.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(46, 158, 79, 0.18);
  color: #58E481;
  border: 1px solid rgba(88, 228, 129, 0.45);
  padding: 0.35rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  animation: pulseBadgeBorder 2.4s infinite;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #58E481;
  box-shadow: 0 0 10px #58E481;
  animation: liveDotPulse 1.4s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 8px #58E481;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.65;
    box-shadow: 0 0 16px #58E481, 0 0 24px #58E481;
  }
}

@keyframes pulseBadgeBorder {
  0%, 100% {
    border-color: rgba(88, 228, 129, 0.45);
  }
  50% {
    border-color: rgba(88, 228, 129, 0.85);
  }
}

.tbl-day-time strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #FFF;
}
.tbl-day-time span {
  font-size: 0.88rem;
  color: var(--cyan-bright);
}

.tbl-venue strong {
  display: block;
  font-size: 1.02rem;
  color: #FFF;
}
.tbl-venue span {
  font-size: 0.84rem;
  color: #D1C4E9;
}

/* Hide inactive view */
.timetable-view-pane {
  display: none;
}
.timetable-view-pane.is-active {
  display: block;
}

.free-first-unit-banner {
  background: var(--gradient-gold);
  color: var(--navy-deep);
  padding: 1.5rem 2.5rem;
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ==========================================================================
   13. LMS / STUDENT PORTAL CTA BAND (GOLD GRADIENT BANNER)
   ========================================================================== */
.section-lms-cta {
  background: var(--gradient-gold);
  color: var(--navy-deep);
  padding: 4.5rem 0;
  text-align: center;
}

.lms-banner-content {
  max-width: 780px;
  margin: 0 auto;
}

.lms-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.8rem;
}

.lms-desc {
  font-size: 1.15rem;
  color: #1E1230;
  margin-bottom: 2rem;
  font-weight: 600;
}

.lms-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* ==========================================================================
   14. FAQ SECTION (#faq - CREAM SECTION)
   ========================================================================== */
.section-faq {
  background: var(--cream);
  color: var(--ink);
  padding: 7rem 0;
}

.faq-controls {
  max-width: 880px;
  margin: 0 auto 2.2rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.faq-filter-pill {
  background: #FFF;
  color: var(--ink);
  border: 2px solid rgba(36, 22, 53, 0.15);
  padding: 0.55rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: all 0.25s ease;
}

.faq-filter-pill:hover,
.faq-filter-pill.is-active {
  background: var(--purple-deep);
  color: var(--amber);
  border-color: var(--purple-deep);
}

.faq-cat-tag {
  display: inline-block;
  background: var(--cream-soft);
  color: var(--purple-deep);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.5rem;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.faq-accordion {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(36, 22, 53, 0.12);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  opacity: 1;
  display: block;
}

.faq-header {
  width: 100%;
  text-align: left;
  padding: 1.6rem 2rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
}

.faq-header:hover {
  color: var(--orange);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--cream-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: var(--orange);
  color: #FFF;
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body-inner {
  overflow: hidden;
}

.faq-content {
  padding: 0 2rem 1.8rem;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ==========================================================================
   15. CONTACT SECTION (#contact - DARK PURPLE)
   ========================================================================== */
.section-contact {
  background: var(--purple-deep);
  color: #FFFFFF;
  padding: 7rem 0;
  border-top: 2px solid var(--cyan-bright);
  scroll-margin-top: 85px;
}

.section-contact .section-header {
  position: relative;
  z-index: 5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.8rem;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #F1EAFB;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(20, 40, 58, 0.7);
  border: 1px solid rgba(79, 195, 232, 0.3);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.98rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--amber);
  outline: none;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #FFF;
}

.contact-info-card {
  background: var(--navy-deep);
  border: 1px solid rgba(255, 196, 43, 0.3);
  padding: 2.8rem;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.2rem;
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.info-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--cyan-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.info-address {
  font-size: 1rem;
  color: #D1C4E9;
  line-height: 1.6;
}

/* ==========================================================================
   16. FLOATING WHATSAPP BUTTON (SQUARE/HEX ANGLE, NOT CIRCULAR)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1020;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: #FFFFFF;
  padding: 0.9rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  animation: waPulse 2.5s infinite;
  transition: transform 0.25s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   17. FOOTER (#footer - DARK NAVY/PURPLE 2)
   ========================================================================== */
.site-footer {
  background: var(--purple-deep-2);
  color: #D1C4E9;
  padding: 5.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.footer-sinhala-tagline {
  font-family: var(--font-sinhala);
  color: var(--amber);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

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

.footer-links-list a:hover {
  color: var(--amber);
}

.social-hex-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}

.social-hex-btn {
  width: 44px;
  height: 44px;
  background: var(--navy-deep);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  border: 1px solid var(--cyan);
  transition: all 0.25s ease;
}
.social-hex-btn:hover {
  background: var(--amber);
  color: var(--navy-deep);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #948A9F;
}

/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS (1440px / 1024px / 768px / 375px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  .hero-grid {
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .schedule-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-phases-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }
  .section-contact {
    scroll-margin-top: 72px;
  }
  .nav-menu,
  .header-ctas {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-section {
    padding: 7rem 0 4rem;
  }
  .ticker-content {
    font-size: 0.88rem;
    gap: 1.8rem;
  }
  .results-stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .results-stats-row,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 1.8rem 1.4rem;
  }
  .about-pullquote-full {
    padding: 1.6rem 1.4rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   19. PREFERS-REDUCED-MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .floating-whatsapp {
    animation: none !important;
  }
}
