/* ---- Google Fonts & Root ---- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --green-dark: #1a6f45;
  --green-main: #047433;
  --green-light: #e6f5ee;
  --green-pale: #f4fbf7;
  --orange: #f5841f;
  --text-dark: #1a1f2e;
  --text-muted: #6c757d;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 36px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ==================== TYPOGRAPHY UTILITIES ==================== */
.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.section-eyebrow {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: capitalize;
  color: var(--text-dark);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

/* ==================== BUTTONS ==================== */
.btn-hero {
  border-radius: 30px;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.btn-success-custom {
  background: var(--green-main);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-success-custom:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 160, 96, 0.35);
}

/* ==================== NAVBAR ==================== */
.nav-logo {
  height: 36px;
  width: auto;
}

.hero-navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: transparent;
  padding: 18px 0;
  transition:
    background 0.35s,
    box-shadow 0.35s,
    padding 0.35s;
}

.hero-navbar.scrolled {
  position: fixed;
  background: #fff !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

/* links white when transparent, dark when scrolled */
.hero-navbar .nav-link,
.hero-navbar .navbar-brand {
  color: rgba(14, 14, 14, 0.92) !important;
  transition: color 0.2s;
}

.hero-navbar.scrolled .nav-link,
.hero-navbar.scrolled .navbar-brand {
  color: #222 !important;
}

.hero-navbar .nav-link:hover {
  /* background: rgba(255, 255, 255, 0.15); */
  color: #047433 !important;
}

.hero-navbar.scrolled .nav-link:hover {
  background: var(--green-light);
  color: var(--green-main) !important;
}

.hero-navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px;
}

.hero-navbar .dropdown-item {
  border-radius: 6px;
  font-size: 0.875rem;
  padding: 8px 14px;
  transition: background 0.2s;
}

.hero-navbar .dropdown-item:hover {
  background: var(--green-light);
  color: var(--green-main);
}

/* Make the hamburger toggler icon dark on mobile */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ==================== HERO ==================== */
.hero-section {
  background-color: #FDFCF9;
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 700px;
}

.hero-wrapper {
  z-index: 10;
}

.hero-navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: transparent;
  padding: 18px 0;
  transition:
    background 0.35s,
    box-shadow 0.35s,
    padding 0.35s;
}

.hero-navbar.scrolled {
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

.hero-navbar .nav-link,
.hero-navbar .navbar-brand {
  color: rgba(14, 14, 14, 0.92) !important;
}

.hero-navbar.scrolled .nav-link,
.hero-navbar.scrolled .navbar-brand {
  color: #222 !important;
}

.hero-navbar .btn-success-custom {
  background: rgba(8, 102, 56, 0.9);
  color: #fff;
  border-radius: 30px;
  padding: 10px 18px;
}

.hero-navbar .btn-success-custom:hover {
  background: rgba(8, 102, 56, 1);
}

.hero-wrapper {
  z-index: 10;
}

@keyframes cityscapeFloat {
  0% {
    transform: translateY(20px);
  }

  50% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(20px);
  }
}

.hero-cityscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: bottom;
  z-index: 1;
  animation: cityscapeFloat 10s ease-in-out infinite;
}

.hero-curve-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  animation: drawCurve 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

@keyframes drawCurve {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -400;
  }
}

.hero-curve-svg path {
  animation: flowDash 12s linear infinite;
}

@keyframes cardFloat {
  0% {
    transform: translate(-50%, 0px);
  }

  50% {
    transform: translate(-50%, -15px);
  }

  100% {
    transform: translate(-50%, 0px);
  }
}

@keyframes badgePopUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 30px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.hero-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  opacity: 0;
  animation: badgePopUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, cardFloat 6s ease-in-out infinite;
}

.badge-content.badge-mosey {
  background: #ffffff;
  padding: 16px 28px;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  color: #2b303a;
  text-align: left;
  line-height: 1.4;
  position: relative;
  white-space: nowrap;
  z-index: 3;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
}

