/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #fafaf7;
  color: #0a1628;
  overflow-x: hidden;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(#0ea5e9, #7c3aed);
  border-radius: 99px;
}

/* ─── Noise texture overlay ─── */
.noise::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ─── Animated gradient border ─── */
.grad-border {
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #0ea5e9, #7c3aed, #f59e0b) border-box;
  border: 2px solid transparent;
}

/* ─── Navbar ─── */
#navbar {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#navbar.scrolled {
  background: rgba(10, 22, 40, 0.97) !important;
  backdrop-filter: blur(24px);
  box-shadow: 0 2px 32px rgba(14, 165, 233, 0.15);
}
.nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0ea5e9, #7c3aed);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s;
}
.nav-link:hover {
  color: #fff;
}
.nav-link:hover::after {
  transform: scaleX(1);
}
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobileMenu.open {
  max-height: 520px;
}
.hbar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 99px;
  transition: all 0.3s;
}
#hbgBtn.open .hbar:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
#hbgBtn.open .hbar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#hbgBtn.open .hbar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ─── Hero ─── */
.hero-mesh {
  background:
    radial-gradient(
      ellipse 70% 60% at 85% 15%,
      rgba(14, 165, 233, 0.22) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 50% at 15% 80%,
      rgba(124, 58, 237, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 40% 40% at 50% 50%,
      rgba(245, 158, 11, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(160deg, #0a1628 0%, #0d1f3c 40%, #132848 100%);
}
.hero-badge {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #7dd3fc;
  backdrop-filter: blur(8px);
}
.hero-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

/* ─── Ticker ─── */
.ticker-wrap {
  overflow: hidden;
  background: linear-gradient(90deg, #0ea5e9, #7c3aed);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── Section tag ─── */
.stag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.stag-sky {
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  border: 1.5px solid rgba(14, 165, 233, 0.25);
}
.stag-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1.5px solid rgba(245, 158, 11, 0.25);
}
.stag-violet {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1.5px solid rgba(124, 58, 237, 0.25);
}
.stag-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
}
.stag-rose {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
  border: 1.5px solid rgba(244, 63, 94, 0.25);
}

/* ─── Scroll Reveal ─── */
.sr,
.sr-l,
.sr-r,
.sr-s {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.sr {
  opacity: 0;
  transform: translateY(32px);
}
.sr-l {
  opacity: 0;
  transform: translateX(-32px);
}
.sr-r {
  opacity: 0;
  transform: translateX(32px);
}
.sr-s {
  opacity: 0;
  transform: scale(0.88);
  transition-duration: 0.55s;
}
.sr.show,
.sr-l.show,
.sr-r.show,
.sr-s.show {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.08s;
}
.d2 {
  transition-delay: 0.16s;
}
.d3 {
  transition-delay: 0.24s;
}
.d4 {
  transition-delay: 0.32s;
}
.d5 {
  transition-delay: 0.4s;
}
.d6 {
  transition-delay: 0.48s;
}

/* ─── Animations ─── */
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}
@keyframes floatR {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(8deg);
  }
}
@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.45);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(14, 165, 233, 0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes gradShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes countBus {
  0% {
    transform: translateX(-120px);
  }
  49% {
    transform: translateX(102vw);
  }
  50% {
    transform: translateX(102vw) scaleX(-1);
  }
  99% {
    transform: translateX(-120px) scaleX(-1);
  }
  100% {
    transform: translateX(-120px);
  }
}

.anim-float {
  animation: floatY 4.5s ease-in-out infinite;
}
.anim-floatR {
  animation: floatR 5s ease-in-out infinite;
}
.pulse-anim {
  animation: pulseRing 2.2s ease-in-out infinite;
}
.anim-fadeUp {
  animation: fadeUp 0.9s ease both;
}
.anim-spin {
  animation: spin 12s linear infinite;
}
.shimmer-text {
  background: linear-gradient(
    90deg,
    #0ea5e9 0%,
    #7c3aed 30%,
    #f59e0b 60%,
    #0ea5e9 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite;
}

/* ─── Gradient text ─── */
.gtext-sky {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gtext-warm {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gtext-violet {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gtext-multi {
  background: linear-gradient(135deg, #0ea5e9, #7c3aed, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradShift 4s ease infinite;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  color: #fff;
  font-weight: 700;
  font-size: 0.925rem;
  border-radius: 50px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);

}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary span {
  position: relative;
  z-index: 1;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  font-size: 0.925rem;
  border-radius: 50px;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #0a1628;
  color: #fff;
  font-weight: 700;
  font-size: 0.925rem;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}
.btn-navy:hover {
  background: #132848;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.3);
}
.ripple-btn {
  position: relative;
  overflow: hidden;
}
.rpl {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.65s linear;
  pointer-events: none;
}

/* ─── Cards ─── */
.prog-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.prog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(10, 22, 40, 0.12);
  border-color: transparent;
}
.prog-card .card-accent {
  height: 4px;
  background: var(--accent);
}
.teacher-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f1f5f9;
  transition: all 0.35s ease;
}
.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(10, 22, 40, 0.14);
}
.tc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.9) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: inherit;
}
.teacher-card:hover .tc-overlay {
  opacity: 1;
}
.stat-card {
  border-radius: 20px;
  background: #fff;
  border: 1px solid #f1f5f9;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.stat-card:hover {
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.1);
  transform: translateY(-4px);
}
.ev-card {
  border-radius: 20px;
  background: #fff;
  border: 1px solid #f1f5f9;
  overflow: hidden;
  transition: all 0.3s;
}
.ev-card:hover {
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.1);
  transform: translateY(-4px);
}
.testi-card {
  border-radius: 20px;
  background: #fff;
  padding: 28px;
  border: 1px solid #f1f5f9;
  height: 100%;
  transition: all 0.3s;
}
.testi-card:hover {
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
}

