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

/* Elfsight carousels extend past the viewport; clip them */
#reviews,
.elfsight-slot,
[class^="elfsight-app-"] {
  overflow-x: clip;
  max-width: 100%;
}

.whitespace-nowrap { white-space: nowrap; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Contact map card headings — equal height, nudged upward */
.map-card-heading {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 16px 8px;
}

/* ── Navbar ────────────────────────────────────────────── */
#navbar {
  background-color: rgba(249, 249, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 8px;
  padding-bottom: 8px;
  transition: all 0.3s ease;
}
.navbar-inner {
  height: 4.2rem;
  transition: height 0.3s ease;
}
.nav-logo {
  height: 2.7rem;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: height 0.3s ease, filter 0.3s ease;
}

@media (min-width: 640px) {
  #navbar {
    padding-top: 14px;
    padding-bottom: 10px;
  }
  .navbar-inner {
    height: 4.6rem;
  }
  .nav-logo {
    height: 3.4rem;
    max-width: 220px;
  }
}

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

#navbar.scrolled {
  background-color: #f9f9ef;
  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: 1024px) {
  #navbar {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #navbar.scrolled {
    background-color: #f9f9ef;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .lg\:hidden {
    display: none !important;
  }
}

#navbar.menu-open {
  background-color: #f9f9ef;
}

#navbar .btn-dark {
  padding: 8px 16px;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 1280px) {
  #navbar .btn-dark {
    padding: 10px 22px;
    font-size: 0.875rem;
  }
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #212A0B;
  transition: color 0.2s ease;
}
#navbar.scrolled .nav-link {
  color: #212A0B;
}
.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: #212A0B;
  transition: all 0.3s ease;
}
#navbar.scrolled #hb1,
#navbar.scrolled #hb2,
#navbar.scrolled #hb3 {
  background-color: #212A0B;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero-bg {
  background-color: #f9f9ef;
  position: relative;
  overflow: hidden;
  color: #212A0B;
}

/* About page hero — responsive copy + About-Us-bg.png artwork */
.about-hero {
  position: relative;
  overflow: hidden;
  background-color: #f9f9ef;
  padding-top: 7.25rem;
  padding-bottom: 6.5rem;
  min-height: 380px;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/About-Us-bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}
