/* ============================================================
   GCETTB – Complete Stylesheet v3
   All bugs fixed, fully responsive (mobile / tablet / desktop)
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --navy:        #0f1c3f;
  --navy-mid:    #162645;
  --navy-light:  #1a2d5a;
  --gold:        #e8a020;
  --gold-light:  #f5b535;
  --white:       #ffffff;
  --off-white:   #f7f8fb;
  --gray-50:     #f9fafb;
  --gray-100:    #f1f3f6;
  --gray-200:    #e2e6ed;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --red:         #ef4444;
  --green:       #10b981;
  --blue:        #3b82f6;
  --text:        #2d3748;
  --shadow-xs:   0 1px 3px rgba(0,0,0,0.07);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow:      0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 36px rgba(0,0,0,0.13);
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   18px;
  --transition:  all 0.25s ease;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ticker-h:    38px;
  --nav-h:       68px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: calc(var(--ticker-h) + var(--nav-h));
}
body.no-ticker { padding-top: var(--nav-h); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--font-body); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }

/* ── ANNOUNCEMENT TICKER ────────────────────────────────────── */
.ticker-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ticker-h);
  background: var(--gold);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ticker-label {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  gap: 6px;
}
.ticker-content { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; }
.ticker-items {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerScroll 45s linear infinite;
}
.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--navy); padding: 0 12px; }
.ticker-item a { color: var(--navy); }
.ticker-item a:hover { text-decoration: underline; }
.ticker-sep { opacity: 0.4; padding: 0 10px; }
.ticker-new {
  background: var(--navy);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  animation: blink 1.4s step-start infinite;
}
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: var(--ticker-h);
  left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(15, 28, 63, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
/* Brand / Logo */
.nav-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(232,160,32,0.5);
  background: rgba(255,255,255,0.1);
}
.nav-logo-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(232,160,32,0.15);
  border: 2px solid rgba(232,160,32,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-head);
}
.brand-text { display: flex; flex-direction: column; }
.brand-short { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: 0.5px; }
.brand-full { font-size: 0.62rem; color: rgba(255,255,255,0.5); font-weight: 500; letter-spacing: 0.3px; margin-top: 2px; display: none; }
.brand-tagline { font-size: 0.58rem; color: rgba(255,255,255,0.4); font-weight: 400; margin-top: 1px; display: block; letter-spacing: 0.3px; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: nowrap;
  overflow: hidden;
}
.nav-links li a {
  display: block;
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
  background: rgba(232,160,32,0.12);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  z-index: 1200;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
}
.nav-overlay.open { display: block; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  justify-content: center;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-lg { padding: 14px 32px; font-size: 0.95rem; }
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* ── SECTION HEADERS ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.2; }
.section-header h2 span { color: var(--gold); }
.section-header p { color: var(--gray-500); font-size: 0.97rem; max-width: 560px; margin: 0 auto; }
.section-divider { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 14px auto 0; }
.section-header.left { text-align: left; }
.section-header.left .section-divider { margin-left: 0; }

