/* =============================================
   DR. RAM MANOHAR LOHIYA MAHAVIDYALAYA
   Main Stylesheet — Vintage + Modern Fusion
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Cinzel:wght@400;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --maroon: #8B1A1A;
  --maroon-dark: #6B1212;
  --maroon-light: #A52020;
  --navy: #1A2E6B;
  --navy-light: #2A3E8B;
  --gold: #C8A84B;
  --gold-light: #E2C97E;
  --cream: #F8F4EC;
  --cream-dark: #EDE6D6;
  --grey-btn: #6A7A8A;
  --grey-btn-dark: #4A5A6A;
  --text-dark: #1A1A1A;
  --text-mid: #3A3A3A;
  --text-light: #666;
  --border: #CCC0A0;
  --white: #FFFFFF;
  --shadow: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-deep: 0 4px 20px rgba(0,0,0,0.2);
  --font-head: 'Cinzel', serif;
  --font-body: 'Crimson Text', serif;
  --font-display: 'Playfair Display', serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--maroon); }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 18px; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--maroon-dark);
  color: #f0e8d8;
  font-size: 0.82rem;
  font-family: var(--font-body);
  border-bottom: 2px solid var(--gold);
}
.top-bar-inner {
  max-width: 1100px; margin: 0 auto; padding: 5px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.top-notice a { color: var(--gold-light); font-weight: 600; }
.top-actions { display: flex; gap: 16px; }
.top-actions a { color: #f0e8d8; font-size: 0.8rem; }
.top-actions a:hover { color: var(--gold-light); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: linear-gradient(135deg, var(--cream) 0%, #f2ead8 60%, var(--cream-dark) 100%);
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.site-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(200,168,75,0.04) 40px,
    rgba(200,168,75,0.04) 41px
  );
  pointer-events: none;
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo-wrap { display: flex; align-items: center; gap: 18px; }
.logo-emblem { flex-shrink: 0; }
.emblem-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px var(--maroon-dark), 0 4px 12px rgba(0,0,0,0.3);
}
.emblem-text {
  color: var(--gold-light); font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 700; letter-spacing: 2px;
}
.college-name {
  font-family: var(--font-head);
  font-size: 1.55rem; color: var(--maroon);
  font-weight: 700; line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 rgba(200,168,75,0.2);
}
.college-sub {
  font-family: var(--font-head);
  font-size: 0.9rem; color: var(--maroon-dark);
  margin-top: 2px; letter-spacing: 0.5px;
}
.affiliation {
  font-size: 0.88rem; color: var(--navy); margin-top: 4px;
}
.affiliation strong { color: var(--navy-light); }
.estd-badge {
  text-align: center; padding: 10px 18px;
  border: 2px solid var(--gold); border-radius: 4px;
  background: rgba(200,168,75,0.1);
}
.estd-badge span { display: block; font-size: 0.72rem; color: var(--text-light); font-family: var(--font-head); letter-spacing: 2px; }
.estd-badge strong { display: block; font-size: 1.5rem; color: var(--maroon); font-family: var(--font-head); }

/* =============================================
   NAVIGATION
   ============================================= */
.main-nav {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 100%);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.main-nav ul {
  display: flex; max-width: 1100px; margin: 0 auto;
  overflow-x: auto;
}
.main-nav ul li a {
  display: block; padding: 11px 16px;
  color: #e8dfc8; font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; white-space: nowrap;
  transition: all 0.25s;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: var(--maroon);
  color: var(--gold-light);
}
.main-nav ul li:first-child a { border-left: 1px solid rgba(255,255,255,0.1); }

/* =============================================
   HERO BANNER
   ============================================= */
