/* ============================================
   TAGORE COLLEGE OF EDUCATION - PREMIUM WHITE THEME
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --primary: #1E3A8A;
  --primary-light: #2563EB;
  --primary-dark: #1E3A8A;
  --primary-hover: #3B82F6;
  --accent: #1E3A8A;
  --accent-light: #3B82F6;
  --gold: #1E3A8A;
  --bg-section: #F8F9FA;
  --white: #FFFFFF;
  --light: #FFFFFF;
  --dark: #222222;
  --heading: #1E3A8A;
  --body: #444444;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --glass-bg: rgba(255,255,255,0.95);
  --glass-border: rgba(30,58,138,0.1);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: 32px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
 
  z-index: 1000;
  padding: 2px 0;
  transition: var(--transition);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;

}

.nav-logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .logo-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.nav-logo-text .logo-sub {
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--gray-700);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(30,58,138,0.08);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Floating Buttons --- */
.floating-apply {
  position: fixed;
  right: 20px;
  bottom: 120px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
}

.floating-btn .tooltip {
  position: absolute;
  right: 68px;
  background: var(--dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.floating-btn .tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.floating-btn:hover .tooltip {
  opacity: 1;
  right: 72px;
}

.floating-btn.apply-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  animation: pulse-primary 2s infinite;
  
}

.floating-btn.whatsapp-btn {
  background: #25D366;
}

.floating-btn.back-to-top {
  background: var(--primary);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.floating-btn.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes pulse-primary {
  0%, 100% { box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(30, 58, 138, 0.6); }
}

/* ============================================
   HERO SECTION - Premium University Style
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  color: var(--white);
  padding: 120px 0 80px 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: #60A5FA;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.15s backwards;
  margin-top: 50px;
}

.hero-title .highlight {
  color: gold;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s backwards;
}

.hero .btn-gold {
  background: linear-gradient(135deg, #2563EB, #1E3A8A);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  padding: 16px 36px;
  font-size: 1rem;
}

.hero .btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.hero .btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 16px 36px;
  font-size: 1rem;
}

.hero .btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: #60A5FA;
  display: block;
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  font-weight: 400;
}

.hero-slider-controls {
  position: absolute;
  bottom: 40px;
  left: 80px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-slider-controls button {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider-controls button.active {
  background: #2563EB;
  width: 60px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 40px 32px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(30, 58, 138, 0.08));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  transform: scale(1.1);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   STATISTICS / HERITAGE SECTION
   ============================================ */
.stats-section {
  background: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.03);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 30px 20px;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-item .stat-label {
  color: var(--gray-700);
  font-size: 1rem;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.stat-item .stat-icon {
  font-size: 2.2rem;
  color: rgba(30, 58, 138, 0.12);
  margin-bottom: 16px;
}

/* ============================================
   DEPARTMENTS SECTION (HOME)
   ============================================ */
.dept-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.dept-home-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.dept-home-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.dept-home-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.dept-home-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.dept-home-card:hover .dept-home-img img {
  transform: scale(1.1);
}

.dept-home-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(0,0,0,0.4));
}

.dept-home-img .dept-icon {
  position: absolute;
  bottom: 16px;
  left: 20px;
  z-index: 1;
  color: var(--white);
  font-size: 2rem;
}

.dept-home-body {
  padding: 24px;
}

.dept-home-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.dept-home-body p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.dept-home-body .btn {
  font-size: 0.85rem;
  padding: 10px 20px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--gray-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  color: rgba(30, 58, 138, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.testimonial-stars {
  color: var(--accent-light);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-img {
  height: 200px;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-img img {
  transform: scale(1.1);
}

.news-body {
  padding: 24px;
}

.news-date {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-body p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.03);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.02);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-outline-light {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-section .btn-outline-light:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0B3D91;
  color: rgba(255,255,255,0.85);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 16px;
  color: rgba(255,255,255,0.7);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: #60A5FA;
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #60A5FA;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #60A5FA;
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact li i {
  color: #60A5FA;
  margin-top: 4px;
  min-width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   HERO PREMIUM - University Style Inner Pages
   ============================================ */
.hero-premium {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-premium-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-premium-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.hero-premium-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  color: var(--white);
  padding: 120px 0 80px 100px;
}

.hero-premium-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: #60A5FA;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease;
}

.hero-premium-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
  animation: fadeInUp 0.8s ease 0.15s backwards;
}

.hero-premium-title .highlight {
  color: gold;
}

.hero-premium-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-premium-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s backwards;
}

.hero-premium .btn-gold {
  background: linear-gradient(135deg, #2563EB, #1E3A8A);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  padding: 16px 36px;
  font-size: 1rem;
}

.hero-premium .btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.hero-premium .btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 16px 36px;
  font-size: 1rem;
}

.hero-premium .btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-premium-breadcrumb {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  animation: fadeInUp 0.8s ease 0.55s backwards;
}

.hero-premium-breadcrumb a {
  color: #60A5FA;
  text-decoration: none;
  transition: var(--transition);
}

.hero-premium-breadcrumb a:hover {
  color: #93C5FD;
  text-decoration: underline;
}

.hero-premium-breadcrumb span {
  color: rgba(255,255,255,0.4);
}

/* Hero Premium Responsive */
@media (max-width: 1024px) {
  .hero-premium-title { font-size: 3rem; }
  .hero-premium-content { padding: 100px 0 60px 60px; }
  .hero-premium { min-height: 70vh; }
}

@media (max-width: 768px) {
  .hero-premium-title { font-size: 2.2rem; }
  .hero-premium-desc { font-size: 1rem; }
  .hero-premium-content { padding: 80px 20px 40px; }
  .hero-premium { min-height: 60vh; }
  .hero-premium-buttons { flex-direction: column; }
  .hero-premium-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-premium-title { font-size: 1.8rem; }
  .hero-premium-badge { font-size: 0.75rem; padding: 8px 20px; }
  .hero-premium-desc { font-size: 0.95rem; }
}

/* ============================================
   PAGE BANNER (Inner Pages - Legacy)
   ============================================ */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding-left: 80px;
}

.page-banner-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}

.page-banner-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: #60A5FA;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
 
}

