:root{
  --bg:#f8fafc;
  --card:#ffffff;
  --ink:#0f172a;
  --mut:#5b6785;
  --line:#e2e8f0;
  --blue:#0b2a9c;
  --blue-light:#1d4ed8;
  --amber:#f59e0b;
  --red:#dc2626;
  --red-deep:#b91c1c;
  --teal:#0ea5e9;
  --brand-gradient: linear-gradient(90deg, #0b2a9c 0%, #dc2626 100%);
  --brand-gradient-alt: linear-gradient(135deg, #0b2a9c 0%, #1e40af 50%, #dc2626 100%);
  color-scheme:light;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
html{
  scroll-padding-top:env(safe-area-inset-top,0px);
  scroll-behavior:smooth;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Plus Jakarta Sans",system-ui,sans-serif;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid var(--amber);outline-offset:2px}
.wrap{max-width:1220px;margin:0 auto;padding:0 20px}
header{
  position:sticky;
  top:env(safe-area-inset-top,0px);
  z-index:20;
  background:var(--card);
  border-bottom:1px solid var(--line);
}
header .wrap{display:flex;align-items:center;gap:20px;height:66px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--blue);line-height:1.1}
.logo img{border-radius:50%;flex:none}
.logo i{width:38px;height:38px;border-radius:50%;border:2px solid var(--blue);display:grid;place-items:center;font-style:normal;font-size:13px}
.logo small{display:block;font-size:10px;color:var(--red);font-weight:700;letter-spacing:.04em}
nav{margin-left:auto;display:flex;gap:4px;align-items:center}
nav a, .nav-dropdown-btn{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  font-size:14.5px;
  font-weight:600;
  color:var(--mut);
  border-radius:8px;
  background:none;
  border:0;
  font-family:inherit;
  cursor:pointer;
  transition:color .15s ease, background .15s ease;
}
.n{flex:none}
nav a:hover, nav a.on, .nav-dropdown-btn:hover, .nav-dropdown-btn.on{
  color:var(--blue);
}
nav a.on{
  box-shadow:inset 0 -3px 0 var(--blue);
  border-radius:0;
}
.nav-dropdown{
  position:relative;
  display:inline-block;
}
.nav-caret{
  margin-left:2px;
  transition:transform .2s ease;
}
.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret{
  transform:rotate(180deg);
}
.dropdown-menu{
  display:none;
  position:absolute;
  top:calc(100% + 4px);
  left:0;
  min-width:190px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  padding:6px;
  box-shadow:0 14px 35px rgba(11,42,156,.12);
  z-index:100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.dropdown-menu a{
  padding:9px 14px;
  font-size:14px;
  font-weight:600;
  color:#334155;
  border-radius:8px;
  display:block;
  white-space:nowrap;
  box-shadow:none!important;
}
.dropdown-menu a:hover,
.dropdown-menu a.active-sub{
  background:#eff6ff;
  color:var(--blue);
}
.login{
  background:var(--blue)!important;
  color:#fff!important;
  border-radius:10px!important;
  padding:9px 18px!important;
  font-weight:700!important;
  box-shadow:0 4px 14px rgba(11,42,156,.25);
  transition:background .2s ease, transform .2s ease!important;
}
.login:hover{
  background:var(--red)!important;
  transform:translateY(-1px);
}
.menu-toggle-btn {
  display: none;
  margin-left: auto;
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 40px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.menu-toggle-btn:hover {
  background: #eff6ff;
  border-color: var(--blue);
}
.menu-toggle-btn .m-bar {
  display: block;
  width: 22px;
  height: 2.2px;
  background: #1e293b;
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-drawer-header, .nav-overlay {
  display: none;
}
.nav-drawer-links {
  display: contents;
}
.nav-drawer-footer {
  display: contents;
}

.ticker{display:flex;align-items:stretch;background:#ffffff;color:var(--ink);border-bottom:1px solid var(--line);font-size:14px;font-weight:600}
.tl{
  flex:none;
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 30px 10px 18px;
  color:#fff;
  font-weight:800;
  background:linear-gradient(90deg, #001f99 0%, #d00021 100%);
  clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%);
}
.tr{overflow:hidden;white-space:nowrap;flex:1}
.ticker p{margin:0;padding:10px 0;display:inline-block;padding-left:100%;animation:run 45s linear infinite}
.ticker p span{margin-right:48px}

/* =========================================================
   Mobile Off-Canvas Side Drawer Menu (Slides Smoothly From Right)
   ========================================================= */
@media (max-width:1024px){
  .menu-toggle-btn {
    display: flex;
  }
  
  /* Dimmed Blur Backdrop Overlay */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 16, 30, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99980;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Off-Canvas Sliding Navigation Drawer */
  nav#nv {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 320px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: -12px 0 45px rgba(0, 0, 0, 0.28) !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 0 30px !important;
    border-left: 2px solid rgba(11, 42, 156, 0.15) !important;
    border-bottom: none !important;
  }
  nav#nv.open {
    transform: translateX(0) !important;
  }

  /* Drawer Top Header (Logo + Close Button) */
  .nav-drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .nav-drawer-header .logo {
    gap: 8px;
    font-size: 15px;
  }
  .nav-drawer-header .logo img {
    width: 30px;
    height: 30px;
  }
  .nav-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #475569;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .nav-close-btn:hover,
  .nav-close-btn:active {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
    transform: rotate(90deg);
  }

  /* Drawer Nav Links List */
  .nav-drawer-links {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px 14px 20px !important;
    gap: 4px !important;
    flex: 1 !important;
  }
  nav#nv a,
  nav#nv .nav-dropdown-btn {
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    border: none !important;
    background: none !important;
    width: 100% !important;
    text-align: left !important;
    box-shadow: none !important;
  }
  nav#nv a:hover,
  nav#nv a.on,
  nav#nv .nav-dropdown-btn:hover,
  nav#nv .nav-dropdown-btn.on {
    background: #eff6ff !important;
    color: var(--blue) !important;
  }
  nav#nv a.on {
    border-left: 3.5px solid var(--blue) !important;
    border-radius: 4px 12px 12px 4px !important;
    font-weight: 700 !important;
  }

  /* Dropdown inside Drawer */
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    margin: 4px 0 10px 14px !important;
    padding: 6px !important;
    display: none !important;
  }
  .nav-dropdown.open .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
  }
  .dropdown-menu a {
    padding: 10px 14px !important;
    font-size: 14px !important;
  }

  /* Drawer Footer with Login Button */
  .nav-drawer-footer {
    display: flex !important;
    padding: 16px 20px !important;
    border-top: 1px solid var(--line);
    background: #ffffff;
    margin-top: auto;
  }
  nav#nv .login {
    background: var(--blue) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 13px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-shadow: 0 4px 16px rgba(11, 42, 156, 0.3) !important;
  }
}
@media (max-width:860px){
  .tl{padding:10px 24px 10px 10px;font-size:12px}
  .social{grid-template-columns:repeat(2,1fr)}
  .grid3,.two,.stats,.grid2{grid-template-columns:1fr}
}
@keyframes run{to{transform:translateX(-100%)}}

