/* ==========================================================================
   SGM PU College - Core Stylesheet
   Theme: Apple-Grade Glassmorphism, Dark Navy, Royal Purple & Electric Blue
   Domain: sgmpucollegegarag.in
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-darkest: #050811;
  --bg-main: #0a0f1d;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-active: rgba(56, 189, 248, 0.12);

  /* Borders & Highlights */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(56, 189, 248, 0.4);
  --border-glass-purple: rgba(168, 85, 247, 0.3);

  /* Brand Accents */
  --primary-blue: #38bdf8;
  --primary-electric: #0284c7;
  --accent-purple: #818cf8;
  --accent-violet: #a855f7;
  --accent-gold: #fbbf24;
  --accent-emerald: #10b981;
  --accent-danger: #f43f5e;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}



:root {

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-glass: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 30px -5px rgba(56, 189, 248, 0.25);
  --shadow-purple: 0 0 35px -5px rgba(168, 85, 247, 0.25);

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  background: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    var(--bg-main);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Top Announcement Banner */
.announcement-bar {
  background: linear-gradient(90deg, #1e1b4b, #0c4a6e, #1e1b4b);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  color: #e0f2fe;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.announcement-bar i {
  color: var(--primary-blue);
  font-size: 16px;
}

/* Header Container */
.site-header {
  padding: 30px 24px 20px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top-row {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2000;
}

.header-center-branding {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-align: left;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.header-titles-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.header-logo-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease;
  border-radius: 50%;
  outline: none;
  flex-shrink: 0;
}
.header-logo-group:hover {
  transform: scale(1.08);
}

.header-logo-img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  border: 2.5px solid rgba(56, 189, 248, 0.5);
  transition: all 0.25s ease;
  display: block;
  background: #020617;
}
.header-logo-group:hover .header-logo-img {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.7);
}

.college-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  padding-top: 2px;
  padding-bottom: 6px;
  margin: 0;
  display: inline-block;
  overflow: visible;
  vertical-align: middle;
}

.college-location-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
}
.college-location-sub i {
  color: var(--accent-gold);
}

/* Header Auth Actions */
.header-auth-actions {
  position: relative;
  transform: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 2100;
}

/* ==========================================================================
   Site-Wide Search Bar Component
   ========================================================================== */
.site-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2200;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.site-search-input {
  width: 125px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 7px 34px 7px 14px;
  font-size: 12.5px;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.site-search-input::placeholder {
  color: #94a3b8;
  font-size: 12px;
}

.site-search-input:focus {
  width: 175px;
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--primary-blue);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-search-submit {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(56, 189, 248, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  padding: 0;
  z-index: 2;
}
.btn-search-submit:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.6);
}
.btn-search-submit i {
  color: #ffffff !important;
}

.btn-search-clear {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  padding: 2px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease;
  z-index: 2;
}
.btn-search-clear:hover {
  color: #ffffff;
}

/* Live Search Dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 420px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.2);
  overflow-y: auto;
  z-index: 99999;
  display: none;
  padding: 8px;
}

.search-results-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease forwards;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}
.search-result-item:hover {
  background: rgba(56, 189, 248, 0.15);
  transform: translateX(3px);
}

.search-res-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
}
.search-res-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-res-sub {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes searchPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(56, 189, 248, 0.8); }
  50% { transform: scale(1.02); box-shadow: 0 0 25px rgba(56, 189, 248, 0.8); border-color: #38bdf8; }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(56, 189, 248, 0); }
}
.search-highlight-pulse {
  animation: searchPulse 1.2s ease 2 !important;
  border-color: #38bdf8 !important;
}

.staff-photo-img,
.passport-photo-img {
  color: transparent !important;
  font-size: 0 !important;
}

/* ==========================================================================
   Strict Image Download & Right-Click Protection
   (Protects images only - text, buttons & inputs remain unaffected)
   ========================================================================== */
img,
.slide-image,
.header-logo-img,
.album-cover-img,
.subgallery-photo-img,
.passport-photo-img,
.achievement-card-img,
.staff-photo-img,
.lightbox-main-img {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important; /* Disables mobile iOS long-press save menu */
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Search Dropdown Empty State & Quick Navigation Pills */
.search-empty-state {
  padding: 18px 14px !important;
  text-align: center !important;
}
.search-hint-pill {
  display: inline-block !important;
  padding: 3px 8px !important;
  margin: 4px 2px 0 !important;
  border-radius: 9999px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}
.search-hint-pill:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  transform: scale(1.06) !important;
}
body.theme-light .search-hint-pill {
  background: rgba(2, 132, 199, 0.1) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
  color: #0284c7 !important;
}
body.theme-light .search-hint-pill:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
}
body.theme-light .search-no-results-desc {
  color: #64748b !important;
}

