/* ===== CSS VARIABLES ===== */
:root {
  --background: #ffffff;
  --foreground: #1a2035;
  --card: #ffffff;
  --primary: #5046e4;
  --primary-foreground: #ffffff;
  --secondary: #ebf5fe;
  --secondary-foreground: #1a2035;
  --muted: #f0f5fa;
  --muted-foreground: #64748b;
  --accent: #f97316;
  --accent-foreground: #ffffff;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #dce8f5;
  --elcaas-blue: #007acc;
  --elcaas-purple: #5046e4;
  --elcaas-orange: #f97316;
  --elcaas-green: #22a855;
  --radius: 0.75rem;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--background); color: var(--foreground); line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea { font-family: inherit; outline: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; }

/* ===== UTILITY ===== */
.text-gradient {
  background-image: linear-gradient(135deg, var(--elcaas-purple), var(--elcaas-blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.bg-secondary { background: var(--secondary); }
.w-full { width: 100%; }
.flex-1 { flex: 1; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem; border-radius: var(--radius); font-weight: 600;
  font-size: 0.875rem; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--elcaas-purple); color: #fff; }
.btn-primary:hover { background: #3d35c7; }
.btn-outline { background: transparent; color: var(--foreground); border: 1.5px solid var(--border); }
.btn-outline:hover { background: var(--muted); }
.btn-outline-primary { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e86208; }
.btn-destructive { background: var(--destructive); color: #fff; }
.btn-destructive:hover { background: #cc2d2d; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar { position: sticky; top: 0; left: 0; right: 0; z-index: 50; padding: 0; width: 100%; transition: all 0.3s; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--elcaas-purple), var(--elcaas-blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem;
}
.logo-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--foreground); }
.logo-accent { color: var(--elcaas-purple); }
.desktop-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); transition: color 0.2s; }
.nav-link:hover { color: var(--primary); }
.desktop-actions { display: flex; align-items: center; gap: 0.75rem; }
.mobile-toggle { display: none; background: none; padding: 0.5rem; color: var(--foreground); }
.mobile-menu { border-bottom: 1px solid var(--border); background: var(--background); padding: 0 1rem 1rem; }
.mobile-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-actions { display: flex; gap: 0.75rem; padding-top: 0.5rem; }

/* ===== HERO SLIDER ===== */
.hero-section { position: relative; overflow: hidden; }
.hero-slider { position: relative; min-height: 500px; }
.hero-slide {
  display: none; align-items: center; min-height: 500px;
  position: relative; transition: all 0.7s;
}
.hero-slide.active { display: flex; }
.hero-slide[data-gradient="from-purple-blue"] { background: linear-gradient(135deg, rgba(80,70,228,0.9), rgba(0,122,204,0.9)); }
.hero-slide[data-gradient="from-blue-green"] { background: linear-gradient(135deg, rgba(0,122,204,0.9), rgba(34,168,85,0.9)); }
.hero-slide[data-gradient="from-orange-purple"] { background: linear-gradient(135deg, rgba(249,115,22,0.9), rgba(80,70,228,0.9)); }
.hero-slide[data-gradient="from-green-blue"] { background: linear-gradient(135deg, rgba(34,168,85,0.9), rgba(0,122,204,0.9)); }
.hero-deco {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.05); filter: blur(40px);
}
.hero-deco-1 { width: 18rem; height: 18rem; top: 2.5rem; right: 2.5rem; }
.hero-deco-2 { width: 24rem; height: 24rem; bottom: 2.5rem; left: 2.5rem; }
.hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 2rem; width: 100%; padding: 4rem 1rem; }
.hero-text { flex: 1; max-width: 36rem; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.2); color: #fff;
  font-size: 0.875rem; font-weight: 600; padding: 0.375rem 1rem; border-radius: 9999px; margin-bottom: 1rem;
}
.hero-headline { font-family: 'Poppins',sans-serif; font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -0.02em; }
.hero-desc { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem; max-width: 32rem; line-height: 1.6; }
.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-image img { width: 16rem; height: 16rem; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); background: transparent; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); color: #fff; border-radius: 50%;
  width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 20;
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }
.hero-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 20; }
.hero-dot { width: 0.75rem; height: 0.75rem; border-radius: 9999px; background: rgba(255,255,255,0.4); border: none; transition: all 0.3s; cursor: pointer; }
.hero-dot.active { width: 2rem; background: #fff; }

/* ===== ANNOUNCEMENT TICKER ===== */
.ticker-wrap { background: var(--elcaas-purple); color: #fff; padding: 0.75rem 0; overflow: hidden; }
.ticker-track { display: flex; animation: marquee 25s linear infinite; white-space: nowrap; }
.ticker-item { margin: 0 2rem; font-size: 0.875rem; font-weight: 500; flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-size: clamp(1.75rem,4vw,2.25rem); font-weight: 700; color: var(--foreground); margin-bottom: 0.75rem; }
.section-subtitle { color: var(--muted-foreground); font-size: 1.1rem; max-width: 40rem; margin: 0 auto; }

/* ===== POWER FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.feature-card {
  background: var(--card); border-radius: 0.75rem; padding: 1.5rem;
  text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid var(--border); transition: all 0.3s; cursor: pointer;
}
.feature-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.12); transform: translateY(-4px); background: var(--elcaas-purple); }
.feature-icon-wrap {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 0.75rem;
  background: rgba(80,70,228,0.1); display: flex; align-items: center; justify-content: center;
  color: var(--elcaas-purple); transition: all 0.3s;
}
.feature-card:hover .feature-icon-wrap { background: rgba(255,255,255,0.2); color: #fff; }
.feature-label { font-family: 'Poppins',sans-serif; font-weight: 600; font-size: 0.875rem; color: var(--foreground); margin-bottom: 0.25rem; transition: color 0.3s; }
.feature-card:hover .feature-label { color: #fff; }
.feature-desc { font-size: 0.75rem; color: var(--muted-foreground); line-height: 1.5; transition: color 0.3s; }
.feature-card:hover .feature-desc { color: rgba(255,255,255,0.8); }

/* ===== STATS ===== */
.stats-section { background: linear-gradient(135deg, var(--elcaas-purple), var(--elcaas-blue)); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; text-align: center; }
.stat-item svg { color: rgba(255,255,255,0.8); margin: 0 auto 0.75rem; display: block; }
.stat-number { font-family: 'Poppins',sans-serif; font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 800; color: #fff; }
.stat-label { color: rgba(255,255,255,0.8); font-weight: 500; margin-top: 0.25rem; }

/* ===== EXPLORE CLASSES ===== */
.classes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.class-card {
  border-radius: 0.75rem; padding: 1.25rem 1rem; text-align: center;
  border: 1px solid transparent; transition: all 0.3s; cursor: pointer; display: block;
  text-decoration: none;
}
.class-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); transform: translateY(-4px); }
.color-0 { background: linear-gradient(135deg, rgba(80,70,228,0.1), rgba(0,122,204,0.1)); border-color: rgba(80,70,228,0.2); }
.color-1 { background: linear-gradient(135deg, rgba(0,122,204,0.1), rgba(34,168,85,0.1)); border-color: rgba(0,122,204,0.2); }
.color-2 { background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(80,70,228,0.1)); border-color: rgba(249,115,22,0.2); }
.color-3 { background: linear-gradient(135deg, rgba(34,168,85,0.1), rgba(0,122,204,0.1)); border-color: rgba(34,168,85,0.2); }
.class-roman { font-family: 'Poppins',sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.25rem; }
.class-level { font-size: 0.7rem; color: var(--muted-foreground); font-weight: 500; }

