/* ==========================================================================
   THE SPARK SCHOOL & COLLEGE - 3D ATTRACTIVE & FULLY ANIMATED DESIGN SYSTEM
   Theme: Emerald Green (#065f46 / #059669) & Amber Gold (#f59e0b / #fbbf24)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-deep: #064e3b;
  --primary-main: #065f46;
  --primary-light: #059669;
  --primary-glow: #10b981;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-cyan: #06b6d4;
  --dark-slate: #0f172a;
  --dark-surface: #1e293b;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 20px 45px -10px rgba(6, 78, 59, 0.15), 0 0 25px rgba(255, 255, 255, 0.5) inset;
  --card-radius: 18px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #334155;
  background-color: #f8fafc;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700;
  color: var(--dark-slate);
  letter-spacing: -0.02em;
}

/* 3D Canvas Background Container */
.spark-3d-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

/* Floating 3D Ambient Orbs */
.spark-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb3D 14s ease-in-out infinite alternate;
}
.spark-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0) 70%);
  top: -80px;
  left: -100px;
}
.spark-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0) 70%);
  top: 200px;
  right: -120px;
  animation-duration: 18s;
  animation-direction: alternate-reverse;
}
.spark-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(6, 78, 59, 0) 70%);
  bottom: -60px;
  left: 30%;
  animation-duration: 16s;
}

@keyframes floatOrb3D {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(40px, -30px, 50px) scale(1.1) rotate(90deg); }
  100% { transform: translate3d(-30px, 40px, -40px) scale(0.95) rotate(180deg); }
}

/* ==========================================================================
   TOPBAR & ANNOUNCEMENT TICKER (LATEST MODERN LAYOUT)
   ========================================================================== */
.spark-topbar {
  background: linear-gradient(90deg, #064e3b 0%, #065f46 50%, #047857 100%);
  color: #e2e8f0;
  font-size: 13px;
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.spark-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}
.spark-topbar a {
  color: #fcd34d;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.spark-topbar a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}
.spark-ticker-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  flex: 1;
  max-width: 720px;
}
.spark-ticker-badge {
  background: #f59e0b;
  color: #0f172a;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
  z-index: 5;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  line-height: 1;
}
.spark-ticker-marquee {
  overflow: hidden;
  white-space: nowrap;
  flex-grow: 1;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15px, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black 95%, transparent);
}
.spark-ticker-text {
  font-weight: 500;
  color: #ecfdf5;
  display: inline-block;
  padding-left: 20px;
  animation: tickerScroll 26s linear infinite;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.spark-topbar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  font-size: 12.5px;
  white-space: nowrap;
}

/* ==========================================================================
   LATEST ANNOUNCEMENTS & NOTICE BOARD SECTION
   ========================================================================== */
.spark-notice-section {
  padding: 70px 0 60px 0;
  background: #f8fafc;
  position: relative;
}
.spark-notice-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.spark-notice-tab-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.spark-notice-tab-btn:hover,
.spark-notice-tab-btn.active {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}
.spark-notices-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}
.spark-notice-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.spark-notice-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}
.spark-notice-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 35px -8px rgba(6, 78, 59, 0.16), 0 0 0 1.5px rgba(16, 185, 129, 0.4);
}
.spark-notice-date-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #ffffff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(6, 95, 70, 0.25);
}
.spark-notice-date-day {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.spark-notice-date-month {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a7f3d0;
  margin-top: 2px;
}
.spark-notice-content {
  flex-grow: 1;
}
.spark-notice-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.spark-notice-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
}
.spark-notice-tag.urgent { background: #fee2e2; color: #dc2626; }
.spark-notice-tag.academic { background: #e0f2fe; color: #0284c7; }
.spark-notice-tag.event { background: #fef3c7; color: #d97706; }
.spark-notice-tag.circular { background: #f3e8ff; color: #7e22ce; }
.spark-notice-campus {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.spark-notice-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-slate);
  margin: 0 0 6px 0;
  line-height: 1.35;
}
.spark-notice-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Quick Downloads & Calendar Widget */
.spark-download-widget {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.8);
}
.spark-download-widget h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark-slate);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.spark-download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spark-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}
.spark-download-item:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
  transform: translateX(4px);
}
.spark-download-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.spark-download-info i {
  font-size: 20px;
  color: #ef4444;
}
.spark-download-info strong {
  display: block;
  font-size: 13px;
  color: var(--dark-slate);
}
.spark-download-info span {
  font-size: 11px;
  color: #94a3b8;
}
.spark-download-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #059669;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