.btn-header-login {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-header-login:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary-blue);
  color: #fff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.admin-badge {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(99, 102, 241, 0.25));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.admin-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* Navigation Pill Bar */
.nav-container {
  max-width: 900px;
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 15px;
  z-index: 990;
  padding: 0 16px;
}

.nav-pill-wrapper {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.1);
}

.nav-item-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.nav-item-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.9), rgba(56, 189, 248, 0.95));
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

/* Results Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
  z-index: 1000;
}

.dropdown-arrow {
  font-size: 11px;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.show .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 6px;
  transform: translateX(-50%) translateY(4px);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(56, 189, 248, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 2500;
}

/* Invisible hover bridge to eliminate gap when moving cursor between button and menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.show .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: var(--transition-smooth);
}
.dropdown-link-item i {
  color: var(--primary-blue);
  font-size: 17px;
  flex-shrink: 0;
}
.dropdown-link-item .dropdown-item-ext {
  margin-left: auto;
  font-size: 13px;
  opacity: 0.6;
  color: var(--text-muted);
}
.dropdown-link-item:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #fff;
  transform: translateX(2px);
}
.dropdown-link-item:hover .dropdown-item-ext {
  opacity: 1;
  color: var(--primary-blue);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Main Content Container & Tab Sections */
.main-wrapper {
  max-width: 1240px;
  margin: 30px auto 60px;
  padding: 0 20px;
}

.tab-content-section {
  display: none;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.tab-content-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Apple-Style Glass Card Container */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

/* Hero Section */
.hero-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

.hero-tagline {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtagline {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--primary-blue);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Modern Apple-Quality Full-Width Slideshow */
.slideshow-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  background: #020617;
  margin-bottom: 40px;
}

.slides-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-item {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  z-index: 1;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.6) 60%, transparent 100%);
  padding: 40px 30px 24px;
  color: #ffffff;
}

.slide-caption-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.slide-caption-text {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 700px;
}

/* Slideshow Navigation Buttons */
.slide-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}
.slide-nav-arrow:hover {
  background: var(--primary-blue);
  color: #000;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
}
.slide-nav-arrow.prev { left: 16px; }
.slide-nav-arrow.next { right: 16px; }

/* Slideshow Indicator Dots */
.slide-dots-container {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slide-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slide-dot.active {
  width: 26px;
  background: var(--primary-blue);
  box-shadow: 0 0 12px var(--primary-blue);
}

/* Highlights Grid (Academics, Facilities, etc.) */
.highlights-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin-top: 20px;
  width: 100%;
}

.highlight-card {
  flex: 0 1 320px;
  width: 320px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  transition: var(--transition-smooth);
}
.highlight-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.highlight-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.highlight-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-purple);
  margin-bottom: 8px;
}

.highlight-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.highlight-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Results Section & IFrame Embed */
.results-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
}

.result-action-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-result-act {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.btn-result-act:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--primary-blue);
  color: #fff;
}

.iframe-container {
  width: 100%;
  height: 650px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #ffffff;
  position: relative;
}

.result-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Graceful Fallback for X-Frame-Options blocked external sites */
.iframe-blocked-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f172a;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}
.iframe-blocked-card.show {
  display: flex;
}
.iframe-blocked-card i.qr-icon {
  font-size: 48px;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

/* Notices Board (Accordion & Cards) */
.notices-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.notice-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}
.notice-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.notice-item.pinned {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.02);
}

