/* ============================================
   NYCSM ACADEMY – Computer Training Website
   style.css 2025 — Educational Institute Theme
============================================ */

/* ---- CSS Variables ---- */
:root {
  --navy: #1a237e;
  --navy-dark: #0d1457;
  --navy-mid: #283593;
  --accent: #FF6B00;
  --accent-dark: #e05e00;
  --accent-light: rgba(255, 107, 0, 0.1);
  --gold: #FFC107;
  --success: #22C55E;
  --white: #ffffff;
  --off-white: #F8F9FF;
  --light-gray: #F1F5F9;
  --mid-gray: #94A3B8;
  --dark-text: #0F1B3C;
  --body-text: #4B5563;
  --border: #E2E8F0;
  --card-shadow: 0 4px 24px rgba(26, 35, 126, 0.08);
  --card-shadow-hover: 0 16px 48px rgba(26, 35, 126, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
  /* overflow-x:clip — prevents horizontal scroll WITHOUT creating a scroll
     container, so position:sticky keeps working relative to the viewport.
     Do NOT switch to overflow-x:hidden here — that breaks position:sticky. */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  /* overflow-x:clip on body clips any remaining horizontal overflow (e.g.
     Bootstrap row negative margins, nowrap elements) WITHOUT making body
     a scroll container — so position:sticky still sticks to the viewport. */
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--dark-text);
  line-height: 1.25;
}

.section-pad {
  padding: 80px 0;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 3px;
}

/* ============================================
   UTILITY TOP BAR (thin strip)
============================================ */

/* ---------------------------------------------------------------
   Smooth collapse for topbar + logobar on scroll.
   IMPORTANT: Use transform+opacity only — these are GPU-composited
   and never trigger layout reflow. max-height/padding transitions
   cause layout thrashing every frame → freeze and shake.
--------------------------------------------------------------- */
.utility-bar,
.header-strip {
  transform-origin: top center;
  transform: scaleY(1);
  opacity: 1;
  will-change: transform, opacity;
  /* contain:layout isolates these bars so repaints don't cascade */
  contain: layout;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.header-bars-hidden .utility-bar,
body.header-bars-hidden .header-strip {
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
}

.utility-bar {
  background: #1a1a2e;
  padding: 7px 0;
  font-size: 12.5px;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.utility-link:hover {
  color: var(--accent);
}

.utility-social {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.utility-social:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 767px) {
  .utility-bar {
    font-size: 11px;
  }

  .utility-bar .container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }

  .utility-bar .contact-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    font-size: 0.813rem;
    flex-wrap: wrap;
    width: 100%;
  }

  .utility-bar .d-flex.align-items-center.gap-3 {
    justify-content: center !important;
    width: 100%;
  }
}

/* ============================================
   HEADER LOGO STRIP
============================================ */
.header-strip {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(26, 35, 126, 0.06);
  /* Note: no explicit transform here — will-change:transform above
     already promotes this element to its own GPU layer */
}

/* Logo */
.header-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo-seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  /* No background or border — image logo displays naturally */
  background: transparent;
  border: none;
  box-shadow: none;
}

.logo-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* .logo-seal::before removed — not needed with image logo */

.logo-seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  z-index: 1;
}

.logo-abbr {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-top: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* One-line name row: title · subtitle */
.logo-name-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  /* allow wrap if needed on larger breakpoints */
  gap: 8px;
  /* NO white-space:nowrap here — it causes x-overflow on mobile */
}

.logo-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.logo-title-sep {
  font-size: 22px;
  color: var(--mid-gray);
  font-weight: 300;
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.logo-cert {
  font-size: 11px;
  color: var(--mid-gray);
  font-weight: 500;
  margin-top: 4px;
}

.logo-cert i {
  color: var(--success);
}

/* Tagline above action buttons */
.header-right {
  align-items: flex-end;
}

.header-tagline {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-mid);
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, rgba(26, 35, 126, 0.07) 0%, rgba(255, 107, 0, 0.08) 100%);
  border-left: 3px solid var(--accent);
  padding: 4px 12px 4px 10px;
  border-radius: 0 4px 4px 0;
  /* Removed white-space:nowrap — was causing horizontal overflow on mobile */
  word-break: break-word;
}

.header-tagline i {
  color: var(--accent);
}

/* Anniversary badge */
.anniversary-badge {
  background: linear-gradient(135deg, #FFF8E1, #FFF3CD);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 10px 18px;
  gap: 10px;
}

.anniv-years {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.anniv-dash {
  font-size: 8px;
  line-height: 1;
}

.anniv-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  justify-content: center;
  color: var(--white);
}

.anniv-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.anniv-text {
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.anniv-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11.1px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--transition);
  border: 2px solid transparent;
}

.header-action-btn:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.header-action-btn i {
  font-size: 16px;
}

/* ---- Small laptop / large tablet (768px – 1399px) ---- */
@media (min-width: 768px) and (max-width: 1399px) {
  .header-strip .container {
    flex-wrap: nowrap !important;
    /* keep logo & right-side on one row */
    align-items: center !important;
  }

  /* Logo side: shrink freely but never overflow */
  .header-logo-wrap {
    flex: 1 1 0;
    /* grow/shrink */
    min-width: 0;
    /* allow text truncation */
  }

  .logo-text {
    min-width: 0;
    flex: 1;
  }

  /* Right side: never shrink below its natural width */
  .header-right {
    flex: 0 0 auto;
    /* do not shrink */
    align-items: flex-end !important;
  }
}