/* Wing Buttons High Contrast */
.spark-btn-wing {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  transition: var(--transition-smooth);
  margin-top: auto;
}
.spark-btn-wing.junior {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1.5px solid #a7f3d0 !important;
}
.spark-btn-wing.junior:hover {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
}
.spark-btn-wing.middle {
  background: #f0f9ff !important;
  color: #0369a1 !important;
  border: 1.5px solid #bae6fd !important;
}
.spark-btn-wing.middle:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}
.spark-btn-wing.secondary {
  background: #f5f3ff !important;
  color: #6d28d9 !important;
  border: 1.5px solid #ddd6fe !important;
}
.spark-btn-wing.secondary:hover {
  background: #7c3aed !important;
  color: #ffffff !important;
  border-color: #7c3aed !important;
}
.spark-btn-wing.college {
  background: #fffbeb !important;
  color: #92400e !important;
  border: 1.5px solid #fde68a !important;
}
.spark-btn-wing.college:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}

/* ==========================================================================
   GLASSMORPHISM NAVBAR
   ========================================================================== */
.spark-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition-smooth);
}
.spark-navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 0;
  box-shadow: 0 15px 35px -5px rgba(6, 78, 59, 0.15);
}
.spark-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}
.spark-brand-logo {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(6, 78, 59, 0.25));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.spark-brand:hover .spark-brand-logo {
  transform: scale(1.08) rotate(2deg);
}
.spark-brand-text {
  display: flex;
  flex-direction: column;
}
.spark-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.spark-brand-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav Menu Items */
.spark-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.spark-nav-item {
  position: relative;
}
.spark-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-radius: 10px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.spark-nav-link:hover,
.spark-nav-link.active {
  color: var(--primary-main);
  background: rgba(6, 95, 70, 0.08);
  transform: translateY(-2px);
}
.spark-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) perspective(500px) rotateX(-8deg);
  transform-origin: top center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  border: none !important;
  margin: 0;
}
.spark-nav-item:hover .spark-nav-dropdown,
.spark-nav-item.open .spark-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) perspective(500px) rotateX(0deg);
  display: block !important;
}
.spark-nav-dropdown a,
.spark-nav-dropdown .spark-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.spark-nav-dropdown a:hover,
.spark-nav-dropdown .spark-nav-dropdown-item:hover {
  background: #ecfdf5;
  color: var(--primary-main);
  transform: translateX(4px);
}

/* 3D Portal Login Button */
.spark-btn-login-3d {
  background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 12px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 20px -5px rgba(5, 150, 105, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: perspective(600px) translateZ(0);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.spark-btn-login-3d:hover {
  transform: perspective(600px) translateY(-3px) translateZ(10px);
  box-shadow: 0 16px 28px -6px rgba(5, 150, 105, 0.6), 0 0 15px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #10b981 0%, #065f46 100%);
}

/* ==========================================================================
   3D HERO SECTION
   ========================================================================== */
.spark-hero-section {
  position: relative;
  min-height: 640px;
  padding: 70px 0 90px 0;
  background: linear-gradient(145deg, #f0fdf4 0%, #f8fafc 45%, #ecfdf5 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.spark-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px -6px rgba(6, 95, 70, 0.15);
  animation: float3D 4s ease-in-out infinite alternate;
}
.spark-hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.18;
  color: var(--dark-slate);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.spark-hero-title .spark-highlight {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.2));
}
.spark-hero-desc {
  font-size: 17px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 30px;
  max-width: 580px;
}
.spark-hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.spark-btn-primary-3d {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 14px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 25px -6px rgba(5, 150, 105, 0.45);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.spark-btn-primary-3d:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 35px -6px rgba(5, 150, 105, 0.6), 0 0 20px rgba(16, 185, 129, 0.5);
}
.spark-btn-secondary-3d {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #065f46 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 14px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(6, 95, 70, 0.2);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.spark-btn-secondary-3d:hover {
  background: #ffffff;
  color: #047857 !important;
  transform: translateY(-4px) scale(1.02);
  border-color: #059669;
  box-shadow: 0 16px 30px -8px rgba(6, 95, 70, 0.25);
}

/* 3D Showcase Card in Hero (Right Column) */
.spark-hero-visual {
  position: relative;
  perspective: 1200px;
}
.spark-3d-card-stack {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.spark-hero-image-card {
  width: 100%;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(6, 78, 59, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5);
  position: relative;
  background: #0f172a;
}
.spark-hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.spark-hero-image-card:hover img {
  transform: scale(1.06);
}
.spark-hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.1) 0%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
}
.spark-hero-image-overlay h3 {
  color: #ffffff !important;
  font-size: 22px;
  margin: 0 0 4px 0;
}
.spark-hero-image-overlay p {
  color: #cbd5e1;
  font-size: 13.5px;
  margin: 0;
}