.notice-header-row {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.notice-date-box {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 14px;
  text-align: center;
  min-width: 64px;
  flex-shrink: 0;
}
.notice-date-day {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.notice-date-month {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  margin-top: 3px;
}

.notice-info-col {
  flex: 1;
}

.notice-title-text {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-pin-tag {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.notice-summary-text {
  font-size: 13.5px;
  color: var(--text-muted);
}

.notice-expand-icon {
  font-size: 20px;
  color: var(--primary-blue);
  transition: transform 0.25s ease;
}
.notice-item.open .notice-expand-icon {
  transform: rotate(180deg);
}

.notice-body-details {
  display: none;
  padding: 0 24px 24px 94px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: -6px;
  padding-top: 18px;
}
.notice-item.open .notice-body-details {
  display: block;
}

.notice-full-description {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.7;
  white-space: pre-line;
  margin-bottom: 16px;
}

.btn-notice-attachment {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary-blue);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.btn-notice-attachment:hover {
  background: var(--primary-blue);
  color: #000;
}

/* Notice Attachment Display: Image Previews & PDF Previews */
.notice-attachment-container {
  margin-top: 18px;
  width: 100%;
}

/* Notice Image Attachment */
.notice-image-attachment-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 640px;
}
.notice-attachment-label {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.notice-image-preview-box {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(11, 17, 32, 0.8);
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.notice-image-preview-box:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}
.notice-image-wrap {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090d16;
}
.notice-preview-img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  transition: transform 0.3s ease;
}
.notice-image-preview-box:hover .notice-preview-img {
  transform: scale(1.02);
}
.notice-image-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.notice-image-preview-box:hover .notice-image-zoom-overlay {
  opacity: 1;
}
.notice-zoom-badge {
  background: rgba(14, 165, 233, 0.95);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.notice-image-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 2px 4px;
}
.notice-file-badge {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  word-break: break-all;
}
.btn-notice-view-img {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-notice-view-img:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

/* Notice PDF Attachment Preview & Download */
.notice-pdf-preview-box {
  width: 100%;
  max-width: 820px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(15, 23, 42, 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}
.notice-pdf-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(30, 41, 59, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.notice-pdf-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.notice-pdf-file-info i {
  font-size: 20px;
  color: #ef4444;
}
.notice-pdf-file-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  word-break: break-all;
}
.notice-pdf-tag {
  font-size: 11px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}
.notice-pdf-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-notice-pdf-view {
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}
.btn-notice-pdf-view:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.btn-notice-pdf-download {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 16px;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}
.btn-notice-pdf-download:hover {
  background: #0284c7;
  color: #fff;
  border-color: #38bdf8;
}
.notice-pdf-viewport {
  width: 100%;
  height: 480px;
  max-height: 65vh;
  background: #0b1120;
  position: relative;
  overflow: hidden;
}
.notice-pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.notice-pdf-footer-bar {
  padding: 12px 18px;
  background: rgba(30, 41, 59, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-notice-pdf-download-main {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.25s ease;
}
.btn-notice-pdf-download-main:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #000 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.4);
}

/* Notice Generic File Box */
.notice-generic-file-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 600px;
}
.notice-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 600;
}
.notice-file-info i {
  font-size: 20px;
  color: #38bdf8;
}

/* Gallery Section & Albums */
.gallery-section-block {
  margin-bottom: 50px;
}

.gallery-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.albums-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

.album-card {
  flex: 0 1 320px;
  width: 320px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.album-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-glow);
}

.album-cover-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #020617;
}

.album-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.album-card:hover .album-cover-img {
  transform: scale(1.06);
}

.album-photo-count-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.album-meta-content {
  padding: 20px;
}

.album-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.album-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.btn-open-album {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--primary-blue);
  width: 100%;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.album-card:hover .btn-open-album {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--primary-blue);
}

/* Subgallery Modal / View */
.subgallery-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 17, 0.94);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 2000;
  display: none;
  flex-direction: column;
  padding: 24px;
}
.subgallery-overlay.open {
  display: flex;
}

.subgallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.subgallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  overflow-y: auto;
  flex: 1;
  padding-right: 8px;
  width: 100%;
}

.subgallery-photo-card {
  flex: 0 1 240px;
  width: 240px;
  max-width: 100%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  background: #020617;
}

.subgallery-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.subgallery-photo-card:hover .subgallery-photo-img {
  transform: scale(1.08);
}

/* Fullscreen Lightbox Viewer */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-modal.open {
  display: flex;
}

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.lightbox-caption-text {
  margin-top: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.lightbox-btn-close {
  position: absolute;
  top: 24px;
  right: 28px;
  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%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.lightbox-btn-close:hover {
  background: var(--accent-danger);
  transform: scale(1.1);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.lightbox-arrow:hover {
  background: var(--primary-blue);
  color: #000;
}
.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }

/* Achievements Cards (Standard & Passport) */
.achievements-category-group {
  margin-bottom: 50px;
}

.achievements-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

/* Standard Achievement Card */
.achievement-card-standard {
  flex: 0 1 340px;
  width: 340px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.achievement-card-standard:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.15);
}

.achievement-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}
.achievement-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.achievement-card-standard:hover .achievement-card-img {
  transform: scale(1.05);
}

