/* ==========================================================================
   GOVERNMENT PG COLLEGE, PRATAPGARH — OFFICIAL INSTITUTIONAL STYLESHEET
   Technology: Pure CSS3 (Vanilla)
   Design Direction: Prestigious, Trustworthy, Modern Academic Government Institution
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette (User Specified) */
  --primary-navy: #12345A;
  --secondary-blue: #244B73;
  --white: #FFFFFF;
  --muted-gold: #E6B65C;
  --light-grey: #F3F6FA;
  --main-text: #263445;

  /* Supplemental Functional Tones */
  --navy-dark: #0A1F38;
  --navy-light: #1A4470;
  --gold-hover: #D4A346;
  --gold-light: #FBF4E4;
  --text-muted: #5A6C82;
  --text-light: #7E90A4;
  --border-light: #E2E8F0;
  --border-subtle: #EDF2F7;
  --bg-subtle: #F8FAFC;
  --success-green: #1B873F;
  --success-bg: #E8F5E9;
  --error-red: #D32F2F;
  --error-bg: #FFEBEE;
  --focus-ring: rgba(230, 182, 92, 0.45);

  /* Typography */
  --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(18, 52, 90, 0.06);
  --shadow-md: 0 6px 20px rgba(18, 52, 90, 0.09);
  --shadow-lg: 0 14px 34px rgba(18, 52, 90, 0.12);
  --shadow-hover: 0 20px 40px rgba(18, 52, 90, 0.16);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1240px;
  --header-height: 84px;
  --topbar-height: 40px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s ease;
}

/* High Contrast Mode */
body.high-contrast {
  --primary-navy: #001529;
  --secondary-blue: #0A2B4E;
  --muted-gold: #FFD700;
  --light-grey: #FFFFFF;
  --main-text: #000000;
  --text-muted: #111111;
  --border-light: #000000;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--main-text);
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-navy);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--muted-gold);
}

button,
input,
select,
textarea {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.05rem;
}

h6 {
  font-size: 0.95rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Accessible Skip Link */
.skip-to-content {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--muted-gold);
  color: var(--navy-dark);
  padding: 10px 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top 0.2s ease;
  box-shadow: var(--shadow-md);
}

.skip-to-content:focus {
  top: 15px;
  outline: 3px solid var(--primary-navy);
}

/* Keyboard Focus Ring */
:focus-visible {
  outline: 3px solid var(--muted-gold);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.section-light {
  background-color: var(--light-grey);
}

.section-white {
  background-color: var(--white);
}

.section-navy {
  background-color: var(--primary-navy);
  color: var(--white);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary-blue);
  background-color: var(--light-grey);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  border: 1px solid var(--border-light);
}

.section-tag.gold {
  color: #8C6207;
  background-color: var(--gold-light);
  border-color: rgba(230, 182, 92, 0.4);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.section-navy .section-subtitle {
  color: #C3D3E5;
}

/* --------------------------------------------------------------------------
   4. Top Announcement / Accessibility Bar
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--navy-dark);
  color: #D3E0EA;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1002;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--topbar-height);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-badge {
  background: rgba(230, 182, 92, 0.18);
  color: var(--muted-gold);
  border: 1px solid rgba(230, 182, 92, 0.4);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #D3E0EA;
}

.topbar-item a {
  color: #D3E0EA;
}

.topbar-item a:hover {
  color: var(--muted-gold);
}

.topbar-item i {
  color: var(--muted-gold);
  font-size: 0.8rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.a11y-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.a11y-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0.15rem 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 3px;
  transition: var(--transition-fast);
}

.a11y-btn:hover,
.a11y-btn:focus {
  background: var(--muted-gold);
  color: var(--navy-dark);
}

/* Announcement Marquee Bar */
.announcement-bar {
  background: #07192D;
  border-bottom: 1px solid rgba(230, 182, 92, 0.35);
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: var(--white);
}

.announcement-bar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.announcement-tag {
  background: var(--muted-gold);
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.announcement-marquee-wrapper {
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.announcement-marquee {
  width: 100%;
}

.marquee-sep {
  color: var(--muted-gold);
  margin: 0 0.8rem;
}

/* --------------------------------------------------------------------------
   5. Main Navigation & Header
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-base);
}

.site-header.is-sticky {
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--muted-gold);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--header-height);
  padding: 0.6rem 0;
}

/* Brand Identity */
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-emblem {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(18, 52, 90, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid rgba(230, 182, 92, 0.45);
  padding: 2px;
  transition: transform 0.3s ease;
}

.brand:hover .brand-emblem {
  transform: rotate(4deg) scale(1.04);
}

.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand-title {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.brand-govt {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.65rem 1.1rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--main-text);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--muted-gold);
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-navy);
  background-color: var(--light-grey);
}

.nav-link:hover::after {
  width: 60%;
  left: 20%;
}

.nav-link.active {
  color: var(--primary-navy);
  background-color: rgba(18, 52, 90, 0.05);
  font-weight: 700;
}

.nav-link.active::after {
  width: 70%;
  left: 15%;
  background-color: var(--muted-gold);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  cursor: pointer;
  color: var(--primary-navy);
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background-color: var(--light-grey);
  border-color: var(--primary-navy);
}

.mobile-toggle-bars {
  position: relative;
  width: 22px;
  height: 2px;
  background-color: var(--primary-navy);
  display: block;
  transition: var(--transition-base);
}

.mobile-toggle-bars::before,
.mobile-toggle-bars::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: var(--primary-navy);
  left: 0;
  transition: var(--transition-base);
}

.mobile-toggle-bars::before {
  top: -7px;
}

.mobile-toggle-bars::after {
  top: 7px;
}

.mobile-toggle.is-active .mobile-toggle-bars {
  background-color: transparent;
}

.mobile-toggle.is-active .mobile-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle.is-active .mobile-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 31, 56, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1005;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.is-open {
  display: block;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   6. Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-navy);
  color: var(--white);
  border-color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(18, 52, 90, 0.2);
}

