/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; color: #1a1a2e; background: #fff; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── CSS VARIABLES ── */
:root {
  --blue: #0a2463;
  --blue-mid: #1352a3;
  --accent: #e63946;
  --gold: #f4a261;
  --light: #f8faff;
  --gray: #6b7280;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(10,36,99,0.12);
  --shadow-lg: 0 20px 60px rgba(10,36,99,0.18);
}

/* ── TYPOGRAPHY ── */
h1,h2,h3 { font-family: 'Syne', sans-serif; line-height: 1.15; }
em { font-style: normal; color: var(--accent); }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 14px 28px; border-radius: 50px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem;
  transition: all 0.3s; letter-spacing: 0.3px;
  border: 2px solid var(--accent);
}
.btn-primary:hover { background: #c1121f; border-color: #c1121f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  padding: 14px 28px; border-radius: 50px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-white {
  display: inline-flex; align-items: center;
  background: #fff; color: var(--blue);
  padding: 12px 24px; border-radius: 50px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem;
  transition: all 0.3s; white-space: nowrap;
}
.btn-white:hover { background: var(--blue); color: #fff; }

.section-tag {
  display: inline-block;
  background: rgba(10,36,99,0.08); color: var(--blue-mid);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-tag.alt { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--blue); margin-bottom: 16px; }
.section-title.light { color: #fff; }
.section-sub { color: var(--gray); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light .section-sub { color: rgba(255,255,255,0.75); }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,36,99,0.08);
  transition: all 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(10,36,99,0.1); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.logo-name { display: block; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: var(--blue); line-height: 1.2; }
.logo-sub { display: block; font-size: 0.72rem; color: var(--gray); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  color: var(--blue); transition: all 0.2s;
}
.nav-links a:hover { background: var(--light); color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff;
  padding: 10px 20px; border-radius: 50px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem;
  transition: all 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: #c1121f; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--blue); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; flex-direction: column; padding: 16px 24px 24px;
  background: #fff; border-top: 1px solid rgba(10,36,99,0.08);
}
.mobile-menu.open { display: flex; }
.mob-link { padding: 12px 0; font-weight: 500; color: var(--blue); border-bottom: 1px solid rgba(10,36,99,0.06); }
.mob-cta { margin-top: 16px; background: var(--accent); color: #fff; padding: 14px; text-align: center; border-radius: 12px; font-family: 'Syne', sans-serif; font-weight: 700; }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,36,99,0.88) 0%, rgba(10,36,99,0.65) 60%, rgba(19,82,163,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px;
  max-width: 800px; padding-left: 48px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 500; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff;
  margin-bottom: 24px; line-height: 1.1;
}
.hero-title .line1 { display: block; }
.hero-title .line2 { display: block; color: var(--gold); }
.hero-desc { color: rgba(255,255,255,0.85); font-size: 1.1rem; line-height: 1.7; margin-bottom: 36px; max-width: 560px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.stat { text-align: center; padding: 0 28px; }
.stat:first-child { padding-left: 0; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; color: #fff; }
.stat-plus { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.stat-label { display: block; color: rgba(255,255,255,0.7); font-size: 0.82rem; margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.25); }
.hero-scroll {
  position: absolute; bottom: 40px; right: 48px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 48px; background: rgba(255,255,255,0.4); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.3)} }

/* ── MARQUEE ── */
.marquee-bar { background: var(--accent); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 25s linear infinite; }
.marquee-track span { color: #fff; font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.5px; padding-right: 32px; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── ABOUT ── */
.about { padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }
.about-img-side {
  position: absolute; bottom: -32px; right: -32px;
  width: 200px; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid #fff;
}
.about-img-side img { width: 100%; height: 200px; object-fit: cover; object-position: top; }
.about-badge-float {
  position: absolute; top: -20px; left: -20px;
  background: var(--blue); color: #fff; border-radius: 16px;
  padding: 16px 20px; text-align: center; box-shadow: var(--shadow);
}
.badge-year { display: block; font-size: 0.75rem; letter-spacing: 2px; opacity: 0.7; }
.badge-num { display: block; font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; line-height: 1; }
.about-text { padding-right: 16px; }
.about-lead { font-size: 1.1rem; color: var(--blue); font-weight: 500; margin-bottom: 16px; line-height: 1.65; }
.about-body { color: var(--gray); line-height: 1.75; margin-bottom: 32px; }
.trust-badges { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.trust-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px; background: var(--light); border-radius: 12px; border-left: 3px solid var(--blue-mid); }
.trust-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; font-family: 'Syne', sans-serif; color: var(--blue); font-size: 0.95rem; margin-bottom: 2px; }
.trust-item span { font-size: 0.82rem; color: var(--gray); }

/* ── COURSES ── */
.courses { padding: 96px 0; background: var(--light); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-bottom: 40px; }
.course-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: 0 2px 16px rgba(10,36,99,0.07);
  border: 1px solid rgba(10,36,99,0.06);
  position: relative; overflow: hidden; transition: all 0.3s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card.featured { border: 2px solid var(--blue-mid); }
.course-card.more-courses { background: var(--blue); color: #fff; border: none; }
.course-card.more-courses .course-desc { color: rgba(255,255,255,0.8); }
.course-card.more-courses .course-btn { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.5); }
.course-card.more-courses .course-btn:hover { background: #fff; color: var(--blue); }
.course-ribbon {
  position: absolute; top: 16px; right: -28px;
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 5px 36px;
  transform: rotate(45deg); font-family: 'Syne', sans-serif;
}
.course-icon { font-size: 2rem; margin-bottom: 12px; }
.course-card h3 { font-family: 'Syne', sans-serif; font-size: 1.25rem; color: var(--blue); margin-bottom: 4px; }
.course-full { font-size: 0.82rem; color: var(--gray); margin-bottom: 12px; }
.course-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.course-meta span { font-size: 0.78rem; color: var(--blue-mid); background: rgba(19,82,163,0.08); padding: 4px 10px; border-radius: 50px; }
.course-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin-bottom: 20px; }
.course-btn {
  display: inline-block; padding: 10px 20px; border-radius: 50px;
  background: transparent; border: 2px solid var(--blue-mid); color: var(--blue-mid);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem;
  transition: all 0.2s;
}
.course-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.scholarship-banner {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: var(--radius); padding: 28px 36px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  color: #fff;
}
.schol-emoji { font-size: 2.4rem; flex-shrink: 0; }
.scholarship-banner div { flex: 1; }
.scholarship-banner strong { display: block; font-family: 'Syne', sans-serif; font-size: 1.2rem; margin-bottom: 4px; }
.scholarship-banner span { opacity: 0.8; font-size: 0.9rem; }

/* ── WHY US ── */
.why-us { padding: 96px 0; background: linear-gradient(135deg, var(--blue) 0%, #1a3a7a 100%); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.why-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 32px; transition: all 0.3s;
}
.why-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.why-num { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; color: rgba(255,255,255,0.15); margin-bottom: 12px; line-height: 1; }
.why-card h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; color: #fff; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.65; }

/* ── GALLERY ── */
.gallery { padding: 96px 0; }
.gallery-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; }
.g-tab {
  padding: 10px 28px; border-radius: 50px; border: 2px solid rgba(10,36,99,0.15);
  background: transparent; color: var(--gray); cursor: pointer;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.9rem; transition: all 0.2s;
}
.g-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.g-item { border-radius: 12px; overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.g-item:hover img { transform: scale(1.06); }
.g-item.tall { grid-row: span 2; }
.gallery-grid.cert { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 340px; }
.g-item.cert img { object-position: top; }

/* ── CONTACT ── */
.contact { padding: 96px 0; background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border-radius: 12px; padding: 20px;
  box-shadow: 0 2px 12px rgba(10,36,99,0.06);
}
.c-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-card strong { display: block; font-family: 'Syne', sans-serif; color: var(--blue); margin-bottom: 4px; font-size: 0.95rem; }
.contact-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }
.contact-card a { color: var(--blue-mid); font-weight: 600; }
.contact-card a:hover { color: var(--accent); }
.contact-social { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.social-btn {
  padding: 10px 20px; border-radius: 50px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem;
  transition: all 0.2s;
}
.social-btn.whatsapp { background: #25D366; color: #fff; }
.social-btn.facebook { background: #1877F2; color: #fff; }
.social-btn.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.social-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.contact-map { border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 380px; box-shadow: var(--shadow); }
.enquiry-strip {
  background: linear-gradient(135deg, var(--accent), #c1121f);
  border-radius: var(--radius); padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: #fff;
}
.enquiry-text h3 { font-family: 'Syne', sans-serif; font-size: 1.4rem; margin-bottom: 6px; }
.enquiry-text p { opacity: 0.85; }
.enquiry-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.enquiry-strip .btn-primary { background: #fff; color: var(--accent); border-color: #fff; }
.enquiry-strip .btn-primary:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.enquiry-strip .btn-secondary { border-color: rgba(255,255,255,0.6); }

/* ── FOOTER ── */
.footer { background: var(--blue); color: rgba(255,255,255,0.8); padding: 40px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { display: block; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; }
.footer-tagline { display: block; font-size: 0.8rem; opacity: 0.7; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.9rem; opacity: 0.75; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--gold); }
.footer-copy { font-size: 0.8rem; opacity: 0.55; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all 0.3s; animation: waPulse 3s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.6); }
@keyframes waPulse { 0%,100%{box-shadow:0 8px 24px rgba(37,211,102,0.4)} 50%{box-shadow:0 8px 32px rgba(37,211,102,0.7)} }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { max-width: 560px; margin: 0 auto; }
  .about-img-side { width: 160px; right: -16px; bottom: -16px; }
  .about-img-side img { height: 160px; }
  .about-text { padding-right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 100px 24px 72px; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 16px; }
  .stat-num { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-grid.cert { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .g-item.tall { grid-row: span 1; }
  .scholarship-banner { flex-direction: column; text-align: center; }
  .enquiry-strip { flex-direction: column; text-align: center; }
  .hero-scroll { display: none; }
  .about-img-side { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { text-align: center; justify-content: center; }
  .stat-divider { height: 32px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .courses-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