/* ── ALERTS ──────────────────────────────────────────────────── */
.alert { padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.88rem; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.alert-success { background: rgba(16,185,129,0.1); color: #065f46; border: 1px solid rgba(16,185,129,0.25); }
.alert-error { background: rgba(239,68,68,0.08); color: #991b1b; border: 1px solid rgba(239,68,68,0.2); }
.alert-info { background: rgba(59,130,246,0.08); color: #1e40af; border: 1px solid rgba(59,130,246,0.2); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--ticker-h) - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  overflow: hidden;
  margin-top: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,63,0.55) 0%, rgba(15,28,63,0.88) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 0 20px; }
.hero-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero h1 { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 18px; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.78); font-style: italic; font-family: var(--font-head); margin-bottom: 38px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; animation: bounce 2s infinite; }
.hero-scroll-dot { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 20px; display: flex; align-items: flex-start; justify-content: center; padding-top: 7px; }
.hero-scroll-dot::after { content: ''; width: 4px; height: 8px; background: var(--gold); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar { background: var(--navy); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-item .stat-number { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-item .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ── GENERIC CARD ────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--gray-200); box-shadow: var(--shadow-xs); transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon { width: 50px; height: 50px; background: rgba(232,160,32,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; color: var(--gold); }
.card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }

/* ── ABOUT SECTION ───────────────────────────────────────────── */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 52px; }
.about-text h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.about-text p { color: var(--gray-700); margin-bottom: 14px; font-size: 0.94rem; line-height: 1.8; }
.about-image { position: relative; }
.about-image > img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.about-placeholder { width: 100%; height: 320px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.2); font-size: 4rem; }
.about-image-badge { position: absolute; bottom: -18px; right: -18px; background: var(--gold); color: var(--navy); padding: 16px 20px; border-radius: var(--radius); text-align: center; font-weight: 700; box-shadow: var(--shadow); }
.about-image-badge .year { font-size: 1.8rem; line-height: 1; font-family: var(--font-head); }
.about-image-badge .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.about-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ── DEPARTMENTS ─────────────────────────────────────────────── */
.departments-section { background: var(--off-white); }
.departments-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.dept-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--gray-200); transition: var(--transition); position: relative; overflow: hidden; }
.dept-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: var(--transition); }
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dept-card:hover::before { transform: scaleX(1); }
.dept-icon { width: 50px; height: 50px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.3rem; }
.dept-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.dept-card p { font-size: 0.84rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px; }
.dept-link { font-size: 0.82rem; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: 5px; transition: var(--transition); }
.dept-link:hover { gap: 10px; }

/* ── HOME 3-COL SECTION (Notices / Quick Links / Events) ──────── */
.home-info-section { background: var(--off-white); padding: 72px 0; }
.home-info-grid {
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  gap: 28px;
  align-items: start;
}
.info-panel { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); overflow: hidden; }
.info-panel-header {
  background: var(--navy);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.info-panel-header h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--white); }
.info-panel-header a { font-size: 0.75rem; color: var(--gold); font-weight: 600; white-space: nowrap; }
.info-panel-body { padding: 0; }

/* Quick Links panel */
.quick-link-item { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--gray-100); transition: var(--transition); }
.quick-link-item:last-child { border-bottom: none; }
.quick-link-item:hover { background: var(--gray-50); }
.quick-link-item::before { content: '▶'; color: var(--gold); font-size: 0.6rem; flex-shrink: 0; }
.quick-link-item a { font-size: 0.83rem; font-weight: 500; color: var(--navy); transition: var(--transition); }
.quick-link-item:hover a { color: var(--gold); }