.btn-primary:hover {
  background-color: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 52, 90, 0.3);
}

.btn-gold {
  background-color: var(--muted-gold);
  color: var(--navy-dark);
  border-color: var(--muted-gold);
  box-shadow: 0 4px 12px rgba(230, 182, 92, 0.3);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 182, 92, 0.4);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   7. Hero Section (Home Page)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--navy-dark);
  color: var(--white);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background-image: url('../images/pg%20college%20image.jpg?v=2');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  overflow: hidden;
}

.hero::after {
  display: none;
}

.hero-content {
  max-width: 860px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 31, 56, 0.85);
  border: 1px solid rgba(230, 182, 92, 0.6);
  color: var(--muted-gold);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  animation: fadeInDown 0.8s ease backwards;
}

.hero-title {
  color: var(--white);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  margin-bottom: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 25px rgba(0, 0, 0, 0.85), 0 1px 3px #000;
  animation: fadeInUp 0.8s 0.2s ease backwards;
}

.hero-title span {
  color: var(--muted-gold);
  display: block;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  letter-spacing: 0.02em;
  margin-top: 0.35rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 2px #000;
}

.hero-lead {
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  line-height: 1.6;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 4px 16px rgba(0, 0, 0, 0.85), 0 1px 3px #000;
  margin-bottom: 2rem;
  max-width: 680px;
  animation: fadeInUp 0.8s 0.4s ease backwards;
}

.hero-actions {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease backwards;
}

/* Verified Fast Stats Ribbon */
.stats-ribbon {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
  margin-top: -28px;
  border-radius: var(--radius-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.2rem 1.5rem;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid var(--border-light);
  padding-right: 1rem;
}

.stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--light-grey);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.stat-info h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}

.stat-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   8. Introduction Section (Two-column layout)
   -------------------------------------------------------------------------- */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.intro-content .lead-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-navy);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.intro-image-wrapper {
  position: relative;
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.intro-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.intro-image:hover img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-navy);
  color: var(--white);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--muted-gold);
  max-width: 220px;
}

.floating-badge h4 {
  color: var(--muted-gold);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.floating-badge p {
  font-size: 0.78rem;
  color: #D3E0EA;
  margin-top: 0.25rem;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   9. Academic Programs & Faculty Cards
   -------------------------------------------------------------------------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(230, 182, 92, 0.5);
}

.program-card-header {
  padding: 2rem 1.8rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.program-stream-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.tag-arts {
  background-color: #E8F0FE;
  color: #1967D2;
}

.tag-science {
  background-color: #E6F4EA;
  color: #137333;
}

.tag-commerce {
  background-color: #FEF7E0;
  color: #B06000;
}

.program-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--light-grey);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-light);
}

.program-card-header h3 {
  font-size: 1.4rem;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.program-card-body {
  padding: 1.6rem 1.8rem;
  flex-grow: 1;
}

.program-features-list {
  margin-top: 1rem;
}

.program-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--main-text);
  margin-bottom: 0.6rem;
}

