/* ============================================================
   NOVEL PRIVATE ITI — Premium Shared Styles
   ============================================================ */

/* Google Fonts - Removed, using system fonts only */

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  --navy:        #0a0e27;
  --deep-navy:   #060918;
  --royal-blue:  #1a3a8f;
  --mid-blue:    #2563eb;
  --indigo:      #312e81;
  --purple:      #5b21b6;
  --charcoal:    #1f2937;
  --platinum:    #e5e7eb;
  --soft-white:  #f8fafc;
  --gold:        #d4a017;
  --gold-light:  #f0c040;
  --champagne:   #f5e6c8;
  --glass-bg:    rgba(255,255,255,0.07);
  --glass-border:rgba(255,255,255,0.15);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.25);
  --shadow-gold: 0 0 30px rgba(212,160,23,0.3);
}
/* ── Ethnocentric Font — Navbar Logo ONLY ────────────── */
/* @font-face {
  font-family: 'Ethnocentric';
  src: url('../asset/Ethnocentric-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

/* ── Global Font Override — System font on everything ──────── */
/* Use normal default system fonts everywhere except navbar brand */
html, body,
body *, body *::before, body *::after {
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important; */
}

/* ONLY exception: navbar logo/brand name "Novel Private ITI" */
.navbar-brand {
  /* font-family: 'Ethnocentric', sans-serif !important; */
  font-size: 0.75rem;
  font-weight: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
/* ── Base Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--deep-navy);
  color: var(--soft-white);
  overflow-x: hidden;
  cursor: none;
  -webkit-text-size-adjust: 100%;
  min-width: 0;
}
img, svg, video { max-width: 100%; height: auto; }
table { width: 100%; }

/* ── Typography Hierarchy ───────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
}
/* H1 — text-5xl → text-8xl */
h1 { font-size: clamp(3rem, 7vw, 5.5rem);   font-weight: 900; letter-spacing: -0.04em; }
/* H2 — text-4xl → text-6xl */
h2 { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
/* H3 — text-2xl → text-4xl */
h3 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: clamp(1.15rem, 2vw, 1.375rem); font-weight: 600; }
p  { font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.8; }
/* p  { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-weight: 400; line-height: 1.75; } */
/* button { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-weight: 500; } */

/* ── Custom Cursor ──────────────────────────────────────── */
#cursor-dot {
  width: 10px; height: 10px;
  background: var(--gold-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  /* transform set entirely by JS — no default needed */
  transition: background 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 10px var(--gold-light), 0 0 20px var(--gold-light);
}
/* Hover state — JS adds/removes via document delegation */
#cursor-dot.cursor-hover {
  background: var(--gold);
  box-shadow: 0 0 20px var(--gold-light), 0 0 50px rgba(240,192,64,0.4);
}
#cursor-ring {
  width: 38px; height: 38px;
  border: 2px solid rgba(240,192,64,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  /* transform set by RAF in JS */
  transition: border-color 0.3s, width 0.3s, height 0.3s;
}
#cursor-ring.cursor-hover {
  width: 52px; height: 52px;
  border-color: rgba(240,192,64,0.85);
}
#cursor-trail-container {
  position: fixed; inset: 0; pointer-events: none; z-index: 99997; overflow: hidden;
}
/* Pool-based trail dots — pre-allocated, reused, animation triggered by class */
.cursor-trail-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(240,192,64,0.45);
  border-radius: 50%;
  pointer-events: none;
  will-change: opacity, transform;
  opacity: 0;
}
.cursor-trail-dot.trail-active {
  animation: trailFade 0.65s ease forwards;
}
@keyframes trailFade {
  0%   { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0;    transform: scale(0.1); }
}

/* ── Scroll Progress Bar ────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--mid-blue));
  width: 0%; transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--gold);
}



/* ── Glassmorphism Card ──────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}
.glass-card-dark {
  background: rgba(6,9,24,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

/* ── Navbar ─────────────────────────────────────────────── */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: all 0.4s ease;
    padding: 0.5rem 0;
    background: rgba(6,9,24,0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(212,160,23,0.25);
}
@media (max-width: 1023px) {
  #navbar { padding: 0.25rem 0; }
}

