/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a3a6b;
  --primary-dark: #0f2347;
  --primary-light: #2a52a0;
  --accent: #f7941d;
  --accent-dark: #e07d0a;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --success: #10b981;
  --font-size: 16px;
}

html { font-size: var(--font-size); scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--gray-800); background: var(--white); line-height: 1.6; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Anchor targets clear sticky header (smooth scroll uses scrollIntoView) */
section[id]:not(#home),
#vision-mission {
  scroll-margin-top: 160px;
}

/* ========== POPUP ========== */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 20, 50, 0.85);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(6px);
  animation: fadeIn 0.4s ease;
}
.popup-box {
  background: var(--white); border-radius: 24px;
  max-width: 600px; width: 100%; padding: 40px; position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  animation: slideUp 0.4s ease;
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.popup-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray-100); border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer; font-size: 14px; color: var(--gray-600);
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.popup-close:hover { background: #fee2e2; color: #ef4444; }
.popup-header { text-align: center; margin-bottom: 24px; }
.popup-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; padding: 6px 18px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 16px;
}
.popup-header h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--primary); margin-bottom: 8px; }
.popup-header p { color: var(--gray-600); font-size: 0.95rem; }
.popup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-item {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; border-radius: 16px; padding: 20px 12px; text-align: center;
}
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; }
.stat-label { font-size: 0.75rem; opacity: 0.85; margin-top: 4px; display: block; }
.popup-companies { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; justify-content: center; }
.popup-companies span {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; color: var(--gray-800);
}
.popup-btn {
  display: block; width: 100%; text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; padding: 14px; border-radius: 12px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.popup-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(247,148,29,0.4); }

/* ========== TOP BAR ========== */
.topbar {
  background: var(--primary-dark); color: rgba(255,255,255,0.8);
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 32px; font-size: 0.78rem;
}
.topbar a { color: rgba(255,255,255,0.8); text-decoration: none; margin-right: 20px; transition: color 0.2s; }
.topbar a:hover { color: var(--accent); }
.topbar a i { margin-right: 5px; }
/* ========== HEADER ========== */
.main-header { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 32px; }
.logo-area { display: flex; align-items: center; gap: 16px; }
.emblem-circle {
  width: 64px; height: 64px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem; font-weight: 800; letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(26,58,107,0.3);
}
.emblem-circle.small { width: 48px; height: 48px; font-size: 0.75rem; }
.logo-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-image.small {
  width: 48px;
  height: 48px;
}
.logo-text h1 { font-size: 1.15rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.logo-text p { font-size: 0.72rem; color: var(--gray-600); margin-top: 2px; }
.header-controls { display: flex; align-items: center; gap: 12px; }
.zoom-controls { display: flex; gap: 4px; }
.zoom-controls button {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 8px; width: 34px; height: 34px; cursor: pointer;
  font-size: 13px; color: var(--gray-600);
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.zoom-controls button:hover { background: var(--primary); color: white; border-color: var(--primary); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lang-picker-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: min(280px, 100%);
}
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: white;
  border: none;
  padding: 8px 34px 8px 14px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 240px;
  box-shadow: 0 2px 8px rgba(26, 58, 107, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.lang-select:hover { background-color: var(--primary-light); }
.lang-select:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 58, 107, 0.35);
}
.lang-select option {
  color: var(--gray-800);
  background: var(--white);
}
.menu-toggle { display: none; background: none; border: 2px solid var(--primary); color: var(--primary); padding: 6px 10px; border-radius: 8px; cursor: pointer; font-size: 1rem; }

/* ========== NAVIGATION ========== */
.main-nav { background: var(--primary); }
.main-nav ul { display: flex; list-style: none; padding: 0 24px; }
.main-nav ul li { position: relative; }
.main-nav ul li a {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.9); text-decoration: none;
  padding: 14px 16px; font-size: 0.87rem; font-weight: 500;
  transition: all 0.2s; white-space: nowrap;
}
.main-nav ul li a:hover { color: var(--accent); }
.main-nav ul li a i { font-size: 10px; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: white; min-width: 220px; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15); overflow: hidden; z-index: 999;
  animation: fadeIn 0.2s ease;
}
.dropdown a { color: var(--gray-800) !important; padding: 11px 20px !important; font-size: 0.85rem !important; border-bottom: 1px solid var(--gray-100); display: block !important; }
.dropdown a:hover { background: var(--gray-50); color: var(--primary) !important; }