/* ---- Tablet / landscape phone (≤ 991px) ---- */
@media (max-width: 991px) {
  .header-strip {
    padding: 12px 0;
  }

  .logo-name-row {
    flex-wrap: wrap;
  }

  .logo-title {
    font-size: 18px;
  }

  .logo-subtitle {
    font-size: 15px;
  }

  .logo-seal {
    width: 62px;
    height: 62px;
  }

  .logo-abbr {
    font-size: 11px;
  }

  .header-action-btn {
    font-size: 11px;
    padding: 7px 10px;
  }

  .header-tagline {
    font-size: 11px;
  }
}

/* ---- Mobile: small phones (≤575px) ---- */
@media (max-width: 575px) {

  /* Prevent any horizontal scroll */
  .header-strip .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Logo row: seal + text side by side, text can wrap freely */
  .header-logo-wrap {
    width: 100%;
    gap: 10px;
  }

  .logo-seal {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
  }

  .logo-abbr {
    font-size: 10px;
  }

  .logo-text {
    flex: 1;
    min-width: 0;
    /* allows text to shrink inside flex */
  }

  .logo-name-row {
    flex-wrap: wrap;
    white-space: normal;
    gap: 0;
  }

  .logo-title {
    font-size: 18px;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
  }

  .logo-cert {
    font-size: 10px;
  }

  /* Right side: full width, align left on mobile */
  .header-right {
    width: 100%;
    align-items: flex-start;
  }

  .header-tagline {
    font-size: 10.5px;
    white-space: normal;
    word-break: break-word;
    width: 100%;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .header-action-btn {
    font-size: 10.5px;
    padding: 7px 10px;
  }
}

/* ============================================
   MAIN NAVBAR
============================================ */
.main-navbar {
  background: var(--navy);
  padding: 0;
  z-index: 1040;
  box-shadow: 0 3px 20px rgba(26, 35, 126, 0.25);
  transition: box-shadow 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
  /* force GPU compositing to eliminate scroll lag */
}

.main-navbar.scrolled-nav {
  box-shadow: 0 5px 30px rgba(26, 35, 126, 0.35);
}

.main-navbar .nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 18px 13px !important;
  border-radius: 0;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--accent);
  transition: var(--transition);
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.08);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  left: 0;
  right: 0;
}

/* Nav Badges */
.nav-badge-apply {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 3px;
  vertical-align: middle;
  animation: pulseBadge 2s infinite;
}

.nav-badge-register {
  display: inline-block;
  background: #e53935;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 3px;
  vertical-align: middle;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Login Nav Link */
.nav-login {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 5px !important;
  padding: 8px 16px !important;
  margin: 5px 0;
  font-weight: 600 !important;
}

.nav-login::after {
  display: none !important;
}

.nav-login:hover {
  background: var(--accent-dark) !important;
}

/* Hide Bootstrap dropdown arrow */
.main-navbar .dropdown-toggle::after {
  display: none;
}

/* ---- Mega Dropdown ---- */
/* Make the mega-dropdown li static so the menu can break out of it */
@media (min-width: 992px) {
  .mega-dropdown {
    position: static;
  }
}

.mega-menu {
  background: var(--white);
  border: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 16px 50px rgba(26, 35, 126, 0.15);
  /* Full-width: stretch across the entire navbar */
  width: 100%;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  padding: 28px !important;
  margin-top: 0 !important;
  border-top: 3px solid var(--accent);
}

.mega-menu-heading {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.mega-menu-heading i {
  color: var(--accent);
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-list li {
  margin-bottom: 5px;
}

.mega-menu-list li a {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12.5px;
  color: var(--body-text);
  font-weight: 500;
  line-height: 1.4;
  padding: 3px 0;
  transition: var(--transition);
}

.mega-menu-list li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.mega-menu-list li a i {
  font-size: 10px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.mega-menu-footer {
  border-top: 1px solid var(--border);
}

.mega-all-courses-btn {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 6px;
  transition: var(--transition);
}

.mega-all-courses-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---- Regular Dropdown ---- */
.nav-dropdown {
  background: var(--white);
  border: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 16px 40px rgba(26, 35, 126, 0.15);
  min-width: 230px;
  padding: 8px 0;
  margin-top: 0 !important;
  border-top: 3px solid var(--accent);
}

.nav-drop-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--body-text) !important;
  padding: 10px 18px !important;
  transition: var(--transition);
}

.nav-drop-item i {
  color: var(--navy);
  font-size: 15px;
}

.nav-drop-item:hover {
  background: var(--off-white) !important;
  color: var(--navy) !important;
  padding-left: 24px !important;
}

.nav-drop-item:hover i {
  color: var(--accent);
}

/* Navbar Toggler */
.main-navbar .navbar-toggler {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 6px 10px;
  border-radius: 6px;
}

.main-navbar .navbar-toggler i {
  font-size: 22px;
  color: var(--white);
}

.main-navbar .navbar-toggler:focus {
  box-shadow: none;
}

/* Mobile brand */
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

/* Mobile Nav */
@media (max-width: 991px) {
  .main-navbar .nav-link {
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .main-navbar .nav-link::after {
    display: none;
  }

  .mega-menu {
    min-width: 100%;
    transform: none;
    left: 0;
    border-radius: 0;
  }

  .nav-dropdown {
    border-radius: 0;
  }

  .nav-login {
    margin: 8px 16px;
  }

  .mega-dropdown {
    position: static;
  }
}

/* ============================================
   HERO SECTION
============================================ */
#hero {
  position: relative;
  height: 68vh;
}

/* ---- Small laptop / large tablet (768px – 1399px) ---- */
@media (min-width: 768px) and (max-width: 1399px) {
  #hero {
    height: 68vh;
  }
}

.hero-swiper {
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.slide-1 {
  background-image: url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1920&q=80');
}

.slide-2 {
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1920&q=80');
}

.slide-3 {
  background-image: url('https://images.unsplash.com/photo-1606761568499-6d2451b23c66?w=1920&q=80');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 20, 87, 0.88) 0%, rgba(26, 35, 126, 0.75) 55%, rgba(255, 107, 0, 0.15) 100%);
}