.achievement-card-body {
  padding: 20px;
}
.achievement-year-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.achievement-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.achievement-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Passport-Style Achievement Card */
.achievement-card-passport {
  flex: 0 1 270px;
  width: 270px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.achievement-card-passport:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-glow);
}

.passport-photo-circle {
  width: 140px;
  height: 140px;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto 18px;
  border: 4px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.25);
  overflow: hidden;
  background: #0b1329;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.passport-photo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 50% !important;
  display: block !important;
  transition: transform 0.35s ease;
}
.achievement-card-passport:hover .passport-photo-img {
  transform: scale(1.06);
}

.passport-person-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.passport-person-designation {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* About Us - Leadership & Staff Sections */
.staff-section-group {
  margin-bottom: 50px;
}

.staff-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.staff-profile-card {
  flex: 0 1 var(--card-custom-w, 270px) !important;
  width: var(--card-custom-w, 270px) !important;
  max-width: 100% !important;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, width 0.3s ease, flex-basis 0.3s ease !important;
}
.staff-profile-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-glow);
  background: rgba(255, 255, 255, 0.04);
}

/* Founder / Hero Card (Prominently spans full row at the top) */
.staff-profile-card.frame-hero,
.staff-profile-card.size-large {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: var(--card-custom-w, 560px) !important;
  margin: 0 auto 18px auto !important;
  padding: 38px 28px !important;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.9)) !important;
  border: 2px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.2) !important;
  border-radius: 26px !important;
  text-align: center !important;
}
.staff-profile-card.frame-hero .staff-name,
.staff-profile-card.size-large .staff-name {
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px !important;
  color: #ffffff !important;
}
.staff-profile-card.frame-hero .staff-designation,
.staff-profile-card.size-large .staff-designation {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}
.staff-profile-card.frame-hero .staff-qualification,
.staff-profile-card.size-large .staff-qualification {
  font-size: 13.5px !important;
  color: #94a3b8 !important;
}

.staff-photo-wrap,
.staff-photo-circle {
  position: relative;
  overflow: hidden;
  margin: 0 auto 20px;
  background: #020617;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: var(--card-custom-w, 140px);
  height: var(--card-custom-h, 140px);
  max-width: 100%;
}

.staff-photo-wrap.frame-circle,
.frame-circle .staff-photo-wrap,
.frame-circle .staff-photo-circle,
.staff-photo-circle {
  border-radius: 50% !important;
  border: 4px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.staff-photo-wrap.frame-square,
.frame-square .staff-photo-wrap,
.frame-square .staff-photo-circle {
  border-radius: 20px !important;
  border: 3px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
}

.staff-photo-wrap.frame-portrait,
.frame-portrait .staff-photo-wrap,
.frame-portrait .staff-photo-circle {
  width: var(--card-custom-w, 170px) !important;
  height: var(--card-custom-h, 220px) !important;
  border-radius: 18px !important;
  border: 3px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

.staff-photo-wrap.frame-hero,
.frame-hero .staff-photo-wrap,
.frame-hero .staff-photo-circle {
  width: var(--card-custom-w, 320px) !important;
  max-width: var(--card-custom-w, 380px) !important;
  height: var(--card-custom-h, 320px) !important;
  border-radius: 22px !important;
  border: 4px solid rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 16px 42px rgba(56, 189, 248, 0.25), 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  margin: 0 auto 22px auto !important;
}

.staff-photo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.staff-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.staff-designation {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.staff-qualification {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* Contact Tab Section */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
}

.contact-info-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}
.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 22px;
  flex-shrink: 0;
}
.contact-label-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-value-text {
  font-size: 16px;
  color: #ffffff;
}

/* Working Contact Form */
.contact-form-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group-block {
  margin-bottom: 18px;
}
.form-input-control {
  width: 100%;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 13px 18px;
  color: #ffffff;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
}
.form-input-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}
textarea.form-input-control {
  resize: vertical;
  min-height: 120px;
}

/* Password Visibility View Toggle */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.password-input-wrapper .form-input-control {
  padding-right: 44px;
  width: 100%;
  box-sizing: border-box;
}
.btn-toggle-password {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 19px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  border-radius: 6px;
  outline: none;
  z-index: 5;
}
.btn-toggle-password:hover {
  color: #38bdf8;
  transform: translateY(-50%) scale(1.1);
}
body.theme-light .btn-toggle-password {
  color: #64748b;
}
body.theme-light .btn-toggle-password:hover {
  color: #0284c7;
}