.about-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.about-hero__title {
  font-size: clamp(2rem, 7vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #212A0B;
  margin: 0 auto 0.65rem;
  text-align: center;
}
.about-hero__title span {
  color: #8DC63F;
}
.about-hero__rule {
  width: 3.5rem;
  height: 3px;
  border-radius: 999px;
  background: #8DC63F;
  margin: 0 auto 1.25rem;
}
.about-hero__rule--sm {
  width: 2.75rem;
  height: 2px;
  margin: 1.25rem auto 0;
  opacity: 0.75;
}
.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.about-hero__subtitle {
  font-size: clamp(1.05rem, 3.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #212A0B;
  margin: 0 0 0.75rem;
}
.about-hero__lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(0.875rem, 2.4vw, 1.05rem);
  line-height: 1.7;
  color: #4b5563;
}

/* Tablet */
@media (min-width: 640px) {
  .about-hero {
    padding-top: 8.75rem;
    padding-bottom: 6rem;
    min-height: 400px;
  }
  .about-hero::before {
    background-size: 100% auto;
    background-position: center bottom;
  }
  .about-hero__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .about-hero__rule {
    width: 4rem;
    height: 4px;
    margin-bottom: 1.5rem;
  }
  .about-hero__rule--sm {
    width: 3rem;
    margin-top: 1.5rem;
  }
}

/* Landscape tablets / small laptops */
@media (min-width: 768px) {
  .about-hero {
    padding-top: 9.25rem;
    padding-bottom: clamp(5.5rem, 11vw, 7.5rem);
    min-height: clamp(420px, 52vw, 540px);
  }
  .about-hero::before {
    background-size: 100% auto;
    background-position: center bottom;
  }
}

/* Desktop — tall logo clearance; title center, copy left */
@media (min-width: 1024px) {
  .about-hero {
    padding-top: 11rem;
    padding-bottom: clamp(6rem, 12vw, 9rem);
    min-height: clamp(480px, 42vw, 640px);
  }
  .about-hero::before {
    background-size: 100% auto;
    background-position: center bottom;
  }
  .about-hero__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .about-hero__content {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
  .about-hero__lead {
    margin-left: 0;
    margin-right: 0;
  }
  .about-hero__rule--sm {
    margin-left: 0;
    margin-right: auto;
  }
}

/* Large desktop */
@media (min-width: 1280px) {
  .about-hero {
    padding-top: 11.5rem;
    min-height: clamp(520px, 38vw, 680px);
  }
}

/* Very small phones */
@media (max-width: 379px) {
  .about-hero {
    padding-top: 6.75rem;
    padding-bottom: 4.5rem;
    min-height: 320px;
  }
  .about-hero__title {
    font-size: 1.85rem;
  }
  .about-hero__subtitle {
    font-size: 1rem;
  }
}

/* ── Services hero ─────────────────────────────────────── */
/* Layout: title top → map graphic middle → Study Abroad bottom */
.services-hero {
  position: relative;
  overflow: hidden;
  background-color: #f9f9ef;
  padding-top: 6.75rem;
  padding-bottom: 2.5rem;
}
.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/Services-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.services-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services-hero__top {
  width: 100%;
  text-align: center;
}
.services-hero__title {
  font-size: clamp(2rem, 6.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #212A0B;
  margin: 0 auto 0.85rem;
  text-align: center;
}
.services-hero__title span,
.services-hero__subtitle span {
  color: #8DC63F;
}
.services-hero__lead {
  margin: 0 auto;
  max-width: 40rem;
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  line-height: 1.7;
  color: #4b5563;
  text-align: center;
}
/* Spacer so map/flight path sits between the two text blocks */
.services-hero__bottom {
  width: 100%;
  text-align: center;
  margin-top: clamp(7rem, 22vw, 14rem);
}
.services-hero__subtitle {
  font-size: clamp(1.65rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #212A0B;
  margin: 0 auto 0.85rem;
  text-align: center;
}
.services-hero__sublead {
  margin: 0 auto;
  max-width: 44rem;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  line-height: 1.7;
  color: #6b7280;
  text-align: center;
}

@media (max-width: 479px) {
  .services-hero {
    padding-top: 6.25rem;
    padding-bottom: 2rem;
  }
  /*
   * Mobile: stack the map graphic twice so it sits under both
   * "Our Services" (top) and "Study Abroad" (lower block).
   */
  .services-hero::before {
    background-image:
      url('../images/Services-bg.png'),
      url('../images/Services-bg.png');
    background-repeat: no-repeat, no-repeat;
    background-size: 170% auto, 170% auto;
    background-position: center 8%, center 78%;
    opacity: 0.36;
  }
  .services-hero__bottom {
    margin-top: 4.25rem;
  }
  .services-hero__title {
    font-size: 1.85rem;
  }
  .services-hero__subtitle {
    font-size: 1.45rem;
  }
  .services-hero__lead,
  .services-hero__sublead {
    font-size: 0.9rem;
  }
}

/* Large phones / small tablets in portrait — same dual-layer treatment */
@media (min-width: 480px) and (max-width: 767px) {
  .services-hero::before {
    background-image:
      url('../images/Services-bg.png'),
      url('../images/Services-bg.png');
    background-repeat: no-repeat, no-repeat;
    background-size: 150% auto, 150% auto;
    background-position: center 6%, center 72%;
    opacity: 0.36;
  }
  .services-hero__bottom {
    margin-top: clamp(4.5rem, 14vw, 7rem);
  }
}

@media (min-width: 640px) {
  .services-hero {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }
  .services-hero__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .services-hero__bottom {
    margin-top: clamp(8rem, 20vw, 12rem);
  }
}

@media (min-width: 768px) {
  .services-hero {
    padding-top: 8.5rem;
    padding-bottom: 3.25rem;
  }
  .services-hero::before {
    background-size: 100% auto;
    background-position: center 40%;
    opacity: 0.38;
  }
}

@media (min-width: 1024px) {
  .services-hero {
    padding-top: 9.25rem;
    padding-bottom: 3.5rem;
  }
  .services-hero__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .services-hero__bottom {
    margin-top: clamp(10rem, 16vw, 15rem);
  }
  .services-hero::before {
    background-position: center 38%;
    opacity: 0.4;
  }
}

@media (min-width: 1280px) {
  .services-hero {
    padding-top: 9.75rem;
  }
  .services-hero__bottom {
    margin-top: 13rem;
  }
}

#home.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/banner-bg-mobile.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 768px) {
  #home.hero-bg::before {
    background-image: url('../images/banner-bg.png');
    background-size: 130% auto;
    background-position: center bottom;
    opacity: 0.4;
  }
}
@media (min-width: 1024px) {
  #home.hero-bg::before {
    background-image: url('../images/banner-bg.png');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.45;
  }
}
#home.hero-bg > * {
  position: relative;
  z-index: 1;
}
#home .hero-inner {
  padding-top: 1.25rem;
  padding-bottom: 4.5rem;
}
@media (min-width: 640px) {
  #home .hero-inner {
    padding-top: 2rem;
    padding-bottom: 5rem;
  }
}
@media (min-width: 1024px) {
  #home .hero-inner {
    padding-top: 4rem;
    padding-bottom: 0;
  }
}
.hero-bg h1 {
  color: #212A0B;
}
/* ── 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(33, 42, 11, 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(141, 198, 63, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(141, 198, 63, 0.45);
  color: #212A0B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transform-origin: center center;
}
.orbit-badge-bottom {
  position: absolute;
  bottom: -16px;
  left: calc(50% - 16px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(141, 198, 63, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(141, 198, 63, 0.45);
  color: #212A0B;
  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(1.65rem, 5.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  color: #212A0B;
}
.hero-title .highlight,
.highlight {
  color: #8DC63F;
}
#home .hero-copy {
  margin-top: 0;
}
@media (min-width: 1024px) {
  #home .hero-copy {
    margin-top: -36px;
  }
}
#home .btn-primary,
#home .btn-dark {
  padding: 10px 22px;
  font-size: 0.8rem;
}
@media (max-width: 479px) {
  #home .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  #home .hero-actions .btn-primary,
  #home .hero-actions .btn-dark {
    width: 100%;
    text-align: center;
  }
}
.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 #8DC63F;
  color: #212A0B;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 26px;
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none;
  background: transparent;
}
.btn-outline:hover {
  border-color: #8DC63F;
  background: rgba(141,198,63,0.15);
  color: #212A0B;
  transform: translateY(-2px);
}
.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 26px;
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none;
  background: transparent;
}
.btn-outline-light:hover {
  border-color: #8DC63F;
  background: rgba(141,198,63,0.18);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Journey CTA — PNG graphics + cream base */
