/* ============================================================
   NextIN Academy, Pune — custom theme over Bootstrap 5
   ============================================================ */
:root {
  --primary: #0d2c54;
  --primary-dark: #081d3a;
  --accent: #f7941d;
  --accent-dark: #e07f06;
  --teal: #1b9aaa;
  --light-bg: #f5f7fa;
  --text-muted: #5c6b80;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #22303f;
}
h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: 'Poppins', sans-serif; }

/* ---------- Utilities ---------- */
.bg-primary-dark { background: var(--primary); }
.text-accent { color: var(--accent); }
.section-pad { padding: 72px 0; }
.section-title { font-weight: 700; color: var(--primary); }
.section-sub { color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.title-bar { width: 64px; height: 4px; background: var(--accent); border-radius: 2px; margin: 14px auto 0; }
.title-bar.start { margin-left: 0; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--primary-dark);
  color: #cfd9e6;
  font-size: .85rem;
  padding: 6px 0;
}
.topbar a { color: #ffd9a0; text-decoration: none; }
.topbar .badge-open {
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 2px 10px; border-radius: 20px; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .65; } }

/* ---------- Navbar ---------- */
.navbar-nextin {
  background: #fff;
  box-shadow: 0 2px 12px rgba(13,44,84,.08);
  padding: .7rem 0;
}
.navbar-nextin .navbar-brand { font-weight: 700; color: var(--primary); font-size: 1.35rem; }
.navbar-nextin .navbar-brand span { color: var(--accent); }
.navbar-nextin .nav-link { color: var(--primary); font-weight: 500; margin: 0 4px; }
.navbar-nextin .nav-link:hover, .navbar-nextin .nav-link.active { color: var(--accent); }
.btn-accent {
  background: var(--accent); color: #fff; font-weight: 600; border: none;
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline-light-accent { border: 2px solid #fff; color: #fff; font-weight: 600; }
.btn-outline-light-accent:hover { background: #fff; color: var(--primary); }

/* ---------- Hero ---------- */
.hero-slide {
  background: linear-gradient(110deg, var(--primary-dark) 0%, var(--primary) 55%, #14417a 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.hero-slide.hero-bg-1 { background-image: linear-gradient(110deg, rgba(8,29,58,.90) 0%, rgba(13,44,84,.88) 55%, rgba(20,65,122,.80) 100%), url('../images/hero-1.jpg'); }
.hero-slide.hero-bg-2 { background-image: linear-gradient(110deg, rgba(8,29,58,.90) 0%, rgba(13,44,84,.88) 55%, rgba(20,65,122,.80) 100%), url('../images/hero-2.jpg'); }
.hero-slide.hero-bg-3 { background-image: linear-gradient(110deg, rgba(8,29,58,.90) 0%, rgba(13,44,84,.88) 55%, rgba(20,65,122,.80) 100%), url('../images/hero-3.jpg'); }
.hero-slide::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(247,148,29,.15);
}
.hero-slide::before {
  content: ""; position: absolute; right: 80px; bottom: -160px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(27,154,170,.18);
}
.hero-slide h1 { font-size: 2.6rem; font-weight: 700; }
.hero-slide .lead { color: #c9d6e8; }
.hero-chip {
  display: inline-block; background: rgba(247,148,29,.18); color: #ffc069;
  border: 1px solid rgba(247,148,29,.5); padding: 4px 14px;
  border-radius: 30px; font-size: .85rem; font-weight: 600; margin-bottom: 18px;
}

/* ---------- Stats ---------- */
.stats-strip { background: var(--accent); color: #fff; padding: 34px 0; }
.stats-strip .stat-num { font-size: 2.2rem; font-weight: 700; font-family: 'Poppins', sans-serif; }
.stats-strip .stat-label { font-size: .9rem; opacity: .95; }

/* ---------- Cards ---------- */
.card-lift { transition: transform .25s ease, box-shadow .25s ease; border: 1px solid #e6ecf3; }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(13,44,84,.12); }
.course-icon {
  width: 60px; height: 60px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; margin-bottom: 16px;
}
.feature-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(27,154,170,.12); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; flex-shrink: 0;
}
.course-thumb {
  width: 100%; height: 170px; object-fit: cover;
  border-radius: 12px; margin-bottom: 16px;
}
.infra-thumb {
  width: 100%; height: 140px; object-fit: cover;
  border-radius: 12px; margin-bottom: 14px;
}
.about-story-img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: 16px; margin-bottom: 24px;
}
.photo-credits { font-size: .72rem; color: #7e93b3; }
.photo-credits a { color: #7e93b3; text-decoration: underline; }
.topper-card img.avatar, .topper-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--primary));
  color: #fff; font-size: 1.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
  font-family: 'Poppins', sans-serif;
}
.rank-badge {
  background: var(--accent); color: #fff; font-weight: 700;
  border-radius: 20px; padding: 3px 14px; font-size: .85rem; display: inline-block;
}

/* ---------- Page banner ---------- */
.page-banner {
  background: linear-gradient(110deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 64px 0 56px;
}
.page-banner .breadcrumb a { color: #ffc069; text-decoration: none; }
.page-banner .breadcrumb-item.active { color: #c9d6e8; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #7e93b3; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff; border-radius: 16px; padding: 30px;
  box-shadow: 0 6px 24px rgba(13,44,84,.08); height: 100%;
}
.testimonial-card .quote { color: var(--accent); font-size: 1.8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(110deg, var(--primary), #14417a);
  color: #fff; border-radius: 20px; padding: 48px;
}

/* ---------- Admission steps ---------- */
.step-progress { display: flex; justify-content: space-between; position: relative; margin-bottom: 40px; }
.step-progress::before {
  content: ""; position: absolute; top: 22px; left: 6%; right: 6%;
  height: 3px; background: #dbe4ee; z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; flex: 1; }
.step-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 3px solid #dbe4ee; color: #8fa1b8;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin: 0 auto 8px; transition: all .3s;
}
.step-item.active .step-circle { border-color: var(--accent); background: var(--accent); color: #fff; }
.step-item.done .step-circle { border-color: var(--teal); background: var(--teal); color: #fff; }
.step-label { font-size: .8rem; font-weight: 600; color: #8fa1b8; }
.step-item.active .step-label { color: var(--accent); }
.step-item.done .step-label { color: var(--teal); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

.timeline { border-left: 3px solid var(--accent); padding-left: 20px; }
.timeline li { margin-bottom: 18px; position: relative; list-style: none; }
.timeline li::before {
  content: ""; position: absolute; left: -29px; top: 5px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}

/* ---------- Footer ---------- */
footer { background: var(--primary-dark); color: #b7c4d6; }
footer h6 { color: #fff; font-weight: 600; margin-bottom: 18px; }
footer a { color: #b7c4d6; text-decoration: none; display: block; margin-bottom: 9px; font-size: .92rem; }
footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25); text-decoration: none;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Misc ---------- */
.update-strip { background: var(--light-bg); border-left: 4px solid var(--accent); }
.table-results th { background: var(--primary); color: #fff; }
.accordion-button:not(.collapsed) { background: rgba(247,148,29,.1); color: var(--primary); font-weight: 600; }
.centre-card i { color: var(--accent); }
.fee-tag { font-size: 1.3rem; font-weight: 700; color: var(--primary); }

@media (max-width: 767px) {
  .hero-slide { padding: 64px 0; }
  .hero-slide h1 { font-size: 1.9rem; }
  .section-pad { padding: 48px 0; }
  .cta-band { padding: 32px; }
  .step-label { display: none; }
}