.hero-banner {
  position: relative; min-height: 380px;
  background: linear-gradient(135deg, var(--navy-dark, #111e4a) 0%, var(--maroon-dark) 60%, var(--maroon) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,168,75,0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(26,46,107,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.hero-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 50px,
    rgba(200,168,75,0.03) 50px, rgba(200,168,75,0.03) 51px
  );
}
.hero-overlay {
  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='%23C8A84B' fill-opacity='0.04'%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");
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 40px 20px; max-width: 750px;
  animation: heroFade 1s ease both;
}
@keyframes heroFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-tagline {
  font-family: var(--font-head); font-size: 0.85rem;
  color: var(--gold); letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-heading {
  font-family: var(--font-display); font-size: 2.2rem;
  color: var(--white); font-weight: 700; line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 14px;
}
.hero-sub {
  font-size: 1.05rem; color: rgba(240,232,216,0.85);
  margin-bottom: 28px; font-style: italic;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 10px 26px;
  background: var(--maroon); color: var(--gold-light);
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 1px;
  text-transform: uppercase; border: 2px solid var(--gold);
  transition: all 0.25s; cursor: pointer;
}
.btn-primary:hover { background: var(--gold); color: var(--maroon-dark); }
.btn-outline {
  display: inline-block; padding: 10px 26px;
  background: transparent; color: var(--gold-light);
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 1px;
  text-transform: uppercase; border: 2px solid rgba(200,168,75,0.6);
  transition: all 0.25s;
}
.btn-outline:hover { background: rgba(200,168,75,0.15); color: var(--gold-light); }
.hero-scroll-hint {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  color: var(--gold); font-size: 1.4rem;
  animation: bounce 1.6s ease infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* =============================================
   QUICK LINKS (Reference style)
   ============================================= */
.quick-links-section {
  background: var(--cream-dark);
  border-top: 2px solid var(--border);
  border-bottom: 3px solid var(--gold);
  padding: 22px 0;
}
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.ql-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--grey-btn) 0%, var(--grey-btn-dark) 100%);
  color: var(--white);
  font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  transition: all 0.22s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.ql-btn:hover {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: var(--gold-light); transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.ql-arrow { font-size: 1.1rem; color: var(--gold-light); }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
  background: linear-gradient(90deg, var(--maroon-dark), var(--maroon), var(--maroon-dark));
  border-bottom: 3px solid var(--gold);
  padding: 18px 0;
}
.stats-grid {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.stat-item { text-align: center; padding: 0 20px; }
.stat-num {
  display: block; font-family: var(--font-head);
  font-size: 1.8rem; font-weight: 700; color: var(--gold-light);
}
.stat-label {
  display: block; font-size: 0.8rem; color: rgba(240,232,216,0.8);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.stat-divider { color: rgba(200,168,75,0.4); font-size: 2rem; }

/* =============================================
   HOME CONTENT AREA
   ============================================= */
.home-content { padding: 32px 0; }
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.main-col { display: flex; flex-direction: column; gap: 20px; }
.sidebar-col { display: flex; flex-direction: column; gap: 20px; }

/* Content Cards */
.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header-stripe {
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  padding: 10px 16px;
  border-bottom: 2px solid var(--gold);
}
.card-header-stripe h3 {
  color: var(--white); font-family: var(--font-head);
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.5px;
}
.card-body { padding: 16px; }
.card-body p { margin-bottom: 10px; font-size: 0.98rem; }

/* Welcome */
.welcome-card .card-header-stripe { background: linear-gradient(90deg, var(--maroon-dark), var(--maroon)); }

/* News List */
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item.new-badge { position: relative; }
.news-item.new-badge::before {
  content: 'NEW'; position: absolute; right: 0; top: 0;
  background: var(--maroon); color: var(--gold-light);
  font-size: 0.6rem; font-family: var(--font-head); padding: 2px 6px;
  border-radius: 2px; animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity: 0.6; } }
.news-date { min-width: 75px; font-size: 0.78rem; color: var(--maroon); font-weight: 600; font-family: var(--font-head); padding-top: 2px; }
.news-item a { font-size: 0.94rem; color: var(--navy); line-height: 1.4; }
.news-item a:hover { color: var(--maroon); }

/* Download List */
.download-list { display: flex; flex-direction: column; gap: 8px; }
.dl-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: var(--cream); border: 1px solid var(--border);
  font-size: 0.9rem; color: var(--navy);
  transition: all 0.2s; border-radius: 2px;
}
.dl-link:hover { background: var(--navy); color: var(--gold-light); transform: translateX(4px); }
.dl-icon { font-size: 1rem; }

/* Read More Link */
.read-more-link {
  display: inline-block; margin-top: 10px;
  font-size: 0.85rem; font-family: var(--font-head); font-weight: 600;
  color: var(--maroon); border-bottom: 1px solid var(--gold);
  padding-bottom: 1px; letter-spacing: 0.3px;
}
.read-more-link:hover { color: var(--navy); }

/* Principal */
.principal-profile { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.profile-avatar { font-size: 2.5rem; background: var(--cream-dark); width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--gold); }
.profile-info strong { display: block; font-family: var(--font-head); font-size: 0.88rem; color: var(--maroon); }
.profile-info span { font-size: 0.8rem; color: var(--text-light); }
.principal-quote { font-style: italic; font-size: 0.95rem; color: var(--text-mid); border-left: 3px solid var(--gold); padding-left: 10px; }

/* Important Links */
.imp-links { display: flex; flex-direction: column; gap: 4px; }
.imp-links li a {
  display: block; padding: 6px 8px;
  font-size: 0.88rem; color: var(--navy);
  border-bottom: 1px dashed var(--border);
  transition: all 0.2s;
}
.imp-links li a:hover { color: var(--maroon); padding-left: 14px; }
.imp-links li:last-child a { border-bottom: none; }

/* Events */
.event-item { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.event-item:last-child { border-bottom: none; }
.event-date-box {
  text-align: center; background: var(--maroon); color: var(--white);
  min-width: 44px; padding: 6px 8px; border-radius: 3px;
  border-bottom: 3px solid var(--gold);
}
.ev-day { display: block; font-size: 1.3rem; font-weight: 700; font-family: var(--font-head); line-height: 1; }
.ev-mon { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-light); }
.event-detail strong { display: block; font-size: 0.9rem; color: var(--navy); }
.event-detail span { font-size: 0.8rem; color: var(--text-light); }

/* Ticker */
.ticker-wrap { overflow: hidden; max-height: 140px; }
.ticker-content p {
  font-size: 0.88rem; padding: 6px 0; border-bottom: 1px dashed var(--border);
  color: var(--text-mid); animation: none;
}
.ticker-content p:last-child { border-bottom: none; }

/* =============================================
   COURSES HIGHLIGHT
   ============================================= */
.courses-highlight {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  padding: 36px 0;
}
.section-title-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.section-title-bar h2 {
  font-family: var(--font-head); font-size: 1.25rem;
  color: var(--maroon); letter-spacing: 1px;
}
.see-all { font-family: var(--font-head); font-size: 0.78rem; color: var(--navy); border: 1px solid var(--navy); padding: 5px 12px; transition: all 0.2s; }
.see-all:hover { background: var(--navy); color: var(--gold-light); }
.courses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.course-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 20px 16px; text-align: center;
  border-top: 4px solid var(--maroon);
  transition: all 0.25s; box-shadow: var(--shadow);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); border-top-color: var(--gold); }