/* ========== TICKER ========== */
.ticker-wrap { background: var(--accent); display: flex; align-items: center; overflow: hidden; height: 40px; }
.ticker-label { background: var(--primary-dark); color: white; padding: 0 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; white-space: nowrap; height: 100%; display: flex; align-items: center; flex-shrink: 0; }
.ticker-content { overflow: hidden; flex: 1; }
.ticker-track { display: inline-block; white-space: nowrap; color: white; font-size: 0.82rem; font-weight: 500; animation: ticker 45s linear infinite; }
@keyframes ticker { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* ========== HERO ========== */
.hero { position: relative; height: 620px; overflow: hidden; }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,20,60,0.85) 0%, rgba(10,20,60,0.4) 100%); }
.hero-content { position: absolute; top: 50%; left: 10%; transform: translateY(-50%); color: white; max-width: 620px; animation: slideInLeft 0.6s ease; }
@keyframes slideInLeft { from { opacity:0; transform: translateY(-50%) translateX(-30px); } to { opacity:1; transform: translateY(-50%) translateX(0); } }
.hero-badge { display: inline-block; background: var(--accent); color: white; padding: 6px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 16px; }
.hero-content h2 { font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; padding: 13px 28px; border-radius: 50px;
  font-weight: 700; text-decoration: none; font-size: 0.9rem;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 16px rgba(247,148,29,0.35); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(247,148,29,0.5); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.7); padding: 12px 28px; border-radius: 50px; font-weight: 600; text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }
.slide-prev, .slide-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.3);
  color: white; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: all 0.2s; z-index: 10;
}
.slide-prev { left: 20px; } .slide-next { right: 20px; }
.slide-prev:hover, .slide-next:hover { background: var(--accent); border-color: var(--accent); }
.slide-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.dot.active { background: var(--accent); width: 28px; border-radius: 5px; }

/* ========== QUICK STATS ========== */
.quick-stats { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 36px 0; }
.stats-grid { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.stat-card { text-align: center; color: white; padding: 20px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-card:last-child { border-right: none; }
.stat-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 8px; }
.stat-card .count { font-size: 2.2rem; font-weight: 800; }
.stat-card p { font-size: 0.8rem; opacity: 0.75; margin-top: 4px; }

/* ========== SECTION TAGS / HEADERS ========== */
.section-tag {
  display: inline-block; background: rgba(247,148,29,0.12);
  color: var(--accent-dark); padding: 5px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--primary); margin-bottom: 12px; }