.program-features-list li i {
  color: var(--muted-gold);
  margin-top: 0.25rem;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.program-card-footer {
  padding: 1.2rem 1.8rem;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
}

.program-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-navy);
}

.program-card-footer a:hover {
  color: var(--muted-gold);
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   10. Institutional Highlights & Features
   -------------------------------------------------------------------------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.highlight-box {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  text-align: center;
}

.highlight-box:hover {
  transform: translateY(-4px);
  border-color: var(--muted-gold);
  box-shadow: var(--shadow-md);
}

.highlight-box-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-full);
  background: var(--gold-light);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 1px solid rgba(230, 182, 92, 0.4);
}

.highlight-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.highlight-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Facilities Section
   -------------------------------------------------------------------------- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  gap: 1.2rem;
}

.facility-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
}

.facility-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--light-grey);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid var(--border-subtle);
}

.facility-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.facility-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. Campus Gallery & Lightbox
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background-color: var(--light-grey);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 31, 56, 0.88) 0%, rgba(10, 31, 56, 0.4) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 1.25rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.05rem;
}

.gallery-overlay p {
  color: var(--muted-gold);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 56, 0.94);
  z-index: 10000;
  padding: 2rem;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox-modal.is-active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

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

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--white);
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--muted-gold);
  color: var(--navy-dark);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   13. Contact Preview & Detailed Contact Cards
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--muted-gold);
}

.contact-card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--light-grey);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-light);
}

.contact-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   14. Institutional Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--primary-navy);
  color: #D3E0EA;
  margin-top: auto;
  border-top: 4px solid var(--muted-gold);
}

