/* ============================================================
   JB National Institute – Admission Landing Page
   styles.css
   ============================================================ */

/* ── ROOT VARIABLES ── */
:root {
  --blue:       #1f59aa;
  --navy:       #041659;
  --orange:     #ffa84d;
  --orange2:    #ff7c1a;
  --light:      #eef3fb;
  --muted:      #5a6a8a;
  --text:       #1a2340;
  --grad-btn:   linear-gradient(135deg, #ffa84d, #ff7c1a);
  --grad-navy:  linear-gradient(135deg, #041659 0%, #1f59aa 100%);
  --shadow:     0 6px 28px rgba(4, 22, 89, .11);
  --shadow-lg:  0 14px 44px rgba(4, 22, 89, .20);
}

/* ── BASE RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ── ICON FIX ── */
.bi {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
}

/* ── ANNOUNCE BAR ── */
.ann-bar {
  background: linear-gradient(90deg, #041659, #1f59aa, #ffa84d, #1f59aa, #041659);
  background-size: 300% 100%;
  animation: shimmer 8s ease infinite;
  padding: 9px 0;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.ann-bar a { color: var(--orange); font-weight: 700; text-decoration: none; }
.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: mq 35s linear infinite;
}
@keyframes mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ── NAVBAR ── */
.site-nav {
  background: #041659;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  text-decoration: none;
}
.nav-brand img { height: 62px; width: auto; }
.brand-name { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.2; }
.brand-tag  { font-size: 11px; color: var(--orange); font-weight: 400; }
.site-nav .nav-link {
  color: rgba(255, 255, 255, .88) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 17px !important;
  position: relative;
  transition: color .2s;
}
.site-nav .nav-link:hover { background-color: var(--orange2) !important; }
.site-nav .nav-link:hover::after { left: 13px; right: 13px; }
.site-nav .dropdown-menu {
  background: #041659;
  border: 1px solid rgba(255, 168, 77, .22);
  border-radius: 13px;
  padding: 8px;
}
.site-nav .dropdown-item {
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  padding: 9px 16px;
  border-radius: 8px;
  transition: background .2s;
}
@media (max-width: 768px) { .site-nav .dropdown-item {white-space: pre-wrap;} }
.site-nav .dropdown-item:hover {
  background: rgba(255, 168, 77, .12);
  color: var(--orange);
}
.btn-nav {
  background: var(--grad-btn) !important;
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 22px !important;
  font-weight: 700;
  margin: 13px 0 13px 10px;
  transition: transform .2s, box-shadow .2s;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 124, 26, .42);
}
.dropdown-menu[data-bs-popper] {
  right: 0 !important;
  left: auto !important;
}

/* ── HERO SLIDER ── */
.hero-wrap { width: 100%; position: relative; background: #041659; }
.hero-slide {
  width: 100%;
  min-height: 580px;
  display: flex !important;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .hero-slide { min-height: 460px; } }
@media (max-width: 480px) { .hero-slide { min-height: 400px; } }
.slide-bg { position: absolute; inset: 0; z-index: 0; }
.slide-content { position: relative; z-index: 3; padding: 60px 7% 80px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 168, 77, .15);
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 5px 15px;
  margin-bottom: 18px;
}
.hero-h1 {
  font-size: clamp(26px, 4.5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-h1 span { color: var(--orange); }
.hero-p {
  font-size: 16px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 560px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255, 124, 26, .35);
  transition: transform .25s, box-shadow .25s;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 124, 26, .5);
  color: #fff;
}
.hero-stats-row {
  position: absolute;
  bottom: 0; right: 5%;
  display: flex;
  gap: 14px;
  z-index: 3;
}
@media (max-width: 600px) { .hero-stats-row { display: none; } }
.hstat {
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 13px;
  padding: 12px 18px;
  text-align: center;
  color: #fff;
  min-width: 86px;
}
.hstat-num { display: block; font-size: 21px; font-weight: 800; color: var(--orange); }
.hstat-lbl { font-size: 12px; opacity: .82; }
.hero-wrap .swiper-pagination { bottom: 14px !important; }
.hero-wrap .swiper-pagination-bullet { background: #fff; opacity: .45; transition: width .3s; }
.hero-wrap .swiper-pagination-bullet-active { opacity: 1; background: var(--orange); width: 22px; border-radius: 4px; }
.hero-wrap .swiper-button-next,
.hero-wrap .swiper-button-prev {
  color: #fff !important;
  background: rgba(255, 255, 255, .14);
  width: 40px; height: 40px;
  border-radius: 50%;
  backdrop-filter: blur(6px);
}
.hero-wrap .swiper-button-next::after,
.hero-wrap .swiper-button-prev::after { font-size: 15px !important; }

@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

/* ── GRADIENT STRIP ── */
.gstrip { height: 4px; background: linear-gradient(90deg, #ffa84d, #ff7c1a, #1f59aa, #041659); }

/* ── ENQUIRY SECTION ── */
.enq-section {
  background: linear-gradient(160deg, #020e3a 0%, #041659 40%, #0b2878 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.enq-section::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 89, 170, .4) 0%, transparent 70%);
  pointer-events: none;
}
.enq-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 168, 77, .2);
  border-radius: 22px;
  padding: 40px;
}
@media (max-width: 768px) { .enq-card { padding: 24px; } }
.enq-title { font-size: clamp(20px, 3vw, 34px); font-weight: 800; color: #fff; line-height: 1.25; }
.enq-title span { color: var(--orange); }
.perk-ul { list-style: none; padding: 0; margin: 20px 0 0; }
.perk-ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  margin-bottom: 11px;
}
.picon {
  width: 30px; height: 30px;
  background: rgba(255, 168, 77, .18);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  font-size: 15px;
}
.flabel { color: rgba(255, 255, 255, .72); font-size: 14px; display: block; margin-bottom: 5px; }
.finput {
  width: 100%;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .8);
  color: #fff;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s, background .2s;
}
.finput::placeholder { color: rgba(255, 255, 255, .38); }
.finput:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 0 0 3px rgba(255, 168, 77, .18);
}
select.finput option { background: #041659; color: #fff; }
.btn-submit {
  width: 100%;
  background: var(--grad-btn);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 124, 26, .42);
}

/* ── STATS BAR ── */
.stats-sec {
  background: linear-gradient(135deg, #ff7c1a 0%, #ffa84d 50%, #ff9020 100%);
  padding: 52px 0;
}
.snum { display: block; font-size: 44px; font-weight: 800; color: #fff; line-height: 1; }
.slbl { color: rgba(255, 255, 255, .85); font-size: 15px; margin-top: 5px; }

@media (max-width: 767px) {
  .snum { font-size: 35px;}
}

/* ── SHARED SECTION HEADER ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 168, 77, .1);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.sec-h2 { font-size: clamp(22px, 3.2vw, 38px); font-weight: 800; color: var(--navy); line-height: 1.2; }
.sec-h2 span { color: var(--blue); }
.sec-p { color: var(--muted); font-size: 16px; max-width: 580px; margin: 0 auto; }

/* ── AI BANNER (legacy compatibility) ── */
.ai-banner {
  background: linear-gradient(135deg, #062444 0%, #0a3a6e 45%, #1a5298 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.ai-banner::before {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255, 168, 77, .1);
}
.ai-banner::after {
  content: '';
  position: absolute;
  left: -40px; top: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255, 168, 77, .06);
}
.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 168, 77, .18);
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 5px 15px;
  margin-bottom: 16px;
}
.ai-title { font-size: clamp(22px, 3.5vw, 40px); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.ai-title span { color: var(--orange); }
.ai-desc { color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.ai-feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
@media (max-width: 480px) { .ai-feat-grid { grid-template-columns: 1fr; } }
.ai-feat {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ai-feat-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; line-height: 1; }
.ai-feat-ttl { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.ai-feat-txt { font-size: 13px; color: rgba(255, 255, 255, .62); }
.ai-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 168, 77, .25);
  border-radius: 20px;
  padding: 32px;
}
.ai-card-ttl { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 18px; }
.ai-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 15px;
  color: rgba(255, 255, 255, .78);
}
.ai-detail:last-of-type { border-bottom: none; }
.ai-detail .detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 17px;
  flex-shrink: 0;
  width: 20px;
}
.ai-detail strong { color: #fff; }

/* ── COURSES SLIDER ── */
.courses-sec { padding: 76px 0; background: #ffffff; }
.cswiper { padding-bottom: 44px !important; }
.cswiper .swiper-pagination { bottom: 4px !important; }
.cswiper .swiper-pagination-bullet { background: var(--blue); }
.cswiper .swiper-pagination-bullet-active { background: var(--orange); width: 20px; border-radius: 4px; }
.course-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.course-card.ai-featured { border: 2px solid var(--orange); }
.cthumb {
  width: 100%; aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}
.cthumb-emoji { font-size: 52px; line-height: 1; display: block; }
.cthumb-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(4, 22, 89, .55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 5px;
}
.cfeatured {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}
.cbody { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ctag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 9px;
}
.cname { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cdesc { color: var(--muted); font-size: 14px; margin-bottom: 14px; flex: 1; line-height: 1.6; }
.cmeta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 15px; }
.cmeta span { display: flex; align-items: center; gap: 3px; }
.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--grad-navy);
  color: #fff;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  align-self: flex-start;
}
.btn-apply:hover { opacity: .87; color: #fff; transform: translateX(3px); }

/* ── WHY CHOOSE US ── */
.why-sec { padding: 76px 0; background: var(--light); }
.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--orange), var(--blue));
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.wicon {
  width: 50px; height: 50px;
  background: var(--grad-navy);
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 15px;
}
.wttl { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.wtxt { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ── GALLERY ── */
.gallery-sec { padding: 76px 0; background: #041659; }
.ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 768px) { .ggrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ggrid { grid-template-columns: 1fr; } }
.gitem {
  border-radius: 12px; overflow: hidden;
  position: relative; cursor: pointer;
  background-size: cover !important;
  background-position: center !important;
}
.gitem.big { grid-column: span 2; grid-row: span 2; }
.gthumb {
  width: 100%; height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.gitem.big .gthumb { height: 390px; }
.gemoji { font-size: 46px; line-height: 1; }
.glbl  { font-size: 14px; font-weight: 700; }
.gsub  { font-size: 12px; opacity: .7; }
.gov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 22, 89, .85), transparent);
  display: flex;
  align-items: flex-end;
  padding: 15px;
  opacity: 0;
  transition: opacity .3s;
}
.gitem:hover .gov { opacity: 1; }
.govtxt { color: #fff; font-size: 14px; font-weight: 600; }

/* ── ADMISSION PROCESS ── */
.proc-sec { padding: 76px 0; background: var(--light); }
.pstep { display: flex; align-items: flex-start; gap: 16px; }
.pnum {
  width: 48px; height: 48px;
  background: var(--grad-btn);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.pttl { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.ptxt { color: var(--muted); font-size: 15px; line-height: 1.65; }
.pcon { width: 2px; height: 34px; margin-left: 23px; background: linear-gradient(var(--orange), var(--blue)); opacity: .45; }

/* ── TESTIMONIALS ── */
.testi-sec { padding: 76px 0; background: #ffffff; }
.tcard {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
}
.tcard::before {
  content: '"';
  position: absolute;
  top: 10px; right: 18px;
  font-size: 70px;
  font-family: Georgia, serif;
  color: rgba(31, 89, 170, .07);
  line-height: 1;
}
.tstars   { color: var(--orange); font-size: 14px; margin-bottom: 10px; }
.ttxt     { color: var(--text); font-size: 15px; line-height: 1.72; margin-bottom: 17px; }
.tauthor  { display: flex; align-items: center; gap: 11px; }
.tav {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.tname { font-weight: 700; font-size: 15px; color: var(--navy); }
.trole { font-size: 13px; color: var(--muted); }

/* ── FAQ ── */
.faq-sec { padding: 76px 0; background: var(--light); }
.faq-sec .eyebrow   { color: var(--blue); background: rgba(31, 89, 170, .1); }
.faq-sec .sec-h2    { color: var(--navy); }
.faq-sec .sec-h2 span { color: var(--blue); }
.accordion-button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
}
.accordion-button:not(.collapsed) {
  color: var(--blue);
  background: rgba(31, 89, 170, .04);
  box-shadow: none;
}
.accordion-item {
  border: none;
  margin-bottom: 8px;
  border-radius: 13px !important;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.accordion-body { font-size: 15px; color: var(--muted); background: #fff; }

/* ── FOOTER ── */
.footer { background: #041659; padding: 56px 0 0; }
.footer-desc { color: rgba(255, 255, 255, .58); font-size: 15px; line-height: 1.75; margin-top: 13px; }
.fhdg {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 17px;
  position: relative;
}
.fhdg::after {
  content: '';
  position: absolute;
  bottom: -7px; left: 0;
  width: 26px; height: 2px;
  background: var(--orange);
}
.flinks { list-style: none; padding: 0; }
.flinks li { margin-bottom: 8px; }
.flinks a {
  color: rgba(255, 255, 255, .58);
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.flinks a:hover { color: var(--orange); }
.fcon {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, .58);
  font-size: 15px;
  margin-bottom: 11px;
}
.fcon i { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.fbot {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 38px;
  padding: 17px 0;
  text-align: center;
  color: rgba(255, 255, 255, .38);
  font-size: 14px;
}
.socbar { display: flex; gap: 8px; margin-top: 16px; }
.socbtn {
  width: 35px; height: 35px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.socbtn:hover { background: var(--orange); color: #041659; }

/* ── MODAL ── */
.modal-content { border-radius: 22px; overflow: hidden; border: none; }
.modal-hdr { background: var(--grad-navy); padding: 24px 28px; }
.modal-ttl { font-weight: 800; color: #fff; font-size: 20px; margin: 0; }
.modal-stl { color: rgba(255, 255, 255, .5); font-size: 13px; margin-top: 2px; }
.modal-body { padding: 28px; background: #fff; }
.modal .flabel  { color: var(--text); }
.modal .finput  { background: var(--light); border-color: rgba(31, 89, 170, .15); color: var(--navy); }
.modal .finput::placeholder { color: var(--muted); }
.modal .finput:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 89, 170, .1);
}
.modal select.finput option { background: #fff; color: var(--navy); }

/* ── FLOATING BUTTON ── */
.floatbtn {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1050;
  background: var(--grad-btn);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 7px 24px rgba(255, 124, 26, .42);
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translateY(0);    box-shadow: 0 7px 24px rgba(255, 124, 26, .42); }
  50%       { transform: translateY(-6px); box-shadow: 0 15px 34px rgba(255, 124, 26, .55); }
}
.floatbtn:hover { animation: none; transform: scale(1.04); }

/* ── TOAST ── */
#toast { position: fixed; bottom: 86px; right: 24px; z-index: 1060; display: none; }
.toast-box {
  background: var(--grad-navy);
  color: #fff;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 7px 24px rgba(4, 22, 89, .36);
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 4px solid var(--orange);
}

/* ── SCROLL ANIMATION ── */
.fup {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .55s ease, transform .55s ease;
}
.fup.in { opacity: 1; transform: translateY(0); }


/* ============================================================
   COURSE DETAIL PAGE
   Used in: course-detail-final.html
   Parts: cd-top · cd-learn-section · cd-cta-strip
   ============================================================ */

/* ── PART 1 · HERO WRAPPER ── */
.cd-top {
  background: linear-gradient(135deg, #062444 0%, #0a3a6e 45%, #1a5298 100%);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}
.cd-top::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255, 168, 77, .07);
  pointer-events: none;
}
.cd-top::after {
  content: '';
  position: absolute;
  left: -50px; bottom: 0;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255, 168, 77, .05);
  pointer-events: none;
}

/* ── SQUARE IMAGE ── */
.cd-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 991px) {
  .cd-img-wrap {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    margin-bottom: 8px;
  }
}
.cd-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.cd-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 22, 89, .10) 0%,
    rgba(4, 22, 89, .22) 50%,
    rgba(4, 22, 89, .80) 100%
  );
}
.cd-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 24px 20px;
  z-index: 2;
}
.cd-img-caption-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 168, 77, .18);
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 8px;
}
.cd-img-caption-title {
  color: #fff;
  font-size: 18px; font-weight: 800;
  line-height: 1.3;
}

/* ── RIGHT CONTENT ── */
.cd-right {
  padding: 4px 0 56px 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (max-width: 991px) { .cd-right { padding: 20px 0 40px; } }

.cd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 168, 77, .15);
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 5px 15px;
  margin-bottom: 14px;
}
.cd-title {
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 12px;
}
.cd-title span { color: var(--orange); }
.cd-desc {
  color: rgba(255, 255, 255, .70);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

/* ── COMPACT 2-COLUMN DETAILS GRID ── */
.cd-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 168, 77, .22);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
@media (max-width: 576px) { .cd-details-grid { grid-template-columns: 1fr; } }

.cd-detail-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  border-right: 1px solid rgba(255, 255, 255, .07);
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  transition: background .2s;
}
.cd-detail-cell:hover { background: rgba(255, 255, 255, .05); }
.cd-detail-cell:nth-child(2n)         { border-right: none; }
.cd-detail-cell:nth-last-child(-n+2)  { border-bottom: none; }
@media (max-width: 576px) {
  .cd-detail-cell                     { border-right: none; }
  .cd-detail-cell:last-child          { border-bottom: none; }
  .cd-detail-cell:nth-last-child(2)   { border-bottom: 1px solid rgba(255, 255, 255, .07); }
}
.cd-detail-icon {
  width: 30px; height: 30px;
  background: rgba(255, 168, 77, .14);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 14px;
  flex-shrink: 0;
}
.cd-detail-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .40);
  margin-bottom: 1px;
}
.cd-detail-value {
  font-size: 13px; font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* ── COURSE DETAIL CTA BUTTONS ── */
.cd-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.cd-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-btn);
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 13px 28px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 124, 26, .35);
  transition: transform .25s, box-shadow .25s;
}
.cd-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 124, 26, .5);
  color: #fff;
}
.cd-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .10);
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 13px 28px; border-radius: 50px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, .25);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cd-btn-secondary:hover {
  background: rgba(255, 255, 255, .18);
  border-color: var(--orange);
  color: #fff;
}

