/* ================================================
   HIMACHAL PRADESH UNIVERSITY – GREEN & WHITE THEME
   Professional Redesign 2025
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  /* ── Green Palette ── */
  --green-darkest:  #0a2e16;
  --green-dark:     #145228;
  --green:          #1b6b35;
  --green-mid:      #237a3d;
  --green-light:    #2e9950;
  --green-soft:     #d6f0de;
  --green-pale:     #f0faf3;

  /* ── Accents ── */
  --gold:           #c9961e;
  --gold-light:     #e8b83a;
  --saffron:        #e67c1b;

  /* ── Neutrals ── */
  --white:          #ffffff;
  --off-white:      #f7faf8;
  --light-gray:     #e8ede9;
  --mid-gray:       #7a8c7e;
  --dark-gray:      #2c3b2e;
  --text:           #1a2b1c;
  --border:         #c2d6c6;
  --shadow:         rgba(10,46,22,0.12);

  /* ── Typography ── */
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Source Sans 3', 'Segoe UI', sans-serif;

  --radius:         4px;
  --transition:     0.22s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
}

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); text-decoration: underline; }
img { max-width: 100%; }

/* ─────────────────────────────────────────
   TOP BAR
───────────────────────────────────────── */
.top-bar {
  background: var(--green-darkest);
  color: #a8d4b2;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 2px solid var(--gold);
}
.top-bar .inner {
  max-width: 1240px;
  margin: auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.top-bar a { color: #a8d4b2; }
.top-bar a:hover { color: var(--gold-light); text-decoration: none; }
.top-bar .links a { margin-left: 14px; }

/* ─────────────────────────────────────────
   SITE HEADER
───────────────────────────────────────── */
.site-header {
  background: linear-gradient(135deg, var(--green-darkest) 0%, var(--green-dark) 50%, var(--green) 100%);
  padding: 14px 0;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 18px rgba(10,46,22,0.35);
  position: relative;
  overflow: hidden;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.site-header .inner {
  max-width: 1240px;
  margin: auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.site-header .logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header .logo {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 16px rgba(0,0,0,0.35), 0 0 0 5px rgba(201,150,30,0.2);
}
.site-header .logo img { width: 94px; height: 94px; object-fit: cover; border-radius: 50%; }

.site-header .header-text { flex: 1; }
.site-header .univ-name {
  color: var(--green-soft);
  font-size: 12.5px;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  opacity: 0.9;
}
.site-header h1 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.site-header .tagline {
  color: var(--gold-light);
  font-size: 11.5px;
  margin-top: 5px;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

/* NAAC Badge */
.naac-badge {
  text-align: center;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid rgba(201,150,30,0.5);
  padding: 10px 18px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.2);
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}
.naac-badge .grade {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(201,150,30,0.5);
}

/* ─────────────────────────────────────────
   MAIN NAV
───────────────────────────────────────── */
.main-nav {
  background: var(--green-dark);
  border-bottom: 2px solid var(--green-mid);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 12px rgba(10,46,22,0.3);
}
.main-nav ul {
  list-style: none;
  max-width: 1240px;
  margin: auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 13px 18px;
  color: #d4edd9;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--white);
  background: var(--green-mid);
  border-bottom-color: var(--gold);
  text-decoration: none;
}
/* Dropdown */
.main-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--green-darkest);
  min-width: 210px;
  border: 1px solid var(--green-mid);
  border-top: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(10,46,22,0.4);
  z-index: 200;
  border-radius: 0 0 var(--radius) var(--radius);
}
.main-nav ul ul li a {
  display: block;
  padding: 9px 16px;
  color: #c5e0c9;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}
.main-nav ul ul li a:hover {
  color: var(--gold-light);
  background: rgba(255,255,255,0.07);
  padding-left: 22px;
  text-decoration: none;
}
.main-nav > ul > li:hover > ul { display: block; }

/* ─────────────────────────────────────────
   TICKER
───────────────────────────────────────── */
.ticker-bar {
  background: linear-gradient(90deg, var(--green-soft), #eaf5ec);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 32px;
}
.ticker-inner {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}
.ticker-bar .label {
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0 14px;
  height: 32px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  border-right: 2px solid var(--gold);
}
.ticker-content {
  overflow: hidden;
  flex: 1;
  padding: 0 16px;
}
.ticker-content span {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-size: 12.5px;
  color: var(--dark-gray);
}
.ticker-content a { color: var(--green-dark); font-weight: 500; }
@keyframes ticker {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.main-layout {
  max-width: 1240px;
  margin: 22px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}

/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

/* ─────────────────────────────────────────
   BOX / CARD
───────────────────────────────────────── */
.box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
  overflow: hidden;
}
.box-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 9px 14px;
  border-bottom: 2px solid var(--gold);
  font-family: var(--font-body);
  text-transform: uppercase;
}
.box-body { padding: 12px; }

/* ─────────────────────────────────────────
   NOTICE LIST
───────────────────────────────────────── */
.notice-list { list-style: none; }
.notice-list li {
  padding: 7px 0 7px 14px;
  border-bottom: 1px dashed var(--border);
  font-size: 12.5px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  position: relative;
}
.notice-list li::before {
  content: '›';
  color: var(--green);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 7px;
}
.notice-list li:last-child { border-bottom: none; }
.notice-list a { color: var(--text); }
.notice-list a:hover { color: var(--green-dark); }

/* ─────────────────────────────────────────
   BADGES
───────────────────────────────────────── */
.badge-new {
  background: var(--saffron);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   QUICK LINKS
───────────────────────────────────────── */
.quick-links { list-style: none; }
.quick-links li { border-bottom: 1px solid var(--light-gray); }
.quick-links li:last-child { border-bottom: none; }
.quick-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  color: var(--dark-gray);
  transition: all var(--transition);
}
.quick-links a::before {
  content: '▸';
  color: var(--green);
  font-size: 11px;
  flex-shrink: 0;
}
.quick-links a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
  padding-left: 18px;
  text-decoration: none;
}

/* ─────────────────────────────────────────
   BANNER SLIDER
───────────────────────────────────────── */
.banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px var(--shadow);
  height: 320px;
}
.slides { position: relative; height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: flex-end;
}
.slide.active { opacity: 1; }
.slide-content {
  background: linear-gradient(0deg, rgba(10,46,22,0.88) 0%, rgba(10,46,22,0.4) 70%, transparent 100%);
  width: 100%;
  padding: 28px 28px 22px;
}
.slide-content h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.slide-content p {
  color: #d0e8d4;
  font-size: 13px;
  line-height: 1.5;
  max-width: 560px;
}
.slide-prev, .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(21,82,40,0.75);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.slide-prev { left: 12px; }
.slide-next { right: 12px; }
.slide-prev:hover, .slide-next:hover { background: var(--green); }
.slide-nav {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
}
.slide-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slide-dot.active { background: var(--gold); transform: scale(1.2); }

/* ─────────────────────────────────────────
   STATS ROW
───────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.stat-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(10,46,22,0.25);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(10,46,22,0.3); }
.stat-card .num {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card .label {
  font-size: 11.5px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─────────────────────────────────────────
   ABOUT SNIPPET
───────────────────────────────────────── */
.about-snippet p {
  font-size: 13.5px;
  margin-bottom: 10px;
  line-height: 1.7;
  color: #3a4e3c;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green);
  color: var(--white) !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: background var(--transition);
  letter-spacing: 0.3px;
}
.read-more:hover { background: var(--green-dark); }

/* ─────────────────────────────────────────
   HIGHLIGHTS GRID
───────────────────────────────────────── */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.highlight-card {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  padding: 13px;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: box-shadow var(--transition);
}
.highlight-card:nth-child(2) { border-left-color: var(--gold); }
.highlight-card:nth-child(3) { border-left-color: var(--saffron); }
.highlight-card:nth-child(4) { border-left-color: var(--green-light); }
.highlight-card:hover { box-shadow: 0 3px 12px var(--shadow); }
.highlight-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 13px;
  margin-bottom: 4px;
}
.highlight-card p {
  font-size: 12px;
  color: #5a6e5c;
  line-height: 1.5;
}