.nav-link {
  position: relative;
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; */
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s;
  padding: 0.25rem 0;
  text-transform: uppercase;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: 99px;
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold-light); }

/* ── Buttons ────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0e27;
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; */
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-light), #fff3, var(--gold));
  opacity: 0; transition: opacity 0.3s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-gold:hover::before { opacity: 1; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: var(--gold-light);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.7rem 1.7rem;
  border-radius: 8px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-outline:hover {
  background: var(--gold);
  color: #0a0e27;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Ripple effect (class name: ripple-wave to avoid collisions) */
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim 0.65s linear;
  background: rgba(255,255,255,0.28);
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── Section Title ───────────────────────────────────────── */
.section-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-shadow:
    0 0 60px rgba(255,255,255,0.08),
    0 4px 40px rgba(0,0,0,0.5);
  transition: transform 0.35s ease, filter 0.35s ease;
  will-change: transform;
}
.section-title:hover {
  transform: scale(1.015);
  filter: drop-shadow(0 0 24px rgba(212,160,23,0.45));
}
.section-title span {
  background: linear-gradient(135deg, #f0c040 0%, #d4a017 40%, #ffe97a 75%, #fff8dc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(212,160,23,0.55));
}

/* ── Section Subtitle label ─────────────────────────────── */
.section-subtitle {
  font-size: 0.75rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.7rem;
  opacity: 0.95;
  font-weight: 600;
}
.section-subtitle::before, .section-subtitle::after {
  content: '';
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-subtitle::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ── Gold Divider ───────────────────────────────────────── */
.gold-divider {
  width: 80px; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), transparent);
  border-radius: 99px;
  box-shadow: 0 0 16px rgba(212,160,23,0.65), 0 0 32px rgba(212,160,23,0.25);
}

/* ── Hover Glow Cards ───────────────────────────────────── */
.hover-glow {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hover-glow:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(37,99,235,0.3), 0 0 30px rgba(212,160,23,0.15);
}

/* ── Scroll Animations — bidirectional ──────────────────── */
[data-ani] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
              transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
[data-ani="fade-up"]    { transform: translateY(48px); }
[data-ani="fade-left"]  { transform: translateX(-48px); }
[data-ani="fade-right"] { transform: translateX(48px); }
[data-ani="zoom-in"]    { transform: scale(0.85); }
/* Headings get a slightly longer, snappier entrance */
.section-title[data-ani],
h1[data-ani], h2[data-ani] {
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1),
              transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
[data-ani].animated,
[data-ani].ani-visible {
  opacity: 1;
  transform: none;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  display: inline-block;
}
.footer-link:hover { color: var(--gold-light); }

/* ── Back to Top ─────────────────────────────────────────── */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 998;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none; border-radius: 50%;
  cursor: pointer; display: none;
  align-items: center; justify-content: center;
  color: #0a0e27; font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(212,160,23,0.5);
  transition: all 0.3s;
}
#back-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(212,160,23,0.6); }
#back-top.visible { display: flex; }

/* ── Hamburger ──────────────────────────────────────────── */
.hamburger { 
  cursor: pointer; 
  display: flex; 
  flex-direction: column; 
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block; 
  width: 26px; 
  height: 2px;
  background: var(--gold-light);
  border-radius: 99px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile Menu ─────────────────────────────────────────── */
#mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: linear-gradient(160deg, #060918 55%, #0d1133 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 5rem 1.5rem 3rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77,0,0.175,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#mobile-menu.open { transform: translateX(0); }
#menu-close:hover {
  background: rgba(212,160,23,0.18) !important;
  border-color: rgba(212,160,23,0.6) !important;
}
.mobile-nav-link {
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 0.625rem;
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: color 0.2s, background 0.2s;
  border: 1px solid transparent;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--gold-light);
  background: rgba(212,160,23,0.08);
  border-color: rgba(212,160,23,0.2);
}

/* ── Stat Cards ─────────────────────────────────────────── */
.stat-number {
  /* font-family: 'Inter', sans-serif; */
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ── Progress Bar ───────────────────────────────────────── */
.progress-bar-wrap { background: rgba(255,255,255,0.1); border-radius: 99px; height: 8px; overflow: hidden; }
.progress-bar {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px var(--gold);
}

/* ── Badge ──────────────────────────────────────────────── */
.badge-new {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 99px;
  display: inline-block;
  animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}
.badge-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0e27;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
}