.hero-content {
  max-width: 680px;
  padding: 40px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid rgba(255, 107, 0, 0.5);
  color: #FFB067;
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.text-accent {
  color: var(--accent);
}

.text-primary-accent {
  color: var(--navy);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 26px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 34px;
}

.hero-checks span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-checks .bi {
  color: var(--accent);
  font-size: 16px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-hero-primary {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255, 107, 0, 0.45);
}

.btn-hero-whatsapp {
  background: #25D366;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-hero-whatsapp:hover {
  background: #1DB954;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 14.5px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: var(--white);
}

.hero-prev,
.hero-next {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-prev::after,
.hero-next::after {
  display: none;
}

.hero-prev:hover,
.hero-next:hover {
  background: var(--accent);
}

.hero-pagination {
  bottom: 25px !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 26px;
  border-radius: 5px;
}

/* ============================================
   WELCOME STRIP
============================================ */
.welcome-strip {
  background: var(--navy);
  padding: 32px 0 20px;
  text-align: center;
}

.welcome-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.welcome-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.welcome-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.welcome-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 4px;
}

.welcome-divider span {
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.welcome-divider span:last-child {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.welcome-divider i {
  color: var(--accent);
  font-size: 20px;
}

/* ============================================
   STATS STRIP
============================================ */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.stats-items {
  display: flex;
  align-items: stretch;
}

.stats-item {
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.stats-item:last-child {
  border-right: none;
}

.stats-item:hover {
  background: var(--off-white);
}

.stats-item i {
  font-size: 32px;
  color: var(--navy);
  flex-shrink: 0;
}

.stats-item div {
  display: flex;
  flex-direction: column;
}

.stats-item strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stats-item span {
  font-size: 12.5px;
  color: var(--mid-gray);
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================
   SECTION HEADERS
============================================ */
.section-tag {
  display: inline-block;
  background: rgba(26, 35, 126, 0.1);
  color: var(--navy);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border-left: 3px solid var(--accent);
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--dark-text);
}

.section-sub {
  color: var(--body-text);
  max-width: 540px;
  margin: 0 auto;
  font-size: 15px;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-section {
  background: var(--white);
}

.about-img-wrap {
  position: relative;
  padding: 20px 24px 24px 0;
}

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 35, 126, 0.18);
}

.about-img-main img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: 0;
  left: -10px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
  min-width: 110px;
}

.badge-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  margin-top: 4px;
}

.about-iso-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(26, 35, 126, 0.3);
}

.about-iso-badge i {
  color: var(--gold);
  font-size: 14px;
}

.about-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin: 12px 0 18px;
}

.about-desc {
  color: var(--body-text);
  margin-bottom: 14px;
  font-size: 14.5px;
}

.about-card {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

.about-card:hover {
  background: rgba(26, 35, 126, 0.04);
  border-color: var(--navy);
}

.about-card i {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 10px;
  display: block;
}

.about-card h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark-text);
}

.about-card p {
  font-size: 12.5px;
  color: var(--body-text);
  margin: 0;
}

/* ============================================
   BUTTONS
============================================ */
.btn-primary-custom {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary-custom:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  transition: var(--transition);
  border: 2px solid var(--navy);
  cursor: pointer;
}

.btn-outline-custom:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================
   COURSES SECTION
============================================ */
.courses-section {
  background: var(--off-white);
}

.course-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-btn {
  background: var(--white);
  color: var(--body-text);
  border: 1.5px solid var(--border);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-display);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--navy);
}

.course-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--accent);
  box-shadow: 0 20px 50px rgba(26, 35, 126, 0.12);
}

.course-card.featured {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  border-top-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 35, 126, 0.25);
}

/* Course Badges */
.course-category-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 14px;
}

.course-category-badge.cert {
  background: rgba(26, 35, 126, 0.1);
  color: var(--navy);
}

.course-category-badge.diploma {
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent);
}