.badge-content.badge-mosey::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ffffff;
  z-index: 4;
}

.badge-content.badge-mosey:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge-icon-bg {
  background: #2ea06a;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-content .badge-num {
  font-size: 1.15rem;
}

/* Base button styles for Mosey theme */
.btn-primary-mosey {
  background-color: #047433;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(206, 92, 92, 0.25);
  animation: fadeInUp 0.8s cubic-bezier(0.39, 0.575, 0.565, 1) 0.8s forwards;
  opacity: 0;
}

.btn-primary-mosey:hover {
  background-color: #b84f4f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(206, 92, 92, 0.35);
}

.btn-ghost-mosey {
  background-color: #FF8D28;
  color: #ffffff;
  border: 1.5px solid #e1e4e6;
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s cubic-bezier(0.39, 0.575, 0.565, 1) 0.8s forwards;
  opacity: 0;
}

.btn-ghost-mosey:hover {
  border-color: #f49542;
  background-color: #f49542(244, 243, 243, 0.02);
  color: #ffffff;
  transform: translateY(-2px);
}


.badge-1 {
  bottom: 2%;
  left: 10%;
  animation-delay: 0.2s, 0.2s;
}

.badge-2 {
  bottom: 55%;
  left: 48%;
  animation-delay: 0.4s, 0.4s;
}

.badge-3 {
  bottom: 35%;
  left: 68%;
  animation-delay: 0.6s, 0.6s;
}

.badge-4 {
  bottom: 50%;
  left: 85%;
  animation-delay: 0.8s, 0.8s;
}

/* Mobile: Make badges small and below hero text */
@media (max-width: 991px) {
  .hero-badge {
    position: relative !important;
    transform: none !important;
    left: auto !important;
    bottom: auto !important;
    margin: 10px auto;
    width: fit-content;
  }

  .badge-content {
    font-size: 0.8rem !important;
    padding: 6px 10px !important;
  }

  .badge-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .badge-num {
    font-size: 0.9rem !important;
  }
}

.ranker-card {
  font-family: sans-serif;
}

/* Avatar */
.avatar-wrapper {
  width: 65px;
  height: 65px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name */
.ranker-name {
  margin-top: 8px;
  font-weight: 600;
  color: #2d3748;
}

/* Score pill */
.score-pill {
  display: flex;
  width: 150px;
  margin: auto;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 6px;
  font-weight: 600;
}

.exam {
  flex: 1;
  background: #E7F5ED;
  padding: 6px 10px;
}

.score {
  flex: 1;
  background: #32B465;
  color: white;
  padding: 6px 10px;
}

.uni-card {
  width: 100%;
  background: #ffffff;
  border: 2px solid #e1eee4;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: sans-serif;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.uni-card .profile-img {
  flex-shrink: 0;
}

/* Profile */
.uni-card .profile-img img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0;
}

.uni-card .uni-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* Logo */
.uni-card .uni-logo img {
  width: 60px;
  margin-bottom: 6px;
}

/* Name */
.uni-card .uni-name {
  color: #0c5e88;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

/* ==================== UNI CARD 2 (From PNG) ==================== */
.uni-card2 {
  min-width: 220px;
  background: #ffffff;
  border: 2px solid #c9e4d3;
  border-radius: 10px;
  padding: 5px 16px;
  font-family: sans-serif;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.uni-card2 .profile-img {
  flex-shrink: 0;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uni-card2 .profile-img img {
  width: 100%;
  height: 100%;
  border-radius: 60px 60px 60px 60px;
  object-fit: cover;
  object-position: top;
}

.uni-card2 .uni-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.uni-card2 .uni-logo img {
  max-width: 100px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 0px;
}

.uni-card2 .uni-name {
  color: #cd121c;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  margin-top: 4px;
}

/* ==================== MARQUEE ANIMATION ==================== */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15vw;
  max-width: 180px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 25s linear infinite;
}

.marquee-track-reverse {
  display: flex;
  width: max-content;
  animation: scrollMarquee 30s linear infinite reverse;
}

.marquee-track:hover,
.marquee-track-reverse:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==================== RANKERS STRIP ==================== */
.ranker-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.avatar-circle {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(34, 160, 96, 0.2);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.avatar-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(34, 160, 96, 0.25);
}

/* ==================== COUNSELLING SECTION ==================== */
.counsel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(200px, auto));
  gap: 1.5rem;
}