/* ── Course Flip Card ───────────────────────────────────── */
.flip-card { perspective: 1000px; }
.flip-card-inner {
  position: relative;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
}
.flip-card-back { transform: rotateY(180deg); }

/* ── Lightbox ───────────────────────────────────────────── */
#lightbox {
  position: fixed; inset: 0; z-index: 99990;
  background: rgba(0,0,0,0.95);
  display: none; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}
#lightbox.active { display: flex; }
#lightbox-img { max-width: 90vw; max-height: 75vh; border-radius: 12px; object-fit: contain; }
#lightbox-caption { color: rgba(255,255,255,0.8); font-size: 0.9rem; text-align: center; }
#lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
#lightbox-close:hover { background: rgba(239,68,68,0.5); }

/* ── Parallax ───────────────────────────────────────────── */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ── Table ──────────────────────────────────────────────── */
.premium-table { width: 100%; border-collapse: collapse; }
.premium-table thead tr {
  background: linear-gradient(135deg, var(--royal-blue), var(--indigo));
}
.premium-table th {
  padding: 1rem 1.25rem;
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; */
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left;
  color: var(--gold-light);
}
.premium-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.premium-table tbody tr { transition: background 0.2s; }
.premium-table tbody tr:hover { background: rgba(255,255,255,0.05); }

/* ── Star Rating ─────────────────────────────────────────── */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }

/* ── WhatsApp Float ─────────────────────────────────────── */
#whatsapp-btn {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 998;
  width: 50px; height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all 0.3s;
  font-size: 1.5rem;
}
#whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--deep-navy); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--mid-blue)); border-radius: 99px; }

/* ── Image Hover Zoom ───────────────────────────────────── */
.img-zoom-wrap { overflow: hidden; border-radius: inherit; }
.img-zoom { transition: transform 0.5s ease; width: 100%; height: 100%; object-fit: cover; }
.img-zoom-wrap:hover .img-zoom { transform: scale(1.08); }

/* ── Gradient Text ──────────────────────────────────────── */
.text-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.text-blue-grad {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Marquee ────────────────────────────────────────────── */
.marquee-wrap { overflow: hidden; }
.marquee-track {
  display: flex; gap: 2rem;
  animation: marqueeMove 25s linear infinite;
  white-space: nowrap;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Utilities ──────────────────────────────────────────── */
/* text-ethnocentric overridden to system font — Ethnocentric is navbar-brand only */
/* .text-ethnocentric { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important; font-weight: 700; }
.text-rajdhani { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.text-inter { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; } */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  cursor: pointer;
  user-select: none;
  transition: color 0.25s;
}
.faq-question:hover .faq-q-text { color: var(--gold-light); }
.faq-q-text {
  /* font-family: 'Inter', sans-serif; */
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.25s;
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), background 0.3s, border-color 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: #0a0e27;
  border-color: var(--gold);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer {
  max-height: 400px;
}
.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1023px) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring, #cursor-trail-container { display: none; }
  .parallax-bg { background-attachment: scroll; }
  .hamburger { display: flex !important; }
}

@media (min-width: 1024px) {
  .hamburger { display: none !important; }
  #mobile-menu { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   HIGHLY RESPONSIVE — Complete Mobile-First System
   Novel Private ITI — All Breakpoints Covered
   ═══════════════════════════════════════════════════════════ */

/* ── Global: Overflow & Base ─────────────────────────────── */
html { overflow-x: hidden; }
body { overflow-x: hidden; }
img  { max-width: 100%; height: auto; }
.overflow-x-auto { -webkit-overflow-scrolling: touch; scrollbar-width: thin; }

/* ── Logo: Bigger on All Pages ───────────────────────────── */
#navbar a img.rounded-full,
#navbar a > img {
  width: auto !important; height: 80px !important;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(212,160,23,0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}
#navbar a:hover img {
  filter: drop-shadow(0 0 14px rgba(212,160,23,0.6));
}
footer img.rounded-full {
  width: auto !important; height: 64px !important;
  flex-shrink: 0;
}

/* ── Hamburger: Proper Touch Target ─────────────────────── */
@media (max-width: 1023px) {
  .hamburger {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }
  .btn-gold, .btn-outline { min-height: 44px; }
}

