/* ================================================================
   GPA — Public site theme (Bootstrap 4.6)
   Government Polytechnic, Aadampur, Tarabganj, Gonda
   Theme ported from the school-site project; GPA additions at the end.
   ================================================================ */

/* Fonts are loaded in includes/header.php */

:root {
  --royal:       #0B2447;
  --royal-mid:   #19376D;
  --royal-light: #2d5986;
  --gold:        #C9972C;
  --gold-light:  #E5B84A;
  --gold-pale:   #FFF5DC;
  --crimson:     #B91C3B;
  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --light:       #EEF2FB;
  --muted:       #6B7A99;
  --dark:        #0D1B2A;
  --border:      #DDE4F0;
  --shadow-sm:   0 2px 12px rgba(11,36,71,.08);
  --shadow:      0 6px 30px rgba(11,36,71,.12);
  --shadow-lg:   0 20px 60px rgba(11,36,71,.18);
  --shadow-gold: 0 8px 30px rgba(201,151,44,.35);
  --radius:      14px;
  --radius-lg:   24px;
  --transition:  all .32s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--dark); background: var(--white); line-height: 1.75; overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Cormorant Garamond', serif; font-weight: 700; line-height: 1.2; }
a { transition: var(--transition); }
img { max-width: 100%; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--royal-mid); border-radius: 3px; }

/* ══════════════════════════════════════════
   PRELOADER
══════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--royal);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-bar { width: 180px; height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.preloader-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; animation: fillBar 1.8s ease forwards; }
@keyframes fillBar { from { width: 0; } to { width: 100%; } }

/* ══════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════ */
.topbar {
  background: var(--royal);
  padding: 8px 0;
  font-size: .76rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar-items { gap: 20px; }
.topbar-items span { display: flex; align-items: center; gap: 6px; }
.topbar-items i { color: var(--gold); font-size: .72rem; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 50%;
  font-size: .65rem; color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: var(--transition);
}
.topbar-social a:hover { transform: translateY(-2px); opacity: .85; color: #fff; }
.topbar-social a.social-fb { background: #3b5998; }
.topbar-social a.social-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.topbar-social a.social-yt { background: #c4302b; }
.topbar-social a.social-tg { background: #0088cc; }
.topbar-social a.social-wa { background: #25D366; }
.topbar-portal-btn {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75); padding: 4px 14px; border-radius: 50px;
  font-size: .74rem; font-weight: 600; text-decoration: none;
  display: flex; align-items: center; gap: 6px; transition: var(--transition);
}
.topbar-portal-btn:hover { background: var(--gold); color: var(--royal); border-color: var(--gold); text-decoration: none; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.site-navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(11,36,71,.09);
  position: sticky; top: 0; z-index: 1000;
  transition: box-shadow .3s ease;
}
.site-navbar.scrolled { box-shadow: 0 4px 28px rgba(11,36,71,.15); }

.navbar-inner {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 0;
}

.navbar-brand-wrap {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
  margin-right: 8px;
}
.navbar-brand-wrap:hover { text-decoration: none; }

.nav-logo-img {
  width: 50px; height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(11,36,71,.15));
}

.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-school-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.02rem; font-weight: 800;
  color: var(--royal); white-space: nowrap;
}
.nav-tagline {
  font-size: .58rem; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 1px; white-space: nowrap;
}
.nav-affil {
  font-size: .56rem; color: var(--muted); font-weight: 500; white-space: nowrap;
}

.nav-menu-list {
  display: flex; align-items: stretch; list-style: none;
  margin: 0; padding: 0; height: 100%; flex: 1;
  justify-content: center;
}
.nav-menu-item {
  position: relative; display: flex; align-items: stretch;
}
.nav-menu-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0 9px;
  font-size: .76rem; font-weight: 600;
  color: var(--dark); text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase; letter-spacing: .5px;
  position: relative; transition: color .25s ease;
  border-bottom: 3px solid transparent;
}
.nav-menu-link::after {
  content: ''; position: absolute; bottom: -1px; left: 9px; right: 9px;
  height: 3px; background: var(--gold); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transition: transform .28s ease;
}
.nav-menu-link:hover,
.nav-menu-link.active { color: var(--royal); text-decoration: none; }
.nav-menu-link:hover::after,
.nav-menu-link.active::after { transform: scaleX(1); }

.nav-caret { font-size: .55rem; margin-top: 1px; opacity: .6; }

.nav-dropdown {
  position: absolute; top: calc(100% + 2px); left: 0;
  background: white; min-width: 220px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  padding: 8px; z-index: 200;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .25s ease;
  pointer-events: none;
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; border-radius: 8px;
  font-size: .83rem; font-weight: 500; color: var(--dark);
  text-decoration: none; transition: var(--transition);
}
.nav-dropdown a i { color: var(--gold); font-size: .75rem; width: 14px; }
.nav-dropdown a:hover { background: var(--light); color: var(--royal); padding-left: 17px; }

.nav-apply-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold) 0%, #c8960a 100%);
  color: var(--royal) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: .74rem; font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  border: none; text-decoration: none !important;
  white-space: nowrap; flex-shrink: 0;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  margin-left: 10px;
  letter-spacing: .3px;
}
.nav-apply-btn i { font-size: .72rem; }
.nav-apply-btn:hover {
  background: linear-gradient(135deg, #c8960a 0%, var(--gold) 100%);
  color: var(--royal) !important;
  box-shadow: 0 6px 20px rgba(196,150,10,.45);
  transform: translateY(-2px);
}

.nav-mob-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
  margin-left: 10px;
}
.nav-mob-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--royal); border-radius: 2px; transition: all .3s ease;
}
.nav-mob-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mob-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mob-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(11,36,71,.12);
}
.mobile-nav.open { display: block; }
.mobile-nav-inner { padding: 14px 16px 20px; }
.mob-link {
  display: block; padding: 11px 16px;
  font-size: .9rem; font-weight: 600; color: var(--dark);
  border-radius: 8px; text-decoration: none;
  transition: var(--transition);
}
.mob-link:hover { background: var(--light); color: var(--royal); text-decoration: none; }
.mob-apply-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--royal), var(--royal-mid));
  color: white !important; font-weight: 700; font-size: .92rem;
  padding: 13px; border-radius: 10px; margin-top: 14px;
  text-decoration: none !important; transition: var(--transition);
}
.mob-apply-btn:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--royal) !important; }

/* ══════════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════════ */
.hero-section { position: relative; overflow: hidden; background: var(--royal); min-height: 600px; }
.hero-slide { position: relative; min-height: 600px; display: flex; align-items: center; min-width: 100%; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 7s ease; }
.hero-slide.active .hero-bg { transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(11,36,71,.93) 0%, rgba(11,36,71,.72) 45%, rgba(11,36,71,.28) 100%); }
.hero-shape-1 { position: absolute; top: -80px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: rgba(201,151,44,.07); z-index: 1; }
.hero-shape-2 { position: absolute; bottom: -100px; right: 15%; width: 280px; height: 280px; border-radius: 50%; background: rgba(201,151,44,.04); z-index: 1; }
.hero-shape-3 { position: absolute; top: 50%; right: 8%; width: 160px; height: 160px; border: 2px solid rgba(201,151,44,.13); border-radius: 28px; transform: translateY(-50%) rotate(15deg); z-index: 1; }
.hero-content { position: relative; z-index: 5; padding: 80px 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; background: rgba(201,151,44,.14); border: 1px solid rgba(201,151,44,.3); color: var(--gold-light); padding: 6px 16px; border-radius: 50px; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; animation: fadeInDown .6s ease both; }
.hero-title { font-size: clamp(2rem, 4.5vw, 3.6rem); color: white; font-weight: 800; line-height: 1.1; margin-bottom: 18px; animation: fadeInUp .7s .1s ease both; }
.hero-title .highlight { color: var(--gold-light); position: relative; }
.hero-title .highlight::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold-light); border-radius: 2px; opacity: .35; }
.hero-desc { font-size: 1rem; color: rgba(255,255,255,.82); margin-bottom: 34px; max-width: 500px; animation: fadeInUp .7s .2s ease both; line-height: 1.8; }
.hero-actions { animation: fadeInUp .7s .3s ease both; }
.hero-card { position: absolute; bottom: 30px; right: 0; background: white; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: fadeInRight .7s .5s ease both; z-index: 5; min-width: 230px; }
.hero-card-icon { font-size: 1.9rem; }
.hero-card-title { font-weight: 700; color: var(--royal); font-size: .86rem; }
.hero-card-sub { font-size: .76rem; color: var(--muted); }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 10; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.32); cursor: pointer; transition: var(--transition); }
.hero-dot.active { background: var(--gold-light); width: 26px; border-radius: 4px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: var(--transition); font-size: .95rem; }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--royal); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-track { display: flex; transition: transform .8s cubic-bezier(.77,0,.175,1); }