.course-icon { font-size: 2rem; margin-bottom: 10px; }
.course-card h4 { font-family: var(--font-head); font-size: 1.1rem; color: var(--maroon); margin-bottom: 4px; }
.course-card p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 6px; }
.course-subs { font-size: 0.78rem !important; color: var(--text-light) !important; font-style: italic; }

/* =============================================
   FOUNDER SECTION
   ============================================= */
.founder-section {
  background: linear-gradient(135deg, var(--navy-dark, #0d1835) 0%, var(--navy) 100%);
  padding: 48px 0;
  position: relative; overflow: hidden;
}
.founder-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 60px,
    rgba(200,168,75,0.03) 60px, rgba(200,168,75,0.03) 61px
  );
}
.founder-inner {
  display: flex; gap: 40px; align-items: center;
  position: relative; z-index: 2;
}
.founder-photo-box { flex-shrink: 0; }
.founder-photo-placeholder {
  width: 180px; height: 220px;
  background: rgba(255,255,255,0.05);
  border: 3px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--gold-light);
}
.founder-photo-placeholder p { font-family: var(--font-head); font-size: 0.8rem; color: var(--gold-light); margin-top: 10px; text-align: center; letter-spacing: 1px; }
.founder-text { flex: 1; }
.founder-text h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--gold-light); margin-bottom: 10px; }
.ornament { color: var(--gold); letter-spacing: 8px; margin-bottom: 14px; font-size: 0.9rem; }
.founder-text p { color: rgba(240,232,216,0.85); font-size: 0.98rem; margin-bottom: 12px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--maroon-dark); }
.footer-top { border-bottom: 2px solid rgba(200,168,75,0.3); padding: 36px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.88rem; color: var(--gold-light); letter-spacing: 1px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(200,168,75,0.3); }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: rgba(240,232,216,0.75); font-size: 0.88rem; transition: all 0.2s; }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-col p { color: rgba(240,232,216,0.75); font-size: 0.88rem; margin-bottom: 6px; }
.footer-affil { font-family: var(--font-head); color: var(--gold-light); font-size: 1rem; }
.footer-bottom { padding: 16px 0; }
.footer-bottom-inner { text-align: center; }
.footer-links { margin-bottom: 8px; }
.footer-links a { color: rgba(240,232,216,0.65); font-size: 0.8rem; margin: 0 4px; }
.footer-links a:hover { color: var(--gold-light); }
.copyright { color: rgba(240,232,216,0.5); font-size: 0.78rem; }