.counsel-card {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.counsel-card.card-green {
  background-color: #097232;
  color: white;
  justify-content: flex-start;
}

.counsel-card.card-orange {
  background-color: #f68c24;
  color: white;
  justify-content: flex-start;
}

.counsel-card.card-img {
  background-size: cover;
  background-position: center;
  padding: 0;
  min-height: 200px;
}

.btn-link-yellow {
  color: #ffc107;
  transition: opacity 0.2s;
}

.btn-link-yellow:hover {
  color: #ffc107;
  opacity: 0.8;
}

.btn-link-white {
  color: #ffffff;
  transition: opacity 0.2s;
}

.btn-link-white:hover {
  color: #ffffff;
  opacity: 0.8;
}

.counsel-form-input {
  background-color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-size: 0.95rem;
}

.counsel-form-input::placeholder {
  color: #a0a5aa;
}

.counsel-phone-group {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.counsel-form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #a0a5aa;
}

/* ==================== DESTINATIONS SKYLINE GRID ==================== */
.text-dark-slate {
  color: #2b303a !important;
  /* Matches finding your ideal destination text color */
}

.destinations-heading {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.destination-skyline-card {
  padding: 10px;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.destination-skyline-card:hover {
  transform: translateY(-5px);
}

.skyline-img {
  max-height: 140px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: bottom;
}

.skyline-label {
  font-weight: 500;
  font-size: 1.1rem;
}

.av-icon {
  font-size: 1.5rem;
}

.ranker-avatar small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green-main);
  white-space: nowrap;
}

/* ==================== DESTINATIONS ==================== */
.destinations-section {
  background: var(--white);
}

.dest-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 20px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.dest-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.dest-flag {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border: 2px solid #eee;
}

.dest-usa {
  background: linear-gradient(135deg, #b22234, #3c3b6e);
}

.dest-uk {
  background: linear-gradient(135deg, #012169, #c8102e);
}

.dest-canada {
  background: linear-gradient(135deg, #ff0000, #ffffff);
}

.dest-australia {
  background: linear-gradient(135deg, #00008b, #ffd700);
}

.dest-info {
  flex: 1;
}

.dest-info h6 {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.dest-info small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dest-bar {
  height: 6px;
  background: #e9ecef;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 4px;
}

.dest-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-main), var(--green-dark));
  border-radius: 50px;
}

/* ==================== CONSULTING SECTION ==================== */
.consulting-section {
  background: var(--green-pale);
}

.consult-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.consult-form-card {
  border: 1px solid rgba(34, 160, 96, 0.12);
}

.consult-form-card .form-control,
.consult-form-card .form-select {
  border-radius: 8px;
  border: 1.5px solid #dde;
  font-size: 0.875rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.consult-form-card .form-control:focus,
.consult-form-card .form-select:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(34, 160, 96, 0.12);
}

.consult-form-card .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #444;
}

/* ==================== STEPS ==================== */
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #f0f0f0;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  position: relative;
}

.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.step-icon {
  font-size: 1.6rem;
  color: var(--green-main);
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(34, 160, 96, 0.12);
  line-height: 1;
}

/* ==================== HIGHLIGHTS ==================== */
.carousel-indicators [data-bs-target] {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #f9c834;
  opacity: 0.5;
  border: none;
}

.carousel-indicators .active {
  opacity: 1;
}

.carousel-indicators {
  justify-content: flex-end !important;
  left: auto !important;
  right: 2rem;
}

.carousel-indicators {
  bottom: 12px;
}

.highlights-section {
  background: var(--white);
}

.highlights-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.highlights-card-img {
  background: var(--green-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green-main);
  opacity: 0.5;
}

.img-placeholder-large i {
  font-size: 3.5rem;
}

.img-placeholder-large p {
  font-size: 0.85rem;
}

.highlight-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 50px;
  padding: 8px 16px;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
  z-index: 2;
}

