/* ── Hero ── */
.ug-hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #c9ead6;
  /* fallback */
}

/* Full-bleed student photo */
.ug-hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('/assets/jamboree/BackgroundImagehero.jpg') center right / cover no-repeat;
  z-index: 0;
}

/* Full-bleed student photo */
.ug-hero-bg2 {
  position: absolute;
  inset: 0;
  background:
    url('/assets/jamboree/undergratsherobg.jpg') center right / cover no-repeat;
  z-index: 0;
}

.ug-hero-bg3 {
  position: absolute;
  inset: 0;
  background:
    url('/assets/jamboree/Counselling-hero-bg.jpg') center right / cover no-repeat;
  z-index: 0;
}


/* Green gradient overlay: opaque left → transparent right */
.ug-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(168, 222, 190, 0.97) 0%,
      rgba(168, 222, 190, 0.90) 28%,
      rgba(168, 222, 190, 0.65) 48%,
      rgba(168, 222, 190, 0.15) 68%,
      transparent 82%);
  z-index: 1;
}

.ug-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0 60px;
}

/* Text */
.ug-hero .hero-eyebrow {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a2e1f;
  margin-bottom: 4px;
}

.ug-hero .hero-big {
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800;
  color: #1a2e1f;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 16px;
}

.ug-hero .hero-desc {
  font-size: 0.97rem;
  color: #2b3d30;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 24px;
}

.ug-hero .hero-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a2e1f;
  margin-bottom: 12px;
}

/* Orange pill buttons */
.ug-pill-btn {
  display: inline-block;
  background: #f5841f;
  color: #fff;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.ug-pill-btn:hover {
  background: #d96e0c;
  color: #fff;
  transform: translateY(-2px);
}

/* ── Sub-Nav Tab Bar ── */
.ug-subnav {
  background: #fff;
  border-bottom: 2px solid #e6f5ee;
  border-top: 1px solid #e6f5ee;
  position: sticky;
  top: 0;
  z-index: 800;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ug-subnav::-webkit-scrollbar {
  display: none;
}

.ug-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: max-content;
  margin: 0 auto;
  padding: 0 24px;
}

.ug-subnav-link {
  display: inline-block;
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #495057;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.ug-subnav-link:hover,
.ug-subnav-link.active {
  color: #047433;
  border-bottom-color: #047433;
}

/* ── Why USA Cards ── */
.why-card {
  border: 1.5px solid #e6f5ee;
  border-radius: 14px;
  padding: 28px 24px;
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
}

.why-card:hover {
  box-shadow: 0 8px 32px rgba(4, 116, 51, 0.1);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: #e6f5ee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #047433;
  margin-bottom: 16px;
}

/* ── Why USA Photo Cards ── */
.why-photo-card {
  padding: 8px 8px 24px;
  border-radius: 16px;
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
}

.why-photo-card:hover {
  box-shadow: 0 8px 32px rgba(4, 116, 51, 0.1);
  transform: translateY(-4px);
}

.why-photo-wrap {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
}

.why-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.why-photo-card:hover .why-photo-wrap img {
  transform: scale(1.04);
}

.why-photo-card h5 {
  font-size: 1rem;
  color: #1a1f2e;
  margin-bottom: 10px;
}

.why-photo-card p {
  font-size: 0.91rem;
  line-height: 1.65;
  color: #6c757d;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #047433, #5dde98);
  border-radius: 2px;
}

.tl-item {
  position: relative;
  margin-bottom: 32px;
}

.tl-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: #047433;
  border-radius: 50%;
  border: 3px solid #e6f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
}

.tl-card {
  background: #fff;
  border: 1.5px solid #e6f5ee;
  border-radius: 12px;
  padding: 18px 20px;
  transition: box-shadow 0.2s;
}

.tl-card:hover {
  box-shadow: 0 4px 20px rgba(4, 116, 51, 0.1);
}

/* ── University Logo Grid ── */
.uni-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.uni-logo-chip {
  background: #f4fbf7;
  border: 1.5px solid #e6f5ee;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  color: #1a6f45;
  font-size: 0.9rem;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: default;
}

.uni-logo-chip:hover {
  background: #e6f5ee;
  box-shadow: 0 4px 12px rgba(4, 116, 51, 0.1);
}

/* ── SAT Prep Banner ── */
.sat-banner {
  background: linear-gradient(135deg, #047433 0%, #1a6f45 100%);
  border-radius: 20px;
  padding: 48px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sat-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  right: -80px;
  top: -80px;
}

/* ── FAQ ── */
.faq-item {
  border: 1.5px solid #e6f5ee;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(4, 116, 51, 0.08);
}

.faq-btn {
  background: #fff;
  color: #1a1f2e;
  font-weight: 600;
  padding: 18px 20px;
  width: 100%;
  text-align: left;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.98rem;
  cursor: pointer;
}

.faq-btn .icon {
  transition: transform 0.3s;
  color: #047433;
}

.faq-btn[aria-expanded="true"] .icon {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 20px 18px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Navbar: always white/solid on this page ── */
#mainNav {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  background: #fff !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

#mainNav .nav-link:hover {
  color: #047433 !important;
}

/* Offset sub-nav below sticky navbar */
.ug-subnav {
  top: 72px;
}

/* ── Breadcrumb ── */
.page-breadcrumb {
  background: #f4fbf7;
  border-bottom: 1px solid #e6f5ee;
  padding: 10px 0;
  font-size: 0.85rem;
}

.page-breadcrumb a {
  color: #047433;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Scroll-in animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-d1 {
  animation-delay: 0.1s;
}

.fade-up-d2 {
  animation-delay: 0.2s;
}

.fade-up-d3 {
  animation-delay: 0.3s;
}

.fade-up-d4 {
  animation-delay: 0.4s;
}

/* ── Benefits & Form Section ── */
.bg-benefits {
  background-color: #1a5a32;
  overflow: hidden;
}

.benefits-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/jamboree/mid-bg.jpg') center/cover no-repeat;
  z-index: 0;
}

.benefits-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 85, 45, 0.92) 0%, rgba(10, 65, 30, 0.95) 100%);
  z-index: 1;
}

.benefits-form .form-control,
.benefits-form .form-select {
  border-radius: 6px;
  padding: 14px 16px;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

.benefits-form .form-control::placeholder {
  color: #888;
}

.pointer-events-none {
  pointer-events: none;
}

/* ── University Carousel Cards ── */
.uni-card-img-wrap {
  position: relative;
}

.uni-card-img-wrap img {
  transition: transform 0.4s ease;
}

.uni-card:hover .uni-card-img-wrap img {
  transform: scale(1.04);
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* ── Top Courses Tabs & Tags ── */
.course-tabs-container {
  overflow-x: auto;
  scrollbar-width: none;
}

.course-tabs-container::-webkit-scrollbar {
  display: none;
}

.course-tab {
  background: #fff;
  color: #333;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.course-tab:hover {
  background: #e9f5ed;
  color: #047433;
}

.course-tab.active {
  background: #047433;
  color: #fff;
}

.course-tab-next {
  background: #fff;
  color: #047433;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  white-space: nowrap;
}

.uni-tag {
  background: #52a674;
  color: #fff;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