.footer-top {
  padding-top: clamp(3.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: var(--muted-gold);
  border-radius: 2px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1.5px solid rgba(230, 182, 92, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.footer-brand-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer-brand-sub {
  color: var(--muted-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #C3D3E5;
  margin-bottom: 1.25rem;
}

.footer-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted-gold);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.footer-links-list li {
  margin-bottom: 0.7rem;
}

.footer-links-list a {
  color: #D3E0EA;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-list a:hover {
  color: var(--muted-gold);
  transform: translateX(4px);
}

.footer-links-list a i {
  font-size: 0.75rem;
  color: var(--muted-gold);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: #D3E0EA;
}

.footer-contact-list li i {
  color: var(--muted-gold);
  margin-top: 0.25rem;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: #D3E0EA;
}

.footer-contact-list a:hover {
  color: var(--muted-gold);
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: var(--navy-dark);
  padding: 1.25rem 0;
  font-size: 0.84rem;
  color: #A0B2C6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #A0B2C6;
}

.footer-legal-links a:hover {
  color: var(--muted-gold);
}

/* --------------------------------------------------------------------------
   15. Inner Pages Common (Banner, Breadcrumbs)
   -------------------------------------------------------------------------- */
.page-banner {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background-image: url('../images/campus-building.jpg?v=2');
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 3px solid var(--muted-gold);
}

.page-banner-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.page-banner .section-tag.gold {
  background: rgba(10, 31, 56, 0.85);
  border: 1px solid rgba(230, 182, 92, 0.6);
  color: var(--muted-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.page-title {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 4px 25px rgba(0, 0, 0, 0.9), 0 1px 3px #000;
}

.page-description {
  font-size: 1.05rem;
  color: #FFFFFF;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 4px 16px rgba(0, 0, 0, 0.9), 0 1px 3px #000;
}

.breadcrumb-nav {
  margin-top: 1.25rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.breadcrumb-list a {
  color: var(--muted-gold);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #FFFFFF;
  font-size: 0.75rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

/* --------------------------------------------------------------------------
   16. About Us Page Styles
   -------------------------------------------------------------------------- */
.leadership-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.leadership-avatar {
  width: 170px;
  height: 170px;
  border-radius: var(--radius-full);
  background: var(--light-grey);
  border: 4px solid var(--muted-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.leadership-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadership-avatar-placeholder {
  color: var(--secondary-blue);
  font-size: 4rem;
}

.leadership-info h3 {
  font-size: 1.45rem;
  color: var(--primary-navy);
}

.leadership-designation {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.leadership-message {
  font-size: 0.96rem;
  color: var(--main-text);
  line-height: 1.7;
}

.disclaimer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  background-color: var(--gold-light);
  color: #7A5506;
  border: 1px solid rgba(230, 182, 92, 0.4);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

/* Official Management & Higher Education Governance Grid */
.management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.management-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.management-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--muted-gold);
}

.management-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--muted-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-navy);
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(18, 52, 90, 0.1);
  overflow: hidden;
}

.management-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.management-role {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary-blue);
  margin-bottom: 0.4rem;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}

.management-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.management-dept {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.official-quote-box {
  background: rgba(230, 182, 92, 0.08);
  border-left: 4px solid var(--muted-gold);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.official-quote-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
  line-height: 1.7;
  font-weight: 500;
}

.official-quote-source {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.8rem;
  border-top: 4px solid var(--primary-navy);
}

.value-card.gold-top {
  border-top-color: var(--muted-gold);
}

.value-card.blue-top {
  border-top-color: var(--secondary-blue);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   17. Courses Page Styles (Filter & Structured Cards)
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--main-text);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  background: var(--light-grey);
  border-color: var(--primary-navy);
  color: var(--primary-navy);
}

.filter-btn.active {
  background: var(--primary-navy);
  border-color: var(--primary-navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(18, 52, 90, 0.2);
}

.course-item-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.course-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--muted-gold);
  box-shadow: var(--shadow-md);
}

.course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.course-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-ug {
  background: #EBF3FF;
  color: #1A56DB;
}

.badge-pg {
  background: #FDF2E9;
  color: #C05621;
}

.course-item-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--primary-navy);
}

.course-duration {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.course-subjects-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.course-sub-tag {
  background: var(--light-grey);
  color: var(--secondary-blue);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* Official Disclaimer Box */
.notice-box {
  background: var(--gold-light);
  border-left: 5px solid var(--muted-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.8rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-sm);
}

.notice-box h4 {
  color: #7A5506;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.notice-box p {
  color: #5D4307;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   18. Contact Us Page Styles & Form Validation
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info-panel {
  background: var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--border-light);
}

.contact-info-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.form-label .required-star {
  color: var(--error-red);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.96rem;
  color: var(--main-text);
  background-color: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--secondary-blue);
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-control.is-invalid {
  border-color: var(--error-red);
  background-color: #FFFDFD;
}

.form-control.is-valid {
  border-color: var(--success-green);
}

.error-message {
  display: none;
  font-size: 0.8rem;
  color: var(--error-red);
  margin-top: 0.35rem;
  font-weight: 500;
}

.error-message.is-visible {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Demonstration Notice Banner */
.demo-disclaimer {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
  color: #1E40AF;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.demo-disclaimer i {
  color: #2563EB;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Submission feedback notification */
.form-feedback-alert {
  display: none;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  animation: fadeIn 0.4s ease;
}

.form-feedback-alert.success {
  background-color: var(--success-bg);
  border: 1px solid #A5D6A7;
  color: #1B5E20;
}

.form-feedback-alert.error {
  background-color: var(--error-bg);
  border: 1px solid #FFCDD2;
  color: #B71C1C;
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-top: 3rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   19. Policy & Legal Content Layouts
   -------------------------------------------------------------------------- */
.policy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: clamp(2rem, 4vw, 3.5rem);
  max-width: 960px;
  margin: 0 auto;
}

.policy-card h2 {
  font-size: 1.45rem;
  color: var(--primary-navy);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.4rem;
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-card p {
  color: var(--main-text);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.policy-card ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.policy-card ul li {
  margin-bottom: 0.5rem;
  color: var(--main-text);
}

.policy-meta-bar {
  background: var(--light-grey);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.2rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   20. Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--primary-navy);
  color: var(--white);
  border: 2px solid var(--muted-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 999;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--muted-gold);
  color: var(--navy-dark);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   21. Animations & Micro-interactions
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   22. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .topbar-left {
    display: none;
  }

  .topbar .container {
    justify-content: center;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1010;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.75rem 2rem;
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
  }

  .main-nav.is-open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-subtle);
  }

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

  .nav-link.active {
    background-color: var(--light-grey);
    border-left: 4px solid var(--muted-gold);
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .floating-badge {
    bottom: -15px;
    right: 10px;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .leadership-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .leadership-avatar {
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.8rem;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .brand-emblem {
    width: 46px;
    height: 46px;
  }

  .contact-form-card {
    padding: 1.5rem 1.2rem;
  }
}

/* --------------------------------------------------------------------------
   24. Online Admission Form & Payment Gateway Modal
   -------------------------------------------------------------------------- */
.topbar-admission-btn {
  background: var(--muted-gold);
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.topbar-admission-btn:hover {
  background: var(--white);
  color: var(--primary-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(230, 182, 92, 0.4);
}

.topbar-admission-btn .btn-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c14121;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(193, 65, 33, 0.7);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(193, 65, 33, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(193, 65, 33, 0);
  }
}

/* Modal Backdrop */
.admission-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 56, 0.75);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admission-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.admission-modal-container {
  background: var(--white);
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-light);
}

.admission-modal-backdrop.is-open .admission-modal-container {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.admission-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.8rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.admission-header-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.admission-header-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.admission-header-brand h3 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.admission-header-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.admission-modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.admission-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Stepper */
.admission-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
}

.step-item.active {
  color: var(--primary-navy);
}

.step-item.completed {
  color: #059669;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-item.active .step-number {
  background: #0d6efd;
}

.step-item.completed .step-number {
  background: #059669;
}

.step-line {
  width: 60px;
  height: 2px;
  background: #cbd5e1;
  margin: 0 1rem;
}

.step-line.active {
  background: #0d6efd;
}

/* Body / Panes */
.admission-modal-body {
  padding: 1.8rem;
  overflow-y: auto;
  flex-grow: 1;
}

.admission-step-pane {
  display: none;
}

.admission-step-pane.is-active {
  display: block;
  animation: fadeInPane 0.3s ease;
}

@keyframes fadeInPane {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Grid - Matching User Screenshot */
.admission-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
}

.adm-field {
  display: flex;
  flex-direction: column;
}

.adm-field label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #334155;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.adm-field label .required {
  color: #dc3545;
}

.adm-input {
  width: 100%;
  padding: 0.62rem 0.85rem;
  font-size: 0.92rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  color: #212529;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  outline: none;
}

.adm-input:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.adm-input::placeholder {
  color: #6c757d;
  font-size: 0.88rem;
}

.file-input-wrapper {
  position: relative;
  width: 100%;
}

.adm-file-input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  font-size: 0.88rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background-color: #fff;
  color: #495057;
  cursor: pointer;
}

.adm-file-input::-webkit-file-upload-button {
  background: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
  font-size: 0.82rem;
  color: #212529;
  cursor: pointer;
  margin-right: 0.75rem;
  transition: background 0.2s;
}

.adm-file-input::-webkit-file-upload-button:hover {
  background: #e9ecef;
}

.adm-error-msg {
  color: #dc3545;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  min-height: 1.1em;
  display: none;
}

.adm-field.has-error .adm-input,
.adm-field.has-error .adm-file-input {
  border-color: #dc3545;
  background-color: #fff8f8;
}

.adm-field.has-error .adm-error-msg {
  display: block;
}

/* Actions matching Screenshot */
.admission-form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-adm-submit {
  background-color: #0d6efd;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-adm-submit:hover {
  background-color: #0b5ed7;
}

.btn-adm-reset {
  background-color: #6c757d;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-adm-reset:hover {
  background-color: #5c636a;
}

/* Payment Screen */
.payment-card-body {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.payment-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #d1fae5;
  color: #065f46;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.payment-title {
  font-size: 1.4rem;
  color: var(--primary-navy);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.payment-subtitle {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.fee-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: #475569;
}

.summary-divider {
  height: 1px;
  background: #cbd5e1;
  margin: 0.6rem 0;
}

.summary-row.total-row {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  padding-top: 0.6rem;
}

.total-amount {
  color: #0f5132;
  font-size: 1.35rem;
}

.payment-methods-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.pay-method-opt input {
  display: none;
}

.pay-method-card {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.9rem 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
}

.pay-method-card i {
  font-size: 1.4rem;
  color: #64748b;
}

.pay-method-card span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.pay-method-card small {
  font-size: 0.7rem;
  color: #94a3b8;
}

.pay-method-opt input:checked+.pay-method-card {
  border-color: #0d6efd;
  background: #f0f7ff;
}

.pay-method-opt input:checked+.pay-method-card i {
  color: #0d6efd;
}

.payment-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-pay-now {
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-pay-now:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-pay-back {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
}

/* Success Receipt Screen */
.payment-receipt-body {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}

.receipt-success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.25rem;
  animation: scaleSuccess 0.4s ease;
}

@keyframes scaleSuccess {
  from {
    transform: scale(0.6);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.receipt-card {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  text-align: left;
  margin: 1.5rem 0;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  font-size: 0.9rem;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.receipt-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-print-receipt {
  background: var(--primary-navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-modal {
  background: #64748b;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 680px) {
  .admission-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .payment-methods-selector {
    grid-template-columns: 1fr;
  }

  .admission-modal-header {
    padding: 1rem;
  }

  .admission-modal-body {
    padding: 1.2rem;
  }
}