/* ══════════════════════════════════════════
   TICKER
══════════════════════════════════════════ */
.ticker-bar { background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%); padding: 10px 0; overflow: hidden; }
.ticker-label { background: var(--royal); color: white; padding: 3px 14px; border-radius: 50px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; flex-shrink: 0; }
.ticker-content { display: inline-flex; gap: 72px; white-space: nowrap; animation: ticker 32s linear infinite; }
.ticker-content span { font-size: .83rem; font-weight: 600; color: var(--royal); }
.ticker-content span i { margin-right: 5px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ══════════════════════════════════════════
   STATS BAND
══════════════════════════════════════════ */
.stats-band { background: linear-gradient(135deg, var(--royal) 0%, var(--royal-mid) 100%); padding: 0; overflow: hidden; position: relative; }
.stat-block { padding: 30px 18px; text-align: center; position: relative; transition: var(--transition); }
.stat-block:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,.1); }
.stat-block:hover { background: rgba(255,255,255,.04); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.stat-lbl { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.stat-icon { font-size: 1.3rem; margin-bottom: 7px; color: rgba(255,255,255,.12); }

/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.section { padding: 86px 0; }
.section-sm { padding: 56px 0; }
.section-bg { background: var(--off-white); }
.section-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,151,44,.11); border: 1px solid rgba(201,151,44,.22); color: var(--gold); padding: 5px 15px; border-radius: 50px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 13px; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.7rem); color: var(--royal); margin-bottom: 12px; }
.section-title-dark { color: white; }
.section-title span { color: var(--gold); }
.section-divider { width: 48px; height: 4px; background: linear-gradient(to right, var(--gold), var(--gold-light)); border-radius: 2px; margin: 14px auto 18px; }
.section-desc { font-size: .96rem; color: var(--muted); max-width: 540px; margin: 0 auto; }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-gpa-primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: var(--royal); font-weight: 700; font-size: .9rem; padding: 12px 28px; border-radius: 8px; border: none; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-gold); transition: var(--transition); cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: none; }
.btn-gpa-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(201,151,44,.45); color: var(--royal); text-decoration: none; }
.btn-gpa-outline { background: transparent; color: white; font-weight: 700; font-size: .9rem; padding: 11px 26px; border-radius: 8px; border: 2px solid rgba(255,255,255,.38); display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: none; }
.btn-gpa-outline:hover { background: rgba(255,255,255,.1); border-color: white; color: white; transform: translateY(-2px); text-decoration: none; }
.btn-gpa-dark { background: var(--royal); color: white; font-weight: 700; font-size: .9rem; padding: 12px 28px; border-radius: 8px; border: none; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: none; }
.btn-gpa-dark:hover { background: var(--royal-mid); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: white; text-decoration: none; }
.cta-outline-btn { background: rgba(11,36,71,.11); color: var(--royal); font-weight: 700; padding: 12px 26px; border-radius: 8px; border: 2px solid rgba(11,36,71,.18); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: var(--transition); }
.cta-outline-btn:hover { background: rgba(11,36,71,.18); color: var(--royal); text-decoration: none; transform: translateY(-2px); }


/* ══════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════ */
.about-img-frame { position: relative; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; height: 460px; box-shadow: var(--shadow-lg); }
.about-img-main > div { width: 100%; height: 100%; }
.about-floating-card { position: absolute; bottom: -20px; right: -20px; background: white; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold); min-width: 160px; }
.about-floating-card .big-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.about-floating-card .lbl { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .7px; margin-top: 2px; }
.about-badge { position: absolute; top: 22px; left: -14px; background: var(--royal); color: white; padding: 9px 14px; border-radius: var(--radius); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 7px; }
.about-badge i { color: var(--gold-light); }
.feature-check { display: flex; align-items: flex-start; gap: 11px; padding: 12px; border-radius: 9px; background: var(--off-white); border-left: 3px solid var(--gold); margin-bottom: 9px; transition: var(--transition); }
.feature-check:hover { background: var(--light); transform: translateX(3px); }
.feature-check .chk { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-check .chk i { color: white; font-size: .72rem; }
.feature-check .chk-title { font-weight: 700; color: var(--royal); font-size: .88rem; }
.feature-check .chk-sub { font-size: .78rem; color: var(--muted); }

/* ══════════════════════════════════════════
   PROGRAM CARDS
══════════════════════════════════════════ */
.program-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); height: 100%; }
.program-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.program-card-head { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 3.8rem; position: relative; overflow: hidden; }
.program-card-head::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 55px; background: linear-gradient(to top, white, transparent); }
.program-badge { position: absolute; top: 12px; right: 12px; background: white; color: var(--gold); padding: 3px 11px; border-radius: 50px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; box-shadow: var(--shadow-sm); }
.program-card-body { padding: 20px 22px 24px; }
.program-card-title { font-size: 1.15rem; font-weight: 700; color: var(--royal); margin-bottom: 5px; }
.program-age { font-size: .72rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 9px; }
.program-card p { font-size: .86rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.program-link { font-size: .84rem; font-weight: 700; color: var(--royal); display: flex; align-items: center; gap: 6px; text-decoration: none; }
.program-link:hover { color: var(--gold); gap: 10px; text-decoration: none; }

/* ══════════════════════════════════════════
   NOTICE BOARD
══════════════════════════════════════════ */
.notice-wrapper { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.notice-header { background: linear-gradient(135deg, var(--royal) 0%, var(--royal-mid) 100%); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; }
.notice-header h4 { color: white; margin: 0; font-size: 1.05rem; }
.notice-header a { color: var(--gold-light); font-size: .8rem; font-weight: 700; text-decoration: none; }
.notice-header a:hover { color: white; }
.notice-list-inner { max-height: 370px; overflow-y: auto; padding: 12px; }
.notice-list-inner::-webkit-scrollbar { width: 3px; }
.notice-item-card { display: flex; gap: 12px; align-items: flex-start; padding: 13px; border-radius: 10px; background: var(--off-white); margin-bottom: 9px; border-left: 3px solid var(--gold); transition: var(--transition); }
.notice-item-card:hover { background: var(--light); transform: translateX(3px); }
.notice-date-box { background: var(--royal); color: white; padding: 6px 9px; border-radius: 7px; text-align: center; min-width: 46px; flex-shrink: 0; }
.notice-date-box .day { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 800; line-height: 1; }
.notice-date-box .mon { display: block; font-size: .58rem; font-weight: 700; text-transform: uppercase; color: var(--gold-light); margin-top: 2px; }
.notice-text h6 { font-size: .88rem; font-weight: 700; color: var(--royal); margin-bottom: 3px; }
.notice-text p { font-size: .76rem; color: var(--muted); margin: 0; }
.badge-new-pill { display: inline-block; background: var(--crimson); color: white; font-size: .56rem; font-weight: 800; padding: 2px 6px; border-radius: 50px; text-transform: uppercase; letter-spacing: .5px; margin-left: 5px; vertical-align: middle; }

/* Notice board scrolling */
.idx-scroll-wrap { height: 340px; overflow: hidden; position: relative; }
.idx-scroll-content { position: absolute; width: 100%; animation: idxScroll 22s linear infinite; }
.idx-scroll-content:hover { animation-play-state: paused; }
@keyframes idxScroll { 0% { transform: translateY(0%); } 90% { transform: translateY(-100%); } 95% { transform: translateY(-100%); } 100% { transform: translateY(0%); } }
.idx-notice-row { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); line-height: 1.55; }
.idx-notice-row:last-child { border-bottom: none; }
.idx-bullet { color: #af0202; font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.idx-text { font-size: .88rem; font-weight: 600; color: var(--royal); }
.idx-meta { font-size: .74rem; color: green; font-weight: 600; margin-top: 4px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.idx-view-more { background: var(--royal); color: #fff !important; padding: 2px 11px; border-radius: 50px; font-size: .7rem; font-weight: 700; text-decoration: none !important; display: inline-flex; align-items: center; gap: 5px; transition: background .2s; }
.idx-view-more i { color: var(--gold-light); }
.idx-view-more:hover, .idx-view-more:focus { background: var(--gold); color: var(--royal) !important; }
.idx-view-more:hover i, .idx-view-more:focus i { color: var(--royal); }

/* ══════════════════════════════════════════
   GALLERY MOSAIC
══════════════════════════════════════════ */
.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 190px 190px; gap: 11px; }
.gallery-mosaic .g-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-mosaic .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
/* 1 big (2×2) + 4 small = 8 cells: all 5 tiles fit the 4×2 grid (a 2-wide 4th tile pushed the 5th onto its own row) */
.g-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; transition: transform .5s ease; }
.g-item { position: relative; }
.g-item:hover .g-inner { transform: scale(1.08); }
.g-overlay { position: absolute; inset: 0; background: rgba(11,36,71,.55); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; opacity: 0; transition: var(--transition); border-radius: var(--radius); }
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay i { color: white; font-size: 1.4rem; }
.g-overlay span { color: white; font-size: .76rem; font-weight: 700; }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonial-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(10px); height: 100%; transition: var(--transition); }
.testimonial-card:hover { border-color: rgba(201,151,44,.28); background: rgba(255,255,255,.08); transform: translateY(-4px); }
.testimonial-stars { color: var(--gold-light); font-size: .84rem; margin-bottom: 14px; }
.testimonial-quote-icon { font-size: 2.3rem; color: rgba(201,151,44,.18); line-height: 1; margin-bottom: 10px; font-family: Georgia, serif; }
.testimonial-text { color: rgba(255,255,255,.76); font-size: .9rem; line-height: 1.85; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 11px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 800; color: var(--royal); flex-shrink: 0; }
.t-name { font-weight: 700; color: white; font-size: .86rem; }
.t-role { font-size: .74rem; color: rgba(255,255,255,.42); }

/* ══════════════════════════════════════════
   FEATURE TILES
══════════════════════════════════════════ */
.feature-tile { background: white; border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); height: 100%; cursor: pointer; }
.feature-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.feature-tile-icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--royal) 0%, var(--royal-mid) 100%); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(11,36,71,.18); transition: var(--transition); }
.feature-tile:hover .feature-tile-icon { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); box-shadow: var(--shadow-gold); }
.feature-tile-title { font-size: .92rem; font-weight: 700; color: var(--royal); margin-bottom: 7px; }
.feature-tile p { font-size: .82rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ══════════════════════════════════════════
   ADMISSION CTA BAND
══════════════════════════════════════════ */
.cta-band { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); padding: 65px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -80px; left: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-band::after { content: ''; position: absolute; bottom: -90px; right: -70px; width: 360px; height: 360px; border-radius: 50%; background: rgba(11,36,71,.07); }
.cta-band h2 { font-size: 2.4rem; color: var(--royal); position: relative; z-index: 1; }
.cta-band p { color: rgba(11,36,71,.72); position: relative; z-index: 1; font-size: .97rem; }
.cta-btns { position: relative; z-index: 1; }

.launch-badge { display: inline-flex; align-items: center; gap: 9px; background: var(--crimson); color: white; padding: 7px 18px; border-radius: 50px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; box-shadow: 0 4px 18px rgba(185,28,59,.4); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 4px 18px rgba(185,28,59,.38)} 50%{box-shadow:0 4px 28px rgba(185,28,59,.65)} }