/* Fullscreen Home Hero (Matches Image 2 & 3) */
.hero{
  position:relative;
  background:#020617;
  color:#fff;
  text-align:center;
  padding:80px 0 100px;
  overflow:hidden;
  border-radius:0 0 36px 36px;
}
.hero.home-hero{
  min-height:calc(100vh - 105px);
  min-height:calc(100dvh - 105px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:40px 0 60px;
  box-sizing:border-box;
}
.hero canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.hero .dot{
  position:absolute;
  left:50%;
  bottom:22px;
  width:26px;
  height:9px;
  margin-left:-13px;
  border-radius:99px;
  background:var(--amber);
  box-shadow:0 0 12px rgba(245,158,11,.8);
  z-index:3;
}
.hero .wrap{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin:auto;
  width:100%;
}

/* =========================================================
   Hero Section Styling (Matches Client Reference Image 2)
   ========================================================= */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 0 10px;
}

/* Hero Glass Card Container (Matches Image 8 Reference with Red-White-Blue Glow) */
.hero-glass-card {
  position: relative;
  max-width: 890px;
  margin: 0 auto;
  padding: 38px 40px 34px;
  border-radius: 26px;
  background: rgba(8, 14, 32, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(37, 99, 235, 0.25), 0 0 35px rgba(220, 38, 38, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-glass-card::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 27.5px;
  padding: 1.5px;
  background: linear-gradient(135deg, #2563eb 0%, rgba(255, 255, 255, 0.35) 50%, #dc2626 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 45px rgba(37, 99, 235, 0.35), 0 0 45px rgba(220, 38, 38, 0.3);
}

/* Eyebrow Pill (Red Capsule Pill with Heart) */
.eyebrow,
.hero .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #dc2626;
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 22px;
  border-radius: 99px;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.85);
  margin: 0 auto 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Main Display Headline */
.hero h1.display-5,
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1.18;
  font-weight: 800;
  margin: 0 auto 16px;
  max-width: 900px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

/* Subheadline Lead Text */
.hero p.lead,
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0 auto 28px;
  color: #e2e8f0;
  text-align: center;
  font-weight: 500;
  max-width: 680px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Button 1: Warm Golden Yellow (btn-yellow-main - Exact match to Image 2) */
.btn-yellow-main {
  background: #f59e0b;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  color: #111827 !important;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 13px 32px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.55);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-yellow-main:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.75);
  color: #000000 !important;
}

/* Button 2: Translucent Dark with Outline (btn-outline-white - Exact match to Image 2) */
.btn-outline-white {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 13px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  transform: translateY(-2px);
}
.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #93c5fd;
  transform: translateY(-2px);
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}
.facility-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(11, 42, 156, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 42, 156, 0.12);
}