.about-intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-intro-image img {
  width: 100%;
  border-radius: var(--radius-lg);
 
}

.about-intro-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-intro-image .experience-badge span {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  font-family: var(--font-heading);
}

.about-intro-text h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-intro-text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vision-card,
.mission-card {
  padding: 40px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vision-card .icon,
.mission-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.vision-card h3,
.mission-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.vision-card p,
.mission-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

.principal-message {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.principal-message img {
  width: 100%;
  border-radius: var(--radius-md);
}

.principal-message h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.principal-message .designation {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.principal-message p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ============================================
   DEPARTMENTS PAGE (Full)
   ============================================ */
.department-full {
  margin-bottom: 60px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.department-full:hover {
  box-shadow: var(--shadow-xl);
}

.dept-banner {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.dept-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.department-full:hover .dept-banner img {
  transform: scale(1.05);
}

.dept-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(30,58,138,0.85));
  color: var(--white);
}

.dept-banner-overlay h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 4px;
}

.dept-banner-overlay .dept-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.dept-banner-overlay .dept-icon-banner {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.2);
}

.dept-body {
  padding: 40px;
}

.courses-grid-dept {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.course-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--gray-700);
  transition: var(--transition);
  border-left: 3px solid var(--accent);
}

.course-badge:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(5px);
  border-left-color: var(--accent-light);
}

.course-badge i {
  color: var(--accent);
  font-size: 0.8rem;
}

.course-badge:hover i {
  color: var(--accent-light);
}

.dept-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ============================================
   CAMPUS PAGE
   ============================================ */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.campus-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.campus-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.campus-img {
  height: 220px;
  overflow: hidden;
}