/* ══════════════════════════════════════════
   FOOTER MAP STRIP
══════════════════════════════════════════ */
.footer-map-strip { background: var(--dark); }
.footer-map-header { display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.65); }
.footer-map-header i { color: var(--gold); font-size: .9rem; flex-shrink: 0; }
.footer-map-header span { flex: 1; }
.map-directions-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--gold); color: var(--royal); padding: 7px 16px; border-radius: 6px; font-size: .78rem; font-weight: 800; text-decoration: none; white-space: nowrap; transition: var(--transition); flex-shrink: 0; }
.map-directions-btn:hover { background: var(--gold-light); color: var(--royal); text-decoration: none; transform: translateY(-1px); }
.footer-map-frame iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(20%) contrast(1.05); }

/* ══════════════════════════════════════════
   FOOTER MAIN
══════════════════════════════════════════ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 65px 0 0; border-top: 1px solid rgba(255,255,255,.04); }
.footer-logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 16px; }
.footer-logo-link:hover { text-decoration: none; }
.footer-logo-img { width: 58px; height: 58px; object-fit: contain; flex-shrink: 0; }
.footer-school-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 800; color: white; line-height: 1.1; }
.brand-tagline { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.1px; color: var(--gold-light); margin-top: 2px; }
.footer-about-text { font-size: .85rem; line-height: 1.85; margin-bottom: 18px; }
.footer-social-links { display: flex; gap: 8px; }
.footer-social-links a { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; transition: var(--transition); text-decoration: none; color: #fff; }
.footer-social-links a:hover { transform: translateY(-3px); opacity: .85; color: #fff; }
.footer-social-links a.social-fb { background: #3b5998; }
.footer-social-links a.social-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer-social-links a.social-yt { background: #c4302b; }
.footer-social-links a.social-tg { background: #0088cc; }
.footer-social-links a.social-wa { background: #25D366; }
.footer-heading { color: white; font-size: .95rem; margin-bottom: 18px; padding-bottom: 9px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.52); text-decoration: none; display: flex; align-items: center; gap: 7px; transition: var(--transition); }
.footer-links a i { font-size: .58rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold-light); padding-left: 3px; text-decoration: none; }
.footer-contact-row { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.fci { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fci i { color: var(--gold); font-size: .8rem; }
.fc-label { font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: rgba(255,255,255,.35); margin-bottom: 2px; }
.fc-val { font-size: .84rem; color: rgba(255,255,255,.75); line-height: 1.65; }
.fc-val a { color: rgba(255,255,255,.75); text-decoration: none; transition: var(--transition); }
.fc-val a:hover { color: var(--gold-light); }
.footer-admit-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: var(--royal) !important; font-weight: 800; font-size: .86rem; padding: 11px 20px; border-radius: 8px; text-decoration: none !important; margin-top: 18px; transition: var(--transition); }
.footer-admit-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 18px 0; margin-top: 46px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.32); margin: 0; }
.footer-bottom-links { display: flex; gap: 14px; }
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.32); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ══════════════════════════════════════════
   PAGE BANNER
══════════════════════════════════════════ */
.page-banner { background: linear-gradient(120deg, var(--royal) 0%, var(--royal-mid) 60%, var(--royal-light) 100%); padding: 65px 0; position: relative; overflow: hidden; }
.page-banner::after { content: ''; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(201,151,44,.07); }
.page-banner h1 { color: white; font-size: 2.4rem; margin-bottom: 9px; position: relative; z-index: 1; }
.breadcrumb-custom { display: flex; align-items: center; gap: 7px; font-size: .83rem; color: rgba(255,255,255,.55); margin: 0; background: transparent; padding: 0; position: relative; z-index: 1; }
.breadcrumb-custom a { color: var(--gold-light); text-decoration: none; }
.breadcrumb-custom a:hover { color: white; }
.breadcrumb-custom i { font-size: .58rem; }

/* ══════════════════════════════════════════
   FORMS
══════════════════════════════════════════ */
.form-card { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-section-title { font-size: .8rem; font-weight: 800; color: var(--royal); text-transform: uppercase; letter-spacing: 1px; padding: 11px 16px; background: var(--light); border-radius: 8px; border-left: 4px solid var(--gold); margin-bottom: 20px; display: flex; align-items: center; gap: 7px; }
.form-section-title i { color: var(--gold); }
.form-label { font-size: .83rem; font-weight: 700; color: var(--royal); margin-bottom: 5px; }
.form-label .req { color: var(--crimson); }
.form-control { border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 14px; font-family: 'DM Sans', sans-serif; font-size: .88rem; background: var(--off-white); transition: var(--transition); }
.form-control:focus { border-color: var(--royal); background: white; box-shadow: 0 0 0 3px rgba(11,36,71,.06); outline: none; }
.custom-select { border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 14px; font-family: 'DM Sans', sans-serif; font-size: .88rem; background: var(--off-white); }
.custom-select:focus { border-color: var(--royal); box-shadow: 0 0 0 3px rgba(11,36,71,.06); }
.btn-submit { background: linear-gradient(135deg, var(--royal) 0%, var(--royal-mid) 100%); color: white; font-weight: 700; padding: 13px 34px; border-radius: 8px; border: none; font-family: 'DM Sans', sans-serif; font-size: .93rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 18px rgba(11,36,71,.28); transition: var(--transition); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(11,36,71,.38); color: white; }
.btn-submit:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-reset-form { background: transparent; color: var(--muted); font-weight: 700; padding: 12px 24px; border-radius: 8px; border: 2px solid var(--border); font-family: 'DM Sans', sans-serif; font-size: .88rem; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-reset-form:hover { border-color: var(--royal); color: var(--royal); }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-info-panel { background: linear-gradient(135deg, var(--royal) 0%, var(--royal-mid) 100%); border-radius: var(--radius-lg); padding: 36px; height: 100%; }
.contact-info-panel h3 { color: white; margin-bottom: 6px; }
.contact-info-panel .sub { color: rgba(255,255,255,.62); font-size: .86rem; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-detail-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.11); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: .88rem; flex-shrink: 0; }
.contact-detail-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; color: rgba(255,255,255,.42); margin-bottom: 2px; }
.contact-detail-val { font-size: .85rem; color: rgba(255,255,255,.8); line-height: 1.6; }