/* =============================================
   INNER PAGE SHARED STYLES
   ============================================= */
.page-banner {
  background: linear-gradient(135deg, var(--navy-dark, #111e4a) 0%, var(--maroon-dark) 100%);
  padding: 36px 0; text-align: center;
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.page-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 40px,
    rgba(200,168,75,0.03) 40px, rgba(200,168,75,0.03) 41px
  );
}
.page-banner h1 {
  font-family: var(--font-head); font-size: 1.8rem;
  color: var(--gold-light); position: relative; z-index: 1;
  letter-spacing: 2px;
}
.breadcrumb {
  font-size: 0.82rem; color: rgba(240,232,216,0.6);
  margin-top: 8px; position: relative; z-index: 1;
}
.breadcrumb a { color: var(--gold); }
.page-content { padding: 36px 0; }
.page-two-col { display: grid; grid-template-columns: 1fr 300px; gap: 28px; }
.section-divider { border: none; border-top: 2px solid var(--border); margin: 24px 0; }
.section-head {
  font-family: var(--font-head); font-size: 1.1rem;
  color: var(--maroon); margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--gold); display: inline-block;
}

/* Table Style */
.styled-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.92rem;
}
.styled-table thead { background: var(--navy); color: var(--white); }
.styled-table th { padding: 10px 14px; font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.5px; text-align: left; }
.styled-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); }
.styled-table tbody tr:nth-child(even) { background: var(--cream); }
.styled-table tbody tr:hover { background: rgba(26,46,107,0.05); }

/* Profile Grid */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 20px; text-align: center;
  border-top: 4px solid var(--navy);
  box-shadow: var(--shadow); transition: all 0.25s;
}
.profile-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-deep); }
.profile-card .avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--cream-dark); margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; border: 3px solid var(--gold);
}
.profile-card h4 { font-family: var(--font-head); font-size: 0.92rem; color: var(--maroon); margin-bottom: 4px; }
.profile-card p { font-size: 0.82rem; color: var(--text-light); }
.profile-card .dept { font-size: 0.8rem; color: var(--navy); font-style: italic; margin-top: 4px; }

/* Gallery Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item {
  aspect-ratio: 4/3; background: var(--cream-dark);
  border: 2px solid var(--border); overflow: hidden;
  position: relative; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.gallery-item:hover { border-color: var(--gold); transform: scale(1.02); }
.gallery-item .gallery-icon { font-size: 2.5rem; }
.gallery-item .gallery-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.7); color: var(--white);
  font-size: 0.78rem; padding: 6px 10px; text-align: center;
  transform: translateY(100%); transition: 0.3s;
}
.gallery-item:hover .gallery-cap { transform: translateY(0); }

/* Accordion */
.accordion-item { border: 1px solid var(--border); margin-bottom: 8px; border-radius: 2px; overflow: hidden; }
.accordion-header {
  background: var(--cream-dark); padding: 13px 16px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-size: 0.88rem; color: var(--navy);
  transition: all 0.2s;
}
.accordion-header:hover { background: var(--navy); color: var(--white); }
.accordion-header.active { background: var(--maroon); color: var(--gold-light); }
.accordion-body { display: none; padding: 14px 16px; font-size: 0.95rem; }
.accordion-body.open { display: block; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-family: var(--font-head); font-size: 0.8rem; color: var(--text-mid); letter-spacing: 0.5px; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--navy); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
  padding: 12px 28px; background: var(--maroon);
  color: var(--gold-light); border: 2px solid var(--gold);
  font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 1px;
  cursor: pointer; transition: all 0.25s; text-transform: uppercase;
}
.btn-submit:hover { background: var(--navy); }