.btn-send-message {
  width: 100%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}
.btn-send-message:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.4);
}

.form-status-msg {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  display: none;
}
.form-status-msg.success {
  display: block;
  color: var(--accent-emerald);
}
.form-status-msg.error {
  display: block;
  color: var(--accent-danger);
}

/* Footer Section */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 20px 30px;
  text-align: center;
  background: rgba(5, 8, 17, 0.8);
  color: var(--text-dim);
  font-size: 13.5px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--primary-blue);
}


/* ==========================================================================
   Light / Dark Mode Theme System
   ========================================================================== */

/* Theme Toggle Button */
.btn-theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-theme-toggle:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--primary-blue);
  color: #fff;
  transform: rotate(20deg) scale(1.08);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.theme-icon-sun {
  display: block;
}
.theme-icon-moon {
  display: none;
}
body.theme-light .theme-icon-sun {
  display: none;
}
body.theme-light .theme-icon-moon {
  display: block;
}

/* Light Theme Variables & Component Adaptations */
body.theme-light {
  --bg-darkest: #f1f5f9;
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(0, 0, 0, 0.04);
  --bg-glass-active: rgba(2, 132, 199, 0.12);

  --border-glass: rgba(0, 0, 0, 0.09);
  --border-glass-glow: rgba(2, 132, 199, 0.4);
  --border-glass-purple: rgba(124, 58, 237, 0.3);

  --primary-blue: #0284c7;
  --primary-electric: #0369a1;
  --accent-purple: #6366f1;
  --accent-violet: #7c3aed;
  --accent-gold: #d97706;
  --accent-emerald: #059669;
  --accent-danger: #e11d48;

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;

  --shadow-glass: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 1px 1px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 30px -5px rgba(2, 132, 199, 0.25);
  --shadow-purple: 0 0 35px -5px rgba(124, 58, 237, 0.2);

  background: 
    radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    #f8fafc;
  background-attachment: fixed;
  color: #0f172a;
}

body.theme-light .announcement-bar {
  background: linear-gradient(90deg, #e0f2fe, #ede9fe, #e0f2fe);
  border-bottom: 1px solid rgba(2, 132, 199, 0.2);
  color: #0369a1;
}

body.theme-light .site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

body.theme-light .college-title {
  background: linear-gradient(135deg, #0f172a 30%, #1e293b 70%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.theme-light .nav-pill-wrapper {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(2, 132, 199, 0.1);
}

body.theme-light .nav-item-btn {
  color: #475569;
}
body.theme-light .nav-item-btn:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
}
body.theme-light .nav-item-btn.active {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

body.theme-light .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
body.theme-light .dropdown-link-item {
  color: #1e293b;
}
body.theme-light .dropdown-link-item:hover {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

body.theme-light .site-search-input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  color: #0f172a;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
body.theme-light .site-search-input::placeholder {
  color: #64748b;
}
body.theme-light .site-search-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.25);
}
body.theme-light .search-results-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22), 0 0 25px rgba(2, 132, 199, 0.15);
  z-index: 99999;
}
body.theme-light .search-res-title {
  color: #0f172a;
}
body.theme-light .search-result-item:hover {
  background: rgba(2, 132, 199, 0.1);
}

body.theme-light .btn-header-login {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}
body.theme-light .btn-header-login:hover {
  background: rgba(2, 132, 199, 0.12);
  border-color: #0284c7;
  color: #0284c7;
}

body.theme-light .btn-theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}
body.theme-light .btn-theme-toggle:hover {
  background: rgba(2, 132, 199, 0.12);
  border-color: #0284c7;
  color: #0284c7;
}

body.theme-light .hero-tagline {
  color: #0f172a;
  text-shadow: none;
}

body.theme-light .highlight-title,
body.theme-light .notice-title-text,
body.theme-light .gallery-section-title,
body.theme-light .album-name,
body.theme-light .achievement-card-title,
body.theme-light .passport-person-name,
body.theme-light .staff-name,
body.theme-light .contact-value-text {
  color: #0f172a;
}