/* ─── Gallery ─── */
.gal-item {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4/3;
  background: #e2e8f0;
}
.gal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.gal-item:hover .gal-img {
  transform: scale(1.12);
  filter: brightness(1.05);
}

/* ─── FAQ ─── */
.faq-row {
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  background: #fff;
}
.faq-row.active {
  border-color: #0ea5e9;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.12);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.38s ease,
    padding 0.3s;
}
.faq-body.open {
  max-height: 280px;
  padding-bottom: 20px;
}
.faq-icon {
  transition: transform 0.3s;
}
.faq-row.active .faq-icon {
  transform: rotate(45deg);
}

/* ─── Swiper custom ─── */
.swiper-button-next,
.swiper-button-prev {
  width: 44px !important;
  height: 44px !important;
  background: linear-gradient(135deg, #0ea5e9, #7c3aed) !important;
  border-radius: 50%;
  color: #fff !important;
  box-shadow: 0 4px 16px #0ea5e94d;
  transition: all 0.2s;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: 800;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.1);
}
.swiper-pagination-bullet {
  background: #0ea5e9 !important;
  opacity: 0.35 !important;
  width: 8px !important;
  height: 8px !important;
  transition: all 0.3s;
}
.swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 28px !important;
  border-radius: 4px !important;
  background: linear-gradient(90deg, #0ea5e9, #7c3aed) !important;
}

/* ─── Form ─── */
.finp {
  width: 100%;
  border: 2px solid #e8ecf2;
  border-radius: 14px;
  padding: 12px 18px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0a1628;
  background: #fff;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.finp:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}
.finp::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* ─── Count num ─── */
.count-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1;
}

/* ─── Back to top ─── */
#btt {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
#btt.show {
  opacity: 1;
  pointer-events: all;
}
#btt:hover {
  transform: translateY(-4px);
}

/* ─── Strip ─── */
.accent-strip {
  height: 5px;
  background: linear-gradient(
    90deg,
    #0ea5e9 0%,
    #7c3aed 35%,
    #f59e0b 65%,
    #10b981 100%
  );
}

/* ─── Checklist ─── */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Why cards ─── */
.why-card {
  border-radius: 20px;
  padding: 28px;
  border: 1.5px solid #f1f5f9;
  background: #fff;
  transition: all 0.32s;
}
.why-card:hover {
  border-color: var(--clr);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  transform: translateY(-6px);
}
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: transform 0.5s;
}
.why-card:hover .why-icon {
  transform: rotate(360deg) scale(1.1);
}

/* ─── Section separator ─── */
.section-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .hero-h1 {
    font-size: 2.4rem !important;
  }
  .sec-h2 {
    font-size: 2rem !important;
  }
}

/* ─── Bus animation ─── */
.school-bus {
  position: absolute;
  bottom: 0;
  font-size: 2rem;
  animation: countBus 20s linear infinite;
  z-index: 0;
}
.bannerimg{
    animation: floatY 3.5s ease-in-out infinite;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-26px);
  }
}