.section-header p { color: var(--gray-600); max-width: 540px; margin: 0 auto; }
.section-header.light h2 { color: white; }
.section-header.light p { color: rgba(255,255,255,0.75); }
.section-header.light .section-tag { background: rgba(247,148,29,0.25); color: #fbd17c; }

/* ========== ABOUT + NEWS ========== */
.about-news { padding: 80px 0; background: var(--gray-50); }
.about-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-panel h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--primary); margin-bottom: 16px; line-height: 1.3; }
.about-panel > p { color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.feat { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--gray-700); }
.feat i { color: var(--success); font-size: 1rem; }
.news-panel { background: white; border-radius: 20px; padding: 28px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.news-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 2px solid var(--gray-100); }
.tab-btn { background: none; border: none; padding: 10px 18px; font-size: 0.85rem; font-weight: 600; cursor: pointer; color: var(--gray-400); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.news-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.news-item:last-child { border-bottom: none; }
.news-date { background: var(--primary); color: white; padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.news-item a { color: var(--gray-800); text-decoration: none; font-size: 0.87rem; line-height: 1.5; }
.news-item a:hover { color: var(--primary); }
.news-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 100px; font-size: 0.68rem; font-weight: 700; }
.news-tag.new { background: #dcfce7; color: #16a34a; }
.news-tag.hot { background: #fee2e2; color: #dc2626; }
.view-all-link { display: block; text-align: right; margin-top: 16px; color: var(--accent-dark); font-weight: 600; text-decoration: none; font-size: 0.85rem; }

/* ========== PRINCIPAL MESSAGE ========== */
.principal-section { padding: 80px 0; background: white; }
.principal-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: center;
}
.principal-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26,58,107,0.15);
}
.principal-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}
.principal-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 16px;
}
.principal-content p {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 14px;
}
.principal-role {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.principal-signoff {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.principal-signoff strong {
  color: var(--primary);
  font-size: 1rem;
}

.principal-vm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}
.principal-vm-col {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.principal-vm-col-img {
  flex-shrink: 0;
  width: 100%;
  height: 200px;
  background: var(--gray-200);
}
.principal-vm-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.principal-vm-col-body {
  padding: 24px 28px 28px;
  flex: 1;
}
.principal-vm-col-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.principal-vm-col-body p {
  color: var(--gray-600);
  line-height: 1.85;
  font-size: 0.95rem;
  margin: 0;
}

/* ========== DEPARTMENTS ========== */
.departments { padding: 80px 0; background: white; }
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dept-card { background: white; border: 1px solid var(--gray-200); border-radius: 20px; padding: 28px 24px; transition: all 0.3s; cursor: pointer; }
.dept-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); border-color: transparent; }
.dept-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.4rem; margin-bottom: 16px; }
.dept-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; line-height: 1.3; }
.dept-card > p { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 12px; }
.dept-meta { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.dept-meta span { background: var(--gray-100); padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; color: var(--gray-600); font-weight: 500; }
.dept-card a { color: var(--accent-dark); font-weight: 700; font-size: 0.85rem; text-decoration: none; }
.dept-card a:hover { color: var(--primary); }
.dept-card[id] { scroll-margin-top: 180px; }

/* ========== FACULTY SECTION ========== */
.faculty-section { padding: 80px 0; background: var(--gray-50); }
.faculty-tabs-wrap {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  margin-bottom: 8px;
}
.faculty-dept-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 16px 0;
  border-bottom: 2px solid var(--gray-100);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.faculty-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px 12px 0 0;
  border-bottom: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.faculty-tab-btn i { font-size: 0.88rem; opacity: 0.88; color: var(--primary); }
.faculty-tab-btn:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--gray-200);
}
.faculty-tab-btn.active {
  color: var(--primary);
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: 0 3px 0 var(--accent) inset;
  position: relative;
  z-index: 1;
}
.faculty-tab-panels { padding: 24px; background: var(--white); }
.faculty-tab-panel { display: none; animation: fadeIn 0.35s ease; }
.faculty-tab-panel.active { display: block; }
.dept-pill {
  display: inline-flex; align-items: center; gap: 8px;
  color: white; padding: 8px 20px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
/* Faculty carousel */
.faculty-carousel {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 8px;
}
.faculty-carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.faculty-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.faculty-carousel-nav {
  flex-shrink: 0;
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.faculty-carousel-nav:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(26,58,107,0.2);
}
.faculty-carousel-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.faculty-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.faculty-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--gray-400);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.faculty-carousel-dot.active {
  background: var(--accent);
  transform: scale(1.15);
}
.faculty-card {
  background: white; border-radius: 20px; padding: 22px;
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--gray-200); transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  flex-shrink: 0;
}
.faculty-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(26,58,107,0.12); border-color: var(--primary); }
.faculty-card { cursor: pointer; }
.faculty-avatar {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1rem; letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.faculty-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.faculty-info h4 { font-size: 1rem; font-weight: 700; color: var(--gray-800); }
.faculty-title { font-size: 0.78rem; color: var(--primary); font-weight: 600; }
.faculty-exp { font-size: 0.75rem; color: var(--gray-600); line-height: 1.4; }
.faculty-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.faculty-tags span { background: rgba(26,58,107,0.07); color: var(--primary); padding: 3px 9px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; }
.faculty-pub { font-size: 0.75rem; color: var(--gray-600); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.faculty-pub i { color: var(--accent); }

/* ========== PLACEMENTS ========== */
.placements { padding: 80px 0; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e4d9b 100%); }
.placement-stats-row { display: flex; justify-content: center; gap: 0; margin-bottom: 48px; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,0.08); }
.place-stat { flex: 1; text-align: center; padding: 28px 16px; color: white; border-right: 1px solid rgba(255,255,255,0.12); }
.place-stat:last-child { border-right: none; }
.place-num { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.place-stat span:last-child { font-size: 0.8rem; opacity: 0.8; }
.company-logos { overflow: hidden; margin-bottom: 48px; }
.logo-track { display: flex; gap: 16px; animation: scrollLogos 30s linear infinite; width: max-content; }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.company-logo { background: white; color: var(--primary); padding: 14px 28px; border-radius: 12px; font-weight: 800; font-size: 0.9rem; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,0.1); min-width: 120px; text-align: center; }
.toppers-title { color: white; text-align: center; font-size: 1.4rem; font-family: 'Playfair Display', serif; margin-bottom: 24px; }
.topper-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.topper-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; padding: 20px; display: flex; gap: 14px; align-items: center; transition: all 0.3s; }
.topper-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.topper-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.topper-info { display: flex; flex-direction: column; gap: 2px; }
.topper-info strong { color: white; font-size: 0.92rem; }
.topper-info span { color: rgba(255,255,255,0.7); font-size: 0.78rem; }
.topper-company { color: var(--accent) !important; font-weight: 600 !important; }
.topper-pkg { color: #86efac !important; font-weight: 700 !important; font-size: 0.9rem !important; }

/* ========== RESEARCH ========== */
.research-section { padding: 80px 0; background: var(--gray-50); }
.research-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.research-card { background: white; border-radius: 20px; padding: 32px 24px; border: 1px solid var(--gray-200); transition: all 0.3s; }
.research-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); border-color: var(--primary); }
.research-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; margin-bottom: 20px; }
.research-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.research-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.research-tags { display: flex; flex-direction: column; gap: 6px; }
.research-tags span { background: rgba(26,58,107,0.07); color: var(--primary); padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; display: inline-block; width: fit-content; }