/* Map box */
.map-box {
  background: var(--cream-dark); border: 2px solid var(--border);
  padding: 20px; text-align: center; min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.map-box .map-icon { font-size: 3rem; margin-bottom: 10px; }

/* Info boxes */
.info-box {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--maroon); padding: 14px 16px;
  margin-bottom: 14px;
}
.info-box h4 { font-family: var(--font-head); font-size: 0.9rem; color: var(--maroon); margin-bottom: 6px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .two-col, .page-two-col { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-inner { flex-direction: column; text-align: center; }
  .founder-photo-placeholder { margin: 0 auto; }
  .college-name { font-size: 1.2rem; }
  .hero-heading { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .header-inner { flex-direction: column; gap: 12px; text-align: center; }
  .logo-wrap { flex-direction: column; align-items: center; }
  .courses-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .quick-links-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; }
  .stat-divider { display: none; }
}

/* =============================================
   HAMBURGER MENU & MOBILE NAV
   ============================================= */
.nav-inner-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav ul {
  max-width: none;
  margin: 0;
  flex: 1;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
}
.mobile-nav-overlay.open { display: block; }

/* Mobile Nav Panel */
.mobile-nav-panel {
  position: fixed;
  top: 0; left: 0;
  width: 270px;
  height: 100vh;
  background: var(--navy);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding-bottom: 40px;
  border-right: 3px solid var(--gold);
}
.mobile-nav-panel.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--maroon);
  border-bottom: 2px solid var(--gold);
}
.mobile-nav-header .brand {
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.mobile-close-btn {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}
.mobile-nav-panel ul {
  list-style: none;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-panel ul li a {
  display: block;
  padding: 13px 22px;
  color: rgba(240,232,216,0.85);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-panel ul li a:hover,
.mobile-nav-panel ul li a.active {
  background: var(--maroon);
  color: var(--gold-light);
}

/* =============================================
   HERO SLIDER (replaces static hero-banner)
   ============================================= */
.hero-slider {
  position: relative;
  height: 460px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }

.slide-1 {
  background-image:
    linear-gradient(135deg, rgba(17,30,74,0.72) 0%, rgba(107,18,18,0.65) 100%),
    url('/images/img6.jpeg');
}
.slide-2 {
  background-image:
    linear-gradient(135deg, rgba(107,18,18,0.68) 0%, rgba(17,30,74,0.72) 100%),
    url('/images/img3.jpeg');
}
.slide-3 {
  background-image:
    linear-gradient(135deg, rgba(17,30,74,0.75) 0%, rgba(80,40,10,0.65) 100%),
    url('/images/img5.jpeg');
}
.slide-4 {
  background-image:
    linear-gradient(135deg, rgba(10,50,30,0.72) 0%, rgba(17,30,74,0.72) 100%),
    url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=1400&q=80');
}

/* Slider hero content */
.hero-slider .hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  animation: none; /* override old heroFade */
}

/* Slider prev/next buttons */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.38);
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold-light);
  font-size: 1.5rem;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
}
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-prev:hover, .slider-next:hover { background: var(--maroon); }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.slider-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* =============================================
   GALLERY STRIP (homepage campus photos)
   ============================================= */
.gallery-strip {
  padding: 40px 0;
  background: var(--cream-dark);
  border-top: 3px solid var(--gold);
}
.gallery-strip .section-title-bar { margin-bottom: 20px; }
.gallery-strip .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  position: relative;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-thumb:hover img { transform: scale(1.06); }
.gallery-thumb-overlay {
  position: absolute; inset: 0;
  background: rgba(26,46,107,0.5);
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  transition: opacity 0.3s;
}
.gallery-thumb:hover .gallery-thumb-overlay { opacity: 1; }

/* Profile avatar image support */
.profile-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.founder-photo-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Welcome card image */
.welcome-img-wrap {
  margin: 10px 0 14px;
  border: 2px solid var(--border);
  overflow: hidden;
}
.welcome-img-wrap img {
  width: 100%; height: 190px;
  object-fit: cover;
  display: block;
}

/* =============================================
   RESPONSIVE — HAMBURGER SHOW/HIDE
   ============================================= */
@media (max-width: 920px) {
  .main-nav ul { display: none; }
  .hamburger-btn { display: flex; }
  .hero-slider { height: 380px; }
  .gallery-strip .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-slider { height: 320px; }
  .hero-heading { font-size: 1.5rem !important; }
  .hero-sub { font-size: 0.9rem !important; }
  .slider-prev, .slider-next { padding: 8px 10px; font-size: 1.1rem; }
  .gallery-strip .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .top-bar-inner { flex-direction: column; align-items: flex-start; gap: 2px; }
}