.campus-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.campus-card:hover .campus-img img {
  transform: scale(1.1);
}

.campus-body {
  padding: 24px;
  text-align: center;
}

.campus-body .icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.campus-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.campus-body p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* ============================================
   FACULTY PAGE
   ============================================ */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.faculty-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.faculty-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 32px auto 16px;
  border: 4px solid var(--gray-200);
  transition: var(--transition);
}

.faculty-card:hover .faculty-img {
  border-color: var(--accent);
}

.faculty-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
}

.faculty-card .faculty-dept {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 4px 0;
}

.faculty-card .faculty-qual {
  color: var(--gray-600);
  font-size: 0.85rem;
}

.faculty-card .faculty-exp {
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-top: 4px;
}

.faculty-card .faculty-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 12px auto;
}

.faculty-card .faculty-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--gray-100);
  margin-top: 16px;
}

.faculty-card .faculty-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 0.9rem;
  transition: var(--transition);
}

.faculty-card .faculty-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   NEWS & EVENTS PAGE
   ============================================ */
.news-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  
}

.news-filter button {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.news-filter button.active,
.news-filter button:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.news-event-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  margin-bottom: 24px;
}

.news-event-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.news-event-card .news-img {
  height: 100%;
  min-height: 220px;
}

.news-event-card .news-body {
  padding: 32px;
}

.news-event-card .news-body .event-date-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-event-card .news-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.news-event-card .news-body p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-item .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30,58,138,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item .gallery-overlay i {
  color: var(--white);
  font-size: 2rem;
  transform: scale(0.5);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
}

.lightbox-close:hover {
  color: var(--accent-light);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 16px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  transition: var(--transition);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent-light);
  color: var(--white);
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1rem;
  background: rgba(0,0,0,0.5);
  padding: 8px 24px;
  border-radius: 50px;
}

/* ============================================
   ADMISSIONS PAGE
   ============================================ */
.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.process-steps {
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.process-step .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.process-step .step-content h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 4px;
}

.process-step .step-content p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.eligibility-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.eligibility-box h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 20px;
}

.eligibility-box ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.eligibility-box ul li i {
  color: var(--accent);
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.doc-card {
  padding: 24px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.doc-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.doc-card p {
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: var(--transition);
}

.faq-question i {
  transition: var(--transition);
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.contact-info-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30,58,138,0.08), rgba(30,58,138,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.map-wrapper {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.97);
  z-index: 1500;
  align-items: center;
  justify-content: center;
}

.search-overlay.active {
  display: flex;
}

.search-overlay-content {
  width: 90%;
  max-width: 600px;
}

.search-overlay-content input {
  width: 100%;
  padding: 20px 24px;
  border: none;
  border-bottom: 3px solid var(--primary);
  background: transparent;
  color: var(--dark);
  font-size: 1.5rem;
  font-family: var(--font-body);
  outline: none;
}

.search-overlay-content input::placeholder {
  color: var(--gray-400);
}

.search-overlay-content p {
  color: var(--gray-500);
  margin-top: 16px;
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .admission-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .principal-message { grid-template-columns: 1fr; }
  .news-event-card { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    transition: var(--transition);
    gap: 4px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--gray-700);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary);
    background: rgba(30,58,138,0.08);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat .stat-number { font-size: 2rem; }

  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }

  .page-banner-content h1 { font-size: 2.2rem; }
  .cta-content h2 { font-size: 2rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .floating-btn { width: 48px; height: 48px; font-size: 1.1rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-item .stat-number { font-size: 2.2rem; }

  .dept-banner { height: 200px; }
  .dept-banner-overlay h2 { font-size: 1.5rem; }
  .dept-body { padding: 24px; }

  .process-step { flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .courses-grid-dept { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .dept-banner-overlay { padding: 20px; }
  .dept-banner-overlay h2 { font-size: 1.2rem; }
}