/* Floating 3D Badges around Hero Card */
.spark-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 35px -8px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  z-index: 10;
  animation: float3D 5s ease-in-out infinite alternate;
}
.spark-float-badge-1 {
  top: -20px;
  left: -25px;
  animation-duration: 4.5s;
}
.spark-float-badge-2 {
  bottom: 25px;
  right: -25px;
  animation-duration: 5.5s;
  animation-delay: -1.5s;
}
.spark-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.spark-badge-icon.gold { background: #fef3c7; color: #d97706; }
.spark-badge-icon.green { background: #d1fae5; color: #059669; }
.spark-badge-text strong {
  display: block;
  font-size: 14.5px;
  color: var(--dark-slate);
  font-weight: 800;
}
.spark-badge-text span {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

@keyframes float3D {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(1.5deg); }
}

/* ==========================================================================
   3D STATS COUNTER BAR
   ========================================================================== */
.spark-stats-wrapper {
  margin-top: -45px;
  position: relative;
  z-index: 20;
}
.spark-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.spark-stat-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--card-radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  transform: perspective(800px) translateZ(0);
}
.spark-stat-card:hover {
  transform: perspective(800px) translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.25);
  border-color: rgba(16, 185, 129, 0.4);
}
.spark-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #059669, #f59e0b);
}
.spark-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.spark-stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.spark-section {
  padding: 85px 0;
  position: relative;
}
.spark-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px auto;
}
.spark-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.spark-section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 14px;
}
.spark-section-desc {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   3D PILLARS OF EXCELLENCE CARDS
   ========================================================================== */
.spark-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.spark-pillar-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 32px 24px;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.8);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}
.spark-pillar-card:hover {
  transform: translateY(-10px) rotateX(4deg);
  box-shadow: 0 25px 50px -15px rgba(6, 78, 59, 0.2), 0 0 0 1px rgba(16, 185, 129, 0.4);
}
.spark-pillar-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
  transition: transform 0.4s ease;
}
.spark-pillar-card:hover .spark-pillar-icon-box {
  transform: scale(1.15) rotate(6deg);
}
.spark-icon-emerald { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); color: #059669; }
.spark-icon-amber { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #d97706; }
.spark-icon-cyan { background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%); color: #0891b2; }
.spark-icon-purple { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); color: #7e22ce; }

.spark-pillar-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark-slate);
}
.spark-pillar-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   ACADEMIC WINGS (SCHOOL & COLLEGE)
   ========================================================================== */