/* ══════════════════════════════════════════
   MISC
══════════════════════════════════════════ */
.sidebar-widget { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.sidebar-widget-header { background: linear-gradient(135deg, var(--royal), var(--royal-mid)); padding: 13px 18px; }
.sidebar-widget-header h5 { color: white; font-size: .92rem; margin: 0; }
.sidebar-widget-body { padding: 14px; }
.download-item { display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 7px; background: var(--off-white); margin-bottom: 7px; font-size: .84rem; font-weight: 600; color: var(--dark); text-decoration: none; transition: var(--transition); }
.download-item:hover { background: var(--royal); color: white; transform: translateX(3px); text-decoration: none; }
.download-item:hover i { color: white; }
.download-item .di-icon { font-size: .95rem; color: var(--crimson); }
.download-item .di-arrow { margin-left: auto; font-size: .72rem; opacity: .45; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.filter-pill { padding: 6px 16px; border-radius: 50px; font-size: .8rem; font-weight: 700; border: 2px solid var(--border); background: white; color: var(--muted); cursor: pointer; transition: var(--transition); font-family: 'DM Sans', sans-serif; }
.filter-pill.active, .filter-pill:hover { background: var(--royal); color: white; border-color: var(--royal); }

/* ══════════════════════════════════════════
   SCROLL TOP BUTTON
══════════════════════════════════════════ */
.scroll-top-btn { position: fixed; bottom: 26px; right: 26px; width: 42px; height: 42px; border-radius: 8px; background: var(--royal); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 999; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: var(--transition); border: none; font-size: .9rem; }
.scroll-top-btn.show { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background: var(--gold); color: var(--royal); transform: translateY(-3px); }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight{ from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: translateX(0); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1399px) {
  .nav-menu-link { padding: 0 8px; font-size: .73rem; }
  .nav-school-name { font-size: .96rem; }
  .nav-logo-img { width: 46px; height: 46px; }
}

@media (max-width: 1199px) {
  .nav-menu-list { display: none !important; }
  .nav-apply-btn { display: none !important; }
  .nav-mob-toggle { display: flex !important; }
  .navbar-inner { justify-content: space-between; }
}

@media (max-width: 991px) {
  .hero-card { display: none; }
  .gallery-mosaic { grid-template-columns: repeat(2,1fr); }
  .gallery-mosaic .g-item:nth-child(1) { grid-column: span 2; height: 240px; }
  .gallery-mosaic .g-item:nth-child(4) { grid-column: span 1; }
  .contact-info-panel { margin-bottom: 28px; height: auto; }
}
@media (max-width: 767px) {
  .section, .section-sm { padding: 55px 0; }
  .topbar-items span:nth-child(2), .topbar-items span:nth-child(3) { display: none; }
  .hero-section, .hero-slide { min-height: 480px; }
  .form-card { padding: 22px; }
  .stat-block::after { display: none !important; }
  .about-img-main { height: 300px; }
  .footer-map-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 1.9rem; }
  .gallery-mosaic .g-item:nth-child(n+5) { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
══════════════════════════════════════════ */
.wa-float-wrap { position: fixed; bottom: 80px; right: 24px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; }
.wa-main-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 6px 24px rgba(37,211,102,.45); transition: transform .3s ease, box-shadow .3s ease; flex-shrink: 0; }
.wa-main-btn:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,.6); text-decoration: none; }
.wa-icon { color: white; font-size: 1.85rem; position: relative; z-index: 1; }
.wa-pulse-ring { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37,211,102,.55); animation: waPulse 2.2s ease infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 70% { transform: scale(1.35); opacity: 0; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-badge { position: absolute; top: 0; right: 0; width: 20px; height: 20px; border-radius: 50%; background: #e74c3c; color: white; font-size: .65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid white; animation: waBadgePop .4s .8s cubic-bezier(.34,1.56,.64,1) both; pointer-events: none; }
@keyframes waBadgePop { from { transform: scale(0); } to { transform: scale(1); } }
.wa-badge.hide { display: none; }
.wa-tooltip { position: absolute; bottom: 70px; right: 0; width: 320px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.97); transition: all .3s cubic-bezier(.4,0,.2,1); pointer-events: none; }
.wa-float-wrap.open .wa-tooltip { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-tooltip-inner { background: white; border-radius: 18px; box-shadow: 0 16px 60px rgba(0,0,0,.18); overflow: hidden; }
.wa-tooltip-arrow { width: 16px; height: 10px; background: white; clip-path: polygon(0 0, 100% 0, 50% 100%); margin-left: auto; margin-right: 22px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.08)); }
.wa-tooltip-header { background: #075E54; padding: 14px 16px; display: flex; align-items: center; gap: 11px; }
.wa-tooltip-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; background: white; padding: 3px; flex-shrink: 0; }
.wa-tooltip-name { font-size: .9rem; font-weight: 700; color: white; }
.wa-tooltip-status { font-size: .72rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.wa-online-dot { width: 7px; height: 7px; border-radius: 50%; background: #25D366; display: inline-block; }
.wa-tooltip-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,.7); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0; flex-shrink: 0; transition: color .2s; }
.wa-tooltip-close:hover { color: white; }
.wa-tooltip-body { padding: 16px; background: #ECE5DD; }
.wa-chat-bubble { background: white; border-radius: 0 12px 12px 12px; padding: 12px 14px; font-size: .85rem; line-height: 1.65; color: #333; box-shadow: 0 1px 4px rgba(0,0,0,.1); margin-bottom: 12px; position: relative; }
.wa-chat-bubble::before { content: ''; position: absolute; top: 0; left: -8px; border: 8px solid transparent; border-right-color: white; border-top: 0; }
.wa-quick-btns { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.wa-quick-btn { display: block; background: white; color: #075E54; padding: 8px 13px; border-radius: 50px; font-size: .8rem; font-weight: 700; text-decoration: none; text-align: center; border: 1.5px solid rgba(7,94,84,.2); transition: all .22s ease; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.wa-quick-btn:hover { background: #25D366; color: white; border-color: #25D366; text-decoration: none; transform: translateX(3px); }
.wa-start-chat-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: white !important; padding: 11px; border-radius: 10px; font-size: .88rem; font-weight: 800; text-decoration: none !important; transition: all .25s ease; box-shadow: 0 4px 16px rgba(37,211,102,.4); }
.wa-start-chat-btn:hover { background: #20bf5a; box-shadow: 0 6px 22px rgba(37,211,102,.55); transform: translateY(-2px); }
.wa-start-chat-btn i { font-size: 1.1rem; }

@media (max-width: 480px) {
  .wa-float-wrap { bottom: 76px; right: 16px; }
  .wa-tooltip { width: calc(100vw - 32px); right: 0; }
  .wa-main-btn { width: 52px; height: 52px; }
  .wa-icon { font-size: 1.65rem; }
}

/* ══ PARENT LOGIN FLOATING BUTTON ══ */
.parent-login-float {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1060;
  display: flex;
  align-items: center;
}
.parent-login-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 36px;
  padding: 16px 0;
  background: linear-gradient(180deg, #e65c00 0%, #f9a825 100%);
  color: white;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  box-shadow: 4px 0 20px rgba(230,92,0,.45);
  transition: var(--transition);
  animation: parentTabPulse 2.5s ease-in-out infinite;
  writing-mode: horizontal-tb;
}
@keyframes parentTabPulse {
  0%, 100% { box-shadow: 4px 0 20px rgba(230,92,0,.45); }
  50%       { box-shadow: 4px 0 32px rgba(230,92,0,.80), 0 0 0 4px rgba(230,92,0,.18); }
}
.parent-login-tab:hover {
  background: linear-gradient(180deg, #bf360c 0%, #e65c00 100%);
  color: white;
  width: 42px;
  box-shadow: 4px 0 32px rgba(230,92,0,.7);
  animation: none;
}
.parent-login-icon { font-size: 1rem; display: block; }
.parent-login-label {
  font-size: .52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 1.3;
  text-align: center;
  display: block;
}
.parent-login-panel {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%) translateX(-12px);
  width: 310px;
  background: white;
  border-radius: 0 16px 16px 0;
  box-shadow: 6px 0 40px rgba(11,36,71,.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.parent-login-float.open .parent-login-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
.parent-login-float.open .parent-login-tab {
  background: linear-gradient(180deg, #bf360c 0%, #e65c00 100%);
  color: white;
  border-radius: 0;
  animation: none;
  box-shadow: none;
}
.plp-header {
  background: linear-gradient(135deg, var(--royal), var(--royal-mid));
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.plp-logo {
  width: 42px; height: 42px;
  border-radius: 50%; object-fit: contain;
  background: white; padding: 3px; flex-shrink: 0;
}
.plp-title { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 800; color: white; }
.plp-sub { font-size: .68rem; color: rgba(255,255,255,.6); }
.plp-close {
  margin-left: auto; background: none; border: none;
  color: rgba(255,255,255,.7); font-size: 1.3rem; line-height: 1;
  cursor: pointer; flex-shrink: 0; padding: 0; transition: color .2s;
}
.plp-close:hover { color: white; }
.plp-body { padding: 18px 16px; }
.plp-submit-btn {
  width: 100%; padding: 11px;
  background: linear-gradient(135deg, var(--royal), var(--royal-mid));
  color: white; border: none; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition); margin-bottom: 10px; text-decoration: none;
}
.plp-submit-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--royal); text-decoration: none;
}
.plp-help-link {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .78rem; color: var(--muted); text-decoration: none; transition: color .2s;
}
.plp-help-link:hover { color: var(--royal); text-decoration: none; }
.plp-footer {
  background: var(--off-white); padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.plp-contact-row {
  font-size: .76rem; color: var(--muted); display: flex;
  align-items: center; gap: 7px; margin-bottom: 4px;
}
.plp-contact-row:last-child { margin-bottom: 0; }
.plp-contact-row i { color: var(--gold); font-size: .7rem; width: 12px; }
.plp-arrow {
  position: absolute; left: -8px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px; background: var(--royal);
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
}
@media (max-width: 767px) {
  .parent-login-float { display: none; }
}

/* ══ ADMISSION FLOATING TAB ══ */
.admission-float-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 36px;
  padding: 16px 0;
  background: linear-gradient(180deg, var(--gold) 0%, #c8960a 100%);
  color: var(--royal);
  text-decoration: none;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 0 20px rgba(196,150,10,.5);
  transition: var(--transition);
  animation: admissionTabPulse 2.5s ease-in-out infinite;
}
@keyframes admissionTabPulse {
  0%, 100% { box-shadow: -4px 0 20px rgba(196,150,10,.5); }
  50%       { box-shadow: -4px 0 32px rgba(196,150,10,.85), 0 0 0 4px rgba(196,150,10,.18); }
}
.admission-float-tab:hover {
  background: linear-gradient(180deg, #c8960a 0%, var(--gold) 100%);
  color: var(--royal);
  width: 42px;
  box-shadow: -4px 0 32px rgba(196,150,10,.7);
  animation: none;
  text-decoration: none;
}
.admission-float-icon { font-size: 1rem; display: block; }
.admission-float-label {
  font-size: .52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  writing-mode: vertical-rl;
  line-height: 1.3;
  text-align: center;
  display: block;
  color: var(--royal);
}
@media (max-width: 767px) {
  .admission-float-tab { display: none; }
}

/* ══════════════════════════════════════════
   FACULTY PAGE
══════════════════════════════════════════ */

/* ── Filter pill buttons ─────────────────────────────────────── */
.filter-btn {
  background: #fff; border: 1.5px solid var(--border);
  color: var(--muted); font-size: 13px; font-weight: 600;
  padding: 7px 18px; border-radius: 50px; cursor: pointer;
  transition: var(--transition); margin: 4px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold); color: #fff; border-color: var(--gold);
}

/* ── Faculty card ────────────────────────────────────────────── */
.faculty-full-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.faculty-full-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.faculty-full-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-pale);
  margin: 0 auto 14px;
}
.faculty-full-avatar img { width: 100%; height: 100%; object-fit: cover; }

.faculty-full-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--royal); }
.faculty-full-card .desig { font-size: 13px; color: var(--gold); font-weight: 600; margin-bottom: 2px; }
.faculty-full-card .qual  { font-size: 12px; color: var(--muted); margin-bottom: 8px; }

/* ── Department tag pill ─────────────────────────────────────── */
.faculty-dept-tag {
  font-size: 10.5px; font-weight: 600;
  color: var(--royal-mid);
  background: var(--light);
  padding: 2px 10px; border-radius: 50px;
  display: inline-block; margin-top: 4px;
}

/* ── Experience badge ────────────────────────────────────────── */
.exp-badge {
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 11.5px; font-weight: 700;
  padding: 3px 12px; border-radius: 50px;
  display: inline-block;
}

/* ── See Profile button ──────────────────────────────────────── */
.faculty-profile-btn {
  margin-top: 12px;
  background: var(--royal);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.faculty-profile-btn:hover { background: var(--gold); }

/* ================================================================
   GPA ADDITIONS
   ================================================================ */

/* ── Hindi text ── */
body { font-family: 'DM Sans', 'Noto Sans Devanagari', sans-serif; }
.hindi, [lang="hi"] { font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif; }

/* ── Accessibility ── */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--gold); color: var(--royal); padding: 8px 16px; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; color: var(--royal); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ── Top bar extras (screen reader, text size, translate) ── */
.topbar a { color: rgba(255,255,255,.75); text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar-tools { display: flex; align-items: center; gap: 12px; }
.font-size-ctl button { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 4px; margin-left: 2px; cursor: pointer; }
.font-size-ctl button:hover { background: var(--gold); color: var(--royal); }
#google_translate_element { display: inline-block; line-height: 1; }
#google_translate_element select { font-size: .7rem; padding: 1px 4px; border-radius: 4px; border: 0; }
.goog-te-gadget { font-size: 0 !important; color: transparent !important; }

/* ── Navbar: wide brand + 10 menus ── */
.site-navbar .container-fluid { padding-left: 24px; padding-right: 24px; }
.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-dropdown { min-width: 250px; }
.nav-dropdown .dd-header { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 8px 13px 4px; }
.nav-dropdown .dd-divider { height: 1px; background: var(--border); margin: 6px 8px; }
.nav-dropdown a.active { background: var(--light); color: var(--royal); }
.nav-menu-item:last-child .nav-dropdown { left: auto; right: 0; }
@media (max-width: 1279px) {
  .nav-menu-list { display: none !important; }
  .nav-mob-toggle { display: flex !important; }
  .navbar-inner { justify-content: space-between; }
}

/* ── Mobile menu groups ── */
.mobile-nav { max-height: calc(100vh - 76px); overflow-y: auto; }
.mob-group { border-radius: 8px; }
.mob-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.mob-group > summary::-webkit-details-marker { display: none; }
.mob-group > summary::after { content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem; color: var(--muted); transition: transform .2s; }
.mob-group[open] > summary::after { transform: rotate(180deg); }
.mob-group[open] > summary { color: var(--royal); background: var(--light); }
.mob-sub { padding: 4px 0 8px 16px; }
.mob-sub a { display: block; padding: 8px 14px; font-size: .85rem; color: var(--dark); border-left: 2px solid var(--border); text-decoration: none; }
.mob-sub a:hover { color: var(--royal); border-left-color: var(--gold); text-decoration: none; }
.mob-sub .dd-header { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 8px 14px 2px; }

/* ── Ticker: items are links ── */
.ticker-content a { font-size: .83rem; font-weight: 600; color: var(--royal); text-decoration: none; }
.ticker-content a:hover { text-decoration: underline; }
.ticker-bar .ticker-track { overflow: hidden; flex: 1; min-width: 0; }
.ticker-content:hover, .ticker-content:focus-within { animation-play-state: paused; }

/* ── Hero: GPA caption pill ── */
.hero-sub-hi { font-family: 'Noto Sans Devanagari', sans-serif; color: var(--gold-light); font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; display: block; }

/* ── Notice rows: PDF link ── */
.idx-text a { color: var(--royal); text-decoration: none; }
.idx-text a:hover { color: var(--gold); text-decoration: underline; }
.idx-scroll-wrap.static { height: auto; max-height: 340px; overflow-y: auto; }
.idx-scroll-wrap.static .idx-scroll-content { position: static; animation: none; }

/* ── Principal card ── */
.principal-photo-lg { width: 100%; max-width: 260px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-lg); border: 5px solid rgba(255,255,255,.15); box-shadow: 0 10px 40px rgba(0,0,0,.3); }

/* ── Gallery mosaic with photos ── */
.gallery-mosaic .g-inner img { width: 100%; height: 100%; object-fit: cover; }

/* ── Program card: icon head ── */
.program-card-head i { color: var(--royal); opacity: .85; }
.program-meta { list-style: none; padding: 0; margin: 0 0 14px; font-size: .84rem; }
.program-meta li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding: 4px 0; color: var(--muted); }
.program-meta li span:last-child { color: var(--royal); font-weight: 700; }

/* ── Home: colourful Diploma Programme cards (index.php, .prog-theme-*) ──
   Scoped to themed cards only; other pages keep the plain .program-card. */
.prog-theme-cse  { --p1: #4f46e5; --p2: #06b6d4; --p-soft: #eef2ff; --p-ink: #3730a3; --p-glow: rgba(79,70,229,.35); }
.prog-theme-prod { --p1: #ea580c; --p2: #f59e0b; --p-soft: #fff7ed; --p-ink: #9a3412; --p-glow: rgba(234,88,12,.35); }
.prog-theme-auto { --p1: #059669; --p2: #14b8a6; --p-soft: #ecfdf5; --p-ink: #065f46; --p-glow: rgba(5,150,105,.35); }

[class*="prog-theme-"] { border: none; border-top: 4px solid var(--p1); box-shadow: 0 6px 24px rgba(11,36,71,.08); }
[class*="prog-theme-"]:hover { transform: translateY(-8px); border-color: var(--p1); box-shadow: 0 18px 44px var(--p-glow); }
[class*="prog-theme-"] .program-card-head { height: 180px; background: linear-gradient(135deg, var(--p1) 0%, var(--p2) 100%); }
[class*="prog-theme-"] .program-card-head::after { display: none; }
[class*="prog-theme-"] .program-card-head::before { /* soft dotted texture */
  content: ''; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(rgba(255,255,255,.9) 1.2px, transparent 1.3px); background-size: 16px 16px;
}
.prog-bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); pointer-events: none; }
.prog-bubble-1 { width: 170px; height: 170px; top: -60px; left: -50px; }
.prog-bubble-2 { width: 120px; height: 120px; bottom: -45px; right: -30px; background: rgba(255,255,255,.10); }
.prog-icon {
  position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.45);
  box-shadow: 0 10px 30px rgba(0,0,0,.18), inset 0 0 0 8px rgba(255,255,255,.08);
  transition: transform .45s ease;
}
[class*="prog-theme-"] .program-card-head .prog-icon i { color: #fff; opacity: 1; font-size: 2.6rem; text-shadow: 0 3px 10px rgba(0,0,0,.2); }
[class*="prog-theme-"]:hover .prog-icon { transform: scale(1.08) rotate(-6deg); }
.prog-code {
  position: absolute; top: 12px; left: 12px; z-index: 1; color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase; padding: 3px 11px; border-radius: 50px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4);
}
[class*="prog-theme-"] .program-badge { z-index: 1; color: var(--p-ink); background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
[class*="prog-theme-"] { display: flex; flex-direction: column; }
[class*="prog-theme-"] .program-card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 22px 24px; background: linear-gradient(180deg, var(--p-soft) 0%, #fff 55%); }
[class*="prog-theme-"] .prog-btn { margin-top: auto; }   /* buttons line up across cards */
[class*="prog-theme-"] .program-age { color: var(--p1); }
[class*="prog-theme-"] .program-age i { margin-right: 4px; }
.prog-tagline { font-size: .82rem; color: var(--muted); margin: 2px 0 14px; }
.prog-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.prog-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--p-ink);
  background: var(--p-soft); border: 1px solid color-mix(in srgb, var(--p1) 25%, transparent);
  padding: 5px 12px; border-radius: 50px;
}
.prog-chip i { color: var(--p1); }
.prog-chip strong { font-weight: 800; }
.prog-chip small { opacity: .75; }
.prog-chip-alt { background: #fff; }
.prog-btn {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: .84rem; font-weight: 700;
  padding: 9px 20px; border-radius: 50px; text-decoration: none;
  background: linear-gradient(135deg, var(--p1), var(--p2)); box-shadow: 0 6px 18px var(--p-glow);
  transition: var(--transition);
}
.prog-btn:hover { color: #fff; text-decoration: none; gap: 12px; box-shadow: 0 10px 26px var(--p-glow); transform: translateY(-1px); }
.prog-btn:focus-visible { outline: 3px solid var(--p2); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  [class*="prog-theme-"], [class*="prog-theme-"] .prog-icon, .prog-btn { transition: none; }
  [class*="prog-theme-"]:hover, [class*="prog-theme-"]:hover .prog-icon { transform: none; }
}

/* ── Footer: Hindi name ── */
.footer-name-hi { font-family: 'Noto Sans Devanagari', sans-serif; color: var(--gold-light); font-size: .85rem; font-weight: 600; }
.visitor-count { color: var(--gold-light); font-weight: 700; letter-spacing: 1px; }

/* ── Content pages ── */
.content-card { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px; }
.content-card p { color: var(--muted); line-height: 1.85; text-align: justify; }
.empty-note { text-align: center; padding: 28px 12px; color: var(--muted); font-size: .88rem; }
.empty-note i { display: block; font-size: 1.6rem; opacity: .4; margin-bottom: 8px; }

/* ── Motion preferences ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-content, .idx-scroll-content, .launch-badge, .parent-login-tab, .admission-float-tab { animation: none !important; }
  .hero-track { transition: none; }
}
/* notice board headings are h3 for heading order */
.notice-header h3 { color: white; margin: 0; font-size: 1.05rem; }
@media (max-width: 767px) { .hero-arrow { display: none; } }

/* ── Policy pages (privacy, terms, screen reader) ── */
.policy-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.policy-section-title h2 { margin: 0; color: var(--royal); font-size: 1.15rem; font-weight: 800; }
.policy-num { width: 30px; height: 30px; background: var(--royal); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; flex-shrink: 0; font-family: 'DM Sans', sans-serif; }
.policy-card p { color: var(--muted); font-size: .92rem; line-height: 1.8; }
.policy-card p:last-child { margin-bottom: 0; }
.policy-card a { color: var(--royal-mid); font-weight: 600; }
.policy-list { list-style: none; padding: 0; margin: 0; }
.policy-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; color: var(--muted); font-size: .9rem; line-height: 1.6; border-bottom: 1px solid var(--border); }
.policy-list li:last-child { border-bottom: none; }
.policy-list li i { margin-top: 4px; flex-shrink: 0; color: var(--gold); }
.policy-contact { background: linear-gradient(135deg, var(--royal), var(--royal-mid)); border-radius: var(--radius); padding: 22px 26px; color: rgba(255,255,255,.85); font-size: .9rem; line-height: 1.9; }
.policy-contact strong { color: white; }
.policy-contact a { color: var(--gold-light) !important; }
.policy-contact i { color: var(--gold-light); width: 18px; }
.policy-note { background: var(--gold-pale); border: 1.5px solid var(--gold); border-radius: var(--radius); padding: 14px 18px; color: var(--royal); font-size: .9rem; font-weight: 600; text-align: center; }
.sr-table th { background: var(--royal); color: white; font-size: .85rem; border-color: var(--royal-mid) !important; }
.sr-table td { font-size: .88rem; vertical-align: middle; }
.sr-table a { color: var(--royal-mid); font-weight: 600; word-break: break-all; }
@media (max-width: 575px) { .policy-card { padding: 22px 18px !important; } }
@media print {
  #preloader, .topbar, .site-navbar, .parent-login-float, .admission-float-tab, .cta-band, .footer-map-strip,
  .site-footer, .scroll-top-btn, .no-print, .skip-link { display: none !important; }
  .page-banner { background: none !important; padding: 0 0 12px; border-bottom: 2px solid #000; }
  .page-banner h1, .page-banner .breadcrumb-custom { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .form-card { box-shadow: none !important; padding: 12px 0 !important; border: 0 !important; }
  .policy-contact { background: #f0f0f0 !important; color: #000 !important; }
  .policy-contact *, .policy-card a { color: #000 !important; }
  .policy-card { page-break-inside: avoid; }
}
/* ── Hero: Government of U.P. seal ── */
.hero-govt-seal { position: absolute; top: 28px; right: 40px; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-govt-seal img { width: 104px; height: 104px; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 8px 28px rgba(0,0,0,.35); border: 3px solid var(--gold-light); }
.hero-govt-seal-label { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #fff; text-align: center; line-height: 1.35; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
@media (max-width: 991px) { .hero-govt-seal { top: 16px; right: 16px; } .hero-govt-seal img { width: 72px; height: 72px; padding: 4px; } }
@media (max-width: 575px) { .hero-govt-seal img { width: 56px; height: 56px; border-width: 2px; } .hero-govt-seal-label { display: none; } }
/* ── Department / faculty pages ── */
.faculty-full-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; color: var(--royal); }
.faculty-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--royal), var(--royal-mid)); color: var(--gold-light); font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 800; }
.fac-item[hidden] { display: none !important; }
.filter-btn i { color: inherit; }
.fm-th { width: 140px; color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; }
/* ── Committees page ── */
.committee-nav .sidebar-widget-body { padding: 10px; }
.committee-tab { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 8px; background: var(--off-white); margin-bottom: 7px; font-size: .86rem; font-weight: 600; color: var(--dark); text-decoration: none; transition: var(--transition); border-left: 3px solid transparent; }
.committee-tab:hover { background: var(--light); color: var(--royal); text-decoration: none; border-left-color: var(--gold); }
.committee-tab.active { background: linear-gradient(135deg, var(--royal), var(--royal-mid)); color: white; border-left-color: var(--gold); }
.committee-tab .di-icon { width: 18px; text-align: center; color: var(--gold); }
.committee-tab.active .di-icon { color: var(--gold-light); }
.committee-count { margin-left: auto; font-size: .7rem; font-weight: 800; background: rgba(11,36,71,.08); color: var(--royal); border-radius: 50px; padding: 1px 9px; }
.committee-tab.active .committee-count { background: rgba(255,255,255,.15); color: white; }
.committee-head { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, var(--royal), var(--royal-mid)); border-radius: var(--radius-lg); padding: 22px 26px; margin-bottom: 24px; box-shadow: var(--shadow); border-bottom: 4px solid var(--gold); }
.committee-head h2 { color: white; font-size: 1.6rem; margin: 0; }
.committee-head-sub { color: rgba(255,255,255,.6); font-size: .8rem; }
.committee-head-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); display: flex; align-items: center; justify-content: center; color: var(--royal); font-size: 1.4rem; flex-shrink: 0; }
@media (max-width: 991px) { .committee-nav { position: static !important; } }
/* ── EOA letters page ── */
.eoa-card { background: white; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 18px; height: 100%; transition: var(--transition); }
.eoa-card:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.eoa-card-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.eoa-year { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 800; color: var(--royal); line-height: 1; }
.eoa-sub { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-top: 3px; }
.eoa-card .download-item { margin-bottom: 7px; }
.eoa-card .download-item:last-child { margin-bottom: 0; }
.eoa-awaited { background: var(--off-white); box-shadow: none; }
.eoa-awaited .eoa-year { color: var(--muted); }
.eoa-awaited-note { font-size: .82rem; color: var(--muted); padding: 10px 13px; border: 1.5px dashed var(--border); border-radius: 7px; }
.syl-type { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--royal); margin-bottom: 8px; padding-bottom: 5px; border-bottom: 2px solid var(--gold-pale); }
.syl-type i { color: var(--gold); margin-right: 4px; }
/* ── Academics pages ── */
.programme-table td, .programme-table th { vertical-align: middle; font-size: .88rem; }
.programme-table .prog-type { background: var(--royal); color: white; font-weight: 700; text-align: center; letter-spacing: .5px; vertical-align: middle; }
.programme-table tfoot th { background: var(--light); color: var(--royal); }
.programme-table a { color: var(--royal-mid); font-weight: 600; }
.fee-table-head { background: linear-gradient(135deg, var(--royal), var(--royal-mid)); color: white; padding: 14px 22px; font-weight: 700; font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; border-bottom: 3px solid var(--gold); }
.fee-table th, .fee-table td { vertical-align: middle; text-align: center; font-size: .9rem; }
.fee-table thead th { background: var(--light); color: var(--royal); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.fee-table tbody th { text-align: left; color: var(--royal); font-weight: 700; }
.fee-table small { font-weight: 500; color: var(--muted); }
.fee-table .fee-total { font-weight: 800; color: var(--royal); background: var(--gold-pale); }
.admission-lead { color: var(--royal); font-weight: 700; font-size: .92rem; background: var(--gold-pale); border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 0 8px 8px 0; }
.admission-docs { padding-left: 22px; margin-bottom: 14px; color: var(--dark); font-size: .9rem; line-height: 1.6; }
.admission-docs li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.admission-docs li::marker { color: var(--gold); font-weight: 800; }
.admission-note { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); padding: 6px 0; line-height: 1.6; }
.admission-note i { color: var(--gold); margin-top: 4px; }
.programme-table a, .programme-table td { word-break: normal; overflow-wrap: normal; }