/* =========================================================
   Mobile Horizontal Card Slider System (Single Row with Arrows)
   ========================================================= */
.mobile-slider {
  position: relative;
  width: 100%;
}
.slider-track {
  width: 100%;
}
.slider-controls {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  .mobile-slider {
    margin: 0 -16px;
    width: calc(100% + 32px);
    overflow: hidden;
  }
  .slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 10px 16px 18px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .slider-track::-webkit-scrollbar {
    display: none !important;
  }

  /* Each Card stays in single horizontal row */
  .slider-track > .card,
  .slider-track > .feature-card,
  .slider-track > .team-card,
  .slider-track > .facility-card {
    flex: 0 0 84vw !important;
    max-width: 320px !important;
    min-width: 270px !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Slider Navigation Controls (Arrow + Dots) */
  .slider-controls {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 4px auto 24px;
    padding: 0 16px;
    user-select: none;
  }
  .slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid #e2e8f0;
    color: var(--blue);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(11, 42, 156, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
  }
  .slider-arrow:hover,
  .slider-arrow:active {
    background: var(--blue);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(11, 42, 156, 0.25);
  }
  .slider-arrow svg {
    display: block;
  }
  .dark .slider-arrow {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
  }
  .dark .slider-arrow:active {
    background: var(--blue);
  }

  /* Dots Indicator */
  .slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
  }
  .slider-dot.active {
    width: 24px;
    background: var(--blue);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
  }
  .dark .slider-dot {
    background: #475569;
  }
  .dark .slider-dot.active {
    background: #60a5fa;
  }
}

