/* =========================================
   SocialPost Academy — Static Website CSS
   ========================================= */

:root {
  --primary:   #1d438d;
  --primary-d: #15336e;
  --dark:      #ed1c24;
  --dark2:     #c91620;
  --accent:    #1d438d;
  --light-bg:  #f2ede0;
  --text:      #1a1a2e;
  --muted:     #000;
  --border:    #e0dbd0;
}

/* --- Base --- */
html, body { overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--light-bg); }
p { text-align: justify; }
a { text-decoration: none; }

/* --- Navbar --- */
.spa-navbar {
  background: var(--dark) !important;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.spa-navbar .navbar-brand {
  font-size: 20px;
  font-weight: 900;
  color: #fff !important;
  letter-spacing: -.3px;
}
.spa-navbar .navbar-brand span { color: var(--primary); }
.spa-navbar .nav-link {
  color: rgba(255,255,255,.75) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: .2s;
}
.spa-navbar .nav-link:hover,
.spa-navbar .nav-link.active {
  color: #fff !important;
  background: #1d438d;
}
.spa-navbar .btn-portal {
  background: var(--primary);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 7px 18px;
  transition: .2s;
}
.spa-navbar .btn-portal:hover { background: var(--primary-d); }

/* --- Modern Admissions Dropdown --- */
.spa-mega-dropdown .nav-link.dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: 0.15em;
  border-top-color: currentColor;
}
.spa-mega-menu {
  min-width: 320px;
  padding: 10px;
  border: 1px solid rgba(29,67,141,.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(13,25,60,.18), 0 4px 16px rgba(13,25,60,.08);
  margin-top: 10px !important;
  animation: spaMegaFade .2s ease-out;
}
.spa-mega-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 30px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid rgba(29,67,141,.08);
  border-top: 1px solid rgba(29,67,141,.08);
  transform: rotate(45deg);
  border-top-left-radius: 3px;
}
/* Invisible hover-bridge: extends the menu's hover area upward across
   the visual gap to the parent link, so cursor doesn't drop the :hover
   state on the way down to a subitem. */