/* ── Navbar: Tight Mobile ────────────────────────────────── */
@media (max-width: 1023px) {
  #navbar a img.rounded-full,
  #navbar a > img { width: auto !important; height: 64px !important; }
}
@media (max-width: 479px) {
  #navbar a img.rounded-full,
  #navbar a > img { width: auto !important; height: 54px !important; }
  .navbar-brand { font-size: 0.63rem; letter-spacing: 1px; }
  #navbar .max-w-7xl { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
}
@media (max-width: 359px) {
  #navbar a img.rounded-full,
  #navbar a > img { width: auto !important; height: 44px !important; }
  .navbar-brand { font-size: 0.52rem; letter-spacing: 0.5px; }
  #navbar .max-w-7xl { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
}

/* ── Mobile Menu: Responsive ─────────────────────────────── */
@media (max-height: 600px) {
  /* Short screens (landscape phone) — tighten spacing */
  #mobile-menu { gap: 0; padding: 4rem 1.5rem 2rem; justify-content: flex-start; overflow-y: auto; }
  .mobile-nav-link { padding: 0.4rem 1.25rem; font-size: 0.9rem; }
}
@media (max-width: 359px) {
  .mobile-nav-link { font-size: 0.85rem; letter-spacing: 1.5px; padding: 0.55rem 1rem; }
}

/* ── Footer Responsive ──────────────────────────────────── */
footer { word-break: break-word; }
footer h4 { font-size: clamp(0.85rem, 2.5vw, 1rem); }
footer .text-sm { font-size: clamp(0.78rem, 2vw, 0.875rem); }
@media (max-width: 639px) {
  footer .space-y-3 > div,
  footer .space-y-2 > p { font-size: 0.8rem; }
  footer .border-l-2 { padding-left: 0.75rem; }
  footer .py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  footer .gap-8 { gap: 1.75rem !important; }
}