/* Notice items in home */
.home-notice-item { padding: 12px 18px; border-bottom: 1px solid var(--gray-100); }
.home-notice-item:last-child { border-bottom: none; }
.home-notice-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.home-notice-date { font-size: 0.72rem; color: var(--gray-400); }
.home-notice-title { font-size: 0.86rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.home-notice-title a { color: inherit; }
.home-notice-title a:hover { color: var(--gold); }
.home-notice-pdf { font-size: 0.72rem; color: var(--red); font-weight: 600; margin-top: 3px; display: inline-flex; align-items: center; gap: 3px; }

/* Event items in home */
.home-event-item { display: flex; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--gray-100); align-items: flex-start; }
.home-event-item:last-child { border-bottom: none; }
.event-date-mini { min-width: 42px; height: 42px; background: var(--navy); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.event-date-mini .d { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--white); line-height: 1; }
.event-date-mini .m { font-size: 0.58rem; color: var(--gold); text-transform: uppercase; margin-top: 2px; }
.home-event-title { font-size: 0.83rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.home-event-venue { font-size: 0.72rem; color: var(--gray-400); margin-top: 3px; }

/* notice badges */
.notice-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.badge-event    { background: rgba(59,130,246,0.12); color: #1d4ed8; }
.badge-result   { background: rgba(16,185,129,0.12); color: #065f46; }
.badge-exam     { background: rgba(245,158,11,0.12); color: #92400e; }
.badge-notice   { background: rgba(107,114,128,0.12); color: #374151; }
.badge-admission{ background: rgba(167,139,250,0.12); color: #5b21b6; }
.badge-announcement { background: rgba(59,130,246,0.12); color: #1d4ed8; }
.badge-circular { background: rgba(16,185,129,0.12); color: #065f46; }
.badge-tender   { background: rgba(239,68,68,0.12); color: #991b1b; }

/* ── ADMISSIONS ───────────────────────────────────────────────── */
.admissions-section { background: var(--navy); }
.admissions-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 44px; }
.adm-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px 24px; transition: var(--transition); }
.adm-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-3px); }
.adm-card-icon { width: 46px; height: 46px; background: rgba(232,160,32,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.adm-card-icon svg { width: 22px; height: 22px; color: var(--gold); }
.adm-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.adm-card ul, .adm-card ol { padding-left: 0; }
.adm-card ul li { font-size: 0.84rem; color: rgba(255,255,255,0.72); padding: 4px 0; display: flex; gap: 8px; }
.adm-card ul li::before { content: '•'; color: var(--gold); flex-shrink: 0; }
.adm-card ol { padding-left: 18px; }
.adm-card ol li { font-size: 0.84rem; color: rgba(255,255,255,0.72); padding: 4px 0; }
.admissions-cta { text-align: center; }

/* ── FACILITIES ───────────────────────────────────────────────── */
.facilities-section { background: var(--off-white); }
.facilities-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.facility-card { background: var(--white); border-radius: var(--radius); padding: 24px 16px; text-align: center; border: 1px solid var(--gray-200); transition: var(--transition); }
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.facility-icon { width: 52px; height: 52px; background: rgba(232,160,32,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.facility-icon svg { width: 24px; height: 24px; color: var(--gold); }
.facility-card h4 { font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.facility-card p { font-size: 0.75rem; color: var(--gray-500); line-height: 1.5; }

/* ── FACULTY ──────────────────────────────────────────────────── */
.faculty-section { background: var(--white); }
.faculty-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.faculty-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); }
.faculty-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.faculty-card-img { height: 170px; background: var(--navy-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.faculty-card-img img { width: 100%; height: 100%; object-fit: cover; }
.faculty-avatar { width: 68px; height: 68px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--white); }
.faculty-info { padding: 16px; }
.faculty-info h4 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.faculty-designation { font-size: 0.78rem; font-weight: 600; color: var(--gold); margin-bottom: 3px; }
.faculty-dept { font-size: 0.75rem; color: var(--gray-400); }

/* Faculty page grid */
.faculty-page-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.faculty-page-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); text-align: center; }
.faculty-page-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.faculty-page-img { height: 170px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.faculty-page-img img { width: 100%; height: 100%; object-fit: cover; }
.faculty-page-avatar { width: 76px; height: 76px; background: rgba(255,255,255,0.15); border: 3px solid rgba(232,160,32,0.45); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--white); }
.faculty-page-info { padding: 18px 16px; }
.faculty-page-info h4 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.faculty-page-info .desig { font-size: 0.78rem; font-weight: 600; color: var(--gold); margin-bottom: 3px; }
.faculty-page-info .dept { font-size: 0.75rem; color: var(--gray-400); }
.faculty-cv-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 0.74rem; font-weight: 600; color: var(--gold); border: 1px solid rgba(232,160,32,0.4); padding: 4px 10px; border-radius: 4px; margin-top: 8px; transition: var(--transition); }
.faculty-cv-btn:hover { background: var(--gold); color: var(--navy); }
.faculty-dept-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.dept-filter-btn { padding: 7px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; cursor: pointer; border: 2px solid var(--gray-200); background: var(--white); color: var(--gray-700); transition: var(--transition); text-decoration: none; }
.dept-filter-btn:hover, .dept-filter-btn.active { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ── CLUBS SECTION ────────────────────────────────────────────── */
.clubs-section { background: var(--white); }
.clubs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.club-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); text-align: center; }
.club-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.club-logo { height: 130px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.club-logo img { width: 80px; height: 80px; object-fit: contain; border-radius: 50%; border: 3px solid rgba(232,160,32,0.4); background: rgba(255,255,255,0.1); }
.club-logo-placeholder { width: 72px; height: 72px; background: rgba(232,160,32,0.15); border-radius: 50%; border: 3px solid rgba(232,160,32,0.35); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.club-info { padding: 18px 16px; }
.club-info h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.club-type { font-size: 0.72rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.club-desc { font-size: 0.78rem; color: var(--gray-500); line-height: 1.5; margin-bottom: 12px; }
.club-link-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 600; color: var(--navy); border: 1.5px solid var(--navy); padding: 5px 14px; border-radius: 20px; transition: var(--transition); }
.club-link-btn:hover { background: var(--navy); color: var(--white); }

/* ── NOTICES PAGE ─────────────────────────────────────────────── */
.notices-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn { padding: 7px 18px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; cursor: pointer; border: 2px solid var(--gray-200); background: var(--white); color: var(--gray-700); transition: var(--transition); text-decoration: none; }
.filter-btn:hover, .filter-btn.active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.notice-card { background: var(--white); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--gray-200); display: flex; gap: 16px; align-items: flex-start; transition: var(--transition); margin-bottom: 12px; }
.notice-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.notice-important { border-left: 3px solid var(--gold) !important; }
.notice-card-icon { width: 44px; height: 44px; background: rgba(232,160,32,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notice-card-icon svg { width: 20px; height: 20px; color: var(--gold); }
.notice-card-content { flex: 1; min-width: 0; }
.notice-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.notice-card-date { font-size: 0.76rem; color: var(--gray-400); }
.notice-card-title { font-size: 0.96rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.notice-card-desc { font-size: 0.83rem; color: var(--gray-500); line-height: 1.6; }
.notice-pdf-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 0.76rem; font-weight: 600; color: var(--red); border: 1px solid rgba(239,68,68,0.3); padding: 4px 10px; border-radius: 4px; margin-top: 8px; transition: var(--transition); }
.notice-pdf-btn:hover { background: var(--red); color: var(--white); }

/* ── EVENTS ───────────────────────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.event-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); display: flex; transition: var(--transition); }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.event-date-block { background: var(--navy); color: var(--white); min-width: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 12px; flex-shrink: 0; }
.event-date-block .day { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.event-date-block .mon { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-top: 3px; }
.event-date-block .yr { font-size: 0.65rem; color: rgba(255,255,255,0.45); margin-top: 1px; }
.event-body { padding: 18px 20px; flex: 1; }
.event-type-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 7px; }
.type-technical { background: rgba(59,130,246,0.1); color: #1d4ed8; }
.type-cultural { background: rgba(167,139,250,0.1); color: #5b21b6; }
.type-sports { background: rgba(16,185,129,0.1); color: #065f46; }
.type-academic { background: rgba(245,158,11,0.1); color: #92400e; }
.type-placement { background: rgba(239,68,68,0.1); color: #991b1b; }
.type-other { background: var(--gray-100); color: var(--gray-700); }
.event-body h3 { font-family: var(--font-head); font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.event-body p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; margin-bottom: 6px; }
.event-venue { font-size: 0.74rem; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }

/* ── TENDERS ──────────────────────────────────────────────────── */
.tender-card { background: var(--white); border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--gray-200); margin-bottom: 14px; display: flex; gap: 18px; align-items: flex-start; transition: var(--transition); }
.tender-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.tender-ref { font-size: 0.74rem; color: var(--gray-400); margin-bottom: 4px; font-family: monospace; }
.tender-title { font-size: 0.97rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.tender-desc { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 12px; line-height: 1.5; }
.tender-dates { display: flex; gap: 24px; flex-wrap: wrap; }
.tender-date-item span { display: block; font-size: 0.68rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; }
.tender-date-item strong { font-size: 0.84rem; color: var(--navy); }
.tender-expired { opacity: 0.55; }

/* ── GALLERY ──────────────────────────────────────────────────── */
.gallery-section { background: var(--off-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery-page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--gray-200); position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15,28,63,0.82)); opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 14px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: var(--white); font-size: 0.82rem; font-weight: 500; }
.gallery-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.2); font-size: 2.5rem; }

/* ── MAGAZINE ─────────────────────────────────────────────────── */
.magazine-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.magazine-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); }
.magazine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.magazine-cover { height: 220px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.magazine-cover img { width: 100%; height: 100%; object-fit: cover; }
.magazine-cover-placeholder { color: rgba(255,255,255,0.2); font-size: 3.5rem; }
.magazine-year-badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: var(--navy); font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 4px; }
.magazine-info { padding: 18px; }
.magazine-info h3 { font-family: var(--font-head); font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.magazine-edition { font-size: 0.78rem; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.magazine-desc { font-size: 0.8rem; color: var(--gray-500); line-height: 1.5; margin-bottom: 14px; }

/* ── FACILITIES PAGE ──────────────────────────────────────────── */
.labs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.lab-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); }
.lab-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lab-img { height: 150px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.2); font-size: 2.5rem; overflow: hidden; }
.lab-img img { width: 100%; height: 100%; object-fit: cover; }
.lab-info { padding: 18px; }
.lab-dept-tag { font-size: 0.7rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }
.lab-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; font-family: var(--font-head); }
.lab-info p { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 8px; line-height: 1.55; }
.lab-meta { display: flex; gap: 12px; font-size: 0.72rem; color: var(--gray-400); flex-wrap: wrap; }
.hostel-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.hostel-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); }
.hostel-header { padding: 18px 22px; background: var(--navy); display: flex; align-items: center; gap: 12px; }
.hostel-icon { width: 42px; height: 42px; background: rgba(232,160,32,0.18); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hostel-icon svg { width: 20px; height: 20px; color: var(--gold); }
.hostel-header h3 { color: var(--white); font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }
.hostel-header .type-tag { font-size: 0.7rem; color: var(--gold); font-weight: 600; text-transform: uppercase; }
.hostel-body { padding: 18px 22px; }
.hostel-stats { display: flex; gap: 24px; margin-bottom: 12px; flex-wrap: wrap; }
.hostel-stat .n { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.hostel-stat .l { font-size: 0.68rem; color: var(--gray-400); text-transform: uppercase; }
.hostel-amenities { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.amenity-tag { background: var(--gray-100); color: var(--gray-700); font-size: 0.68rem; padding: 3px 8px; border-radius: 20px; font-weight: 500; }
.hostel-warden { font-size: 0.8rem; color: var(--gray-500); }

/* ── DOCUMENTS PAGE ───────────────────────────────────────────── */
.documents-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.doc-tab { padding: 7px 18px; border-radius: 6px; font-size: 0.82rem; font-weight: 600; cursor: pointer; border: 2px solid var(--gray-200); background: var(--white); color: var(--gray-700); transition: var(--transition); text-decoration: none; }
.doc-tab:hover, .doc-tab.active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.doc-card { background: var(--white); border-radius: var(--radius); padding: 18px 22px; border: 1px solid var(--gray-200); margin-bottom: 10px; display: flex; align-items: center; gap: 16px; transition: var(--transition); flex-wrap: wrap; }
.doc-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.doc-icon { width: 42px; height: 42px; background: rgba(239,68,68,0.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-icon svg { width: 20px; height: 20px; color: var(--red); }
.doc-info { flex: 1; min-width: 200px; }
.doc-cat { font-size: 0.68rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.doc-title { font-size: 0.92rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.doc-desc { font-size: 0.78rem; color: var(--gray-500); line-height: 1.5; }
.doc-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── DEVELOPERS ───────────────────────────────────────────────── */
.dev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.dev-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); text-align: center; transition: var(--transition); }
.dev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dev-img { height: 170px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; }
.dev-img img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(232,160,32,0.45); }
.dev-avatar { width: 78px; height: 78px; background: rgba(255,255,255,0.14); border: 3px solid rgba(232,160,32,0.45); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--white); }
.dev-info { padding: 22px 18px; }
.dev-info h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.dev-role { font-size: 0.78rem; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.dev-bio { font-size: 0.79rem; color: var(--gray-500); line-height: 1.55; margin-bottom: 14px; }
.dev-links { display: flex; justify-content: center; gap: 8px; }
.dev-link { width: 33px; height: 33px; background: var(--gray-100); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gray-700); transition: var(--transition); }
.dev-link:hover { background: var(--navy); color: var(--white); }
.dev-link svg { width: 15px; height: 15px; }

/* ── STUDENT ASSOCIATION ──────────────────────────────────────── */
.assoc-hero { background: var(--navy); padding: 100px 0 60px; position: relative; overflow: hidden; }
.assoc-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(232,160,32,0.1) 0%, transparent 60%); }
.assoc-hero h1 { font-family: var(--font-head); font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: var(--white); margin-bottom: 14px; position: relative; }
.assoc-hero h1 span { color: var(--gold); }
.assoc-hero p { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 600px; position: relative; }
.assoc-body-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.assoc-members-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 32px; }
.assoc-member-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); text-align: center; transition: var(--transition); }
.assoc-member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.assoc-member-img { height: 140px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; }
.assoc-member-img img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(232,160,32,0.45); }
.assoc-avatar { width: 64px; height: 64px; background: rgba(255,255,255,0.14); border: 3px solid rgba(232,160,32,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--white); }
.assoc-member-info { padding: 14px 12px; }
.assoc-member-info h4 { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.assoc-member-role { font-size: 0.72rem; font-weight: 600; color: var(--gold); margin-bottom: 2px; }
.assoc-member-dept { font-size: 0.7rem; color: var(--gray-400); }
.assoc-sidebar-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); overflow: hidden; margin-bottom: 20px; }
.assoc-sidebar-card-header { background: var(--navy); padding: 14px 18px; }
.assoc-sidebar-card-header h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--white); }
.assoc-sidebar-card-body { padding: 16px 18px; }
.assoc-sidebar-card-body ul li { font-size: 0.83rem; color: var(--gray-700); padding: 5px 0; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: 8px; }
.assoc-sidebar-card-body ul li:last-child { border-bottom: none; }
.assoc-sidebar-card-body ul li::before { content: '✓'; color: var(--gold); font-weight: 700; font-size: 0.75rem; }