.course-category-badge.advance {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.course-category-badge.voc {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.course-card.featured .course-category-badge {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.course-icon {
  width: 52px;
  height: 52px;
  background: rgba(26, 35, 126, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 14px;
}

.course-card.featured .course-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.course-card h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark-text);
}

.course-card.featured h5 {
  color: var(--white);
}

.course-code {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-card.featured .course-code {
  color: rgba(255, 165, 80, 0.9);
}

.course-card p {
  font-size: 13.5px;
  color: var(--body-text);
  margin-bottom: 16px;
  flex-grow: 1;
}

.course-card.featured p {
  color: rgba(255, 255, 255, 0.82);
}

.course-features {
  list-style: none;
  margin-bottom: 16px;
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--body-text);
  margin-bottom: 6px;
}

.course-card.featured .course-features li {
  color: rgba(255, 255, 255, 0.85);
}

.course-features .bi {
  color: var(--accent);
  font-size: 15px;
}

.course-card.featured .course-features .bi {
  color: var(--white);
}

.btn-course-enroll {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-course-enroll:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-course-enroll-white {
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  transition: var(--transition);
  text-align: center;
  display: block;
}

.btn-course-enroll-white:hover {
  background: var(--accent);
  color: var(--white);
}

/* ============================================
   WHY CHOOSE US
============================================ */
.why-us {
  background: var(--white);
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: transparent;
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(26, 35, 126, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 18px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.1);
}

.why-card h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-text);
}

.why-card p {
  font-size: 13.5px;
  color: var(--body-text);
  margin: 0;
}

/* ============================================
   LIGHTNING CAREER / FRANCHISE CTA
============================================ */
.lightning-cta {
  background: var(--off-white);
}

.lightning-card {
  background: linear-gradient(135deg, #FFC107, #FF8F00);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(255, 193, 7, 0.35);
}

.lightning-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.lightning-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -20px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.lightning-icon {
  font-size: 42px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.lightning-card h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 22px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lightning-card h2 span {
  color: var(--navy);
}

.lightning-list {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.lightning-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.82);
  margin-bottom: 10px;
}

.lightning-list li i {
  color: var(--white);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.lightning-sub {
  font-size: 13px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 6px;
}

.btn-lightning-primary {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-lightning-primary:hover {
  background: #0d1457;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lightning-outline {
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 2px solid var(--navy);
}

.btn-lightning-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.franchise-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  height: 100%;
}

.franchise-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 14px;
}

.franchise-info-card h3 i {
  color: var(--navy);
}

.franchise-stat {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
}

.franchise-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.franchise-stat span {
  font-size: 12px;
  color: var(--mid-gray);
  font-weight: 600;
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials-section {
  background: var(--off-white);
}

.testimonials-swiper {
  padding-bottom: 50px !important;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--navy);
}

.testimonial-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  border-top-color: var(--accent);
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  color: var(--gold);
  font-size: 14px;
}

.testimonial-text {
  color: var(--body-text);
  font-size: 14px;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--dark-text);
  font-size: 14px;
  font-weight: 700;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--mid-gray);
}

.testi-pagination {
  bottom: 0 !important;
}

.testi-pagination .swiper-pagination-bullet {
  background: var(--border);
  opacity: 1;
}

.testi-pagination .swiper-pagination-bullet-active {
  background: var(--navy);
}

/* ============================================
   CONTACT
============================================ */
.contact-section {
  background: var(--white);
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item i {
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contact-item h6 {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-item p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
}

.contact-form-card h5 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark-text);
}

.contact-form .form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--white);
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
  outline: none;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--navy-dark);
  padding: 0;
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-seal {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.footer-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.footer-logo-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-top: 4px;
}

.footer-logo-sub i {
  color: var(--success);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-heading {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  line-height: 1.4;
}

.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-size: 16px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 10px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact a i {
  color: var(--accent);
  font-size: 15px;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.footer-cert-badge i {
  color: var(--gold);
  font-size: 18px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 -12px;
  padding: 14px 12px 12px;
  gap: 8px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  margin: 0;
}

/* ---- Developer Credit ---- */
.footer-bottom-credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2px;
}

.footer-credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #1a237e, #283593);
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  vertical-align: middle;
}

.footer-credit-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 35, 126, 0.5);
  color: #fff !important;
}

/* ============================================
   FLOATING CONTACT MENU
============================================ */
.contact-float-wrapper {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: none;
  color: var(--white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(26, 35, 126, 0.4);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  outline: none;
}

.contact-float-btn:hover {
  background: var(--accent);
  box-shadow: 0 10px 32px rgba(255, 107, 0, 0.4);
  transform: scale(1.08);
}

.contact-float-btn .main-icon,
.contact-float-btn .close-icon {
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-float-btn .close-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* Active State for button icons */
.contact-float-wrapper.active .contact-float-btn .main-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.contact-float-wrapper.active .contact-float-btn .close-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Float Menu (Hidden by default, animation is handled via translateY and opacity) */
.contact-float-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  pointer-events: none;
  visibility: hidden;
}

.contact-float-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, visibility 0.35s;
  opacity: 0;
  transform: translateY(24px) scale(0.7);
  position: relative;
}

/* Colors for specific channels */
.contact-float-item.whatsapp {
  background: #25D366;
}

.contact-float-item.whatsapp:hover {
  background: #1DB954;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.contact-float-item.phone {
  background: var(--navy-mid);
}

.contact-float-item.phone:hover {
  background: var(--navy);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(26, 35, 126, 0.4);
}

.contact-float-item.email {
  background: #ea4335;
}

.contact-float-item.email:hover {
  background: #c5221f;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(234, 67, 53, 0.4);
}

/* Tooltips */
.contact-float-tooltip {
  position: absolute;
  right: 64px;
  background: rgba(15, 27, 60, 0.95);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(10px);
}