/* ── General Responsiveness ─────────────────────────────── */
@media (max-width: 639px) {
  /* Prevent long words from breaking layout */
  p, li, a, span, td, th { overflow-wrap: break-word; word-wrap: break-word; }
  /* Reduce all section headings slightly more on very small screens */
  .section-title { font-size: clamp(1.6rem, 7.5vw, 2.25rem) !important; }
  /* Glass card padding */
  .glass-card { padding: 1rem !important; }
  /* Grid gap reductions */
  .gap-6  { gap: 0.875rem !important; }
  .gap-8  { gap: 1rem !important; }
  /* Ensure grids with 2 cols don't overflow */
  .grid-cols-2 .glass-card,
  [class*="grid-cols-2"] .glass-card { min-width: 0; }
}
@media (max-width: 479px) {
  /* Tables scroll horizontally instead of overflowing */
  .overflow-x-auto { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  /* Force single column when needed */
  .sm\:grid-cols-2 { grid-template-columns: 1fr !important; }
}

/* ── Section Padding: Reduce on Mobile ───────────────────── */
@media (max-width: 640px) {
  .py-24 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  .py-20 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .py-16 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
  .py-14 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .py-28 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  .pt-36 { padding-top: 6.5rem !important; }
  .pb-24 { padding-bottom: 2.5rem !important; }
  .pb-20 { padding-bottom: 2.5rem !important; }
  .gap-16 { gap: 2rem !important; }
  .gap-12 { gap: 1.5rem !important; }
  .mb-14 { margin-bottom: 2rem !important; }
  .mb-12 { margin-bottom: 1.75rem !important; }
}

/* ── Hero: Mobile Fixes ──────────────────────────────────── */
@media (max-width: 640px) {
  .hero-slides { height: 100svh; min-height: 580px; }
  /* Hide vertical scroll indicator */
  #hero .absolute.bottom-8.right-8 { display: none !important; }
  /* Hero text padding */
  .hero-content .px-6 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
}
@media (max-width: 480px) {
  /* Stack hero buttons on small screens */
  .hero-content .flex.flex-wrap.gap-4 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .hero-content .flex.flex-wrap.gap-4 > a {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

/* ── Stats: Mobile Grid ──────────────────────────────────── */
@media (max-width: 479px) {
  #stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.625rem; }
  #stats-grid .glass-card { padding: 0.875rem 0.625rem; }
  .stat-number { font-size: 1.75rem; }
}
@media (min-width: 480px) and (max-width: 767px) {
  #stats-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ── Image Heights: Scale Down on Mobile ─────────────────── */
@media (max-width: 640px) {
  .img-zoom-wrap[style*="height:260px"] { height: 175px !important; }
  .img-zoom-wrap[style*="height:220px"] { height: 175px !important; }
  .img-zoom-wrap[style*="height:200px"] { height: 150px !important; }
  .img-zoom-wrap[style*="height:160px"] { height: 130px !important; }
  .img-zoom-wrap[style*="height:180px"] { height: 145px !important; }
  .img-zoom-wrap[style*="height:460px"] { height: 240px !important; }
  .img-zoom-wrap[style*="height:420px"] { height: 240px !important; }
  .img-zoom-wrap[style*="height:320px"] { height: 220px !important; }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .img-zoom-wrap[style*="height:460px"] { height: 340px !important; }
  .img-zoom-wrap[style*="height:420px"] { height: 320px !important; }
}

/* ── About/Index: Image Badge Overflow Fix ───────────────── */
@media (max-width: 1023px) {
  /* Un-absolute the year badge so it doesn't overflow */
  .relative > div.absolute.-bottom-4.-right-4,
  .relative > div.absolute.-bottom-5.-right-5 {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    transform: none !important;
    margin-top: 1rem;
    display: inline-block;
    border-radius: 12px;
  }
}

/* ── Responsive heading caps: prevent overflow on small screens ── */
@media (max-width: 480px) {
  h1 { font-size: clamp(2.25rem, 10vw, 3rem); letter-spacing: -0.03em; }
  h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  h3 { font-size: clamp(1.4rem, 6vw, 1.875rem); }
  .section-title { font-size: clamp(1.875rem, 9vw, 2.75rem); }
  .section-subtitle::before,
  .section-subtitle::after { width: 18px; }
  .section-subtitle { font-size: 0.7rem; letter-spacing: 3px; }
}
@media (min-width: 481px) and (max-width: 768px) {
  h1 { font-size: clamp(2.75rem, 8vw, 3.75rem); }
  h2 { font-size: clamp(2rem, 6vw, 3rem); }
  .section-title { font-size: clamp(2rem, 7vw, 3.25rem); }
}

/* ── Parallax Banner: Mobile Buttons ─────────────────────── */
@media (max-width: 480px) {
  .flex.flex-wrap.justify-center.gap-4 > a.btn-gold,
  .flex.flex-wrap.justify-center.gap-4 > a.btn-outline {
    width: 100%;
    max-width: 270px;
    justify-content: center;
  }
}

/* ── Notice Ticker: Mobile ────────────────────────────────── */
@media (max-width: 640px) {
  #ticker-text { font-size: 0.8rem; }
  .notice-ticker-label { padding: 0.15rem 0.45rem !important; font-size: 0.68rem !important; }
}

/* ── Chairman Message: Mobile ────────────────────────────── */
@media (max-width: 640px) {
  #chairman-message blockquote svg.absolute { display: none; }
  #chairman-message blockquote p { font-size: 1rem !important; padding-right: 0 !important; }
  #chairman-message .px-5.py-8 { padding: 1.25rem !important; }
}

/* ── Gallery Preview: Mobile ─────────────────────────────── */
@media (max-width: 479px) {
  #gallery-preview { grid-template-columns: repeat(2, 1fr) !important; gap: 0.375rem; }
  #gallery-preview > div { height: 115px !important; }
}

/* ── Testimonial Cards: Mobile ───────────────────────────── */
@media (max-width: 640px) {
  #testimonials-wrap .glass-card,
  #about-testimonials-wrap .glass-card {
    padding: 1.5rem 1.125rem !important;
  }
  #testimonials-wrap .text-lg { font-size: 0.9rem !important; }
}

/* ── FAQ: Mobile ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .faq-q-text { font-size: 0.88rem; }
  .faq-question { padding: 1rem 0; min-height: 44px; }
}

/* ── Contact Strip: Fully Responsive ─────────────────────── */
@media (max-width: 767px) {
  .contact-strip-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .contact-strip-btns {
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .contact-strip-btns > a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center;
  }
}
@media (max-width: 479px) {
  .contact-strip-btns > a {
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
  }
}

/* ── Footer: Single Column on Mobile ─────────────────────── */
@media (max-width: 639px) {
  footer .grid { grid-template-columns: 1fr !important; }
  footer .lg\:col-span-1 { grid-column: span 1 !important; }
  footer .py-16 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
  footer .py-12 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  footer .py-10 { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
}
@media (min-width: 640px) and (max-width: 767px) {
  footer .grid { grid-template-columns: repeat(2, 1fr) !important; }
  footer .lg\:col-span-1 { grid-column: span 2 !important; }
}

/* ── Floating Buttons: Mobile Positioning ─────────────────── */
@media (max-width: 640px) {
  #whatsapp-btn { bottom: 0.75rem !important; left: 0.75rem !important; width: 46px; height: 46px; font-size: 1.25rem; }
  #back-top    { bottom: 0.75rem !important; right: 0.75rem !important; width: 42px; height: 42px; font-size: 1rem; }
}

/* ── Table: Mobile ───────────────────────────────────────── */
@media (max-width: 767px) {
  .premium-table { font-size: 0.76rem; }
  .premium-table th { padding: 0.65rem 0.55rem; font-size: 0.68rem; letter-spacing: 1px; }
  .premium-table td { padding: 0.6rem 0.55rem; }
}

/* ── Contact Cards: Mobile ───────────────────────────────── */
@media (max-width: 639px) {
  .contact-card { padding: 1.25rem !important; }
  .contact-icon { width: auto !important; height: 46px !important; font-size: 1.2rem !important; }
}

/* ── Form Grid: Mobile ───────────────────────────────────── */
@media (max-width: 479px) {
  .grid.sm\:grid-cols-2,
  .grid.md\:grid-cols-2 { grid-template-columns: 1fr !important; }
}

/* ── Loader: Mobile Sizing ───────────────────────────────── */
@media (max-width: 640px) {
  #loader-logo   { width: auto !important; height: 78px !important; }
  #loader-title  { font-size: clamp(1.35rem, 6vw, 2rem) !important; }
  #loader-tagline{ font-size: 0.88rem !important; letter-spacing: 2px !important; }
  #loader-bar-wrap { width: 220px !important; }
  .loader-logo-ring.ring-3 { display: none; }
}

/* ── Glass Card Padding: Mobile ─────────────────────────── */
@media (max-width: 479px) {
  .glass-card.p-8   { padding: 1.25rem !important; }
  .glass-card.p-6   { padding: 1rem !important; }
  .glass-card-dark.p-6 { padding: 1rem !important; }
  .glass-card-dark.p-6 .text-3xl { font-size: 1.5rem; margin-bottom: 0.5rem; }
}

/* ── Courses Grid Card Image: Mobile ─────────────────────── */
@media (max-width: 640px) {
  #courses-grid .img-zoom-wrap { height: 175px !important; }
}

/* ── Why Choose / Features 2-Col on Small Mobile ─────────── */
@media (max-width: 479px) {
  .grid.md\:grid-cols-2.lg\:grid-cols-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 0.625rem; }
  .grid.md\:grid-cols-2.lg\:grid-cols-4 .glass-card-dark { padding: 0.875rem !important; }
  .grid.md\:grid-cols-2.lg\:grid-cols-4 h4 { font-size: 0.82rem; margin-bottom: 0.25rem; }
  .grid.md\:grid-cols-2.lg\:grid-cols-4 p  { font-size: 0.72rem; }
  .grid.md\:grid-cols-2.lg\:grid-cols-4 .text-3xl { font-size: 1.4rem; }
}

/* ── About: Image Collage Mobile Heights ─────────────────── */
@media (max-width: 640px) {
  .grid.grid-cols-2 .img-zoom-wrap { height: 145px !important; }
  .grid.grid-cols-2 .col-span-2 .img-zoom-wrap { height: 110px !important; }
}

/* ── Admission Steps: Mobile ─────────────────────────────── */
@media (max-width: 479px) {
  .step-circle { width: auto !important; height: 44px !important; font-size: 1.1rem !important; flex-shrink: 0; }
  .flex.gap-6.items-start.glass-card { gap: 1rem; padding: 1rem !important; }
}

/* ── Page Hero (Inner Pages): Mobile ─────────────────────── */
@media (max-width: 640px) {
  section.pt-36.pb-20 { padding-top: 6.5rem !important; padding-bottom: 2.25rem !important; }
  section.pt-36.pb-24 { padding-top: 6.5rem !important; padding-bottom: 2.5rem !important; }
}

/* ── Achievements Cards: Mobile ─────────────────────────── */
@media (max-width: 640px) {
  .flex.gap-4.glass-card.p-4 > div.w-16.h-16 {
    width: 50px; height: 50px; font-size: 0.72rem; flex-shrink: 0;
  }
}

/* ── Map Iframe: Mobile ──────────────────────────────────── */
@media (max-width: 640px) {
  .rounded-2xl.overflow-hidden[style*="height:320px"] { height: 220px !important; }
}

/* ── Social Buttons: Mobile ──────────────────────────────── */
@media (max-width: 479px) {
  .social-btn { padding: 0.625rem 1rem !important; font-size: 0.88rem !important; }
  .social-btn .ml-auto { display: none; }
}

/* ── Tablet (768–1023px) Tweaks ─────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  #stats-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .img-zoom-wrap[style*="height:460px"] { height: 360px !important; }
  .img-zoom-wrap[style*="height:420px"] { height: 320px !important; }
}

/* ── Prevent Body Content Overflow ──────────────────────── */
section, footer, nav, header, div {
  max-width: 100%;
}
/* Exception: cursor & trail elements don't need this */
#cursor-dot, #cursor-ring, #cursor-trail-container {
  max-width: none;
}

/* ── Desktop Navbar Overflow Fix (1024px–1280px) ─────────── */
@media (min-width: 1024px) and (max-width: 1280px) {
  #navbar .max-w-7xl > div:first-of-type { gap: 0.5rem !important; }
  .nav-link { font-size: 0.75rem !important; letter-spacing: 0.3px !important; }
}

/* ── Very Small Screens (< 320px) Emergency ─────────────── */
@media (max-width: 319px) {
  html { font-size: 14px; }
  .navbar-brand { font-size: 0.48rem !important; letter-spacing: 0.3px !important; }
  #navbar a img.rounded-full { width: auto !important; height: 34px !important; }
}

/*  Premium Navbar Styles  */


.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;   /* spacing between logo and text */
  padding-left: 20px;
}

.logo-container img {
  height: 60px !important;
  width: auto !important;
  transition: transform 0.3s ease, filter 0.3s ease;
  object-fit: contain;
}

.logo-container:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(212,160,23,0.6));
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  /* font-family: 'Ethnocentric', sans-serif; */
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 2.5px;
  line-height: 1.2;
  text-transform: uppercase;
}