/* ========== CAMPUS LIFE ========== */
.campus-life { padding: 80px 0; background: white; }
.campus-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.campus-card { border-radius: 20px; overflow: hidden; background-size: cover; background-position: center; position: relative; cursor: pointer; }
.campus-card.large { grid-row: span 2; }
.campus-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,60,0.85) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; transition: all 0.3s; }
.campus-card:hover .campus-card-overlay { background: linear-gradient(to top, rgba(10,20,60,0.92) 0%, rgba(10,20,60,0.3) 100%); }
.campus-card-overlay h3 { color: white; font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.campus-card-overlay p { color: rgba(255,255,255,0.8); font-size: 0.82rem; }

/* ========== ADMISSIONS ========== */
.admissions { padding: 80px 0; background: linear-gradient(135deg, #f0f4ff 0%, #e8f4ff 100%); }
.admissions-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.admissions-text h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--primary); margin-bottom: 16px; }
.admissions-text > p { color: var(--gray-600); line-height: 1.8; margin-bottom: 32px; }
.admission-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.step { text-align: center; }
.step span { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: white; font-weight: 800; font-size: 1rem; margin: 0 auto 8px; }
.step p { font-size: 0.78rem; font-weight: 600; color: var(--gray-700); }
.counselling-codes { background: white; border-radius: 16px; padding: 20px; margin-bottom: 28px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.counselling-codes h4 { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.codes-row { display: flex; flex-wrap: wrap; gap: 12px; }
.codes-row span { font-size: 0.85rem; color: var(--gray-600); }
.codes-row strong { color: var(--primary); }
.contact-card { background: white; border-radius: 20px; padding: 32px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.contact-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; text-align: center; }
.contact-card form { display: flex; flex-direction: column; gap: 14px; }
.contact-card input, .contact-card select { padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: 10px; font-size: 0.9rem; font-family: inherit; transition: border-color 0.2s; background: var(--gray-50); }
.contact-card input:focus, .contact-card select:focus { outline: none; border-color: var(--primary); background: white; }
.contact-card button { width: 100%; padding: 13px; border: none; cursor: pointer; font-family: inherit; font-size: 0.95rem; }

/* ========== CONTACT ========== */
.contact-section { padding: 80px 0; background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.contact-info-card { background: white; border-radius: 16px; padding: 28px 20px; text-align: center; border: 1px solid var(--gray-200); transition: all 0.3s; }
.contact-info-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: var(--primary); }
.contact-info-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 12px; display: block; }
.contact-info-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.contact-info-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; }

/* ========== FOOTER ========== */
.main-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo strong { font-size: 0.95rem; font-weight: 700; color: white; line-height: 1.3; display: block; }
.footer-logo p { font-size: 0.75rem; opacity: 0.7; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; opacity: 0.75; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: all 0.2s; text-decoration: none; }
.social-links a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-col h4 { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-bottom-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.65;
}
.footer-visitors-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-visitors {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.75);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}
.footer-visitors i { color: var(--accent); font-size: 0.9rem; }
.footer-visitors-label { opacity: 0.85; }
.footer-visitors-count { color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ========== BACK TO TOP ========== */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: white; border: none; cursor: pointer; font-size: 1rem; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(247,148,29,0.4); transition: all 0.3s; z-index: 500; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(247,148,29,0.5); }
.back-to-top.visible { display: flex; }

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
}
.image-lightbox.open { display: flex; }
.image-lightbox img {
  max-width: min(1200px, 95vw);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ========== FACULTY MODAL ========== */
.faculty-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 17, 40, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1300;
}
.faculty-modal.open { display: flex; }
.faculty-modal-card {
  width: min(720px, 100%);
  background: white;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}