/* ── PART 2 · WHAT YOU WILL LEARN ── */
.cd-learn-section {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cd-learn-section::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255, 168, 77, .07);
  pointer-events: none;
}
.cd-learn-section .eyebrow {
  color: var(--orange);
  background: rgba(255, 168, 77, .12);
}
.cd-learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 767px) { .cd-learn-grid { grid-template-columns: 1fr; } }

.cd-learn-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  border-right: 1px solid rgba(255, 255, 255, .07);
  transition: background .25s;
}
.cd-learn-item:hover { background: rgba(255, 255, 255, .04); }
.cd-learn-item:nth-child(2n)        { border-right: none; }
.cd-learn-item:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 767px) {
  .cd-learn-item                    { border-right: none; }
  .cd-learn-item:last-child         { border-bottom: none; }
  .cd-learn-item:nth-last-child(2)  { border-bottom: 1px solid rgba(255, 255, 255, .07); }
}
.cd-learn-num {
  width: 50px; height: 50px;
  flex-shrink: 0;
  background: rgba(255, 168, 77, .12);
  border: 1.5px solid rgba(255, 168, 77, .35);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px; font-weight: 800;
  color: var(--orange);
  transition: background .25s;
}
.cd-learn-item:hover .cd-learn-num { background: rgba(255, 168, 77, .22); }
.cd-learn-ttl {
  font-size: 15px; font-weight: 700;
  color: #fff; margin-bottom: 6px;
}
.cd-learn-txt {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.65;
}

/* ── PART 3 · CTA STRIP ── */
.cd-cta-strip {
  background: var(--grad-navy);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.cd-cta-strip::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255, 168, 77, .10);
  pointer-events: none;
}

.courses-sec .swiper-wrapper {
    justify-content: center;
}