.logo-subtitle {
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; */
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 768px) {
  .logo-container {
    padding-left: 0;
    gap: 8px;
  }
  .logo-container img {
    height: 45px !important;
  }
  .logo-title {
    font-size: 0.85rem;
  }
  .logo-subtitle {
    font-size: 0.55rem;
  }
}

@media (max-width: 480px) {
  .logo-container img {
    height: 40px !important;
  }
  .logo-title {
    font-size: 0.75rem;
  }
  .logo-subtitle {
    display: none; /* Hide subtitle on tiny screens if space issue */
  }
}

/* ── Page Loader — Circular Logo Style ─────────────────── */
#page-loader {
  background: #060918;
  z-index: 999999;
}

.loader-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

/* Spinning ring */
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.08);
  border-top-color: #d4a017;
  border-right-color: #f0c040;
  animation: loaderSpin 1s linear infinite;
}

/* Outer glow ring */
.loader-ring-outer {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(212,160,23,0.3);
  animation: loaderSpin 1.8s linear infinite reverse;
}

/* Logo circle */
.loader-logo-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,160,23,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader-logo-circle img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

/* Institute name below */
.loader-name {
  font-family: 'Ethnocentric', sans-serif;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d4a017;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-align: center;
  margin-bottom: 20px;
}

.loader-name.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dot pulse below name */
.loader-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.loader-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4a017;
  animation: loaderDot 1.2s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes loaderDot {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40%           { opacity: 1;   transform: scale(1.2); }
}