.spa-mega-menu::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
@keyframes spaMegaFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.spa-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #1d193c;
  transition: background .18s ease, transform .18s ease, color .18s ease;
  position: relative;
}
.spa-mega-item + .spa-mega-item { margin-top: 4px; }
.spa-mega-item:hover,
.spa-mega-item.is-active {
  background: linear-gradient(135deg, rgba(237,28,36,.08), rgba(29,67,141,.06));
  color: var(--primary);
}
.spa-mega-item:hover .spa-mega-icon,
.spa-mega-item.is-active .spa-mega-icon {
  background: var(--dark);
  color: #fff;
  transform: scale(1.05);
}
.spa-mega-item:hover .spa-mega-arrow,
.spa-mega-item.is-active .spa-mega-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--dark);
}
.spa-mega-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(29,67,141,.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: .2s;
}
.spa-mega-copy { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.spa-mega-title { font-size: 14px; font-weight: 800; color: inherit; }
.spa-mega-sub   { font-size: 12px; color: #6b7280; margin-top: 2px; font-weight: 500; }
.spa-mega-item:hover .spa-mega-sub,
.spa-mega-item.is-active .spa-mega-sub { color: rgba(29,67,141,.72); }
.spa-mega-arrow {
  font-size: 14px;
  color: rgba(29,67,141,.35);
  opacity: 0;
  transform: translateX(-4px);
  transition: .2s;
}

/* On desktop nav we want the dropdown to open on hover AND click */
@media (min-width: 992px) {
  .spa-navbar .spa-mega-dropdown:hover > .spa-mega-menu,
  .spa-navbar .spa-mega-dropdown:focus-within > .spa-mega-menu { display: block; }
}

/* Collapsed mobile nav — let the mega menu sit inline, full width, no arrow */
@media (max-width: 991.98px) {
  .spa-mega-menu {
    box-shadow: none;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    min-width: 0;
    margin-top: 6px !important;
    padding: 6px;
  }
  .spa-mega-menu::before { display: none; }
  .spa-mega-item { color: rgba(255,255,255,.9); }
  .spa-mega-icon { background: rgba(255,255,255,.1); color: #fff; }
  .spa-mega-sub  { color: rgba(255,255,255,.6); }
  .spa-mega-item:hover,
  .spa-mega-item.is-active {
    background: rgba(237,28,36,.18);
    color: #fff;
  }
  .spa-mega-item:hover .spa-mega-sub,
  .spa-mega-item.is-active .spa-mega-sub { color: rgba(255,255,255,.78); }
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  padding: 100px 0 80px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero p.lead {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  max-width: 520px;
}
.btn-primary-spa {
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border: none;
  transition: .2s;
  display: inline-block;
}
.btn-primary-spa:hover { background: var(--primary-d); color: #fff; transform: translateY(-1px); }
.btn-outline-spa {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 28px;
  transition: .2s;
  display: inline-block;
}
.btn-outline-spa:hover { background: rgba(255,255,255,.1); color: #fff; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--primary-d);
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 32px; font-weight: 900; color: #fff; line-height: 1; }
.stat-item .lbl { font-size: 15px; color: rgba(255,255,255,.5); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* --- Section Headings --- */
.section-title { font-size: clamp(24px, 4vw, 36px); font-weight: 900; color: var(--text); line-height: 1.2; }
.section-sub { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* --- Cards --- */
.spa-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: .25s;
  height: 100%;
}
.spa-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-3px); }
.spa-card .icon-box {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.spa-card h5 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.spa-card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }

/* --- University Grid --- */
.uni-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: .25s;
}
.uni-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.uni-logo {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px;
}
.uni-card h6 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.uni-card .location { font-size: 15px; color: var(--muted); }
.uni-badge {
  display: inline-block;
  background: var(--light-bg);
  color: var(--muted);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  padding: 3px 8px;
  margin-top: 10px;
}

/* --- Course Card --- */
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: .25s;
}
.course-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-3px); }
.course-thumb {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.course-body { padding: 18px; }
.course-body .tag { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--primary); margin-bottom: 6px; }
.course-body h6 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.course-body p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.course-meta span { font-size: 15px; color: var(--muted); margin-right: 12px; }

/* --- Process Steps --- */
.step-wrap { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.step-num {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--primary);
  color: #fff; font-size: 15px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-content h6 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.step-content p { font-size: 15px; color: #444; margin: 0; }

/* --- Agent Benefits --- */
.benefit-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.benefit-icon { font-size: 22px; margin-top: 2px; }
.benefit-text h6 { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.benefit-text p { font-size: 15px; color: var(--muted); margin: 0; }

/* --- Testimonial --- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.testimonial-card .stars { color: #FFC107; font-size: 15px; margin-bottom: 12px; }
.testimonial-card p { font-size: 15px; color: var(--muted); font-style: italic; line-height: 1.7; margin-bottom: 16px; }
.testimonial-card .author { font-size: 15px; font-weight: 800; color: var(--text); }
.testimonial-card .role { font-size: 15px; color: var(--muted); }

/* --- Contact --- */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.form-control, .form-select {
  border-radius: 10px !important;
  border: 1px solid var(--border) !important;
  font-size: 15px !important;
  padding: 10px 14px !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(29,67,141,.1) !important;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  padding: 70px 0;
  color: #fff;
  text-align: center;
}
.cta-section h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 900; margin-bottom: 14px; }
.cta-section p { font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.btn-white { background: #fff; color: var(--primary) !important; border-radius: 12px; font-weight: 800; font-size: 15px; padding: 13px 28px; transition: .2s; }
.btn-white:hover { background: #f5f5f5; transform: translateY(-1px); }

/* --- Footer --- */
.spa-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 50px 0 24px;
  font-size: 15px;
}
.spa-footer .brand { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.spa-footer .brand span { color: var(--primary); }
.spa-footer p { color: #fff; font-size: 15px; }
.spa-footer h6 { color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 14px; letter-spacing: .3px; }
.spa-footer ul { list-style: none; padding: 0; margin: 0; }
.spa-footer ul li { margin-bottom: 9px; }
.spa-footer ul li a { color: rgba(255,255,255,.85); font-size: 15px; transition: .2s; }
.spa-footer ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; margin-top: 32px; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.35); font-size: 15px; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  padding: 80px 0 64px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  bottom: -150px; left: -80px;
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -.5px;
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero p { font-size: 15px; color: rgba(255,255,255,.65); margin: 0; max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }

/* --- Content Cards (used across about/students pages) --- */
.content-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  transition: box-shadow .4s ease;
}
.content-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); }

/* --- Highlight Card (orange bg, left border) --- */
.highlight-card {
  background: #FFF8F0;
  border-radius: 20px;
  padding: 36px 32px;
  border-left: 5px solid var(--primary);
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  transition: box-shadow .4s ease;
}
.highlight-card:hover { box-shadow: 0 8px 32px rgba(237,28,36,.08); }

/* --- Gradient Cards (mission/vision, quote) --- */
.gradient-card {
  border-radius: 24px;
  padding: 40px 32px;
  color: #fff;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.gradient-card::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  top: -60px; right: -60px;
  pointer-events: none;
}
.gradient-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.2); }

