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

:root {
  --green:      #1a5c2a;
  --green-dark: #123d1c;
  --green-light:#2a7a3a;
  --orange:     #e07b2a;
  --orange-dark:#c4661e;
  --orange-light:#f0923f;
  --white:      #ffffff;
  --off-white:  #f8f9f4;
  --light-gray: #f0f2eb;
  --mid-gray:   #9aab9a;
  --text:       #1c2b1c;
  --text-muted: #5a6b5a;
  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 4px 24px rgba(26,92,42,0.10);
  --shadow-md:  0 8px 36px rgba(26,92,42,0.15);
  --transition: 0.22s ease;
  --nav-h:      68px;
  --font:       'Segoe UI', 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  color: var(--green-dark);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--text-muted);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,0.30);
}
.btn-whatsapp:hover { background: #1db954; box-shadow: 0 6px 24px rgba(37,211,102,0.45); transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 18px rgba(224,123,42,0.30);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 6px 24px rgba(224,123,42,0.40); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--nav-h);
  box-shadow: 0 2px 16px rgba(26,92,42,0.10);
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: 0 4px 28px rgba(26,92,42,0.18); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img { display: block; }

.logo-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a5c2a;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.footer-brand .logo-title { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--green); background: var(--light-gray); }

.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  border-radius: 8px;
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--light-gray); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--green);
  border-radius: 4px;
  transition: all var(--transition);
}

/* hamburger animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, #2e7d42 100%);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(224,123,42,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,123,42,0.2);
  border: 1px solid rgba(224,123,42,0.4);
  color: #f5a55a;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.hero h1 span { color: var(--orange-light); }

.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.12rem;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat .lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.hero-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--white);
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.hero-card-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.hcf-icon {
  width: 36px;
  height: 36px;
  background: rgba(224,123,42,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
  background: var(--orange);
  padding: 12px 0;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee-inner span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0 24px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.marquee-inner span::after {
  content: '★';
  margin-left: 24px;
  opacity: 0.6;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== SECTION WRAPPER ===== */
.section { padding: 80px 0; }
.section-center { text-align: center; }
.section-alt { background: var(--off-white); }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-card {
  background: var(--white);
  border: 1.5px solid #e6ede6;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 0;
}

.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.feat-card:hover::before { transform: scaleX(1); }

.feat-icon {
  width: 54px;
  height: 54px;
  background: var(--light-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: background var(--transition);
}

.feat-card:hover .feat-icon { background: rgba(26,92,42,0.12); }

.feat-card h3 { color: var(--green-dark); margin-bottom: 8px; font-size: 1.08rem; }
.feat-card p  { font-size: 0.9rem; line-height: 1.6; }

/* ===== COURSES SECTION ===== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  background: var(--white);
  border: 1.5px solid #e6ede6;
}

.course-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }

.course-header {
  padding: 30px 28px 24px;
  position: relative;
}

.course-card.science .course-header   { background: linear-gradient(135deg, #1a5c2a 0%, #2a7a3a 100%); }
.course-card.commerce .course-header  { background: linear-gradient(135deg, #7b3500 0%, #c4661e 100%); }
.course-card.humanities .course-header{ background: linear-gradient(135deg, #1a4a7a 0%, #2563a8 100%); }

.course-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.course-header h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 4px; }
.course-header p  { color: rgba(255,255,255,0.72); font-size: 0.88rem; }

.course-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
}

.course-body { padding: 24px 28px; }

.course-subjects {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.course-subject {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}

.course-subject::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.course-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.meta-tag {
  background: var(--light-gray);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

/* ===== CLASSES SECTION ===== */
.classes-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid #e6ede6;
}

.classes-table {
  width: 100%;
  border-collapse: collapse;
}