.spark-wings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.spark-wing-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.7);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.spark-wing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.22);
}
.spark-wing-header {
  padding: 24px 22px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.spark-wing-header.w-junior { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.spark-wing-header.w-middle { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.spark-wing-header.w-secondary { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.spark-wing-header.w-college { background: linear-gradient(135deg, #b45309 0%, #78350f 100%); }

.spark-wing-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 9px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}
.spark-wing-header h3 {
  color: #ffffff !important;
  font-size: 20px;
  margin: 0;
}
.spark-wing-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.spark-wing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}
.spark-wing-list li {
  font-size: 13.5px;
  color: #475569;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed #f1f5f9;
}
.spark-wing-list li i {
  color: #10b981;
  font-size: 12px;
}

/* ==========================================================================
   6 CAMPUSES SHOWCASE (3D GRID)
   ========================================================================== */
.spark-campuses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.spark-campus-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}
.spark-campus-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 50px -15px rgba(6, 78, 59, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.4);
}
.spark-campus-img {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}
.spark-campus-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.spark-campus-card:hover .spark-campus-img img {
  transform: scale(1.1);
}
.spark-campus-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fef08a;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.spark-campus-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.spark-campus-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-slate);
  margin: 0 0 10px 0;
}
.spark-campus-detail {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.spark-campus-detail i {
  color: var(--primary-main);
  margin-top: 3px;
}
.spark-campus-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   LEADERSHIP & MENTORS SPOTLIGHT (3D MESSAGE CARDS)
   ========================================================================== */
.spark-leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.spark-leader-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.spark-leader-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(6, 78, 59, 0.22);
  border-color: rgba(16, 185, 129, 0.3);
}
.spark-leader-avatar-box {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px auto;
}
.spark-leader-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.35);
  position: relative;
  z-index: 2;
}
.spark-leader-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #f59e0b);
  z-index: 1;
  animation: rotate3D 10s linear infinite;
}
@keyframes rotate3D {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.spark-leader-card h3 {
  font-size: 19px;
  margin: 0 0 4px 0;
  color: var(--dark-slate);
}
.spark-leader-role {
  font-size: 12.5px;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.spark-leader-quote {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  font-style: italic;
  position: relative;
  padding: 0 6px;
}
.spark-leader-quote::before {
  content: '“';
  font-size: 40px;
  color: #cbd5e1;
  line-height: 0;
  vertical-align: -14px;
  margin-right: 4px;
}
.spark-leader-quote::after {
  content: '”';
  font-size: 40px;
  color: #cbd5e1;
  line-height: 0;
  vertical-align: -14px;
  margin-left: 4px;
}

/* ==========================================================================
   3D ADMISSIONS CTA BANNER
   ========================================================================== */
.spark-cta-section {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #047857 100%);
  border-radius: 28px;
  padding: 60px 45px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 30px 65px -15px rgba(6, 78, 59, 0.45);
  margin: 40px 0 70px 0;
}
.spark-cta-section h2 {
  color: #ffffff !important;
  font-size: 38px;
  margin-bottom: 14px;
}
.spark-cta-section p {
  color: #d1fae5;
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 28px;
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */
.spark-footer {
  background: #09131a;
  color: #94a3b8;
  padding: 70px 0 25px 0;
  position: relative;
  font-size: 14px;
}
.spark-footer h5 {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.spark-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: #f59e0b;
  border-radius: 2px;
}
.spark-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.spark-footer a:hover {
  color: #34d399;
  padding-left: 4px;
}
.spark-footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.spark-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0 !important;
  transition: var(--transition-smooth);
}
.spark-social-btn:hover {
  background: #059669;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1);
}
.spark-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   MODERN 3D LOGIN MODAL
   ========================================================================== */
.spark-modal-content {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.spark-modal-header {
  background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
  color: #ffffff;
  padding: 24px 28px;
  border-bottom: none;
}
.spark-modal-header h4 {
  color: #ffffff !important;
  font-size: 22px;
  margin: 0;
}
.spark-modal-body {
  padding: 30px 28px;
  background: #ffffff;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .spark-hero-title { font-size: 34px; }
  .spark-stats-grid,
  .spark-pillars-grid,
  .spark-wings-grid,
  .spark-campuses-grid,
  .spark-leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .spark-hero-title { font-size: 28px; }
  .spark-stats-grid,
  .spark-pillars-grid,
  .spark-wings-grid,
  .spark-campuses-grid,
  .spark-leadership-grid {
    grid-template-columns: 1fr;
  }
  .spark-hero-btns { flex-direction: column; width: 100%; }
  .spark-hero-btns a { width: 100%; justify-content: center; }
  .spark-float-badge { display: none; }
}

/* 3D Floating WhatsApp Widget Engine */
.spark-wa-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 50%;
  font-size: 32px;
  text-decoration: none !important;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  transform: perspective(500px) translateZ(0);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}
.spark-wa-btn:hover {
  transform: perspective(500px) translateY(-5px) scale(1.08) translateZ(10px);
  box-shadow: 0 16px 32px -4px rgba(37, 211, 102, 0.65), 0 0 20px rgba(37, 211, 102, 0.4);
}
.spark-wa-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: sparkWaPulse 2.2s infinite cubic-bezier(0.24, 0, 0.38, 1);
  z-index: -1;
}
@keyframes sparkWaPulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.spark-wa-tooltip {
  position: absolute;
  right: 72px;
  background: #0f172a;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  pointer-events: none;
}
.spark-wa-btn:hover .spark-wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