.contact-float-item:hover .contact-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.contact-float-btn:hover .main-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.contact-float-wrapper.active .main-tooltip {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Active State for wrapper */
.contact-float-wrapper.active .contact-float-menu {
  pointer-events: auto;
  visibility: visible;
}

/* Staggered animation when active */
.contact-float-wrapper.active .contact-float-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Delays to create a clean cascade animation */
.contact-float-wrapper.active .contact-float-item:nth-child(1) {
  transition-delay: 0.14s;
}

.contact-float-wrapper.active .contact-float-item:nth-child(2) {
  transition-delay: 0.07s;
}

.contact-float-wrapper.active .contact-float-item:nth-child(3) {
  transition-delay: 0s;
}

/* Rotate and change main button when active */
.contact-float-wrapper.active .contact-float-btn {
  background: #374151;
  /* Charcoal gray */
  box-shadow: 0 6px 20px rgba(55, 65, 81, 0.4);
}

@keyframes contactPulse {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.4);
  }

  50% {
    box-shadow:
      0 8px 24px rgba(26, 35, 126, 0.4),
      0 0 0 12px rgba(26, 35, 126, 0.15);
  }
}

.contact-float-wrapper:not(.active) .contact-float-btn {
  animation: contactPulse 3s infinite;
}

@media (max-width: 767px) {
  .contact-float-wrapper {
    right: 16px;
    bottom: 16px;
  }
}

/* ============================================
   RESPONSIVE TWEAKS
============================================ */
@media (max-width: 991px) {
  .stats-item {
    padding: 20px 16px;
  }

  .stats-item strong {
    font-size: 20px;
  }

  .lightning-card {
    padding: 28px 24px;
  }

  .franchise-info-card {
    padding: 28px 24px;
  }

  .contact-form-card {
    padding: 28px 24px;
  }
}

@media (max-width: 767px) {
  .section-pad {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .about-img-main img {
    height: 280px;
  }

  .about-img-badge {
    left: 0;
  }

  .about-iso-badge {
    top: 6px;
    right: 6px;
  }

  .cta-box {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    padding: 40px 0 30px;
  }
}

/* ============================================
   PAGE HERO (static – used on all inner pages)
   ============================================ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #283593 100%);
  padding: 90px 0 70px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-alt::after {
  background: var(--off-white);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid rgba(255, 107, 0, 0.45);
  color: #FFB067;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-hero h1 span {
  color: var(--accent);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  max-width: 560px;
  margin-bottom: 24px;
}

.page-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   BREADCRUMB STRIP
   ============================================ */
.breadcrumb-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb-strip .breadcrumb {
  margin: 0;
  font-size: 13px;
  align-items: center;
}

.breadcrumb-strip .breadcrumb-item a {
  color: var(--navy);
  font-weight: 600;
}

.breadcrumb-strip .breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-strip .breadcrumb-item.active {
  color: var(--body-text);
}

.breadcrumb-strip .breadcrumb-item+.breadcrumb-item::before {
  color: var(--mid-gray);
}

/* ============================================
   MISSION / VISION CARDS
   ============================================ */
.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
  border-top: 4px solid var(--navy);
  position: relative;
  overflow: hidden;
}

.mv-card.accent-top {
  border-top-color: var(--accent);
}

.mv-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(26, 35, 126, 0.04);
}

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

.mv-icon {
  width: 64px;
  height: 64px;
  background: rgba(26, 35, 126, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 20px;
  transition: var(--transition);
}

.mv-card.accent-top .mv-icon {
  background: rgba(255, 107, 0, 0.08);
  color: var(--accent);
}

.mv-card:hover .mv-icon {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.08);
}

.mv-card.accent-top:hover .mv-icon {
  background: var(--accent);
  color: var(--white);
}

.mv-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 12px;
}

.mv-card p {
  font-size: 14px;
  color: var(--body-text);
  margin: 0;
  line-height: 1.75;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}

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

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 16px;
  border: 3px solid var(--accent);
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.2);
}

.team-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 13px;
  color: var(--body-text);
  margin: 0;
  line-height: 1.65;
}

.team-card .team-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.team-card .team-socials a {
  width: 32px;
  height: 32px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 15px;
  transition: var(--transition);
}

.team-card .team-socials a:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================
   PROCESS STEPPER
   ============================================ */
.process-steps {
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(50% - 1px);
  width: 2px;
  height: calc(100% - 72px);
  background: linear-gradient(180deg, var(--navy), var(--accent));
  display: none;
}

@media (min-width: 992px) {
  .process-steps::before {
    display: block;
  }
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  height: 100%;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--navy);
}

.step-num {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.3);
  border: 3px solid var(--white);
  outline: 2px solid var(--navy);
}

.step-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--body-text);
  margin: 0;
}

/* ============================================
   CURRICULUM ACCORDION
   ============================================ */
.curriculum-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.curriculum-accordion .accordion-button {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-text);
  background: var(--white);
  border-radius: var(--radius-sm) !important;
  padding: 16px 20px;
  box-shadow: none;
  gap: 12px;
}

.curriculum-accordion .accordion-button:not(.collapsed) {
  color: var(--navy);
  background: rgba(26, 35, 126, 0.04);
  box-shadow: none;
}

.curriculum-accordion .accordion-button::after {
  filter: none;
  background-size: 16px;
}

.curriculum-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(20%) sepia(90%) saturate(800%) hue-rotate(200deg);
}

.curriculum-accordion .accordion-button .module-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
}

.curriculum-accordion .accordion-body {
  background: var(--off-white);
  padding: 16px 20px;
}