/* ===== SUBJECTS GRID ===== */
.subjects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.subject-card {
  background: var(--card); border-radius: 0.75rem; padding: 1rem;
  text-align: center; border: 1px solid var(--border);
  transition: all 0.3s; cursor: pointer;
}
.subject-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); transform: translateY(-4px); }
.subject-icon { margin: 0 auto 0.5rem; }
.subject-label { font-size: 0.75rem; font-weight: 600; color: var(--foreground); }

/* ===== SUBJECT MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal-box {
  background: #fff; border-radius: 1rem; max-width: 32rem; width: 100%;
  overflow: hidden; position: relative; animation: fadeIn 0.2s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.1);
  border-radius: 50%; width: 2rem; height: 2rem; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center; z-index: 10;
  transition: background 0.2s; border: none; cursor: pointer; line-height: 1;
}
.modal-close:hover { background: rgba(0,0,0,0.2); }
.modal-header { padding: 2rem 1.5rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.modal-title { font-size: 1.5rem; font-weight: 700; margin-top: 1rem; }
.modal-body { padding: 1rem 1.5rem 1.5rem; }
.modal-desc { font-size: 0.875rem; color: rgba(0,0,0,0.7); line-height: 1.7; margin-bottom: 1.25rem; }
.modal-topics-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.modal-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.modal-topic-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; background: var(--secondary); border-radius: 0.5rem; padding: 0.5rem 0.75rem; }
.modal-topic-dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; flex-shrink: 0; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* ===== BENEFITS TABS ===== */
.tabs-list {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--secondary); border-radius: 0.75rem; padding: 0.375rem; margin-bottom: 2rem;
}
.tab-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  padding: 0.75rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 500;
  color: var(--muted-foreground); transition: all 0.2s; border: none; background: none; cursor: pointer;
}
.tab-btn span { display: inline; }
.tab-btn.active { background: var(--elcaas-purple); color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.benefit-card {
  background: var(--card); border-radius: 1rem; border: 1px solid var(--border);
  padding: 2rem 2.5rem; display: flex; gap: 2rem; align-items: center;
}
.benefit-info { flex: 1; }
.benefit-title { font-family: 'Poppins',sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--foreground); }
.benefit-desc { color: var(--muted-foreground); margin-bottom: 1.5rem; line-height: 1.7; }
.benefit-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; list-style: none; padding: 0; }
.benefit-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
.benefit-visual { display: none; flex-shrink: 0; }
.benefit-circle {
  width: 16rem; height: 16rem; border-radius: 50%;
  background: linear-gradient(135deg, rgba(80,70,228,0.1), rgba(0,122,204,0.1));
  display: flex; align-items: center; justify-content: center;
}