.cta-journey {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 5.5rem 0;
  background-color: rgb(249, 249, 239);
  background-image: url('../images/International-Journey-bg.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}
.cta-journey__title {
  color: #212A0B;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.cta-journey__lead {
  color: #4b5563;
  font-size: 1rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.cta-journey__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.cta-journey__btn--primary {
  background: #8DC63F;
  color: #fff;
  box-shadow: 0 4px 16px rgba(141, 198, 63, 0.35);
}
.cta-journey__btn--primary:hover {
  background: #78ad2f;
  color: #fff;
  transform: translateY(-2px);
}
.cta-journey__btn--outline {
  background: #f9f9ef;
  color: #212A0B;
  border: 1.5px solid #212A0B;
}
.cta-journey__btn--outline:hover {
  background: #f0f0e4;
  color: #212A0B;
  transform: translateY(-2px);
}
@media (max-width: 1024px) {
  .cta-journey {
    background-size: auto 70%;
    background-position: right center;
  }
}
@media (max-width: 640px) {
  .cta-journey {
    padding: 3.5rem 0;
    background-size: 38% auto;
    background-position: right 4% bottom 8%;
  }
}

.btn-nav, .btn-dark {
  background: #c9d6a3;
  color: #212A0B;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 26px;
  transition: all 0.25s ease;
  box-shadow: none;
  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: #c9d6a3;
  color: #212A0B;
  box-shadow: none;
}
#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: transparent;
  border-radius: 20px;
  padding: 28px 22px;
  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;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 640px) {
  .service-card {
    padding: 32px 24px;
  }
}
@media (min-width: 1024px) {
  .service-card {
    padding: 36px 28px;
  }
}
.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(-6px);
  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: 72px;
  height: 72px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.service-icon-wrap svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .service-icon-wrap {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  .service-icon-wrap svg {
    width: 56px;
    height: 56px;
  }
}
@media (min-width: 1024px) {
  .service-icon-wrap {
    width: 88px;
    height: 88px;
    margin-bottom: 22px;
  }
  .service-icon-wrap svg {
    width: 60px;
    height: 60px;
  }
}
.service-card h3 {
  flex-shrink: 0;
}
.service-card > p {
  flex-grow: 1;
}
.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);
}