.curriculum-accordion .module-topics {
  list-style: none;
  padding: 0;
  margin: 0;
}

.curriculum-accordion .module-topics li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--body-text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.curriculum-accordion .module-topics li:last-child {
  border-bottom: none;
}

.curriculum-accordion .module-topics li i {
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============================================
   COURSE DETAIL SIDEBAR
   ============================================ */
.course-detail-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.course-detail-sidebar .sidebar-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 20px 22px;
  color: var(--white);
}

.course-detail-sidebar .sidebar-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
}

.course-detail-sidebar .sidebar-body {
  padding: 20px 22px;
}

.sidebar-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.sidebar-detail-row:last-child {
  border-bottom: none;
}

.sidebar-detail-row i {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  width: 22px;
  margin-top: 2px;
}

.sidebar-detail-row strong {
  display: block;
  font-size: 11px;
  color: var(--mid-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.sidebar-detail-row span {
  color: var(--dark-text);
  font-weight: 600;
}

/* ============================================
   GALLERY GRID + LIGHTBOX
   ============================================ */
.gallery-grid {
  columns: 3;
  column-gap: 16px;
  gap: 16px;
}

@media (max-width: 991px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    columns: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 20, 87, 0.8) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-text {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.gallery-zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
}

/* Lightbox */
.lightbox-modal .modal-dialog {
  max-width: 900px;
}

.lightbox-modal .modal-content {
  background: rgba(0, 0, 0, 0.95);
  border: none;
  border-radius: var(--radius);
}

.lightbox-modal .modal-body {
  padding: 8px;
  text-align: center;
}

.lightbox-modal .modal-body img {
  border-radius: var(--radius-sm);
  max-height: 80vh;
  width: auto;
}

.lightbox-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.12);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-banner h2 span {
  color: var(--accent);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-bottom: 0;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================
   INVESTMENT / BENEFIT CARDS (Franchise)
   ============================================ */
.invest-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--border);
  height: 100%;
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.invest-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-bottom-color: var(--accent);
}

.invest-card .invest-icon {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 12px;
  display: block;
  transition: var(--transition);
}

.invest-card:hover .invest-icon {
  color: var(--accent);
  transform: scale(1.1);
}

.invest-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.invest-card span {
  font-size: 13px;
  color: var(--mid-gray);
  font-weight: 600;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================
   SUCCESS METRIC CARDS (Testimonials)
   ============================================ */
.metric-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  height: 100%;
}

.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-card i {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  display: block;
}

.metric-card span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

/* ============================================
   BRANCH LOCATION MINI CARDS
   ============================================ */
.branch-card {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--transition);
}

.branch-card:hover {
  background: var(--white);
  border-color: var(--navy);
  box-shadow: var(--card-shadow);
}

.branch-card i {
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.branch-card h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 2px;
}

.branch-card p {
  font-size: 12.5px;
  color: var(--body-text);
  margin: 0;
}

/* ============================================
   RESPONSIVE – INNER PAGES
   ============================================ */
@media (max-width: 767px) {
  .page-hero {
    padding: 70px 0 55px;
  }

  .page-hero h1 {
    font-size: 1.7rem;
  }

  .gallery-grid {
    columns: 2;
  }

  .cta-banner {
    padding: 50px 0;
  }

  .cta-banner-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 1;
  }
}

/* ============================================
   ABOUT – 3-COLUMN LAYOUT (Current Events | Mission | Image)
============================================ */

/* --- Current Events Box --- */
.current-events-box {
  border: 1.5px solid #e8a24b;
  border-radius: var(--radius-sm);
  /* Fixed height — does NOT stretch with the row */
  height: 360px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.current-events-title {
  background: #fff;
  border-bottom: 1.5px solid #e8a24b;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark-text);
  padding: 10px 14px;
  text-align: center;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

/* Vertical scrolling ticker area */
.current-events-ticker {
  flex: 1;
  overflow: hidden;
  position: relative;
  /* Ensure the viewport clips at the box height */
  max-height: 100%;
}

/* Pause on hover */
.current-events-ticker:hover .ce-inner {
  animation-play-state: paused;
}

/* Scrolling inner wrapper — animates upward continuously */
.ce-inner {
  display: flex;
  flex-direction: column;
  animation: ceScroll 18s linear infinite;
}

@keyframes ceScroll {
  0% {
    transform: translateY(0);
  }

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

  /* 50% because items are duplicated */
}

/* Individual event item */
.ce-item {
  padding: 10px 14px;
  border-bottom: 1px dashed #f0d4a8;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.ce-item strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.5;
  display: block;
}

.ce-item a {
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  display: inline-block;
}

.ce-item a:hover {
  text-decoration: underline;
}

/* --- Mission Text Box --- */
.about-mission-box {
  padding: 10px 0;
}

.about-mission-title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.about-mission-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 50%, var(--accent) 50%);
  margin-bottom: 18px;
  border-radius: 2px;
}

.about-mission-box p {
  font-size: 13.8px;
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* --- Side Student Image --- */
.about-side-img {
  height: 360px;
  /* Match ticker height for visual balance */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26, 35, 126, 0.14);
}

.about-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================
   WHY CHOOSE US – SHIELD ICONS ROW
============================================ */
.why-us-new {
  background: var(--off-white);
}

.why-us-heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.why-us-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 8px auto 0;
  border-radius: 2px;
}