/* --- Category Cards (engineering/medical/pharmacy level cards) --- */
.level-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
  border-top-width: 4px;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.level-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.level-card h5 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.level-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* --- Quote Block --- */
.quote-block {
  background: linear-gradient(135deg, #1d438d, #15336e);
  border-radius: 16px;
  padding: 28px 24px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 80px;
  color: rgba(255,255,255,.08);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.quote-block p { color: #fff; font-size: 18px; font-weight: 800; font-style: italic; margin: 0; position: relative; z-index: 1; }

/* --- Check List --- */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8faf8;
  border-radius: 12px;
  transition: background .2s ease, transform .2s ease;
}
.check-list-item:hover { background: #e8f5e9; transform: translateX(4px); }
.check-list-item i { color: #4CAF50; font-size: 20px; flex-shrink: 0; }
.check-list-item span { font-weight: 600; font-size: 15px; color: #333; }

/* --- Section Divider --- */
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--dark));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* =========================================
   Scroll Reveal Animations
   ========================================= */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible, .reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in with blur */
.reveal-blur {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity .8s ease, filter .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-blur.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Staggered children — supports up to 12 */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.visible > *:nth-child(1)  { transition-delay: .05s; }
.reveal-stagger.visible > *:nth-child(2)  { transition-delay: .10s; }
.reveal-stagger.visible > *:nth-child(3)  { transition-delay: .15s; }
.reveal-stagger.visible > *:nth-child(4)  { transition-delay: .20s; }
.reveal-stagger.visible > *:nth-child(5)  { transition-delay: .25s; }
.reveal-stagger.visible > *:nth-child(6)  { transition-delay: .30s; }
.reveal-stagger.visible > *:nth-child(7)  { transition-delay: .35s; }
.reveal-stagger.visible > *:nth-child(8)  { transition-delay: .40s; }
.reveal-stagger.visible > *:nth-child(9)  { transition-delay: .45s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: .50s; }
.reveal-stagger.visible > *:nth-child(11) { transition-delay: .55s; }
.reveal-stagger.visible > *:nth-child(12) { transition-delay: .60s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in from left / right */
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Scale-up */
.reveal-scale { opacity: 0; transform: scale(.85); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* =========================================
   Page Hero Entrance Animation
   ========================================= */
.page-hero h1 {
  animation: heroSlideUp .8s cubic-bezier(.22,1,.36,1) both;
}
.page-hero p {
  animation: heroSlideUp .8s cubic-bezier(.22,1,.36,1) .15s both;
}
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero stat counters entrance */
.page-hero .d-flex > div {
  animation: heroSlideUp .6s cubic-bezier(.22,1,.36,1) both;
}
.page-hero .d-flex > div:nth-child(1) { animation-delay: .2s; }
.page-hero .d-flex > div:nth-child(2) { animation-delay: .3s; }
.page-hero .d-flex > div:nth-child(3) { animation-delay: .4s; }
.page-hero .d-flex > div:nth-child(4) { animation-delay: .5s; }

/* =========================================
   Navbar Animation
   ========================================= */
.spa-navbar {
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.spa-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* =========================================
   Enhanced Card Hover Effects
   ========================================= */
.spa-card, .uni-card, .course-card {
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.spa-card:hover {
  box-shadow: 0 16px 48px rgba(29,67,141,.12);
  transform: translateY(-6px);
}
.uni-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.1);
  transform: translateY(-5px);
}

/* Card blue — icon glow on hover */
.card-blue .num-badge {
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-blue:hover .num-badge {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(237,28,36,.4);
}
.card-blue .icon-glass {
  transition: transform .3s ease, background .3s ease;
}
.card-blue:hover .icon-glass {
  transform: scale(1.08);
  background: rgba(255,255,255,.18);
}

/* Glass card hover lift */
.card-glass {
  transition: transform .3s ease, background .3s ease;
}
.card-glass:hover {
  transform: translateX(6px);
  background: rgba(255,255,255,.12);
}

/* Testimonial card — quote slide */
.card-testimonial .quote {
  transition: transform .3s ease;
}
.card-testimonial:hover .quote {
  transform: translateX(4px);
}

/* =========================================
   Floating / Pulsing Animations
   ========================================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237,28,36,.3); }
  50%      { box-shadow: 0 0 0 12px rgba(237,28,36,0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Apply float to hero decorative elements */
.hero-float-badge { animation: float 3s ease-in-out infinite; }
.hero-float-badge:nth-child(2) { animation-delay: .5s; }
.hero-float-badge:nth-child(3) { animation-delay: 1s; }

/* Decorative rings — slow rotation */
.ring { animation: spin-slow 60s linear infinite; }
.ring-2 { animation-duration: 45s; animation-direction: reverse; }
.ring-4 { animation-duration: 30s; }

/* Arrow circle pulse */
.arrow-circle {
  transition: transform .3s ease, box-shadow .3s ease;
}
.arrow-circle:hover {
  animation: pulse-glow 1.5s ease infinite;
}

/* CTA glass icon pulse on hover */
.card-glass-icon {
  transition: transform .3s ease;
}
.card-glass:hover .card-glass-icon {
  transform: scale(1.1) rotate(-3deg);
}

/* =========================================
   Smooth Button Interactions
   ========================================= */
.btn-primary-spa, .btn-outline-spa, .btn-white {
  transition: all .3s cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;
}
.btn-primary-spa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,67,141,.3); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

/* Button ripple effect */
.btn-cta-white::after, .btn-cta-ghost::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.btn-cta-white:hover::after, .btn-cta-ghost:hover::after { opacity: 1; }

/* =========================================
   Section Title Underline Animation
   ========================================= */
.section-divider {
  transform: scaleX(0);
  transition: transform .6s cubic-bezier(.22,1,.36,1) .2s;
}
.reveal.visible .section-divider,
.visible .section-divider {
  transform: scaleX(1);
}

/* =========================================
   Counter Animation (number ticking)
   ========================================= */
.stat-item .num { transition: transform .3s ease; }
.stat-item:hover .num { transform: scale(1.15); }

/* =========================================
   Smooth Page Transitions
   ========================================= */
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageIn .4s ease both; }

/* =========================================
   Respect Reduced Motion
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-up, .reveal-blur, .reveal-left, .reveal-right, .reveal-scale,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* =========================================
   Reusable Component Classes
   ========================================= */

/* --- Section backgrounds --- */
.bg-ivory { background: var(--light-bg); }

/* --- Blue theme card --- */
.card-blue {
  background: var(--primary);
  border-radius: 20px;
  padding: 28px 24px;
  border-top: 4px solid var(--dark);
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: .25s;
}
.card-blue:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29,67,141,.25);
}
.card-blue .card-heading {
  font-weight: 900;
  color: #fff;
  font-size: 18px;
  margin: 0 0 10px;
  line-height: 1.3;
}
.card-blue .card-text {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* --- Content block (larger paragraph card) --- */
.card-content-blue {
  background: var(--primary);
  border-radius: 20px;
  padding: 32px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.8;
}
.card-content-blue p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.8; }
.card-content-blue strong { color: #fff; }

/* --- Icon + Title row --- */
.card-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.card-header-row-sm { gap: 10px; }

/* --- Numbered badge (red circle) --- */
.num-badge {
  width: 32px;
  height: 32px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
}
.num-badge-sm { width: 28px; height: 28px; font-size: 15px; }

/* --- Watermark number --- */
.watermark {
  position: absolute;
  bottom: -10px;
  right: 10px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.watermark-sm { font-size: 60px; bottom: -8px; right: 8px; }

/* --- Glass icon box --- */
.icon-glass {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.1);
}

/* --- CTA section (modern two-column) --- */
.cta-modern {
  background: linear-gradient(135deg, var(--primary) 0%, #122d6a 100%);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.cta-modern .cta-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-modern .cta-heading span { color: rgba(255,255,255,.65); }
.cta-modern .cta-desc {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.cta-modern .cta-desc-bold {
  color: rgba(255,255,255,.9);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 34px;
}

/* --- Decorative rings --- */
.ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ring-1 { top: -100px; right: -100px; width: 380px; height: 380px; border: 1px solid rgba(255,255,255,.06); }
.ring-2 { top: -60px; right: -60px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.05); }
.ring-3 { bottom: -80px; left: -80px; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.05); }
.ring-4 { bottom: 20px; left: 38%; width: 120px; height: 120px; border: 1px solid rgba(255,255,255,.04); }

/* --- Frosted glass card (CTA benefit cards) --- */
.card-glass {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.card-glass-icon {
  width: 46px;
  height: 46px;
  background: var(--dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(237,28,36,.35);
}
.card-glass .glass-title { font-size: 15px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.card-glass .glass-desc { font-size: 15px; color: rgba(255,255,255,.62); line-height: 1.55; }

/* --- CTA Buttons --- */
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: .2s;
  border: none;
  cursor: pointer;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  color: var(--primary);
}
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: .2s;
}
.btn-cta-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.65);
  color: #fff;
}

/* --- Button stack (vertical on mobile, row on sm+) --- */
.btn-stack { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 576px) { .btn-stack { flex-direction: row; } }

/* --- Arrow circle --- */
.arrow-circle {
  width: 36px;
  height: 36px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

/* --- Quote block (inside blue cards) --- */
.quote-blue {
  border-left: 4px solid var(--dark);
  padding: 16px 24px;
  margin-top: 24px;
  text-align: left;
  background: rgba(255,255,255,.08);
  border-radius: 0 12px 12px 0;
}
.quote-blue p {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  font-style: italic;
  margin: 0;
  text-align: left;
}

/* --- Contact card --- */
.card-contact {
  background: var(--dark);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  height: 100%;
  border-top: 4px solid var(--primary);
}
.card-contact .contact-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}
.card-contact h6 { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.card-contact .contact-info { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.card-contact .contact-sub { font-size: 15px; color: #fff; }

/* --- Testimonial card --- */
.card-testimonial {
  background: var(--primary);
  border-radius: 20px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--dark);
  transition: .25s;
}
.card-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29,67,141,.25);
}
.card-testimonial .stars { color: #f5c518; font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.card-testimonial .quote { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.75; margin-bottom: 24px; flex: 1; font-style: italic; }
.card-testimonial .author-row { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; display: flex; align-items: center; gap: 14px; }
.card-testimonial .author-avatar { width: 44px; height: 44px; background: var(--dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 900; color: #fff; flex-shrink: 0; box-shadow: 0 4px 12px rgba(237,28,36,.3); }
.card-testimonial .author-name { font-size: 15px; font-weight: 900; color: #fff; }
.card-testimonial .author-role { font-size: 15px; color: #fff; }

/* --- Download badge row --- */
.badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.badge-row img { height: 44px; width: auto; display: block; }

/* --- Home university thumbnail card --- */
.card-uni-home {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: .25s;
}
.card-uni-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(29,67,141,.15);
}
.card-uni-home .uni-home-thumb {
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}
.card-uni-home .uni-home-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .3s;
}
.card-uni-home:hover .uni-home-thumb img {
  transform: scale(1.04);
}
.card-uni-home .uni-home-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.card-uni-home .uni-home-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 8px;
  display: block;
}
.card-uni-home .uni-home-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 5px;
  line-height: 1.35;
  flex: 1;
}
.card-uni-home .uni-home-location {
  font-size: 15px;
  color: #888;
}

/* --- Hero banner slider --- */
.hero-banner-slider { position: relative; overflow: hidden; background: #1a1a2e; }
.hero-banner-slider .banner-track { display: flex; transition: transform .5s ease; align-items: flex-start; }
.hero-banner-slider .banner-slide { flex: 0 0 100%; width: 100%; max-width: 100%; }
.hero-banner-slider .banner-slide a { display: block; width: 100%; }
/* Sizing only — `display` is owned by the .banner-img-* swap rules
   below. Setting `display: block` here would win on specificity over
   `.banner-img-mobile { display: none; }` and the hide-on-desktop
   behaviour would silently break. */
.hero-banner-slider .banner-slide img { width: 100%; height: auto; object-fit: contain; }

/* Desktop / mobile banner swap. The blade emits both <img> tags when a
   mobile variant is uploaded; CSS picks one based on viewport so the
   admin can ship a portrait/squarer mobile crop without touching markup.
   When no mobile variant exists, only .banner-img-desktop is emitted
   and the @media rule's `display: none` simply has nothing to act on.
   Rules apply globally so any banner block (home hero, university
   detail page, etc.) gets the same behaviour without per-site CSS. */
.banner-img-mobile  { display: none; }
.banner-img-desktop { display: block; }
@media (max-width: 768px) {
    /* :has() lets us only hide desktop when a mobile sibling actually
       exists in the same slide — older banners with only a desktop
       upload keep showing the wide image on mobile (acceptable fallback). */
    *:has(> .banner-img-mobile) > .banner-img-desktop { display: none; }
    .banner-img-mobile { display: block; }
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.slider-arrow-left { left: 16px; }
.slider-arrow-right { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: .3s;
}
.slider-dot.active { background: #fff; }

/* --- Hero floating badges --- */
.hero-float-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
}

/* --- Hero check items --- */
.hero-check { font-size: 15px; color: rgba(255,255,255,.6); }
.hero-check i { color: #4CAF50; }

/* --- Navbar social icons --- */
.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s;
}
.footer-social:hover { background: rgba(255,255,255,.15); color: #fff; }

/* --- Footer link hover --- */
.footer-link {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: color .2s;
}
.footer-link:hover { color: rgba(255,255,255,.6); }

/* --- Footer contact icon --- */
.footer-contact-icon {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  flex-shrink: 0;
}

/* --- Footer contact link --- */
.footer-contact-link {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: color .2s;
}
.footer-contact-link:hover { color: rgba(255,255,255,.65); }

/* --- Copyright bar links --- */
.copyright-link {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
}
.copyright-link:hover { color: #fff; }

/* --- Breadcrumb --- */
.breadcrumb-bar { border-bottom: 1px solid var(--border); padding: 11px 0; }
.breadcrumb-bar nav { font-size: 15px; color: var(--muted); }
.breadcrumb-bar a { color: var(--muted); text-decoration: none; }
.breadcrumb-bar .sep { margin: 0 7px; opacity: .5; }
.breadcrumb-bar .current { color: var(--dark); font-weight: 600; }

/* --- Hero stat counters --- */
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 26px; font-weight: 900; color: #fff; }
.hero-stat .label { font-size: 15px; color: rgba(255,255,255,.6); }

/* --- Card icon circle (40px, for section headers) --- */
.card-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon-circle i { color: #fff; font-size: 18px; }

/* --- Perks bar item --- */
.perk-item { text-align: center; }
.perk-item .perk-icon { font-size: 24px; margin-bottom: 6px; }
.perk-item .perk-label { font-size: 15px; color: rgba(255,255,255,.6); font-weight: 600; }

/* --- Course card (blue, for course list) --- */
.card-course {
  background: var(--primary);
  border-radius: 20px;
  border-top: 4px solid var(--dark);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: .25s;
  position: relative;
}
.card-course:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29,67,141,.25);
}
.card-course .course-thumb {
  background: rgba(255,255,255,.08);
  padding: 28px;
  text-align: center;
  position: relative;
}
.card-course .course-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-course .course-category {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.card-course .course-level {
  font-size: 15px;
  font-weight: 700;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
}
.card-course .course-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.4;
}
.card-course .course-subtitle {
  font-size: 15px;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.5;
}
.card-course .course-instructor {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
}
.card-course .course-rating { color: #f5c518; font-size: 15px; font-weight: 800; }
.card-course .course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 15px;
  color: #fff;
}
.card-course .course-price { font-size: 15px; font-weight: 900; color: #fff; }
.card-course .course-price-orig {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  text-decoration: line-through;
  margin-left: 6px;
}
.card-course .course-price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
}
.card-course .course-view {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.card-course .course-footer {
  background: var(--dark);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-course .course-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.92);
}
.card-course .course-footer-meta i { color: #fff; opacity: .9; margin-right: 3px; }
.card-course .course-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.card-course .course-footer .course-price { color: #fff; }
.card-course .course-footer .course-price-orig { color: rgba(255,255,255,.6); }

/* --- University listing card (thumbnail on top, no padding at card level) --- */
.card-uni {
  background: var(--primary);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: .25s;
  cursor: pointer;
}
.card-uni:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(29,67,141,.25);
}
.card-uni .uni-thumb {
  overflow: hidden;
  flex-shrink: 0;
}
.card-uni .uni-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: .35s;
}
.card-uni:hover .uni-thumb img { transform: scale(1.04); }
.card-uni .uni-thumb-placeholder {
  height: 180px;
  flex-shrink: 0;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-uni .uni-thumb-placeholder span {
  font-size: 56px;
  font-weight: 900;
  color: rgba(255,255,255,.15);
}
.card-uni .uni-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-uni .uni-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.card-uni .uni-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.15);
}
.card-uni .uni-logo-placeholder {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.card-uni .uni-name {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.35;
}
.card-uni .uni-location {
  font-size: 15px;
  color: rgba(255,255,255,.6);
}
.card-uni .uni-location i {
  color: var(--dark);
  font-size: 15px;
}
.card-uni .uni-badge-dark {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  padding: 3px 9px;
}

/* =========================================
   Hero Banner Slider polish
   ========================================= */
.hero-dot { transition: all .3s ease; }
.hero-dot.active { transform: scale(1.3); }

/* =========================================
   Infographic section polish
   ========================================= */
@keyframes pulse-dot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.6); } }

/* =========================================
   Gradient text utility
   ========================================= */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #E63946 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================
   Smooth scroll
   ========================================= */
html { scroll-behavior: smooth; }

/* =========================================
   Navbar shrink on scroll
   ========================================= */
.spa-navbar { transition: padding .3s ease, box-shadow .3s ease; }
.spa-navbar.scrolled { padding: 8px 0; box-shadow: 0 4px 30px rgba(0,0,0,.5); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero { padding: 70px 0 50px; }
  .stats-bar .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 14px 0; }
  .step-wrap { gap: 12px; }
}

/* --- App Download Box (home page) --- */
.app-download-box {
  position: relative;
  background: linear-gradient(135deg, #ed1c24 0%, #b8141a 55%, #8c0a10 100%);
  border-radius: 28px;
  padding: 56px 60px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(237,28,36,.35), 0 10px 30px rgba(140,10,16,.25);
  border: 1px solid rgba(255,255,255,.08);
}
.app-download-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.app-download-decor-1 {
  top: -120px; right: -80px;
  width: 340px; height: 340px;
  background: radial-gradient(circle at center, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 70%);
}
.app-download-decor-2 {
  bottom: -140px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle at center, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 70%);
}
.app-download-decor-3 {
  top: 30%; left: 35%;
  width: 6px; height: 6px;
  background: rgba(255,255,255,.4);
  box-shadow:
    120px 40px 0 -2px rgba(255,255,255,.3),
    -80px -20px 0 -1px rgba(255,255,255,.35),
    200px -60px 0 -3px rgba(255,255,255,.25),
    40px 120px 0 -2px rgba(255,255,255,.3);
}
.app-download-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.app-download-title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.app-download-sub {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 540px;
}
.app-download-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 28px;
}
.app-download-features span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.app-download-features i { color: #4ade80; font-size: 18px; }

.app-download-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  min-width: 180px;
}
.app-store-badge i { font-size: 30px; line-height: 1; }
.app-store-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.app-store-badge small { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; opacity: .7; }
.app-store-badge strong { font-size: 17px; font-weight: 800; }
.app-store-badge:hover {
  transform: translateY(-3px);
  background: #111;
  box-shadow: 0 14px 32px rgba(0,0,0,.4);
  color: #fff;
}

/* Phone mockup on the right */
.app-phone-frame {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
  background: #0a1733;
  border: 3px solid rgba(255,255,255,.14);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4), inset 0 0 20px rgba(255,255,255,.02);
}
.app-phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 18px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.app-phone-screen {
  background: linear-gradient(180deg, #1d438d 0%, #122c63 100%);
  border-radius: 22px;
  padding: 40px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  padding: 0 4px;
}
.app-phone-header i { color: var(--dark); font-size: 20px; }
.app-phone-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-phone-card > i {
  width: 36px; height: 36px;
  background: var(--dark);
  color: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.app-phone-card-title { font-size: 12px; font-weight: 800; color: #fff; line-height: 1.2; }
.app-phone-card-sub { font-size: 10px; color: rgba(255,255,255,.6); margin-top: 2px; }

@media (max-width: 991.98px) {
  .app-download-box { padding: 44px 32px; border-radius: 24px; }
  .app-download-title { font-size: 32px; }
}
@media (max-width: 576px) {
  .app-download-box { padding: 32px 22px; border-radius: 20px; }
  .app-download-title { font-size: 26px; }
  .app-download-sub { font-size: 14px; }
  .app-store-badge { flex: 1; min-width: 0; padding: 10px 14px; }
  .app-store-badge strong { font-size: 15px; }
}