/* ─────────────────────────────────────────
   EVENTS
───────────────────────────────────────── */
.events-grid { display: flex; flex-direction: column; gap: 10px; }
.event-card {
  display: flex;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--green-pale);
  transition: box-shadow var(--transition);
}
.event-card:hover { box-shadow: 0 2px 10px var(--shadow); }
.event-date {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  flex-shrink: 0;
  min-width: 52px;
  box-shadow: 0 2px 6px rgba(10,46,22,0.2);
}
.event-date .day {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.event-date .month { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.85; }
.event-info h4 { font-size: 13px; color: var(--green-dark); margin-bottom: 3px; font-weight: 600; }
.event-info p { font-size: 12px; color: #5a6e5c; }

/* ─────────────────────────────────────────
   DATA TABLE
───────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  background: var(--green-dark);
  color: var(--white);
  padding: 9px 12px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.data-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--light-gray);
  color: var(--dark-gray);
}
.data-table tr:nth-child(even) td { background: var(--green-pale); }
.data-table tr:hover td { background: var(--green-soft); }

/* ─────────────────────────────────────────
   CONTENT AREA
───────────────────────────────────────── */
.content-area { display: flex; flex-direction: column; gap: 16px; }

/* ─────────────────────────────────────────
   FORM ELEMENTS
───────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], select, textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,107,53,0.15);
}

.btn, button[type="submit"], .submit-btn {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover, button[type="submit"]:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ─────────────────────────────────────────
   RESULT / SEARCH
───────────────────────────────────────── */
.result-search-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
}
.result-search-box h2 {
  font-family: var(--font-display);
  color: var(--green-dark);
  font-size: 20px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ─────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 26px 0;
  border-bottom: 3px solid var(--gold);
}
.page-hero .inner {
  max-width: 1240px;
  margin: auto;
  padding: 0 16px;
}
.page-hero h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
}
.page-hero .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.page-hero .breadcrumb a { color: var(--gold-light); }