.top-badge {
  top: -14px;
  left: -14px;
}

.bottom-badge {
  bottom: -14px;
  right: -14px;
}

.highlight-stat-card {
  background: var(--white);
  border: 1.5px solid var(--green-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.highlight-stat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.h-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-main);
  line-height: 1;
}

.h-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==================== STUDY ABROAD PROCEDURES ==================== */
.procedures-section {
  background-color: #ffffff;
}

.procedure-card {
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.procedure-card:hover {
  transform: translateY(-5px);
}

.procedure-img-wrap {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.procedure-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.btn-link-green {
  color: #5ead75;
  font-size: 0.95rem;
  transition:
    opacity 0.2s,
    color 0.2s;
}

.btn-link-green:hover {
  color: #097232;
  opacity: 0.9;
}

/* ==================== SUCCESS STORIES ==================== */
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  position: relative;
}

.story-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.story-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.story-img-wrap {
  position: relative;
  background: var(--green-light);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-img-placeholder i {
  font-size: 5rem;
  color: rgba(34, 160, 96, 0.25);
}

.story-university-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(26, 111, 69, 0.92);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

/* ==================== WHY JAMBOREE ==================== */
.why-section {
  background: var(--green-pale);
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(34, 160, 96, 0.12);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.why-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.5rem;
  color: var(--green-main);
}

/* ==================== PARTNERS ==================== */
.partner-logo-box {
  background: var(--white);
  border: 1px solid #e9ecef;
  border-radius: var(--radius);
  padding: 12px 22px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.partner-logo-box:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.partner-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

/* ==================== NEWS CARDS ==================== */
.news-card {
  border-radius: var(--radius) !important;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.news-card:hover {
  box-shadow: var(--shadow-hover) !important;
  transform: translateY(-5px);
}

.news-img-placeholder {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.news-img-1 {
  background: linear-gradient(135deg, #43a867, #1d6b40);
}

.news-img-2 {
  background: linear-gradient(135deg, #2b6cb0, #1a3a6b);
}

.news-img-3 {
  background: linear-gradient(135deg, #9b4dca, #5a1e8a);
}

.news-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.news-date {
  font-size: 0.78rem;
}

/* ==================== FOOTER ==================== */
.footer-section {
  background: linear-gradient(180deg, #14532d 0%, #0d3b20 100%);
  color: #fff;
}

.footer-logo {
  height: 32px;
  filter: brightness(10);
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li,
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.social-icon:hover {
  background: var(--green-main);
  color: #fff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ==================== HERO ANIMATIONS (MOSEY STYLE) ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.typewriter {
  animation: fadeInUp 0.8s cubic-bezier(0.39, 0.575, 0.565, 1) forwards;
  opacity: 0;
}

.typewriter.hero-tag {
  animation-delay: 0.2s;
}

.typewriter.hero-heading {
  animation-delay: 0.4s;
}

.typewriter.hero-sub {
  animation-delay: 0.6s;
}

.hero-text {
  animation: fadeInUp 1s cubic-bezier(0.39, 0.575, 0.565, 1) 0.1s forwards;
  opacity: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-img {
    max-height: 300px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .top-badge,
  .bottom-badge {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 10px auto;
    display: table;
  }
}

@media (max-width: 767px) {
  .stat-num {
    font-size: 1.2rem;
  }

  .footer-logo {
    height: 26px;
  }
}

/* ==================== NEW SECTIONS / COMPONENT UTILITIES ==================== */
.bg-pale-green {
  background-color: #f1f8f4 !important;
}

.bg-light-mint {
  background-color: #f5fbf7 !important;
}

.bg-green {
  background-color: #358b54 !important;
}

.text-green {
  color: #0d8341 !important;
}

.outline-btn-green {
  border-color: #358b54 !important;
  color: #358b54 !important;
  transition: all 0.2s;
}

.outline-btn-green:hover {
  background-color: #358b54 !important;
  color: #ffffff !important;
}

.arrow-link-green {
  color: #49b575 !important;
  transition: opacity 0.2s;
}

.arrow-link-green:hover {
  opacity: 0.8 !important;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.testprep-card,
.success-card,
.event-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.testprep-card:hover,
.success-card:hover,
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

/* Success card styling (matches provided UI) */
.success-card {
  border: 1px solid rgba(0, 0, 0, 0.09) !important;
  border-radius: 22px !important;
  padding: 1.5rem !important;
  background: #ffffff !important;
  min-height: 520px;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem;
}

.success-card .mb-3 {
  margin-bottom: 1rem !important;
}

.success-card>.mb-3 p {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 0.3rem;
}

.success-card>.mb-3 h4 {
  font-size: 1.7rem;
  color: #0d8341;
  margin: 0;
}

.success-card .flex-grow-1 {
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
}

/* Dashed detail rows */
.success-card .border-bottom {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.16) !important;
}

.success-card .border-bottom span {
  font-size: 0.95rem;
}

.testprep-featured-card {
  /* background-image: url("{{ asset('assets/images/Bikesh.jpg') }}");
   */
     background-image: url("/assets/images/Bikesh.jpg");

  background-size: cover;
  background-position: center;
  min-height: 480px;
}

/* We use a pseudo element for gradient to make sure background shows */
.testprep-featured-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.2) 40%,
      rgba(0, 0, 0, 0.85) 100%);
  z-index: 0;
}

.testprep-featured-content {
  color: #fff;
}

.article-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.custom-footer-link {
  color: rgba(255, 255, 255, 0.8) !important;
  transition:
    color 0.2s ease,
    text-decoration 0.2s ease;
}

.custom-footer-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.hover-opacity {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.hover-opacity:hover {
  opacity: 1;
  text-decoration: underline !important;
}

/* ==================== SUCCESS CARD FLIP ANIMATION ==================== */
.success-flip-card {
  background-color: transparent;
  width: 100%;
  perspective: 1000px;
  min-height: 520px;
}

.success-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.success-flip-card:hover .success-flip-card-inner {
  transform: rotateY(180deg);
}

.success-flip-card-front,
.success-flip-card-back {
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 22px;
}

.success-flip-card-front {
  position: relative;
}

.success-flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
}

@media all and (min-width: 992px) {
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* ==================== PAGINATION ==================== */
.pagination .page-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #1a1f2e;
    font-weight: 600;
    border-radius: 4px !important;
    font-size: 0.9rem;
}

.pagination .page-item.active .page-link {
    background-color: #047433 !important;
    border-color: #047433 !important;
    color: #fff !important;
}

.pagination .page-item.disabled .page-link {
    background: transparent;
    color: #aaa;
}

.pagination .page-link:hover {
    background-color: #e6f5ee;
    color: #047433;
}

.pagination {
    gap: 4px;
}

/* ==================== FAQ ACCORDION ==================== */
.faq-minimal-btn {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #1a1f2e;
}

.faq-minimal-btn:focus { outline: none; }

.faq-minimal-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #555;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.faq-minimal-btn[aria-expanded="true"] .bi-plus-lg { display: none; }
.faq-minimal-btn[aria-expanded="false"] .bi-x-lg { display: none; }
