/*
Theme Name: SBS Children's Academy
Theme URI: https://sbsacademy.in
Author: SBS Academy
Author URI: https://sbsacademy.in
Description: Premium school website theme for Sardar Bhagat Singh Children's Academy, Gambhirpur, Kushinagar — affiliated to UP Board.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sbs-academy
Tags: school, education, one-page, custom-colors, custom-menu, featured-images, responsive-layout
*/

/* ===== GLOBAL STYLES ===== */
:root {
  --primary: #1a237e;
  --primary-dark: #0d1453;
  --primary-light: #3949ab;
  --saffron: #FF9933;
  --green: #138808;
  --gold: #FFD700;
  --white: #ffffff;
  --light-bg: #f0f4ff;
  --text-dark: #1a1a2e;
  --text-gray: #555;
  --shadow: 0 8px 32px rgba(26,35,126,0.15);
  --shadow-lg: 0 20px 60px rgba(26,35,126,0.2);
  --border-radius: 16px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 35, 126, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0 40px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.navbar.scrolled {
  height: 65px;
  background: rgba(13, 20, 83, 0.98);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--saffron);
  box-shadow: 0 0 15px rgba(255,153,51,0.5);
  transition: var(--transition);
}

.nav-logo:hover { transform: rotate(10deg) scale(1.1); }

.nav-title {
  display: flex;
  flex-direction: column;
}

.nav-title-main {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.nav-title-sub {
  color: var(--saffron);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,153,51,0.2);
  border-color: rgba(255,153,51,0.4);
  transform: translateY(-1px);
}

.nav-links a.active {
  background: var(--saffron);
  color: var(--primary-dark);
  font-weight: 700;
  border-color: var(--saffron);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 75px;
  left: 0; right: 0;
  background: rgba(13, 20, 83, 0.98);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 10px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(255,153,51,0.15);
  border-left-color: var(--saffron);
  color: var(--saffron);
}

/* ===== TRICOLOR BAR ===== */
.tricolor-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--saffron) 33.33%, white 33.33% 66.66%, var(--green) 66.66%);
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: linear-gradient(90deg, var(--saffron), #e68900, var(--saffron));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 8px 20px;
  letter-spacing: 0.5px;
}
@keyframes shimmer { 0% { background-position: 0% } 100% { background-position: 200% } }
.announcement-bar i { margin: 0 8px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 75px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0.15;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  animation: heroLogoEntry 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes heroLogoEntry {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.hero-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--saffron);
  box-shadow: 0 0 0 10px rgba(255,153,51,0.1), 0 0 40px rgba(255,153,51,0.4);
  animation: pulseLogo 3s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% { box-shadow: 0 0 0 10px rgba(255,153,51,0.1), 0 0 40px rgba(255,153,51,0.4); }
  50% { box-shadow: 0 0 0 20px rgba(255,153,51,0.05), 0 0 60px rgba(255,153,51,0.6); }
}

.hero-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: var(--saffron);
  color: var(--primary-dark);
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255,153,51,0.5);
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  animation: slideUp 0.8s ease both 0.3s;
}

.hero h1 span { color: var(--saffron); }

.hero-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  animation: slideUp 0.8s ease both 0.5s;
  letter-spacing: 0.5px;
}

.hero-location {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  animation: slideUp 0.8s ease both 0.6s;
}

.hero-location i { color: var(--saffron); margin-right: 5px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease both 0.7s;
}

.stat-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 20px 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255,153,51,0.15);
  border-color: rgba(255,153,51,0.3);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--saffron);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease both 0.9s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), #e68900);
  color: var(--primary-dark);
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(255,153,51,0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(255,153,51,0.5);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  margin: -8px auto;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== SECTION STYLES ===== */
.section { padding: 100px 40px; }

.section-alt { background: var(--light-bg); }

.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron), #e68900);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title span { color: var(--saffron); }

.section-subtitle {
  font-size: 15px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--green));
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ===== ABOUT SECTION (HOME) ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-image:hover { transform: scale(1.02); }

.about-badge-wrap {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--primary);
  color: white;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-badge-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--saffron);
  display: block;
}

.about-badge-text {
  font-size: 11px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin: 25px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-gray);
}

.feature-list li i {
  color: var(--green);
  font-size: 18px;
  flex-shrink: 0;
}

/* ===== PRINCIPAL SECTION ===== */
.principal-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.principal-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.principal-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.principal-img-wrap {
  position: relative;
  text-align: center;
}

.principal-img {
  width: 240px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 4px solid var(--saffron);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.principal-title-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saffron);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 30px;
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.principal-content {
  padding-left: 20px;
}

.principal-content .quote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  border-left: 4px solid var(--saffron);
  padding-left: 24px;
  margin: 20px 0;
}

.principal-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--saffron);
}

