/* ===== WOMEN'S COLLEGE NIZAMABAD — Main Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --maroon: #8B2131;
  --maroon-dark: #6B1525;
  --maroon-light: #A52B3F;
  --gold: #C9A84C;
  --gold-light: #D4BA6A;
  --gold-dark: #B8963A;
  --navy: #1A3A5C;
  --navy-dark: #0F2740;
  --navy-light: #2A5580;
  --cream: #FFF8F0;
  --cream-dark: #F5EDE0;
  --white: #FFFFFF;
  --text-dark: #2D2D2D;
  --text-medium: #555555;
  --text-light: #777777;
  --border-light: #E8E0D4;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::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-dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.3; color: var(--text-dark); }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-cream { background: var(--cream); }
.section-maroon { background: var(--maroon); color: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-maroon { color: var(--maroon); }

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}
.section-maroon .section-header h2::after,
.section-navy .section-header h2::after { background: var(--gold); }
.section-maroon .section-header p { color: rgba(255,255,255,0.85); }

/* ======= TOP BAR ======= */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-right { display: flex; gap: 12px; }
.top-bar-right a {
  color: var(--gold);
  font-weight: 600;
  padding: 3px 10px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  transition: var(--transition);
}
.top-bar-right a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ======= HEADER / NAVBAR ======= */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { height: 55px; width: auto; }
.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.2;
}
.logo-text p {
  font-size: 0.75rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  color: var(--maroon);
  background: rgba(139,33,49,0.06);
}
/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 0;
}
.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--maroon);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--maroon);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 1050;
  padding: 80px 20px 20px;
  overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu a:hover { color: var(--maroon); }
.mobile-menu .mobile-dropdown-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.mobile-dropdown-content {
  display: none;
  padding-left: 16px;
  background: var(--cream);
}
.mobile-dropdown-content.active { display: block; }
.mobile-dropdown-content a {
  font-size: 0.9rem;
  font-weight: 500;
  border-color: var(--cream-dark);
}

/* ======= MARQUEE NOTICE ======= */
.notice-bar {
  background: var(--maroon);
  color: var(--white);
  padding: 10px 0;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 500;
}
.notice-bar .marquee {
  display: flex;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.notice-bar .marquee span { margin-right: 60px; }
.notice-bar .marquee span::before {
  content: '📢 ';
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ======= HERO / SLIDER ======= */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--navy);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,33,49,0.85) 0%, rgba(26,58,92,0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 20px;
}
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero-content h2 em {
  color: var(--gold);
  font-style: italic;
}
.hero-content p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Hero Navigation Dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dots span.active { background: var(--gold); transform: scale(1.2); }

/* ======= BUTTONS ======= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--maroon); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); }

/* ======= STATS BAR ======= */
.stats-bar {
  background: var(--navy);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
  color: var(--white);
}
.stat-item h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 0.88rem;
  opacity: 0.85;
  font-weight: 500;
}

/* ======= COURSE / CARD GRID ======= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--maroon);
}
.card p {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.6;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--maroon);
}
.card-link:hover { color: var(--gold); gap: 10px; }

/* ======= DEPARTMENT GRID ======= */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.dept-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.dept-card:hover {
  border-color: var(--maroon);
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.dept-card .dept-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.dept-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.dept-card:hover h4 { color: var(--maroon); }

/* ======= ABOUT SECTION ======= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--maroon);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
}
.about-text h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.about-text h2 em { color: var(--gold); }
.about-text p {
  margin-bottom: 14px;
  color: var(--text-medium);
}
.about-text .highlights {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.about-text .highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
}
.about-text .highlight-item span {
  width: 36px; height: 36px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ======= PRINCIPAL MESSAGE ======= */
.principal-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.principal-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  flex-shrink: 0;
}
.principal-img img { width: 100%; height: 100%; object-fit: cover; }
.principal-text h3 { font-size: 1.3rem; margin-bottom: 4px; color: var(--maroon); }
.principal-text .designation { font-size: 0.9rem; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.principal-text blockquote {
  font-style: italic;
  color: var(--text-medium);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  line-height: 1.8;
}

/* ======= FACULTY ======= */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px;
}
.faculty-card { text-align: center; }
.faculty-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 4px solid var(--gold);
  transition: var(--transition);
  background: var(--cream);
}
.faculty-card:hover .faculty-photo {
  border-color: var(--maroon);
  transform: scale(1.05);
}
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.faculty-card .faculty-dept { font-size: 0.82rem; color: var(--maroon); font-weight: 600; }
.faculty-card .faculty-qual { font-size: 0.8rem; color: var(--text-light); }
.faculty-card .faculty-exp { font-size: 0.78rem; color: var(--text-medium); margin-top: 2px; }