.page-content {
  max-width: 1240px;
  margin: 22px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}

/* ─────────────────────────────────────────
   SECTION HEADINGS
───────────────────────────────────────── */
.section-heading {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--green-dark);
  border-bottom: 2px solid var(--green-soft);
  padding-bottom: 8px;
  margin-bottom: 14px;
  position: relative;
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold);
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-info-card {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  padding: 16px;
  border-radius: var(--radius);
}
.contact-info-card h4 {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: linear-gradient(175deg, var(--green-darkest) 0%, #081f10 100%);
  margin-top: 36px;
  border-top: 3px solid var(--gold);
}
.footer-top {
  max-width: 1240px;
  margin: auto;
  padding: 36px 16px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer-col h4 {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,150,30,0.3);
}
.footer-col p { font-size: 12.5px; color: #90b895; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li {
  padding: 4px 0;
  font-size: 12.5px;
  color: #90b895;
}
.footer-col ul li a {
  color: #90b895;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-col ul li a::before { content: '›'; color: var(--green-light); }
.footer-col ul li a:hover { color: var(--gold-light); text-decoration: none; }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 12px 16px;
  font-size: 12px;
  color: #6a8a6e;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom a { color: var(--green-soft); }

/* ─────────────────────────────────────────
   ADMIN
───────────────────────────────────────── */
.admin-wrapper {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
}
.admin-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 3px solid var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-header h2 { font-family: var(--font-display); font-size: 20px; }
.admin-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  padding: 22px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.admin-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-nav a {
  padding: 8px 16px;
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--green-dark);
  font-weight: 500;
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  text-decoration: none;
}

/* ─────────────────────────────────────────
   ALERTS
───────────────────────────────────────── */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 14px;
  border-left: 4px solid;
}
.alert-success { background: #edf7f0; color: #1a5c2e; border-color: var(--green); }
.alert-error   { background: #fdf0f0; color: #7a1a1a; border-color: #c0392b; }
.alert-info    { background: var(--green-pale); color: var(--green-dark); border-color: var(--green-light); }

/* ─────────────────────────────────────────
   PAGINATION
───────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}
.pagination a, .pagination span {
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--green-dark);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--green); color: var(--white); border-color: var(--green); text-decoration: none; }
.pagination .current { background: var(--green); color: var(--white); border-color: var(--green); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 960px) {
  .main-layout, .page-content {
    grid-template-columns: 1fr;
  }
  .sidebar { order: 2; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .site-header h1 { font-size: 20px; }
  .naac-badge { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .main-nav > ul > li > a { padding: 10px 12px; font-size: 12.5px; }
  .banner-slider { height: 220px; }
  .slide-content h2 { font-size: 16px; }
  .highlights-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   RESULT CARD
───────────────────────────────────────── */
.result-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 12px var(--shadow);
}
.result-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}
.result-body { padding: 16px; background: var(--white); }