body.theme-light .highlight-card,
body.theme-light .notice-item,
body.theme-light .album-card,
body.theme-light .achievement-card-standard,
body.theme-light .achievement-card-passport,
body.theme-light .staff-profile-card,
body.theme-light .contact-info-panel,
body.theme-light .contact-form-panel {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

body.theme-light .highlight-card:hover,
body.theme-light .album-card:hover,
body.theme-light .achievement-card-standard:hover,
body.theme-light .achievement-card-passport:hover,
body.theme-light .staff-profile-card:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.15);
}

body.theme-light .passport-photo-circle {
  background: #f1f5f9;
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
}

body.theme-light .notice-date-box {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
}
body.theme-light .notice-date-day {
  color: #0f172a;
}

body.theme-light .form-input-control {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}
body.theme-light .form-input-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.25);
}

body.theme-light .site-footer {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
}

body.theme-light .cms-modal-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
body.theme-light .cms-modal-title {
  color: #0f172a;
}
body.theme-light .cms-modal-close-btn {
  color: #64748b;
}
body.theme-light .cms-modal-close-btn:hover {
  color: #0f172a;
}
body.theme-light .cms-fab-menu {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
body.theme-light .cms-fab-menu-item {
  color: #0f172a;
}
body.theme-light .cms-fab-menu-item:hover {
  background: rgba(2, 132, 199, 0.1);
}

/* Light Theme Navigation Dropdown */
body.theme-light .nav-dropdown-menu,
html[data-theme="light"] .nav-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}
body.theme-light .nav-dropdown-menu .dropdown-link-item,
html[data-theme="light"] .nav-dropdown-menu .dropdown-link-item {
  color: #1e293b !important;
}
body.theme-light .nav-dropdown-menu .dropdown-link-item:hover,
html[data-theme="light"] .nav-dropdown-menu .dropdown-link-item:hover {
  background: #e0f2fe !important;
  color: #0284c7 !important;
}
body.theme-light .nav-dropdown-menu .dropdown-link-item i,
html[data-theme="light"] .nav-dropdown-menu .dropdown-link-item i {
  color: #0284c7 !important;
}
body.theme-light .nav-dropdown-menu .dropdown-link-item .dropdown-item-ext,
html[data-theme="light"] .nav-dropdown-menu .dropdown-link-item .dropdown-item-ext {
  color: #64748b !important;
}

/* Light Theme Mobile 3-Dot Toggle */
body.theme-light .mobile-nav-toggle,
html[data-theme="light"] .mobile-nav-toggle,
[data-theme="light"] .mobile-nav-toggle {
  background: #ffffff !important;
  border: 1.5px solid #64748b !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}
body.theme-light .mobile-nav-toggle i,
html[data-theme="light"] .mobile-nav-toggle i,
[data-theme="light"] .mobile-nav-toggle i {
  color: #0f172a !important;
  fill: #0f172a !important;
}

/* Light Theme Notice Attachments */
body.theme-light .notice-attachment-label {
  color: #0284c7;
}
body.theme-light .notice-image-preview-box {
  background: #f8fafc;
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
body.theme-light .notice-image-wrap {
  background: #f1f5f9;
}
body.theme-light .notice-file-badge {
  color: #475569;
}
body.theme-light .btn-notice-view-img {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
}
body.theme-light .btn-notice-view-img:hover {
  background: #0284c7;
  color: #ffffff;
}
body.theme-light .notice-pdf-preview-box {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
body.theme-light .notice-pdf-header-bar {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}
body.theme-light .notice-pdf-file-title {
  color: #0f172a;
}
body.theme-light .btn-notice-pdf-view {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
body.theme-light .btn-notice-pdf-view:hover {
  background: #e2e8f0;
  color: #0f172a;
}
body.theme-light .btn-notice-pdf-download {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
}
body.theme-light .btn-notice-pdf-download:hover {
  background: #0284c7;
  color: #ffffff;
}
body.theme-light .notice-pdf-viewport {
  background: #f8fafc;
}
body.theme-light .notice-pdf-footer-bar {
  background: #f8fafc;
  border-top-color: #e2e8f0;
}
body.theme-light .notice-generic-file-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}
body.theme-light .notice-file-info {
  color: #1e293b;
}

@media (max-width: 768px) {
  .notice-body-details {
    padding: 0 16px 20px 16px !important;
    margin-top: 4px !important;
  }
  .notice-pdf-viewport {
    height: 380px !important;
    max-height: 55vh !important;
  }
  .notice-pdf-header-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .notice-pdf-top-actions {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}