/* ===== YOUTUBE ===== */
.yt-grid { display: grid; gap: 3rem; align-items: center; }
.yt-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(239,68,68,0.1); color: var(--destructive);
  font-size: 0.875rem; font-weight: 600; padding: 0.375rem 1rem; border-radius: 9999px; margin-bottom: 1rem;
}
.yt-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.yt-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.yt-video-wrap { display: flex; align-items: center; justify-content: center; }
.yt-player {
  position: relative; width: 100%; max-width: 28rem; aspect-ratio: 16/9;
  border-radius: 1rem; background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(249,115,22,0.2));
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); overflow: hidden;
}
.yt-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.05); }
.yt-play-btn {
  width: 5rem; height: 5rem; border-radius: 50%; background: var(--destructive);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 25px rgba(239,68,68,0.4); transition: transform 0.2s; position: relative; z-index: 2;
}
.yt-play-btn:hover { transform: scale(1.1); }
.yt-play-btn svg { margin-left: 4px; }

/* ===== TRUSTED PARTNERS ===== */
.partners-overflow { overflow: hidden; }
.partners-track { display: flex; animation: marquee 30s linear infinite; }
.partner-item {
  flex-shrink: 0; margin: 0 1.5rem; padding: 1rem 2rem;
  background: var(--secondary); border-radius: 0.75rem; border: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.75rem; min-width: 200px;
}
.partner-icon-wrap { width: 2rem; height: 2rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.partner-item span { font-family: 'Poppins',sans-serif; font-weight: 600; color: var(--muted-foreground); white-space: nowrap; }

/* ===== LEARNING PROGRAMS ===== */
.programs-grid { display: grid; gap: 2rem; }
.program-card {
  border-radius: 1rem; padding: 2rem; border: 1px solid var(--border);
  transition: all 0.3s;
}
.program-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.program-green { background: linear-gradient(135deg, rgba(34,168,85,0.1), rgba(0,122,204,0.1)); }
.program-purple { background: linear-gradient(135deg, rgba(80,70,228,0.1), rgba(0,122,204,0.1)); }
.program-orange { background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(80,70,228,0.1)); }
.program-classes { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); }
.program-title { font-family: 'Poppins',sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin: 0.5rem 0 0.75rem; }
.program-desc { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.5rem; }