.why-icons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 16px;
  margin-top: 8px;
}

.why-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 150px;
  text-align: center;
}

.why-icon-item span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.35;
}

/* Shield shape using clip-path */
.why-shield {
  width: 80px;
  height: 80px;
  clip-path: polygon(50% 0%, 100% 20%, 100% 70%, 50% 100%, 0% 70%, 0% 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.why-shield:hover {
  transform: translateY(-4px) scale(1.05);
}

.why-shield-blue {
  background: #1a45a8;
}

.why-shield-navy {
  background: var(--navy-dark);
}

.why-shield-orange {
  background: var(--accent);
}

.why-shield-gray {
  background: #7b8fa1;
}

/* ============================================
   COURSES – SWIPER SLIDER
============================================ */
.courses-section {
  background: var(--off-white);
}

/* "You Can Learn" badge */
.you-can-learn-badge {
  display: inline-block;
  border: 2px solid var(--dark-text);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-text);
  padding: 8px 32px;
  letter-spacing: 0.5px;
}

/* Courses swiper */
.courses-swiper {
  padding: 8px 4px 48px;
}

.courses-swiper .swiper-slide {
  width: 220px;
  height: auto;
}

.course-slide-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 35, 126, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-slide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(26, 35, 126, 0.17);
}

.course-slide-img {
  width: 100%;
  height: 155px;
  overflow: hidden;
}

.course-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-slide-card:hover .course-slide-img img {
  transform: scale(1.06);
}

.course-slide-body {
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-slide-body h6 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 7px;
  line-height: 1.3;
}

.course-slide-body p {
  font-size: 12.5px;
  color: var(--body-text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.btn-course-slide {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 0;
  border-radius: 5px;
  text-align: center;
  display: block;
  transition: background 0.25s ease;
}

.btn-course-slide:hover {
  background: var(--accent);
  color: var(--white);
}

/* Prev/Next arrows for courses slider */
.courses-swiper .swiper-button-prev,
.courses-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 50%;
  color: #fff;
  top: 42%;
}

.courses-swiper .swiper-button-prev::after,
.courses-swiper .swiper-button-next::after {
  font-size: 14px;
}

.courses-swiper .swiper-button-prev:hover,
.courses-swiper .swiper-button-next:hover {
  background: var(--accent);
}

.courses-swiper .swiper-pagination-bullet-active {
  background: var(--navy);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .why-icons-row {
    gap: 20px 12px;
  }

  .why-icon-item {
    width: 100px;
  }

  .why-shield {
    width: 66px;
    height: 66px;
    font-size: 22px;
  }

  .why-icon-item span {
    font-size: 11.5px;
  }

  .current-events-box {
    height: 260px;
    /* clipped height on tablets */
  }
}

@media (max-width: 576px) {
  .about-mission-box {
    padding: 0;
  }

  .you-can-learn-badge {
    font-size: 1.1rem;
    padding: 6px 22px;
  }
}

/* ============================================
   CENTER LIFECYCLE / FRANCHISE CTA
============================================ */
.franchise-lifecycle-section {
  background: var(--white);
}

/* --- Section Heading --- */
.lifecycle-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.lifecycle-sub {
  font-size: 14.5px;
  color: var(--accent);
  font-weight: 500;
}

/* --- 5-Step Timeline --- */
.lifecycle-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 24px;
  margin-bottom: 52px;
}

/* Horizontal connector line sitting at the center of circles */
.lifecycle-line {
  position: absolute;
  top: 36px;
  /* half of circle height (72px/2) */
  left: calc(24px + 36px);
  /* start after half of first circle */
  right: calc(24px + 36px);
  height: 3px;
  background: #e0e0e0;
  z-index: 0;
}

.lifecycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 140px;
  text-align: center;
}

.lifecycle-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e84141;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(232, 65, 65, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.lifecycle-circle:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 8px 24px rgba(232, 65, 65, 0.5);
}

.lifecycle-step span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.3;
}

/* --- Dark Blue CTA Banner --- */
.franchise-cta-banner {
  background: linear-gradient(135deg, #1a2f88 0%, #162475 40%, #0f1b5e 100%);
  border-radius: var(--radius);
  padding: 38px 40px 36px;
  position: relative;
  overflow: hidden;
}

/* subtle decorative circle in background */
.franchise-cta-banner::before {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.franchise-cta-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.franchise-cta-line {
  flex: 1;
  max-width: 120px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.35);
  display: block;
}

.franchise-cta-heading h3 {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  text-align: center;
}

.franchise-cta-heading h3 i {
  color: var(--gold);
}

/* Features in 3 columns */
.franchise-cta-features {
  display: flex;
  justify-content: center;
  gap: 16px 40px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.franchise-feat-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.franchise-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-display);
}

.franchise-feat i {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

/* Apply for Franchise button */
.btn-franchise-apply {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 38px;
  border-radius: 6px;
  transition: background 0.25s ease, transform 0.2s ease;
  border: none;
}

.btn-franchise-apply:hover {
  background: #e05e00;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .lifecycle-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    padding: 0;
  }

  .lifecycle-line {
    display: none;
  }

  .lifecycle-step {
    flex: 0 0 calc(33.33% - 20px);
    max-width: 110px;
  }

  .lifecycle-circle {
    width: 58px;
    height: 58px;
    font-size: 20px;
  }

  .franchise-cta-banner {
    padding: 28px 20px 28px;
  }

  .franchise-cta-heading {
    flex-direction: column;
    gap: 8px;
  }

  .franchise-cta-heading h3 {
    white-space: normal;
    text-align: center;
  }

  .franchise-cta-line {
    display: none;
  }

  .franchise-cta-features {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 16px;
    gap: 8px;
  }

  .franchise-feat-col {
    gap: 8px;
  }
}