.principal-desig {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-section {
  background: var(--primary);
  padding: 60px 40px;
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.achievement-item { color: white; }
.achievement-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--saffron);
  display: block;
  line-height: 1;
}
.achievement-label {
  font-size: 13px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  display: block;
}

/* ===== FEATURES / WHY US ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(26,35,126,0.06);
  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(--saffron), var(--green));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: white;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--saffron), #e68900);
  color: var(--primary-dark);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: white;
  border: 2px solid rgba(26,35,126,0.15);
  color: var(--primary);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,35,126,0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,35,126,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255,255,255,0.2);
  border: 2px solid white;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.gallery-item:hover .gallery-zoom { transform: translate(-50%, -50%) scale(1); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 35px;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-close:hover { transform: scale(1.2) rotate(90deg); color: var(--saffron); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.lightbox-nav:hover { background: var(--saffron); border-color: var(--saffron); color: var(--primary-dark); }

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== TEACHERS ===== */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.teacher-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
  border: 1px solid rgba(26,35,126,0.06);
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.teacher-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.teacher-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.teacher-card:hover .teacher-img { transform: scale(1.08); }

.teacher-dept {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--saffron);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.teacher-info {
  padding: 24px;
}

.teacher-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.teacher-subject {
  font-size: 12px;
  color: var(--saffron);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.teacher-qual {
  font-size: 12px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.teacher-qual i { color: var(--green); }

/* Teacher Placeholder */
.teacher-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  flex-direction: column;
  gap: 12px;
}
.teacher-placeholder i { font-size: 4rem; color: rgba(255,255,255,0.5); }
.teacher-placeholder span { color: rgba(255,255,255,0.6); font-size: 13px; }

/* Principal Featured (Teachers Page) */
.principal-featured {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 40px;
  color: white;
}
.principal-featured-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
}
.principal-featured-img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 5px solid var(--saffron);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.principal-featured-badge {
  display: inline-block;
  background: var(--saffron);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.principal-featured h2 { font-size: 2rem; font-weight: 800; color: var(--saffron); margin-bottom: 8px; }
.principal-featured .desig { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 20px; }
.principal-featured p { color: rgba(255,255,255,0.8); line-height: 1.8; font-size: 15px; }
.achievement-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.achievement-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
}

/* Staff Table */
.staff-section { padding: 80px 40px; background: var(--light-bg); }
.staff-table-wrap { max-width: 1000px; margin: 0 auto; }
.staff-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.staff-table th {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.staff-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.staff-table tr:last-child td { border-bottom: none; }
.staff-table tr:nth-child(even) td { background: #fafbff; }
.staff-table tr:hover td { background: #eff2ff; }
.subject-badge {
  background: var(--primary);
  color: white;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 15px;
}

/* Join Section */
.join-section {
  background: linear-gradient(135deg, var(--saffron), #e68900);
  padding: 80px 40px;
  text-align: center;
  color: var(--primary-dark);
}
.join-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.join-section p { font-size: 15px; max-width: 600px; margin: 0 auto 30px; line-height: 1.7; }

/* ===== ABOUT PAGE ===== */
.bhagat-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 40px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bhagat-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,153,51,0.1) 0%, transparent 70%);
}
.bhagat-quote {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.bhagat-quote::before {
  content: '"';
  font-size: 8rem;
  color: rgba(255,153,51,0.15);
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: Georgia, serif;
  line-height: 1;
}
.bhagat-name {
  color: var(--saffron);
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Stats Showcase */
.stats-showcase {
  background: var(--light-bg);
  padding: 80px 40px;
}
.stats-big-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-big-card {
  background: white;
  border-radius: 20px;
  padding: 35px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid var(--primary);
  transition: all 0.4s ease;
}
.stat-big-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(26,35,126,0.15); }
.stat-big-card:nth-child(2) { border-top-color: var(--saffron); }
.stat-big-card:nth-child(3) { border-top-color: var(--green); }
.stat-big-card:nth-child(4) { border-top-color: #9c27b0; }
.stat-big-number { font-size: 3rem; font-weight: 900; color: var(--primary); display: block; line-height: 1; }
.stat-big-card:nth-child(2) .stat-big-number { color: var(--saffron); }
.stat-big-card:nth-child(3) .stat-big-number { color: var(--green); }
.stat-big-card:nth-child(4) .stat-big-number { color: #9c27b0; }
.stat-big-label { font-size: 13px; color: var(--text-gray); margin-top: 8px; font-weight: 500; }
.stat-big-icon { font-size: 2rem; margin-bottom: 15px; }

/* Mission Vision */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.mv-card {
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.mv-card.mission {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}
.mv-card.vision {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}
.mv-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}
.mv-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 16px; }
.mv-card.mission h3 { color: var(--saffron); }
.mv-card.vision h3 { color: var(--green); }
.mv-card p { line-height: 1.8; font-size: 14px; }
.mv-card.mission p { color: rgba(255,255,255,0.85); }
.mv-card.vision p { color: #2e7d32; }

/* Affiliation Badge */
.affiliation-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--saffron), #e68900);
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 25px rgba(255,153,51,0.3);
  margin: 20px 10px;
}

/* Activity Grid */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}
.activity-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
}
.activity-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(26,35,126,0.12); }
.activity-img { width: 100%; height: 180px; object-fit: cover; }
.activity-info { padding: 20px; }
.activity-info h4 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.activity-info p { font-size: 13px; color: var(--text-gray); line-height: 1.6; }