/* Keep Elfsight placeholders tall enough to initialize */
.elfsight-slot {
  min-height: 220px;
}

/* ── 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: #f9f9ef;
  border-radius: 16px;
}
#mobile-menu.open { 
  max-height: 480px; 
  opacity: 1; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  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);
}
.destination-flag {
  width: 1.5rem;
  height: auto;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  object-fit: cover;
  display: block;
}
.destination-card .destination-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
@media (min-width: 640px) {
  .destination-flag {
    width: 1.75rem;
  }
}

/* ── 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);
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  padding: 0;
  white-space: nowrap;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
}
.partner-badge:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: none;
}
.partner-badge img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 4px;
}
@media (min-width: 640px) {
  .partner-badge img {
    height: 68px;
    max-width: 200px;
  }
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: marquee-scroll 55s 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)); }
}

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

/* ── Services Section - Card & Button Colors ───────────── */
.bg-\[#84A62E\] { background-color: #84A62E !important; }
.bg-\[#212A0B\] { background-color: #212A0B !important; }
.hover\:bg-\[#2f3d0f\]:hover { background-color: #2f3d0f !important; }
.bg-\[\#8DC63F\]\/10 { background-color: rgba(141, 198, 63, 0.12) !important; }
.text-\[\#8DC63F\] { color: #8DC63F !important; }
.hover\:border-\[\#8DC63F\]\/30:hover { border-color: rgba(141, 198, 63, 0.35) !important; }

/* ── Founder cards (About) ─────────────────────────────── */
.founder-card__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.founder-card__photo {
  position: relative;
  width: 170px;
  max-width: 100%;
  aspect-ratio: 4 / 4.5;
  flex-shrink: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 4px solid #fff;
  background: #f3f4f6;
  box-shadow: 0 4px 14px rgba(33, 42, 11, 0.1);
}
.founder-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.founder-card__photo:hover img {
  transform: scale(1.05);
}
.founder-card__photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.founder-card__photo:hover .founder-card__photo-overlay {
  opacity: 1;
}
.founder-card__photo-overlay span {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
.founder-card__bio {
  flex: 1;
  min-width: 0;
  width: 100%;
  text-align: center;
}
@media (min-width: 640px) {
  .founder-card__photo {
    width: 200px;
  }
}
@media (min-width: 1024px) {
  .founder-card__layout {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
  .founder-card__layout--reverse {
    flex-direction: row-reverse;
  }
  .founder-card__bio {
    text-align: left;
  }
}

/* WhatsApp CTA buttons */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 26px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  line-height: 1.2;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp .wa-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  max-width: 22px;
  flex-shrink: 0;
  display: block;
  fill: #ffffff !important;
}