/* ============================================
   LINKAGES SECTION
============================================ */
.linkages-section {
  background: var(--white);
  padding: 60px 0 64px;
  border-top: 1px solid var(--border);
}

/* Heading */
.linkages-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 10px;
}

/* Indian tri-color divider */
.linkages-divider {
  display: inline-flex;
  gap: 0;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  width: 90px;
  margin: 0 auto;
}

.ld-orange {
  flex: 1;
  background: #FF6B00;
}

.ld-white {
  flex: 1;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.ld-green {
  flex: 1;
  background: #138808;
}

/* Logo row */
.linkages-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Individual logo card */
.linkage-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  max-width: 220px;
  flex: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: var(--white);
  text-align: center;
}

.linkage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(26, 35, 126, 0.1);
  border-color: var(--navy);
}

/* Logo image inside card */
.linkage-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  width: 100%;
}

.linkage-logo-wrap img {
  max-height: 66px;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

/* Text fallback if image fails */
.linkage-logo-fallback {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.lf-abbr {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.lf-sub {
  font-size: 11px;
  color: var(--body-text);
  font-weight: 500;
  line-height: 1.3;
}

/* Optional name caption below logo */
.linkage-name {
  font-size: 11.5px;
  color: var(--body-text);
  line-height: 1.4;
  margin: 0;
}

/* ---- Linkages Swiper layout ---- */
.linkages-swiper {
  padding: 8px 4px 16px;
  position: relative;
}

/* Text-based logo inside card */
.linkage-text-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  width: 100%;
}

.link-icon {
  font-size: 32px;
  line-height: 1;
}

/* ITI styled badge */
.linkage-iti {
  gap: 0;
}

.iti-top {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: #1a7abf;
  padding: 4px 18px;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
}

.iti-bottom {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: #1a237e;
  padding: 4px 18px;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
}

/* PMKVY abbr style */
.pmkvy-abbr {
  font-size: 22px !important;
  color: #e84141;
}

/* MSME abbr style */
.msme-abbr {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: #1a237e;
  letter-spacing: 2px;
}

/* Swiper arrows for linkages */
.linkages-swiper .swiper-button-prev,
.linkages-swiper .swiper-button-next {
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: 50%;
  color: #fff;
  top: 44%;
}

.linkages-swiper .swiper-button-prev::after,
.linkages-swiper .swiper-button-next::after {
  font-size: 12px;
  font-weight: 700;
}

.linkages-swiper .swiper-button-prev:hover,
.linkages-swiper .swiper-button-next:hover {
  background: var(--accent);
}

@media (max-width: 576px) {
  .linkage-card {
    padding: 16px 12px;
  }

  .link-icon {
    font-size: 26px;
  }
}

/* ============================================
   SHARED TABLE STYLES (Branch, Downloads, etc.)
   ============================================ */
.branch-table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.branch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.branch-table thead tr {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}

.branch-table thead th {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 18px;
  white-space: nowrap;
  border: none;
}

.branch-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.branch-table tbody tr:last-child {
  border-bottom: none;
}

.branch-table tbody tr:hover {
  background: var(--off-white);
}

.branch-table tbody td {
  padding: 13px 18px;
  color: var(--body-text);
  vertical-align: middle;
}

.branch-table tbody td:first-child {
  color: var(--mid-gray);
  font-weight: 600;
  font-size: 12px;
}

/* Helper Classes */
.color-navy {
  color: var(--navy) !important;
}

.color-accent {
  color: var(--accent) !important;
}

@media (max-width: 767px) {
  .branch-table {
    min-width: 600px;
  }

  .branch-table-wrap {
    overflow-x: auto;
  }
}

/* ============================================
   FILTER BAR STYLES (Used in Branches & Jobs)
   ============================================ */
.branch-filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.branch-search-wrap {
  position: relative;
}

.branch-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mid-gray);
  font-size: 15px;
}

.branch-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--dark-text);
  background: var(--off-white);
  transition: var(--transition);
}

.branch-search-input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.branch-filter-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--dark-text);
  background: var(--off-white);
  transition: var(--transition);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.branch-filter-select:focus {
  outline: none;
  border-color: var(--navy);
}

.btn-branch-reset {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-branch-reset:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================
   JOB PORTAL SPECIFIC STYLES
   ============================================ */
.job-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  overflow: hidden;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--navy);
}

.job-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(26, 35, 126, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 22px;
  transition: var(--transition);
}

.job-card:hover .job-icon-box {
  background: var(--navy);
  color: var(--white);
}

.job-badge-type {
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--mid-gray);
  font-weight: 500;
}

.job-meta-item i {
  color: var(--accent);
}

.btn-job-apply {
  background: var(--navy);
  color: var(--white);
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 6px;
  transition: var(--transition);
}

.btn-job-apply:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-job-save {
  background: var(--off-white);
  color: var(--mid-gray);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.btn-job-save:hover {
  background: var(--white);
  color: var(--accent);
  border-color: var(--accent);
}