/* ===== TIMELINE ===== */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--saffron), var(--primary), var(--green));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  margin-bottom: 50px;
  align-items: start;
}

.timeline-content {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(26,35,126,0.06);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.timeline-item:nth-child(even) .timeline-content:first-child { opacity: 0; }
.timeline-item:nth-child(odd) .timeline-content:last-child { opacity: 0; }

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--saffron);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 3px var(--saffron);
  margin-top: 20px;
  flex-shrink: 0;
}

.timeline-year {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--saffron);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  text-align: center;
  padding: 35px 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--border-radius);
  padding: 40px;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 35px;
  line-height: 1.6;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--saffron);
}

.contact-detail-text strong {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-detail-text span {
  font-size: 14px;
  line-height: 1.5;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}

.social-btn:hover {
  background: var(--saffron);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.contact-form-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.contact-form-card p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid rgba(26,35,126,0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
  background: #fafbff;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(26,35,126,0.08);
}

.form-group textarea { height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26,35,126,0.3);
}

.success-msg {
  display: none;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border: 2px solid var(--green);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  color: #2e7d32;
  font-weight: 600;
  margin-top: 16px;
}

.success-msg.visible { display: block; }

/* ===== MAP ===== */
.map-section { padding: 0; }

.map-wrap {
  background: var(--primary-dark);
  padding: 30px 40px;
  text-align: center;
}

.map-wrap h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.map-wrap p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 20px;
}

.map-placeholder {
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
  border-radius: 16px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  border: 2px dashed rgba(26,35,126,0.2);
}

.map-placeholder i { font-size: 3rem; color: var(--primary); }
.map-placeholder p { color: var(--primary); font-weight: 600; margin: 0; }
.map-placeholder span { font-size: 12px; color: var(--text-gray); }

/* ===== ADMISSION STRIP ===== */
.admission-strip {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 50px 40px;
  text-align: center;
  color: white;
}
.admission-strip h2 { font-size: 1.8rem; font-weight: 800; color: var(--saffron); margin-bottom: 10px; }
.admission-strip p { color: rgba(255,255,255,0.8); font-size: 15px; max-width: 600px; margin: 0 auto 25px; line-height: 1.7; }
.admission-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.admission-step {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 20px 25px;
  min-width: 180px;
  text-align: center;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--saffron);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 12px;
}
.admission-step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.admission-step p { font-size: 12px; color: rgba(255,255,255,0.6); margin: 0; }

/* ===== FAQ ===== */
.faq-section { padding: 80px 40px; background: var(--light-bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid rgba(26,35,126,0.06);
}
.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.faq-question:hover { background: var(--light-bg); }
.faq-question i { color: var(--saffron); font-size: 12px; transition: transform 0.3s; }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px 20px; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-item.open .faq-question { color: var(--primary); background: #eff2ff; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: white;
}

.footer-top {
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--saffron);
  margin-bottom: 16px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--saffron);
}

.footer-brand p {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--saffron);
  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.6);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--saffron);
  padding-left: 5px;
}

.footer-col ul li a i { font-size: 10px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.footer-contact-item i {
  color: var(--saffron);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom span { color: var(--saffron); }

/* ===== PAGE BANNER ===== */
.page-banner {
  height: 320px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 75px;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.page-banner-content { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover { color: var(--saffron); }

.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--saffron); font-weight: 600; }

.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate { opacity: 1; }
[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(0.85); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .principal-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .principal-grid { text-align: center; }
  .principal-img-wrap { margin: 0 auto; }
  .principal-content { padding-left: 0; }
  .principal-content .quote { text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-badge-wrap { position: static; margin-top: 20px; display: inline-block; }
  .principal-featured-inner { grid-template-columns: 1fr; text-align: center; }
  .principal-featured-img { width: 160px; height: 190px; margin: 0 auto; }
  .achievement-tags { justify-content: center; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .stats-big-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 20px; }
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: auto 1fr; }
  .timeline-item:nth-child(odd) .timeline-content:last-child,
  .timeline-item:nth-child(even) .timeline-content:first-child { display: none; }
  .hero-stats { gap: 15px; }
  .stat-item { padding: 15px 20px; }
  .map-wrap { padding: 20px; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .nav-title-main { font-size: 11px; }
  .hero h1 { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