/* ======= GALLERY ======= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 20px 14px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ======= PAGE BANNER ======= */
.page-banner {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--navy) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
  position: relative;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.page-banner h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.page-banner .breadcrumb {
  font-size: 0.9rem;
  opacity: 0.85;
}
.page-banner .breadcrumb a { color: var(--gold); }
.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* ======= DEPARTMENT PAGE ======= */
.dept-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.dept-main h2 { font-size: 1.6rem; margin-bottom: 12px; color: var(--maroon); }
.dept-main h3 { font-size: 1.2rem; margin-top: 24px; margin-bottom: 8px; color: var(--navy); }
.dept-main p { color: var(--text-medium); margin-bottom: 12px; }
.dept-sidebar {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  position: sticky;
  top: 100px;
}
.dept-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--maroon);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
}
.dept-sidebar ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.dept-sidebar ul li a {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dept-sidebar ul li a:hover { color: var(--maroon); }
.dept-sidebar ul li a::before { content: '›'; color: var(--gold); font-weight: 700; font-size: 1.2rem; }
.dept-sidebar ul li.active a { color: var(--maroon); font-weight: 700; }

/* Department Faculty Section */
.dept-faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 16px;
}
.dept-faculty-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.dept-faculty-card:hover { box-shadow: var(--shadow-sm); border-color: var(--gold); }
.dept-faculty-card .faculty-photo { width: 100px; height: 100px; }

/* Department Gallery */
.dept-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.dept-gallery img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ======= HOSTEL, INFRASTRUCTURE — Feature Cards ======= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .feature-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.92rem; color: var(--text-medium); }

/* ======= RESULTS PAGE ======= */
.results-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.result-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}
.result-card:hover { border-color: var(--maroon); box-shadow: var(--shadow-md); }
.result-card .result-icon { font-size: 2.4rem; margin-bottom: 12px; display: block; }
.result-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--maroon); }
.result-card p { font-size: 0.88rem; color: var(--text-medium); margin-bottom: 14px; }

/* ======= CONTACT ======= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-card .contact-icon {
  width: 48px; height: 48px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { font-size: 0.9rem; color: var(--text-medium); }
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 350px;
  background: var(--cream);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ======= VISION/MISSION ======= */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.vm-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--maroon);
  box-shadow: var(--shadow-sm);
}
.vm-card h3 {
  font-size: 1.3rem;
  color: var(--maroon);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vm-card p, .vm-card li { font-size: 0.92rem; color: var(--text-medium); line-height: 1.7; }
.vm-card ul { padding-left: 18px; }
.vm-card ul li { padding: 4px 0; list-style: disc; }

/* ======= FOUNDERS ======= */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.founder-card {
  padding: 20px;
}
.founder-img {
  width: 140px; height: 140px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 4px solid var(--gold);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-img svg { width: 60px; height: 60px; fill: var(--gold); }
.founder-card h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--text-dark); }
.founder-card p { font-size: 0.88rem; color: var(--text-medium); }

/* ======= FOOTER ======= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer h4 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}
.footer p, .footer a { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--gold); }
.footer-about p { margin-bottom: 10px; line-height: 1.7; }
.footer-links li { padding: 5px 0; }
.footer-links a { display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--gold); font-weight: 700; }
.footer-contact li { padding: 6px 0; display: flex; gap: 10px; align-items: start; }
.footer-contact li span { color: var(--gold); font-size: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
}
.footer-bottom p { opacity: 0.6; }

/* ======= ADMIN STAFF TABLE ======= */
.staff-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.staff-table th {
  background: var(--maroon);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 600;
}
.staff-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}
.staff-table tr:nth-child(even) { background: var(--cream); }
.staff-table tr:hover { background: #FFF0E0; }

/* ======= BACK TO TOP ======= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px; height: 44px;
  background: var(--maroon);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
}
.back-to-top:hover { background: var(--maroon-dark); transform: translateY(-2px); }
.back-to-top.visible { display: flex; }

/* ======= RESPONSIVE ======= */
@media (max-width: 992px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero { height: 420px; }
  .hero-content h2 { font-size: 2.1rem; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .dept-content { grid-template-columns: 1fr; }
  .dept-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founders-grid { grid-template-columns: 1fr 1fr; }
  .principal-section { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .hero { height: 380px; }
  .hero-content h2 { font-size: 1.7rem; }
  .hero-content p { font-size: 0.95rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item h3 { font-size: 1.8rem; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar-left { display: none; }
  .page-banner h1 { font-size: 1.8rem; }
  .page-banner { padding: 40px 0; }
  .founders-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { height: 340px; }
  .hero-content h2 { font-size: 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .logo img { height: 40px; }
  .logo-text h1 { font-size: 1rem; }
  .hero-btns { flex-direction: column; align-items: center; }
}