/* ── CONTACT ──────────────────────────────────────────────────── */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.contact-info h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-item-icon { width: 42px; height: 42px; background: rgba(232,160,32,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; color: var(--gold); }
.contact-item-text strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.contact-item-text span, .contact-item-text a { font-size: 0.88rem; color: var(--gray-500); }
.contact-map { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); }
.contact-map iframe { width: 100%; height: 210px; border: none; display: block; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-control { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--text); background: var(--off-white); transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(232,160,32,0.1); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-btn { width: 100%; padding: 13px; background: var(--gold); color: var(--navy); border: none; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 700; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-btn:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,160,32,0.3); }

/* ── FOOTER ───────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px;
}
.footer-logo { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-logo-img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(232,160,32,0.4); }
.footer-brand p { font-size: 0.84rem; line-height: 1.7; margin-bottom: 18px; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.09); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: var(--transition); }
.social-icon:hover { background: var(--gold); color: var(--navy); }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.6); transition: var(--transition); display: flex; align-items: center; gap: 5px; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-col ul li a::before { content: '›'; color: var(--gold); font-size: 0.85rem; }
.footer-info p { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; line-height: 1.6; display: flex; gap: 8px; }
.footer-info p svg { flex-shrink: 0; margin-top: 2px; }
.footer-info a { color: rgba(255,255,255,0.6); }
.footer-info a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 18px 20px; font-size: 0.78rem; color: rgba(255,255,255,0.38); }
.footer-bottom a { color: rgba(255,255,255,0.45); margin: 0 8px; }
.footer-bottom a:hover { color: var(--gold); }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 80px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(232,160,32,0.07) 0%, transparent 65%); }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; color: var(--white); margin-bottom: 10px; position: relative; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: 0.97rem; color: rgba(255,255,255,0.68); max-width: 540px; margin: 0 auto; position: relative; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 14px; position: relative; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.28); }
.page-content { padding: 72px 0; background: var(--off-white); }

/* ── DEPT HERO ────────────────────────────────────────────────── */
.dept-hero { background: var(--navy); padding: 96px 0 56px; position: relative; overflow: hidden; }
.dept-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(232,160,32,0.09) 0%, transparent 60%); }
.dept-hero-content { position: relative; z-index: 1; }
.dept-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,160,32,0.14); border: 1px solid rgba(232,160,32,0.28); color: var(--gold); font-size: 0.76rem; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }
.dept-hero h1 { font-family: var(--font-head); font-size: clamp(1.7rem,4vw,2.6rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.dept-hero p { color: rgba(255,255,255,0.72); font-size: 0.97rem; max-width: 580px; margin-bottom: 28px; }
.dept-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.dept-stat .num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--gold); line-height: 1; }
.dept-stat .lbl { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 3px; }