/* ===== FAQ ===== */
.faq-container { max-width: 48rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 0.75rem; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between;
  align-items: center; text-align: left; font-weight: 600; font-size: 0.95rem;
  background: none; color: var(--foreground); gap: 1rem; transition: box-shadow 0.2s;
}
.faq-chevron { flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; color: var(--muted-foreground); line-height: 1.7; font-size: 0.9rem; }
.faq-item.open .faq-answer { max-height: 20rem; padding: 0 1.5rem 1.25rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; gap: 3rem; max-width: 62rem; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-input, .form-textarea {
  padding: 0.75rem 1rem; border-radius: var(--radius); border: 1.5px solid var(--border);
  background: var(--card); font-size: 0.875rem; color: var(--foreground); transition: border-color 0.2s; width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: var(--primary); }
.form-textarea { resize: vertical; }
.contact-info { display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon-wrap {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: rgba(80,70,228,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-label { font-family: 'Poppins',sans-serif; font-weight: 600; color: var(--foreground); }
.contact-val { color: var(--muted-foreground); font-size: 0.875rem; }

/* ===== FOOTER ===== */
.footer { background: var(--foreground); color: var(--background); padding: 4rem 0; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo-text { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.25rem; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; }
.footer-heading { font-family: 'Poppins',sans-serif; font-weight: 600; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; color: #fff;
}
.social-btn:hover { background: var(--elcaas-purple); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0 0; text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.4); }

/* ===== ABOUT PAGE ===== */
.about-hero { background: linear-gradient(135deg, var(--elcaas-purple), rgba(80,70,228,0.8)); color: #fff; padding: 3.5rem 0; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; font-size: 0.875rem; transition: color 0.2s; }
.back-link:hover { color: #fff; }
.about-hero h1 { font-size: clamp(2rem,5vw,3rem); font-weight: 700; margin-bottom: 0.75rem; }
.about-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 40rem; }
.two-col { display: grid; gap: 2.5rem; align-items: center; }
/* .two-col.reverse is styled in the md media query below */
.rounded-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid var(--border); }
.rounded-img img { width: 100%; height: auto; object-fit: cover; }
.badge-tag { display: inline-block; background: rgba(80,70,228,0.1); color: var(--elcaas-purple); font-size: 0.8rem; font-weight: 600; padding: 0.375rem 1rem; border-radius: 9999px; margin-bottom: 1rem; }
.badge-tag-accent { background: rgba(249,115,22,0.1); color: var(--accent); }
.text-col h2 { font-size: clamp(1.5rem,4vw,2.25rem); font-weight: 700; margin-bottom: 1rem; }
.text-col p { color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.7; }
.bullet-list { display: flex; flex-direction: column; gap: 0.75rem; }
.bullet-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; }
.bullet-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; flex-shrink: 0; margin-top: 0.35rem; }
.four-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.info-card {
  background: var(--card); border-radius: 1rem; border: 1px solid var(--border);
  padding: 1.5rem; text-align: center; transition: box-shadow 0.2s;
}
.info-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.info-card-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.info-card h3 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.info-card p { font-size: 0.8rem; color: var(--muted-foreground); line-height: 1.5; }
.timeline { position: relative; max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; }
.timeline-line { position: absolute; left: 1.5rem; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; display: flex; align-items: flex-start; margin-bottom: 2.5rem; padding-left: 4rem; }
.timeline-dot {
  position: absolute; left: 1.5rem; transform: translateX(-50%); top: 0.25rem;
  width: 1rem; height: 1rem; border-radius: 50%; background: var(--primary);
  border: 4px solid var(--background); z-index: 10;
}
.timeline-year { display: inline-block; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 9999px; margin-bottom: 0.35rem; }
.timeline-title { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--foreground); }
.timeline-desc { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.25rem; line-height: 1.6; }

@media (min-width: 768px) {
  .timeline-line { left: 50%; transform: translateX(-50%); }
  .timeline-dot { left: 50%; }
  .timeline-item { padding-left: 0; width: 100%; margin-bottom: 3.5rem; display: block; }
  .timeline-item-left { text-align: right; }
  .timeline-item-left .timeline-content { width: 50%; padding-right: 3rem; margin-left: 0; }
  .timeline-item-right { text-align: left; }
  .timeline-item-right .timeline-content { width: 50%; padding-left: 3rem; margin-left: 50%; }
}
.about-cta { background: linear-gradient(135deg, var(--elcaas-purple), rgba(80,70,228,0.8)); color: #fff; padding: 5rem 0; text-align: center; }
.about-cta h2 { font-size: clamp(1.75rem,4vw,2.25rem); font-weight: 700; margin-bottom: 1rem; }
.about-cta p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 36rem; margin: 0 auto 2rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.btn-white { background: #fff; color: var(--elcaas-purple); }
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-ghost-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); }

/* ===== LOGIN PAGE ===== */
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-left { display: none; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--elcaas-purple), var(--elcaas-blue)); }
.login-slide { position: absolute; inset: 0; transition: opacity 1s ease; }
.login-slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.login-overlay { position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: space-between; padding: 2.5rem; height: 100%; }
.login-logo { display: flex; align-items: center; gap: 0.5rem; }
.login-logo-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.1rem; }
.login-logo-text { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.25rem; color: #fff; }
.login-slide-text h2 { font-family: 'Poppins',sans-serif; font-size: clamp(1.5rem,3vw,2rem); font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.login-slide-text p { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 28rem; }
.login-dots { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.login-dot { height: 0.5rem; border-radius: 9999px; background: rgba(255,255,255,0.4); transition: all 0.3s; cursor: pointer; border: none; }
.login-dot.active { width: 2rem; background: #fff; }
.login-dot:not(.active) { width: 0.5rem; }
.login-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; background: var(--background); }
.login-form-wrap { width: 100%; max-width: 28rem; }
.login-mobile-logo { display: flex; justify-content: center; margin-bottom: 2rem; }
.login-header { text-align: center; margin-bottom: 2rem; }
.login-header h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.login-header p { color: var(--muted-foreground); }
.login-toggle { display: flex; background: var(--muted); border-radius: 0.5rem; padding: 0.25rem; margin-bottom: 1.5rem; }
.toggle-btn { flex: 1; padding: 0.625rem; font-size: 0.875rem; font-weight: 500; border-radius: 0.375rem; transition: all 0.2s; border: none; background: none; color: var(--muted-foreground); cursor: pointer; }
.toggle-btn.active { background: var(--primary); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.login-form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--foreground); }
.input-wrap { position: relative; }
.input-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.input-icon-right { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); background: none; border: none; cursor: pointer; }
.form-input-icon { padding: 0.625rem 1rem 0.625rem 2.5rem; width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; color: var(--foreground); background: var(--card); transition: border-color 0.2s; }
.form-input-icon:focus { border-color: var(--primary); }
.form-input-icon-both { padding-right: 2.5rem; }
.forgot-link { font-size: 0.75rem; color: var(--primary); }
.forgot-link:hover { text-decoration: underline; }
.form-row { display: flex; align-items: center; justify-content: space-between; }
.divider { position: relative; margin: 1.25rem 0; }
.divider::before { content: ''; position: absolute; inset: 0; display: flex; align-items: center; }
.divider-line { border-top: 1px solid var(--border); width: 100%; position: absolute; top: 50%; }
.divider-text { position: relative; display: flex; justify-content: center; }
.divider-text span { background: var(--background); padding: 0 0.5rem; font-size: 0.7rem; text-transform: uppercase; color: var(--muted-foreground); letter-spacing: 0.05em; }
.google-btn { width: 100%; padding: 0.75rem; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--card); display: flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.google-btn:hover { background: var(--muted); }
.switch-text { text-align: center; font-size: 0.875rem; color: var(--muted-foreground); margin-top: 1.25rem; }
.switch-link { color: var(--primary); font-weight: 500; cursor: pointer; background: none; border: none; font-size: 0.875rem; }
.switch-link:hover { text-decoration: underline; }
.extra-fields { display: none; flex-direction: column; gap: 1rem; }
.extra-fields.show { display: flex; }

/* ===== CLASS DETAIL PAGE ===== */
.class-header { background: linear-gradient(135deg, var(--elcaas-purple), rgba(80,70,228,0.8)); color: #fff; padding: 3.5rem 0 5rem; }
.class-header h1 { font-size: clamp(2rem,5vw,3rem); font-weight: 700; margin-bottom: 0.75rem; }
.class-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 40rem; }
.class-section { padding: 4rem 0; }
.class-section-alt { background: rgba(235,245,254,0.5); }
.class-desc-block { margin-bottom: 2rem; }
.class-section-desc { color: var(--foreground); font-size: 1rem; line-height: 1.75; }
/* Flex row layout — matches React's flex flex-col md:flex-row items-center gap-10 md:gap-16 */
.class-row-flex { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.class-row-reverse { flex-direction: column; }
.class-img-col { width: 100%; display: flex; justify-content: center; }
.class-img-wrap { border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.1); border: 1px solid var(--border); width: 100%; }
.class-img-wrap img { width: 100%; height: auto; object-fit: cover; display: block; }
.class-content-col { width: 100%; }
.class-content-title { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.class-content-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: rgba(80,70,228,0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.class-content-title h2 { font-family: 'Poppins',sans-serif; font-size: clamp(1.5rem,3vw,1.875rem); font-weight: 700; color: var(--foreground); line-height: 1.2; }
.class-points { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; padding: 0; }
.class-points li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--foreground); line-height: 1.5; }
.class-bullet { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 0.375rem; display: inline-block; }

/* ===== NOT FOUND ===== */
.notfound { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.notfound h1 { font-size: 6rem; font-weight: 800; color: var(--elcaas-purple); }
.notfound h2 { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0 1rem; }
.notfound p { color: var(--muted-foreground); margin-bottom: 2rem; }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .classes-grid { grid-template-columns: repeat(4,1fr); }
  .subjects-grid { grid-template-columns: repeat(4,1fr); }
  .tab-btn span { display: inline; }
  .features-grid { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 768px) {
  .hero-content { flex-direction: row; padding: 5rem 1rem; gap: 3rem; align-items: center; }
  .hero-image { justify-content: flex-end; }
  .hero-image img { width: 25rem; height: 25rem; }
  .hero-slider { min-height: 600px; }
  .hero-slide { min-height: 600px; }
  .stats-grid { grid-template-columns: repeat(4,1fr); }
  .classes-grid { grid-template-columns: repeat(6,1fr); }
  .subjects-grid { grid-template-columns: repeat(7,1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(4,1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col.reverse { direction: rtl; } .two-col.reverse > * { direction: ltr; }
  .four-grid { grid-template-columns: repeat(4,1fr); }
  .benefit-visual { display: flex; }
  .yt-grid { grid-template-columns: 1fr 1fr; }
  .programs-grid { grid-template-columns: repeat(3,1fr); }
  .login-left { display: flex; flex-direction: column; flex: 1; }
  .login-page { flex-direction: row; }
  .login-mobile-logo { display: none; }
  .features-grid { grid-template-columns: repeat(5,1fr); }
  .class-row-flex { flex-direction: row; gap: 4rem; justify-content: space-between; }
  .class-row-reverse { flex-direction: row-reverse; }
  .class-img-col { width: 30%; justify-content: flex-start; }
  .class-content-col { width: 50%; }
  .class-points li { font-size: 1rem; }
}
@media (max-width: 767px) {
  .desktop-nav, .desktop-actions { display: none; }
  .mobile-toggle { display: block; }
  .benefit-card { flex-direction: column; }
}