.faculty-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  cursor: pointer;
}
.faculty-modal-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.faculty-modal-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
#facultyModalName { color: var(--gray-800); margin-bottom: 2px; }
#facultyModalTitle { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.faculty-modal-exp, .faculty-modal-pub, .faculty-modal-bio { color: var(--gray-600); margin-bottom: 10px; line-height: 1.7; }
.faculty-modal-bio { white-space: pre-line; }
.faculty-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.faculty-modal-tags span {
  background: rgba(26,58,107,0.08);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .principal-grid { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .topper-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .header-inner { padding: 12px 16px; }
  .logo-text h1 { font-size: 0.9rem; }
  .logo-text p { display: none; }
  .zoom-controls { display: none; }
  .lang-select { max-width: 160px; font-size: 0.72rem; padding: 7px 28px 7px 10px; }
  .menu-toggle { display: flex; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 0; }
  .main-nav ul li a { padding: 12px 20px; }
  .dropdown { position: static; box-shadow: none; border-radius: 0; background: rgba(255,255,255,0.05); }
  .dropdown a { color: rgba(255,255,255,0.8) !important; border-bottom-color: rgba(255,255,255,0.05); padding-left: 36px !important; }
  .hero { height: 480px; }
  .hero-content { left: 5%; max-width: 90%; }
  .hero-content h2 { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-news-grid { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr 1fr; }
  .faculty-carousel-nav { width: 38px; height: 38px; font-size: 0.9rem; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .campus-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .campus-card.large { grid-row: span 1; }
  .admissions-inner { grid-template-columns: 1fr; }
  .admission-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .topper-cards { grid-template-columns: 1fr 1fr; }
  .placement-stats-row { flex-wrap: wrap; }
  .place-stat { min-width: 33%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-main {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }
  .faculty-dept-tabs { padding: 12px 12px 0; gap: 6px; }
  .faculty-tab-btn { padding: 8px 12px; font-size: 0.76rem; gap: 6px; }
  .faculty-tab-panels { padding: 16px; }
  .principal-photo { min-height: 320px; }
  .principal-vm-row { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding-top: 32px; }
  .faculty-modal-card { padding: 22px; }
  .popup-box { padding: 24px; }
  .popup-header h2 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .faculty-carousel { gap: 6px; }
  .faculty-carousel-nav { width: 36px; height: 36px; }
  .dept-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .topper-cards { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr; }
  .popup-stats { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .about-features { grid-template-columns: 1fr; }
  .faculty-card { flex-direction: column; }
  .research-grid { grid-template-columns: 1fr; }
}