/* ── SITEMAP ──────────────────────────────────────────────────── */
.sitemap-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.sitemap-section h3 { font-family: var(--font-head); font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.sitemap-section ul li { margin-bottom: 7px; }
.sitemap-section ul li a { font-size: 0.84rem; color: var(--gray-700); display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.sitemap-section ul li a:hover { color: var(--gold); padding-left: 3px; }
.sitemap-section ul li a::before { content: '→'; color: var(--gold); font-size: 0.7rem; }

/* ── ERROR PAGE ───────────────────────────────────────────────── */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; background: var(--off-white); }
.error-page h2 { font-family: var(--font-head); font-size: 1.8rem; color: var(--navy); margin-bottom: 12px; }

/* ── BACK TO TOP ──────────────────────────────────────────────── */
#back-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--navy); color: var(--white); border: none; border-radius: 50%; font-size: 1.2rem; font-weight: 800; cursor: pointer; z-index: 500; opacity: 0; transform: translateY(12px); transition: var(--transition); box-shadow: 0 4px 14px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { background: var(--gold); color: var(--navy); }

/* ── ANIMATIONS ───────────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.5s ease both; }
.scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── UTILITIES ────────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--gray-500); }
.font-head { font-family: var(--font-head); }
.d-flex { display: flex; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1100px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .brand-full { display: none; }
  .home-info-grid { grid-template-columns: 1fr 1fr; }
  .home-info-grid > *:last-child { display: none; }
  .departments-grid { grid-template-columns: repeat(2,1fr); }
  .facilities-grid { grid-template-columns: repeat(3,1fr); }
  .faculty-grid { grid-template-columns: repeat(2,1fr); }
  .faculty-page-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
  .footer-grid > *:nth-child(4),
  .footer-grid > *:nth-child(5) { display: none; }
  .clubs-grid { grid-template-columns: repeat(3,1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .labs-grid { grid-template-columns: repeat(2,1fr); }
  .sitemap-grid { grid-template-columns: repeat(2,1fr); }
  .dev-grid { grid-template-columns: repeat(2,1fr); }
  .magazine-grid { grid-template-columns: repeat(2,1fr); }
  .assoc-body-grid { grid-template-columns: 1fr; }
  .assoc-members-grid { grid-template-columns: repeat(3,1fr); }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --ticker-h: 0px; --nav-h: 60px; }
  body { padding-top: var(--nav-h); }

  /* Hide ticker on mobile */
  .ticker-wrap { display: none; }

  /* Navbar mobile drawer */
  .navbar { top: 0; }
  .brand-full { display: none; }
  .nav-logo-img, .nav-logo-fallback { width: 36px; height: 36px; font-size: 1rem; }
  .brand-short { font-size: 1.05rem; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 85vw);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 72px 16px 24px;
    gap: 2px;
    overflow-y: auto;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 1100;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: translateX(0);height: 100vh; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; padding: 12px 16px; font-size: 0.92rem; border-radius: var(--radius-sm); }

  section { padding: 56px 0; }

  .hero h1 { font-size: 1.75rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 240px; }

  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .stat-item .stat-number { font-size: 1.7rem; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image-badge { bottom: -12px; right: -4px; }
  .about-cards { grid-template-columns: 1fr; }

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

  .home-info-grid { grid-template-columns: 1fr; }
  .home-info-grid > *:last-child { display: block; }

  .admissions-cards { grid-template-columns: 1fr; }

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

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

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

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

  .events-grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; }
  .event-date-block { flex-direction: row; gap: 10px; padding: 12px 16px; min-width: unset; width: 100%; justify-content: flex-start; }

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

  .labs-grid { grid-template-columns: 1fr; }
  .hostel-grid { grid-template-columns: 1fr; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > * { display: block !important; }

  .sitemap-grid { grid-template-columns: repeat(2,1fr); }
  .dev-grid { grid-template-columns: 1fr; }
  .assoc-members-grid { grid-template-columns: repeat(2,1fr); }
  .assoc-body-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.55rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .faculty-page-grid { grid-template-columns: 1fr; }
  .clubs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .assoc-members-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.5rem; }
  .contact-form { padding: 22px 16px; }
  .notice-card { flex-direction: column; }
  .doc-card { flex-direction: column; gap: 10px; }
  .tender-card { flex-direction: column; }
}








/* timeline */
.timeline { position: relative; padding-left: 40px; border-left: 2px solid var(--primary); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-marker { position: absolute; left: -53px; top: 0; width: 24px; height: 24px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.timeline-marker svg { width: 14px; height: 14px; }
.timeline-year { font-size: 0.85rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.timeline-content h4 { margin-bottom: 8px; font-size: 1.1rem; }
.timeline-content p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.6; }