/* ─────────────────────────────────────────
   LOADING SPINNER
───────────────────────────────────────── */
#loading-spinner {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--green-dark);
  font-size: 13px;
  gap: 8px;
}
#loading-spinner::before {
  content: '';
  display: inline-block;
  width: 20px; height: 20px;
  border: 3px solid var(--green-soft);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────
   RESULT SEARCH FORM LAYOUT
───────────────────────────────────────── */
.search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.search-row input { flex: 1; }
.search-row button { flex-shrink: 0; }

/* ─────────────────────────────────────────
   ABOUT / INNER PAGE PROSE
───────────────────────────────────────── */
.prose-section { margin-bottom: 18px; }
.prose-section h3 {
  font-family: var(--font-display);
  color: var(--green-dark);
  font-size: 17px;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border);
}
.prose-section p {
  font-size: 13.5px;
  color: #3a4e3c;
  line-height: 1.75;
  margin-bottom: 8px;
}
.prose-section ul {
  padding-left: 18px;
  font-size: 13.5px;
  color: #3a4e3c;
  line-height: 1.8;
}

/* ─────────────────────────────────────────
   PROGRAMME / FEE CARDS
───────────────────────────────────────── */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.prog-card {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  padding: 14px;
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.prog-card:hover { box-shadow: 0 4px 14px var(--shadow); }
.prog-card h4 { color: var(--green-dark); font-size: 13.5px; margin-bottom: 4px; }
.prog-card p  { font-size: 12px; color: #5a6e5c; }

/* ─────────────────────────────────────────
   FACILITY CARDS
───────────────────────────────────────── */
.facility-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--green-pale);
  margin-bottom: 12px;
}
.facility-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}
.facility-info h4 { color: var(--green-dark); font-size: 14px; margin-bottom: 4px; font-weight: 600; }
.facility-info p  { font-size: 12.5px; color: #5a6e5c; line-height: 1.5; }

/* ─────────────────────────────────────────
   VISION/MISSION BOX
───────────────────────────────────────── */
.vm-box {
  border-left: 5px solid var(--green);
  background: linear-gradient(90deg, var(--green-pale) 0%, var(--white) 100%);
  padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 14px;
}
.vm-box.mission { border-left-color: var(--gold); }
.vm-box h4 {
  font-family: var(--font-display);
  color: var(--green-dark);
  font-size: 15px;
  margin-bottom: 6px;
}
.vm-box p { font-size: 13.5px; color: #3a4e3c; line-height: 1.7; }