.btn{display:inline-block;padding:14px 26px;border-radius:10px;font-weight:700;border:1px solid transparent;margin:0;cursor:pointer;transition:transform .2s ease, box-shadow .2s ease}
.btn:hover{transform:translateY(-2px)}
.b-a{background:var(--amber);color:#2a1d00;box-shadow:0 4px 14px rgba(245,177,0,.3)}
.b-d{background:#1b1b1d;border:1px solid #475569;color:#fff}
.b-b{background:var(--blue);color:#fff;box-shadow:0 4px 14px rgba(11,42,156,.25)}
.b-b:hover{background:var(--red)}

/* Social Media Bar below Hero (Glass cards) */
.social-section{
  position:relative;
  z-index:5;
  margin-top:20px;
  margin-bottom:25px;
}
.social{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.social a{
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,0.9);
  border-top:3.5px solid var(--border-color,#0b2a9c);
  border-radius:16px;
  padding:14px 16px;
  font-weight:600;
  font-size:14px;
  color:#1e293b;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 20px rgba(11,42,156,.05);
  transition:transform .2s ease,box-shadow .2s ease;
  text-decoration:none;
}
.social a:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(11,42,156,.12)}
.social a svg{flex-shrink:0}
section{padding:70px 0}
h2{font-size:clamp(1.5rem,3.2vw,2.2rem);line-height:1.2;margin:0 0 10px}
.sub{color:var(--mut);max-width:640px;margin:0 0 34px}

/* Red-White-Blue Registration Banner */
.reg{
  background:linear-gradient(135deg, #0b2a9c 0%, #1e40af 50%, #dc2626 100%);
  color:#fff;
  border-radius:24px;
  padding:36px 40px;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  box-shadow:0 16px 40px rgba(11,42,156,.25);
  border:1px solid rgba(255,255,255,0.2);
}
.reg h2{margin:0;color:#fff}.reg p{margin:4px 0 0;color:#dbeafe}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}

/* Frosted Glass Standard Cards with Red-White-Blue theme accents */
.card{
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1.5px solid rgba(255,255,255,0.95);
  border-radius:24px;
  padding:30px 26px;
  box-shadow:0 10px 30px rgba(11,42,156,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position:relative;
}
.card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 45px rgba(11,42,156,0.12);
}
.grid3 .card:nth-child(1){
  border-top: 4px solid #1d4ed8;
}
.grid3 .card:nth-child(1):hover{
  box-shadow: 0 18px 45px rgba(29, 78, 216, 0.18);
}
.grid3 .card:nth-child(2){
  border-top: 4px solid #0284c7;
}
.grid3 .card:nth-child(2):hover{
  box-shadow: 0 18px 45px rgba(2, 132, 199, 0.18);
}
.grid3 .card:nth-child(3){
  border-top: 4px solid #dc2626;
}
.grid3 .card:nth-child(3):hover{
  box-shadow: 0 18px 45px rgba(220, 38, 38, 0.18);
}
.card h3{margin:0 0 8px;font-size:1.25rem;font-weight:700}.card p{color:var(--mut);margin:0 0 14px;font-size:.95rem}
.card ul{margin:0 0 18px;padding-left:18px;color:var(--mut);font-size:.92rem}
.tag{display:inline-block;background:rgba(11,42,156,0.08);color:var(--blue);font-size:12px;font-weight:800;padding:5px 12px;border-radius:99px;margin-bottom:14px;border:1px solid rgba(11,42,156,0.15)}
.dark{background:var(--card);color:var(--ink)}
.dark .sub{color:var(--mut)}
.dark .card{
  background:rgba(15,23,42,0.75);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1.5px solid rgba(255,255,255,0.14);
  border-top:3.5px solid #3b82f6;
  color:#ffffff;
  box-shadow:0 14px 38px rgba(0,0,0,0.3);
}
.dark .card:hover{
  border-top-color:#ef4444;
  box-shadow:0 20px 50px rgba(0,0,0,0.45), 0 0 30px rgba(239,68,68,0.18);
}
.dark .card h3{color:#ffffff}
.dark .card p{color:#94a3b8}
.dark input,.dark select{background:var(--bg)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:10px}
.stats div{border-left:3px solid var(--amber);padding-left:14px}.stats strong{display:block;font-size:1.7rem}
.two{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.ph{aspect-ratio:4/3;border-radius:20px;background:repeating-linear-gradient(45deg,var(--line),var(--line) 12px,transparent 12px,transparent 24px);display:grid;place-items:center;color:var(--mut);font-size:14px;border:1px dashed var(--mut)}
.team .av{width:72px;height:72px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800;font-size:1.3rem;margin-bottom:12px}
.team small{color:var(--mut);font-weight:600}
blockquote{margin:0 0 14px;font-size:1rem}
form{display:grid;gap:12px;max-width:520px}
input,select{padding:14px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);font:inherit}
.stars{color:var(--amber);letter-spacing:3px;font-size:1.1rem;margin-bottom:10px}
.who{display:flex;gap:12px;align-items:center}.who small{display:block;color:var(--mut)}
.av2{width:42px;height:42px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800;flex:none}
.pq{margin:0;padding:6px 0 6px 18px;border-left:4px solid var(--amber);font-weight:600}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid2 .card{background:var(--bg)}
.card li{margin:4px 0}
@media (prefers-reduced-motion:reduce){.ticker p{animation:none;padding-left:0}}



/* =========================================================
   Glass Headline Box for Section Titles
   ========================================================= */
.glass-headline-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-top: 3.5px solid var(--blue);
  border-bottom: 2.5px solid var(--red);
  border-radius: 26px;
  padding: 20px 38px 16px;
  margin: 0 auto 18px;
  box-shadow: 0 12px 35px rgba(11, 42, 156, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.glass-headline-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(11, 42, 156, 0.12), 0 0 25px rgba(220, 38, 38, 0.1);
}
.glass-headline-box h2 {
  margin: 0 0 6px!important;
}

/* =========================================================
   Modern Frosted Glass Form Components (Admission & Enquiry)
   ========================================================= */
/* Enquiry Page Layout Grid */
.enquiry-layout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 960px) {
  .enquiry-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.form-glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-top: 4px solid var(--blue);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 18px 45px rgba(11, 42, 156, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}
.form-section-block {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1.5px dashed #e2e8f0;
}
.form-section-block:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
  padding-bottom: 0;
}
.form-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 42, 156, 0.08);
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 99px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(11, 42, 156, 0.15);
}
.form-step-badge.badge-red {
  background: rgba(220, 38, 38, 0.08);
  color: var(--red);
  border-color: rgba(220, 38, 38, 0.18);
}
.form-step-badge.badge-green {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.18);
}
.form-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.form-section-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.5;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-group label .req {
  color: #dc2626;
  font-weight: 800;
}
.form-group label .hint {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: auto;
}
.form-control {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.94rem;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
select.form-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

/* Upload Cards Grid */
.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.upload-card {
  position: relative;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.upload-card:hover {
  border-color: var(--blue);
  background: #eff6ff;
}
.upload-card input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.upload-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(11, 42, 156, 0.08);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.upload-card.card-red .upload-icon {
  background: rgba(220, 38, 38, 0.08);
  color: var(--red);
}
.upload-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}
.upload-sub {
  font-size: 0.78rem;
  color: #64748b;
}
.file-selected-name {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 700;
  margin-top: 8px;
  word-break: break-all;
  display: none;
}
.photo-preview-box {
  width: 80px;
  height: 95px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  object-fit: cover;
  display: none;
  margin-bottom: 8px;
}

/* Custom Terms & Conditions Checkbox */
.terms-container {
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.terms-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.terms-label {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  cursor: pointer;
}
.terms-label strong {
  color: #0f172a;
}

/* Submit Button */
.btn-submit-admission {
  background: linear-gradient(135deg, #0b2a9c 0%, #1d4ed8 45%, #dc2626 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4), 0 0 20px rgba(11, 42, 156, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.btn-submit-admission:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.6), 0 0 30px rgba(11, 42, 156, 0.45);
}

/* Success Admission Acknowledgement Card */
.acknowledgement-card {
  background: #ffffff;
  border: 2px solid #10b981;
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
  margin-bottom: 35px;
}
.ack-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.ack-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ack-token {
  display: inline-block;
  background: #f1f5f9;
  color: var(--blue);
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  letter-spacing: 1px;
}
.ack-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.ack-detail-item {
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.ack-detail-item small {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}
.ack-detail-item strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

@media (max-width: 768px) {
  .form-glass-card {
    padding: 26px 18px;
    border-radius: 22px;
  }
  .form-grid-2, .form-grid-3, .upload-grid, .ack-details-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-section-title {
    font-size: 1.15rem;
  }
  .acknowledgement-card {
    padding: 24px 16px;
  }
}

/* =========================================================
   Why Learning Lab & Modern Features Grid (Image Match)
   ========================================================= */
.sec-head-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}
.sec-head-stacked h2,
.why-section h2,
.team-section h2 {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  display: block;
  width: 100%;
  text-align: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 246, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 7px 18px;
  border-radius: 99px;
  border: 1.5px solid rgba(11, 42, 156, 0.18);
  text-transform: uppercase;
  margin: 6px auto 14px;
  box-shadow: 0 4px 14px rgba(11, 42, 156, 0.08);
}
.team-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(254, 242, 242, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 7px 18px;
  border-radius: 99px;
  border: 1.5px solid rgba(220, 38, 38, 0.22);
  text-transform: uppercase;
  margin: 6px auto 14px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08);
}
.why-section {
  padding: 70px 0 20px;
  text-align: center;
}
.why-sub {
  font-size: 0.98rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.why-sub strong {
  color: #0f172a;
  font-weight: 700;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

/* Glassmorphism Feature Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 28px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(11, 42, 156, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 42, 156, 0.12);
}
.feature-card.c-blue {
  border-top: 4px solid var(--blue);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.72) 0%, rgba(255, 255, 255, 0.85) 100%);
}
.feature-card.c-green {
  border-top: 4px solid #16a34a;
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.72) 0%, rgba(255, 255, 255, 0.85) 100%);
}
.feature-card.c-amber {
  border-top: 4px solid var(--amber);
  background: linear-gradient(180deg, rgba(254, 252, 232, 0.72) 0%, rgba(255, 255, 255, 0.85) 100%);
}
.feature-card.c-red {
  border-top: 4px solid var(--red);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.72) 0%, rgba(255, 255, 255, 0.85) 100%);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-icon.bg-blue { background: #1d68f0; }
.card-icon.bg-green { background: #109e66; }
.card-icon.bg-amber { background: #f59e0b; }
.card-icon.bg-red { background: #e11d48; }

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.35;
}
.feature-card p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

/* Red-White-Blue Exploration Banner */
.icse-banner {
  background: linear-gradient(135deg, #0b2a9c 0%, #1d4ed8 45%, #dc2626 100%);
  color: #fff;
  padding: 44px 0;
  margin: 60px 0;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(11, 42, 156, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.icse-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.icse-banner-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}
.icse-banner-text p {
  margin: 0;
  color: #d0e0ff;
  font-size: 0.95rem;
  line-height: 1.5;
}
.btn-banner {
  background: #ffffff;
  color: #0b3fb8;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.btn-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  color: #082d86;
}

/* Fix How You Study Section */
.fix-study-section {
  padding: 10px 0 70px;
  text-align: center;
}
.fix-study-section h2 {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 auto 46px;
  max-width: 750px;
}

@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .icse-banner .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Meet Our Team (Image 1 Exact Match)
   ========================================================= */
.team-section {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--bg);
}
.team-section h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
}
.team-sub {
  font-size: 0.98rem;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto 50px;
  line-height: 1.6;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: left;
}
.team-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(11, 42, 156, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 42, 156, 0.12);
  border-color: rgba(96, 165, 250, 0.5);
}
.team-av {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.team-av.av-blue { background: #2563eb; }
.team-av.av-green { background: #059669; }
.team-av.av-orange { background: #ea580c; }

.team-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}
.team-role-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.role-blue { background: #e0e7ff; color: #2563eb; }
.role-green { background: #d1fae5; color: #059669; }
.role-orange { background: #fef3c7; color: #d97706; }

.team-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}

/* =========================================================
   Talk to our counsellor (Red-White-Blue Glass Theme)
   ========================================================= */
.counsellor-section {
  background: linear-gradient(135deg, #0b2a9c 0%, #1d4ed8 50%, #dc2626 100%);
  color: #ffffff;
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}
.counsellor-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.counsellor-info {
  text-align: left;
}
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 99px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.counsellor-info h2 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #ffffff;
}
.counsellor-info h2 span {
  color: #fed7aa;
}
.counsellor-info p {
  color: #e0e7ff;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

/* Glassmorphism Counsellor Form Card */
.counsellor-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: 38px 34px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.c-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap svg {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  pointer-events: none;
  flex-shrink: 0;
}
.c-input, .c-textarea {
  width: 100%;
  padding: 13px 14px 13px 42px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.c-input:focus, .c-textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
}
.input-wrap-textarea {
  align-items: flex-start;
}
.input-wrap-textarea svg {
  top: 14px;
}
.c-textarea {
  resize: vertical;
  min-height: 95px;
  padding-top: 12px;
}
.btn-submit-callback {
  background: linear-gradient(135deg, #0b2a9c 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.btn-submit-callback:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.6);
}

/* =========================================================
   Modern Dark Footer (Image 2 Exact Match)
   ========================================================= */
.modern-footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 70px 0 30px;
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2.1fr;
  gap: 36px;
  margin-bottom: 50px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-logo img {
  border-radius: 50%;
  width: 32px;
  height: 32px;
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
  max-width: 340px;
}
.footer-follow-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.social-circle:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
}

/* Contact Info Cards in Footer */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.f-contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.f-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.f-contact-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.f-contact-text strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 600;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom strong {
  color: #818cf8;
}

/* Floating Contact Action Buttons (Call + WhatsApp) */
.fab-container {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  align-items: center;
}
.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  text-decoration: none;
}
.fab-btn:hover {
  transform: translateY(-3px) scale(1.06);
}
.fab-call {
  background: linear-gradient(135deg, #0b2a9c, #1d4ed8);
  box-shadow: 0 8px 24px rgba(11, 42, 156, 0.45);
}
.fab-call:hover {
  box-shadow: 0 12px 30px rgba(11, 42, 156, 0.65);
}
.fab-whatsapp {
  background: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}
.fab-whatsapp:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}
.fab-tooltip {
  position: absolute;
  right: 64px;
  background: #0f172a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.fab-btn:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 960px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .counsellor-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .fab-container {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }
  .fab-btn {
    width: 48px;
    height: 48px;
  }
  .fab-tooltip {
    display: none;
  }
}


/* =========================================================
   Center Aligned Section Headers & Typewriter Scroll Animation
   ========================================================= */
.sec-head-center {
  text-align: center;
  margin-bottom: 38px;
}
.sec-head-center h2 {
  margin: 0 auto 10px;
  display: inline-block;
}
.sec-head-center .sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Typewriter Scroll Effect */
.typewriter-text {
  display: inline-block;
  position: relative;
}
.type-cursor {
  display: inline-block;
  color: #1f4fd8;
  font-weight: 400;
  margin-left: 3px;
  animation: blinkCursor 0.65s infinite;
  vertical-align: baseline;
}
.type-cursor.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Smooth fade-in scroll reveal for section elements */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   COMPREHENSIVE MOBILE PHONE RESPONSIVENESS (Phone View Fixes)
   ========================================================= */
@media (max-width: 768px) {
  /* Wrap and general spacing */
  .wrap {
    padding: 0 16px;
  }
  section {
    padding: 50px 0;
  }

  /* Sticky Header */
  header .wrap {
    height: 60px;
  }
  .logo img {
    width: 32px;
    height: 32px;
  }
  .logo span {
    font-size: 13.5px;
  }
  .logo small {
    font-size: 9px;
  }
  .menu {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    border: 1.5px solid var(--line);
    background: #f8fafc;
  }

  /* Mobile Navigation Drawer */
  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 24px;
    border-bottom: 2.5px solid var(--blue);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    z-index: 1000;
  }
  nav.open {
    display: flex;
  }
  nav a, .nav-dropdown-btn {
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
  }
  nav a.on, .nav-dropdown-btn.on {
    background: #eff6ff;
    color: var(--blue);
    box-shadow: none;
  }
  .dropdown-menu {
    margin: 4px 0 8px 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
  }
  nav a.login {
    margin-top: 12px;
    justify-content: center;
    padding: 12px 20px !important;
    font-size: 15px !important;
    text-align: center;
  }

  /* Hero Section in Mobile Phone View */
  .hero.home-hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
    padding: 35px 14px 55px;
    justify-content: center;
  }
  .hero-content {
    padding: 0;
    max-width: 100%;
  }
  .hero-glass-card {
    padding: 24px 16px 22px;
    border-radius: 20px;
    margin: 0 -4px;
  }
  .eyebrow,
  .hero .pill {
    font-size: 11px;
    padding: 6px 16px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
  }
  .hero h1.display-5,
  .hero h1 {
    font-size: clamp(1.65rem, 6.8vw, 2.3rem);
    line-height: 1.22;
    margin-bottom: 12px;
  }
  .hero p.lead,
  .hero p {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 22px;
    padding: 0 4px;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }
  .btn-yellow-main,
  .btn-outline-white,
  .btn-hero-primary,
  .btn-hero-glass {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.98rem;
    text-align: center;
    box-sizing: border-box;
  }
  .hero .dot {
    bottom: 14px;
    width: 28px;
    height: 7px;
    margin-left: -14px;
  }

  /* Ticker */
  .ticker {
    font-size: 12px;
  }
  .tl {
    padding: 8px 14px 8px 10px;
    font-size: 11px;
  }
  .ticker p {
    padding: 8px 0;
  }

  /* Social Section */
  .social {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .social a {
    padding: 10px 10px;
    font-size: 12px;
    border-radius: 12px;
    gap: 8px;
  }
  .social a svg {
    width: 16px;
    height: 16px;
  }

  /* Section Headlines & Glass Boxes */
  .glass-headline-box {
    padding: 16px 16px 14px;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 14px;
  }
  .sec-head-stacked h2,
  .why-section h2,
  .team-section h2,
  .sec-head-center h2,
  h2 {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .badge-pill,
  .team-badge-pill {
    font-size: 9.5px;
    padding: 5px 12px;
    letter-spacing: 0.3px;
  }
  .why-sub,
  .team-sub,
  .sub {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  /* All Grids & Cards */
  .grid3,
  .two,
  .grid2,
  .why-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card,
  .feature-card,
  .team-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .feature-card p {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
  }
  .stats div {
    padding-left: 12px;
    border-left-width: 3px;
  }
  .stats strong {
    font-size: 1.45rem;
  }

  /* Banners */
  .reg {
    padding: 24px 18px;
    border-radius: 20px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .reg h2 {
    font-size: 1.35rem;
  }
  .reg p {
    font-size: 0.9rem;
  }
  .reg .btn {
    width: 100%;
    text-align: center;
  }

  .icse-banner {
    padding: 28px 18px;
    border-radius: 20px;
    margin: 35px 0;
  }
  .icse-banner .wrap {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 16px;
  }
  .icse-banner-text h3 {
    font-size: 1.35rem;
  }
  .icse-banner-text p {
    font-size: 0.9rem;
  }
  .btn-banner {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Counsellor Section */
  .counsellor-section {
    padding: 55px 0 45px;
  }
  .counsellor-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .counsellor-info {
    text-align: center;
  }
  .counsellor-info h2 {
    font-size: 1.95rem;
  }
  .counsellor-info p {
    font-size: 0.92rem;
    margin: 0 auto;
  }
  .counsellor-card {
    padding: 24px 16px;
    border-radius: 22px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .btn-submit-callback {
    padding: 14px 20px;
    font-size: 0.98rem;
  }

  /* Footer */
  .modern-footer {
    padding: 50px 0 25px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-desc {
    max-width: 100%;
    margin: 0 auto 18px;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-links {
    align-items: center;
    gap: 10px;
  }
  .footer-contact-list {
    align-items: stretch;
  }
  .f-contact-card {
    text-align: left;
    padding: 12px 14px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Floating Action Buttons */
  .fab-container {
    right: 14px;
    bottom: 16px;
    gap: 10px;
    z-index: 9999;
  }
  .fab-btn {
    width: 48px;
    height: 48px;
  }
  .fab-btn svg {
    width: 20px;
    height: 20px;
  }
  .fab-tooltip {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero h1.display-5,
  .hero h1 {
    font-size: 1.7rem;
  }
  .social {
    grid-template-columns: 1fr 1fr;
  }
  .social a span {
    font-size: 11.5px;
  }
}

/* =========================================================
   Unified Authentication & Multi-Role Portal System
   (Student, Teacher / Mentor, Administrator)
   ========================================================= */
.login-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 960px) {
  .login-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Left Info Box */
.login-info-box {
  display: flex;
  flex-direction: column;
}
.portal-role-feature-list {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}
.portal-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.portal-feat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 42, 156, 0.08);
  border-color: #93c5fd;
}
.portal-feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.portal-feat-card strong {
  display: block;
  font-size: 0.98rem;
  color: #0f172a;
  margin-bottom: 2px;
}
.portal-feat-card p {
  margin: 0;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
}
.login-help-card {
  background: #f8fafc;
  border: 1.5px solid #dbeafe;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Right Glass Login Card */
.login-glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-top: 4px solid var(--blue);
  border-bottom: 3.5px solid var(--red);
  border-radius: 26px;
  padding: 36px 32px 30px;
  box-shadow: 0 18px 50px rgba(11, 42, 156, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.login-glass-card.pulse-glow {
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.35);
  transform: scale(1.01);
}
@media (max-width: 600px) {
  .login-glass-card {
    padding: 26px 18px 22px;
    border-radius: 20px;
  }
}

/* Role Selector Segmented Tabs */
.portal-role-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 5px;
  gap: 4px;
  margin-bottom: 20px;
}
.role-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #64748b;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.role-tab-btn .tab-emoji {
  font-size: 1.15rem;
}
.role-tab-btn:hover {
  color: #1e293b;
}
.role-tab-btn.active.role-student {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(11, 42, 156, 0.12);
}
.role-tab-btn.active.role-teacher {
  background: #ffffff;
  color: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
}
.role-tab-btn.active.role-admin {
  background: #ffffff;
  color: var(--red);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.12);
}

/* Role Header Badge inside Card */
.role-header-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 22px;
  transition: all 0.25s ease;
}
.role-header-badge .badge-icon {
  font-size: 2rem;
  line-height: 1;
}
.role-header-badge.role-student {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.role-header-badge.role-teacher {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.role-header-badge.role-admin {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* Input Icon Wrappers */
.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.input-with-icon {
  padding-left: 42px !important;
}
.input-with-toggle {
  padding-right: 44px !important;
}
.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s ease;
}
.password-toggle-btn:hover {
  color: #0f172a;
}
.submit-login-btn {
  width: 100%;
  padding: 14px;
  font-size: 1.02rem;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.submit-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.45);
}

/* 1-Click Demo Login Box */
.demo-login-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 24px;
}
.demo-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  flex-wrap: wrap;
  gap: 6px;
}
.demo-btn-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
@media (max-width: 580px) {
  .demo-btn-group {
    grid-template-columns: 1fr;
  }
}
.demo-role-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 9px 8px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.demo-role-btn span {
  font-size: 0.85rem;
  font-weight: 800;
}
.demo-role-btn small {
  font-size: 0.72rem;
  color: #64748b;
  font-family: monospace;
}
.demo-role-btn.demo-student:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.demo-role-btn.demo-teacher:hover {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}
.demo-role-btn.demo-admin:hover {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

/* Login Card Footer */
.login-card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
}

/* Auth Alert Banners */
.auth-alert-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.auth-alert-banner.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.auth-alert-banner.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.auth-alert-banner.alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.auth-alert-banner.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* =========================================================
   Dashboard Styles (Admin, Student, Teacher)
   ========================================================= */
.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .stats-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 520px) {
  .stats-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}
.kpi-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.kpi-val {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.kpi-lbl {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

/* Dashboard Tab Bar */
.dash-tab-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.dash-tab-btn {
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -4px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.dash-tab-btn:hover {
  color: #1e293b;
}
.dash-tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.dash-tab-pane {
  display: none;
}
.dash-tab-pane.active {
  display: block;
}

/* Table Cards */
.dash-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.dash-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}
.dash-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dash-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 680px;
}
.dash-data-table thead tr {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
  color: #475569;
  font-weight: 700;
}
.dash-data-table th,
.dash-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.dash-data-table tbody tr:hover {
  background: #f8fafc;
}

/* Badge helpers */
.token-pill {
  display: inline-block;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 99px;
  font-family: monospace;
}
.badge-class {
  display: inline-block;
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 3px 8px;
  border-radius: 6px;
}
.status-verified {
  display: inline-block;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
}