.admission-subdocs { padding-left: 18px; margin: 0; list-style: disc; }
.admission-subdocs li { border-bottom: 0; padding: 2px 0; }
.admission-subdocs li::marker { color: var(--gold); }

/* ── Training & Placement pages ── */
.partner-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 18px; text-align: center; height: 100%; transition: var(--transition); }
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.partner-logo { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--off-white); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.partner-logo img { max-width: 86%; max-height: 86%; object-fit: contain; }
.partner-logo .faculty-initials { border-radius: 14px; }
.partner-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--royal); margin-bottom: 6px; }
.partner-card p { font-size: .82rem; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.partner-more summary { font-size: .8rem; font-weight: 600; color: var(--royal); cursor: pointer; margin-top: 8px; list-style: none; }
.partner-more summary::-webkit-details-marker { display: none; }
.partner-more summary::after { content: ' \25BE'; }
.partner-more[open] summary { margin-bottom: 4px; }
.partner-more[open] summary::after { content: ' \25B4'; }
.partner-more[open] p { text-align: left; }
.partner-desc:has(details[open]) > .partner-excerpt { display: none; }
.gpa-table thead th { background: var(--royal); color: white; font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; border-color: var(--royal-mid) !important; vertical-align: middle; }
.gpa-table td { font-size: .88rem; vertical-align: middle; }
.gpa-table tbody tr[hidden] { display: none; }
/* ── Grievance pages ── */
.form-status { font-size: .88rem; font-weight: 600; margin: 4px 0 16px; padding: 0; border-radius: 8px; }
.form-status:empty { display: none; }
.form-status.is-info  { padding: 10px 14px; background: var(--light);  color: var(--royal-mid); }
.form-status.is-ok    { padding: 10px 14px; background: #e8f7ee; color: #146c43; border-left: 4px solid #198754; }
.form-status.is-error { padding: 10px 14px; background: #fdecee; color: #a4161a; border-left: 4px solid var(--crimson); }
.grv-badge { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 3px 10px; border-radius: 50px; }
.grv-ok      { background: #e8f7ee; color: #146c43; }
.grv-pending { background: var(--gold-pale); color: #8a5a00; }
.grv-other   { background: var(--light); color: var(--royal); }
/* selects: theme padding + Bootstrap fixed height clipped the text */
select.form-control { height: auto; line-height: 1.5; }

/* ── Facilities page ── */
.facility-row { padding: 36px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.facility-row:last-of-type { border-bottom: 0; }
.facility-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 280px; background: var(--light); }
.facility-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.facility-media:hover img { transform: scale(1.05); }
.facility-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; font-size: .78rem; font-weight: 600; color: white; background: linear-gradient(to top, rgba(11,36,71,.85), transparent); }
.facility-icon { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--royal), var(--royal-mid)); }
.facility-icon i { font-size: 5rem; color: var(--gold-light); opacity: .9; }
.facility-num { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 800; line-height: 1; color: rgba(201,151,44,.35); }
.facility-title { font-size: 1.6rem; color: var(--royal); margin: 4px 0 12px; }
.facility-title i { color: var(--gold); font-size: 1.2rem; }
.facility-text { color: var(--muted); line-height: 1.9; font-size: .96rem; text-align: justify; }
.facility-top { font-size: .78rem; }
@media (max-width: 991px) { .facility-media { height: 220px; } }

/* ── Notice board page ── */
.nb-section { scroll-margin-top: 100px; }
.nb-section[hidden] { display: none; }
.nb-card { display: flex; gap: 14px; align-items: flex-start; height: 100%; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--nb-accent, var(--royal)); border-radius: var(--radius-lg); padding: 16px 20px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.nb-card:hover { transform: translateX(4px); box-shadow: var(--shadow); border-left-color: var(--gold); }
.nb-date { flex-shrink: 0; width: 58px; text-align: center; background: var(--royal); color: #fff; border-radius: 10px; padding: 7px 4px; line-height: 1.1; }
.nb-date .d { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 800; }
.nb-date .m { display: block; font-size: .62rem; font-weight: 800; text-transform: uppercase; color: var(--gold-light); letter-spacing: .5px; }
.nb-date .y { display: block; font-size: .6rem; opacity: .7; }
.nb-body { flex: 1; min-width: 0; }
.nb-title { font-family: 'DM Sans', 'Noto Sans Devanagari', sans-serif; font-size: .95rem; font-weight: 700; color: var(--royal); line-height: 1.5; margin: 0 0 8px; }
.nb-title .badge-new-pill { margin-left: 6px; }
.nb-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: .74rem; color: var(--muted); }
.nb-meta i { color: var(--gold); }
.nb-attach { background: var(--royal); color: #fff !important; padding: 3px 12px; border-radius: 50px; font-weight: 700; text-decoration: none !important; display: inline-flex; align-items: center; gap: 5px; }
.nb-attach i { color: var(--gold-light); }
.nb-attach:hover { background: var(--gold); color: var(--royal) !important; }
figure.g-item { cursor: default; }

/* ── Photo gallery page ── */
.gal-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; padding: 14px 20px; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.gal-stat { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.gal-stat strong { color: var(--royal); font-size: 1rem; }
.gal-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; scroll-margin-top: 100px; }
.gal-tab-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 50px; border: 2px solid var(--border); background: white; font-size: .82rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: var(--transition); white-space: nowrap; }
.gal-tab-btn:hover { border-color: var(--royal); color: var(--royal); }
.gal-tab-btn.active { background: var(--royal); border-color: var(--royal); color: white; }
.gal-count { background: rgba(255,255,255,.25); padding: 1px 8px; border-radius: 50px; font-size: .68rem; }
.gal-tab-btn:not(.active) .gal-count { background: var(--off-white); color: var(--muted); }
.gal-pane { display: none; }
.gal-pane.active { display: block; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gal-grid { grid-template-columns: 1fr; } }
.gal-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: white; transition: var(--transition); position: relative; }
.gal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gal-card a { display: block; color: inherit; text-decoration: none; }
.gal-card-imgwrap { overflow: hidden; position: relative; height: 210px; }
.gal-card-featured .gal-card-imgwrap { height: 280px; }
.gal-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gal-card:hover .gal-card-img { transform: scale(1.06); }
.gal-hover-overlay { position: absolute; inset: 0; background: rgba(11,36,71,.52); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.gal-hover-overlay i { color: white; font-size: 1.5rem; }
.gal-card:hover .gal-hover-overlay, .gal-card a:focus-visible .gal-hover-overlay { opacity: 1; }
.gal-badge { position: absolute; top: 10px; left: 10px; color: white; padding: 3px 10px; border-radius: 50px; font-size: .68rem; font-weight: 700; }
.gal-badge-feat { left: auto; right: 10px; background: var(--gold); color: var(--royal); font-weight: 800; }
.gal-card-caption { padding: 10px 12px; font-size: .8rem; font-weight: 600; color: var(--royal); line-height: 1.4; border-top: 1px solid var(--border); }
.gal-card-date { font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: 3px; }
.gal-cat-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 20px; border-radius: var(--radius-lg); border-left: 5px solid var(--royal); background: white; box-shadow: var(--shadow); }
.gal-cat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.gal-cat-title { font-family: 'DM Sans', sans-serif; font-weight: 800; color: var(--royal); font-size: 1rem; margin: 0; }
.gal-cat-sub { font-size: .78rem; color: var(--muted); }
.gal-empty { text-align: center; padding: 50px 20px; background: var(--off-white); border-radius: var(--radius-lg); border: 2px dashed var(--border); }
.gal-empty i { font-size: 2.8rem; color: var(--gold); margin-bottom: 12px; }
.gal-empty h2 { color: var(--royal); }
.gal-empty p { color: var(--muted); font-size: .88rem; margin: 0; }
.gal-campus { margin-top: 52px; }
.gal-divider { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.gal-divider::before, .gal-divider::after { content: ''; height: 2px; flex: 1; background: var(--border); }
.gal-divider span { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }
.gal-divider i { color: var(--gold); }
.gal-campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gal-campus-lead { grid-column: span 2; grid-row: span 2; }
.gal-campus-item a, .gal-campus-img { height: 100%; }
.gal-campus-img { position: relative; overflow: hidden; }
.gal-campus-cap { position: absolute; bottom: 10px; left: 10px; right: 10px; background: rgba(11,36,71,.8); color: white; padding: 4px 12px; border-radius: 50px; font-size: .72rem; font-weight: 700; width: fit-content; max-width: calc(100% - 20px); }
.gal-campus-cap i { color: var(--gold); }
@media (max-width: 991px) { .gal-campus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gal-campus-grid { grid-template-columns: 1fr; } .gal-campus-lead { grid-column: auto; grid-row: span 1; } }

/* ── Contact page ── */
.contact-info-panel h2 { color: white; margin-bottom: 6px; }
.contact-detail-val a { color: rgba(255,255,255,.9); }
.contact-detail-val a:hover { color: var(--gold-light); }
.contact-social { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-social a { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: white; padding: 8px 14px; border-radius: 8px; font-size: .8rem; font-weight: 700; text-decoration: none; transition: var(--transition); }
.contact-social a:hover { background: var(--gold); color: var(--royal); }
.contact-consent { background: var(--off-white); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.contact-consent label { font-size: .85rem; color: var(--dark); line-height: 1.5; }
.contact-consent a { color: var(--royal); font-weight: 700; }
#contact-form { scroll-margin-top: 100px; }
.contact-done { text-align: center; padding: 40px 20px; outline: none; }
.contact-done-icon { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #0A6847, #0d8a5e); color: white; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; }
.contact-done h3 { color: var(--royal); margin-bottom: 10px; }
.contact-done p { color: var(--muted); }
.btn-submit:disabled { cursor: not-allowed; }

/* X (Twitter) social button — the school-site theme has no class for it */
.topbar-social a.social-x, .footer-social-links a.social-x { background: #000; }

/* ── Festival decorations (assets/js/festival.js, ported from town/party.php) ── */
.festival-layer { position: fixed; inset: 0; pointer-events: none; z-index: 999; overflow: hidden; }
.festival-particle { position: absolute; top: 0; border-radius: 50%; opacity: .9; animation: festival-fall linear infinite; }
@keyframes festival-fall { 0% { transform: translateY(-10vh); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(110vh); opacity: 0; } }

/* Tricolour — left side, below the sticky navbar (keeps the U.P. seal and Staff Portal visible) */
.festival-flag { position: fixed; top: 140px; left: 54px; width: 150px; height: 90px; perspective: 800px; }
.festival-flag .flag-pole { position: absolute; left: -8px; top: -6px; width: 5px; height: 150px; border-radius: 3px; background: linear-gradient(90deg, #8a8a8a, #d9d9d9, #8a8a8a); box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.festival-flag .flag-inner { width: 100%; height: 100%; transform-origin: left center; animation: festival-wave 3s ease-in-out infinite; border-radius: 3px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.festival-flag .saffron, .festival-flag .white, .festival-flag .green { height: 33.34%; width: 100%; }
.festival-flag .saffron { background: rgba(255, 153, 51, .85); }
.festival-flag .white   { background: rgba(255, 255, 255, .85); position: relative; }
.festival-flag .green   { background: rgba(19, 136, 8, .85); }
.festival-flag .chakra {
  position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; border: 2px solid #000080; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(#000080 0deg 3deg, transparent 3deg 15deg);   /* 24 spokes */
  animation: festival-chakra 20s linear infinite;
}
@keyframes festival-chakra { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes festival-wave { 0%, 50%, 100% { transform: rotateY(0) skewY(0); } 25% { transform: rotateY(-8deg) skewY(-1deg); } 75% { transform: rotateY(6deg) skewY(1deg); } }

/* Diya */
.festival-diya { position: absolute; top: 0; width: 26px; height: 14px; background: #8b4513; border-radius: 0 0 16px 16px; animation: festival-fall linear infinite; }
.festival-diya::before { content: ''; position: absolute; top: -14px; left: 50%; width: 10px; height: 14px; background: radial-gradient(circle, #ffd700 30%, #ff4500 70%); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 12px #ffae00; }

@media (max-width: 768px) { .festival-flag { top: 96px; left: 18px; width: 110px; height: 66px; } .festival-flag .flag-pole { height: 110px; } }
@media (prefers-reduced-motion: reduce) { .festival-flag .flag-inner, .festival-flag .chakra { animation: none; } }
@media print { .festival-layer { display: none !important; } }
