/* ── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: #4a4a4a; }
.text-brand-dark { color: #212A0B; }

/* ── Navbar ────────────────────────────────────────────── */
#navbar {
  background-color: transparent;
  padding-top: 10px;
  padding-bottom: 8px;
  transition: all 0.3s ease;
}
.navbar-inner {
  height: 4.2rem;
  transition: height 0.3s ease;
}
.nav-logo {
  height: 3.6rem;
  width: auto;
  filter: brightness(0) invert(1);
  transition: height 0.3s ease, filter 0.3s ease;
}

@media (min-width: 640px) {
  #navbar {
    padding-top: 18px;
    padding-bottom: 12px;
  }
  .navbar-inner {
    height: 5.5rem;
  }
  .nav-logo {
    height: 5rem;
  }
}

#navbar.scrolled {
  background-color: #ffffff;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
#navbar.scrolled .navbar-inner {
  height: 4.2rem;
}
#navbar.scrolled .nav-logo {
  height: 2.8rem;
  filter: none;
}

@media (min-width: 640px) {
  #navbar.scrolled .navbar-inner {
    height: 4.5rem;
  }
  #navbar.scrolled .nav-logo {
    height: 3rem;
  }
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.2s ease;
}
#navbar.scrolled .nav-link {
  color: #4a4a4a;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: #8DC63F;
  transition: width 0.3s ease;
}
.nav-link:hover,
#navbar.scrolled .nav-link:hover { 
  color: #8DC63F; 
}
.nav-link:hover::after { width: 100%; }

#hb1, #hb2, #hb3 {
  background-color: #ffffff;
  transition: all 0.3s ease;
}
#navbar.scrolled #hb1,
#navbar.scrolled #hb2,
#navbar.scrolled #hb3 {
  background-color: #333333;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero-bg {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 60%, #1a3a1a 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(141,198,63,0.18) 0%, transparent 60%);
  pointer-events: none;
}
/* ── Hero Character Orbit System ──────────────────────── */
.hero-orbit-container {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  pointer-events: none;
  z-index: 0;
}
.hero-aura-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.22) 0%, rgba(15, 52, 96, 0.2) 60%, transparent 80%);
  filter: blur(40px);
  pointer-events: none;
  animation: aura-glow-pulse 5s ease-in-out infinite;
}
@keyframes aura-glow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50%      { transform: translate(-50%, -50%) scale(1.1); opacity: 0.85; }
}

.hero-orbit-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  animation: orbit-rotate-cw 28s linear infinite;
  transform-origin: center center;
}
.hero-orbit-ring-inner {
  position: absolute;
  inset: 55px;
  border-radius: 50%;
  border: 1px solid rgba(141, 198, 63, 0.35);
  animation: orbit-rotate-ccw 20s linear infinite;
  transform-origin: center center;
}

@keyframes orbit-rotate-cw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes orbit-rotate-ccw {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

.orbit-badge-top {
  position: absolute;
  top: -16px;
  left: calc(50% - 16px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform-origin: center center;
}
.orbit-badge-bottom {
  position: absolute;
  bottom: -16px;
  left: calc(50% - 16px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform-origin: center center;
}

.counter-cw {
  animation: orbit-rotate-ccw 28s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-ccw {
  animation: orbit-rotate-cw 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
}
.hero-title .highlight {
  color: #8DC63F;
}
.hero-stat {
  border-left: 3px solid #8DC63F;
  padding-left: 16px;
}
.btn-primary {
  background: linear-gradient(135deg, #8DC63F, #6aad1e);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 14px 36px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(141,198,63,0.4);
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(141,198,63,0.5);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 26px;
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: #8DC63F;
  background: rgba(141,198,63,0.15);
  color: #8DC63F;
  transform: translateY(-2px);
}
.btn-nav, .btn-dark {
  background: #ffffff;
  color: #212A0B;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 26px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  display: inline-block;
  text-decoration: none;
}
.btn-nav:hover, .btn-dark:hover {
  background: #8DC63F;
  color: #ffffff;
  transform: translateY(-2px);
}
#navbar.scrolled .btn-nav,
#navbar.scrolled .btn-dark {
  background: #212A0B;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
#navbar.scrolled .btn-nav:hover,
#navbar.scrolled .btn-dark:hover {
  background: #8DC63F;
  color: #ffffff;
}

/* Floating country tags */
.country-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 8px 16px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Section headings ──────────────────────────────────── */
.section-label {
  display: inline-block;
  background: #f4f9ec;
  color: #8DC63F;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 5px 16px;
  border: 1px solid rgba(141,198,63,0.3);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
}
.section-title span { color: #8DC63F; }

/* ── Service Cards ─────────────────────────────────────── */
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8DC63F, #6aad1e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(141,198,63,0.15);
  border-color: rgba(141,198,63,0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4f9ec, #e6f5cc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.3s;
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, #8DC63F, #6aad1e);
}
.service-card:hover .service-icon-wrap svg { stroke: #fff; }
.service-icon-wrap svg { transition: stroke 0.3s; }
.service-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.5;
}
.service-bullet::before {
  content: '';
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #8DC63F;
  margin-top: 6px;
}

/* ── Why Us ────────────────────────────────────────────── */
.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(141,198,63,0.05) 0%, rgba(255,255,255,0) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}
.why-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-8px);
  border-color: rgba(141,198,63,0.2);
}
.why-card:hover::before {
  opacity: 1;
}
.why-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8DC63F, #5b9618);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(141,198,63,0.3);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
}
.why-card:hover .why-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 28px rgba(141,198,63,0.5);
}

/* ── Contact ───────────────────────────────────────────── */
.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
.contact-card:hover {
  box-shadow: 0 12px 40px rgba(141,198,63,0.12);
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #f4f9ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: #333333;
  border-top: 4px solid #484747;
}
.social-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-btn:hover {
  background: #8DC63F;
  color: #fff;
  transform: translateY(-2px);
}

/* ── Scroll-reveal utility ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Mobile menu */
#mobile-menu { 
  transition: max-height 0.4s ease, opacity 0.4s ease; 
  max-height: 0; 
  overflow: hidden; 
  opacity: 0; 
  background-color: #ffffff;
  border-radius: 16px;
}
#mobile-menu.open { 
  max-height: 400px; 
  opacity: 1; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 16px 20px;
  margin-top: 10px;
}
#mobile-menu .nav-link {
  color: #4a4a4a !important;
}

/* ── Destination Cards ─────────────────────────────────── */
.destination-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}
.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

/* ── Infinite University & Accreditations Marquee ──────── */
.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 1.5rem;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 1.5rem)); }
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  transition: all 0.3s ease;
}
.partner-badge:hover {
  transform: translateY(-2px);
  border-color: #8DC63F;
  box-shadow: 0 6px 18px rgba(141, 198, 63, 0.18);
}

/* ── Modal Popup Styles ────────────────────────────────── */
#counselling-modal.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}
#counselling-modal.active .modal-card {
  transform: scale(1) !important;
}