.classes-table th {
  background: var(--green);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.classes-table td {
  padding: 14px 20px;
  font-size: 0.93rem;
  color: var(--text);
  border-bottom: 1px solid #edf2ed;
}

.classes-table tr:last-child td { border-bottom: none; }
.classes-table tr:nth-child(even) { background: var(--off-white); }
.classes-table tr:hover td { background: rgba(26,92,42,0.04); }

.table-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-cbse    { background: #e6f4ea; color: #1a5c2a; }
.badge-icse    { background: #fff3e0; color: #c4661e; }
.badge-both    { background: #e8f0fe; color: #1a56a8; }
.badge-online  { background: #f3e8ff; color: #7c3aed; }

/* ===== WHY CHOOSE ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-list { display: flex; flex-direction: column; gap: 20px; }

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-num {
  width: 40px; height: 40px;
  background: var(--green);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.why-content h4 { color: var(--green-dark); margin-bottom: 4px; font-size: 1rem; }
.why-content p  { font-size: 0.9rem; line-height: 1.6; }

.why-visual {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-visual::after {
  content: '🎓';
  position: absolute;
  right: -10px; bottom: -10px;
  font-size: 8rem;
  opacity: 0.07;
}

.why-visual-title { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.why-visual-sub   { color: rgba(255,255,255,0.72); margin-bottom: 32px; font-size: 0.95rem; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.stat-box .n { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-box .l { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 5px; letter-spacing: 0.04em; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border: 1.5px solid #e6ede6;
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: box-shadow var(--transition);
}

.testi-card:hover { box-shadow: var(--shadow-md); }

.testi-stars { color: var(--orange); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-quote { font-size: 0.93rem; line-height: 1.7; color: var(--text); font-style: italic; margin-bottom: 20px; }
.testi-quote::before { content: '"'; }
.testi-quote::after  { content: '"'; }

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.testi-name   { font-weight: 700; font-size: 0.92rem; color: var(--green-dark); }
.testi-detail { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #2e7d42 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 90% 50%, rgba(224,123,42,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p  { color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 34px; font-size: 1.05rem; }

.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-light {
  background: var(--white);
  color: var(--green);
  font-weight: 700;
}
.btn-light:hover { background: var(--off-white); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}


.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: rgba(255,255,255,0.2); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; }
.ci-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.ci-text { color: rgba(255,255,255,0.65); line-height: 1.5; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.40);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(224,123,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1   { color: var(--white); margin-bottom: 10px; }
.page-hero p    { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 520px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb span { color: var(--orange-light); font-weight: 600; }

/* ===== ABOUT PAGE ===== */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-main-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  color: var(--white);
}

.story-main-card h3 { color: var(--white); margin-bottom: 12px; }
.story-main-card p  { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.8; }

.story-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.story-float .big { font-size: 1.8rem; line-height: 1; }
.story-float .sm  { font-size: 0.75rem; opacity: 0.85; margin-top: 4px; }

.story-content .section-label { margin-top: 0; }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mission-card {
  background: var(--white);
  border: 1.5px solid #e6ede6;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: box-shadow var(--transition);
}

.mission-card:hover { box-shadow: var(--shadow-md); }

.mission-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.mission-card h3 { color: var(--green-dark); margin-bottom: 10px; }
.mission-card p  { font-size: 0.9rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1.5px solid #e6ede6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); }

.team-avatar {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.team-card:nth-child(1) .team-avatar { background: linear-gradient(135deg, #1a5c2a, #2a7a3a); }
.team-card:nth-child(2) .team-avatar { background: linear-gradient(135deg, #7b3500, #c4661e); }
.team-card:nth-child(3) .team-avatar { background: linear-gradient(135deg, #1a4a7a, #2563a8); }
.team-card:nth-child(4) .team-avatar { background: linear-gradient(135deg, #5a1a7a, #8b3ab0); }

.team-info { padding: 18px 18px 22px; }
.team-info h4 { color: var(--green-dark); margin-bottom: 4px; font-size: 1rem; }
.team-info .role { font-size: 0.8rem; color: var(--orange); font-weight: 600; margin-bottom: 8px; }
.team-info p { font-size: 0.84rem; line-height: 1.6; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ci-card {
  background: var(--white);
  border: 1.5px solid #e6ede6;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.ci-card:hover { box-shadow: var(--shadow); }

.ci-card-icon {
  width: 46px; height: 46px;
  background: var(--light-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ci-card-body h4 { color: var(--green-dark); margin-bottom: 6px; font-size: 0.95rem; }
.ci-card-body p, .ci-card-body a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.ci-card-body a:hover { color: var(--green); }

.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid #e6ede6;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 { color: var(--green-dark); margin-bottom: 6px; }
.contact-form-wrap > p { font-size: 0.9rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #dce8dc;
  border-radius: 9px;
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,92,42,0.10);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  background: #e6f4ea;
  border: 1px solid #b2dfb8;
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #1a5c2a;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
}

.form-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
}

.map-wrap {
  background: var(--off-white);
  border: 1.5px solid #e6ede6;
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  overflow: hidden;
  margin-top: 32px;
}

.map-placeholder {
  text-align: center;
  padding: 20px;
}
.map-placeholder .map-icon { font-size: 3rem; margin-bottom: 10px; }

/* ===== COURSES PAGE ===== */
.courses-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.course-full-card {
  background: var(--white);
  border: 1.5px solid #e6ede6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.course-full-card:hover { box-shadow: var(--shadow-md); }

.cfc-header {
  padding: 28px 28px 22px;
}

.course-full-card.sci   .cfc-header { background: linear-gradient(135deg, #1a5c2a, #2a7a3a); }
.course-full-card.com   .cfc-header { background: linear-gradient(135deg, #7b3500, #c4661e); }
.course-full-card.hum   .cfc-header { background: linear-gradient(135deg, #1a4a7a, #2563a8); }
.course-full-card.found .cfc-header { background: linear-gradient(135deg, #5a1a7a, #8b3ab0); }

.cfc-header-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.cfc-icon  { font-size: 2rem; }
.cfc-badge {
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
}
.cfc-header h3 { color: var(--white); margin-bottom: 5px; }
.cfc-header p  { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

.cfc-body { padding: 24px 28px; }

.cfc-subjects {
  margin-bottom: 22px;
}
.cfc-subjects h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 12px;
}

.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subject-tag {
  background: var(--light-gray);
  color: var(--text);
  font-size: 0.82rem;
  padding: 5px 13px;
  border-radius: 50px;
  font-weight: 500;
}

.cfc-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.cfc-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cfc-detail .dl { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.cfc-detail .dv { font-size: 0.92rem; color: var(--green-dark); font-weight: 600; }

/* ===== YOUTUBE VIDEOS ===== */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  z-index: 999;
}

.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover   { background: var(--green-dark); transform: translateY(-2px); }

/* ===== NOTICE BANNER ===== */
.notice-bar {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
}
.notice-bar a { color: var(--white); text-decoration: underline; margin-left: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
  .courses-grid       { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
  .team-grid          { grid-template-columns: repeat(2, 1fr); }
  .courses-full-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .section { padding: 60px 0; }

  /* Nav */
  .nav-toggle  { display: flex; }
  .nav-links   {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    box-shadow: 0 8px 28px rgba(26,92,42,0.15);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a     { padding: 13px 16px; border-radius: 10px; font-size: 1rem; }
  .nav-cta         { margin-left: 0; margin-top: 8px; }
  .nav-cta .btn    { width: 100%; justify-content: center; }

  /* Hero */
  .hero { padding: 60px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card  { display: none; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.5rem; }

  /* Grids */
  .features-grid     { grid-template-columns: 1fr; }
  .courses-grid      { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: 1fr; gap: 36px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .mission-grid      { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .about-story-grid  { grid-template-columns: 1fr; gap: 36px; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }

  /* Table */
  .classes-table-wrap { overflow-x: auto; }
  .classes-table      { min-width: 500px; }

  .story-float { position: static; margin-top: 16px; display: inline-block; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.wa-float::before {
  content: '';
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(37,211,102,0.3);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
