/* ============================================
   SURAJ SCHOOL NARNAUL - Main Stylesheet
   Color Scheme: Deep Blue, Gold, White
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary-blue: #1a237e;
  --primary-blue-dark: #0d1452;
  --primary-blue-light: #283593;
  --accent-gold: #f9a825;
  --accent-gold-dark: #c17900;
  --accent-gold-light: #fdd835;
  --accent-orange: #e65100;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --light-gray: #e8eaf6;
  --text-dark: #212121;
  --text-medium: #555555;
  --text-light: #757575;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', 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-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Utility Classes --- */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(249, 168, 37, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 168, 37, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary-blue-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left a,
.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
}

.top-bar-left a:hover {
  color: var(--accent-gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-right .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  transition: var(--transition);
}

.top-bar-right .social-links a:hover {
  background: var(--accent-gold);
  color: var(--white);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-blue);
  line-height: 1.2;
  font-weight: 700;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--accent-gold-dark);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-radius: var(--radius);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-blue);
  background: var(--light-gray);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-cta {
  margin-left: 10px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 60%, #0a0f3a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,168,37,0.15) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,168,37,0.08) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(249,168,37,0.2);
  color: var(--accent-gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(249,168,37,0.3);
}

.hero-text h2 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text h2 .highlight {
  color: var(--accent-gold);
}

.hero-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: var(--font-heading);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(249,168,37,0.3), rgba(249,168,37,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(249,168,37,0.1); }
  50% { box-shadow: 0 0 80px rgba(249,168,37,0.2); }
}

.hero-image-frame .sun-icon {
  width: 280px;
  height: 280px;
  opacity: 0.9;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 15px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  top: 10%;
  right: -20px;
  animation-delay: -2s;
}

.floating-card:nth-child(3) {
  bottom: 15%;
  left: -30px;
  animation-delay: -4s;
}

.floating-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-card .card-icon.blue {
  background: var(--light-gray);
  color: var(--primary-blue);
}

.floating-card .card-icon.gold {
  background: #fff8e1;
  color: var(--accent-gold-dark);
}

.floating-card .card-text {
  font-size: 0.85rem;
}

.floating-card .card-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-blue);
}

.floating-card .card-text span {
  color: var(--text-light);
}

/* ============================================
   MARQUEE / ANNOUNCEMENT
   ============================================ */
.announcement-bar {
  background: var(--accent-gold);
  padding: 10px 0;
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.marquee-label {
  background: var(--primary-blue);
  color: var(--white);
  padding: 4px 15px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-content {
  overflow: hidden;
  flex: 1;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  font-weight: 500;
  color: var(--primary-blue-dark);
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-image-main .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  gap: 15px;
}

.about-image-main .placeholder-img svg {
  width: 100px;
  height: 100px;
  opacity: 0.6;
}

.about-year-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.about-year-badge .year {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
}

.about-year-badge .year-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

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

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.pillar-item {
  text-align: center;
  padding: 20px 15px;
  border-radius: var(--radius);
  background: var(--light-gray);
  transition: var(--transition);
}

.pillar-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.pillar-item .pillar-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.pillar-item h4 {
  font-size: 0.95rem;
  color: var(--primary-blue);
  font-weight: 700;
}

/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */
.features-section {
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary-blue);
  color: var(--white);
  transform: scale(1.1);
}

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

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   ACADEMICS SECTION
   ============================================ */
.academics-section {
  background: var(--white);
}

.academics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.academic-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  border: 2px solid var(--light-gray);
  transition: var(--transition);
  cursor: pointer;
}

.academic-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.academic-card .academic-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: var(--white);
}

.academic-card h3 {
  font-size: 1.1rem;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.academic-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

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

.principal-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: radial-gradient(circle at right, rgba(249,168,37,0.1), transparent 70%);
}

.principal-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.principal-image {
  position: relative;
}

.principal-photo {
  width: 280px;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid rgba(249,168,37,0.4);
  box-shadow: var(--shadow-lg);
}

.principal-photo .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #37474f, #263238);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  gap: 10px;
}

.principal-photo .placeholder-img svg {
  width: 80px;
  height: 80px;
  opacity: 0.5;
}

.principal-name-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: var(--primary-blue-dark);
  padding: 8px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.principal-content .quote-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  opacity: 0.6;
  margin-bottom: 15px;
  display: block;
}

.principal-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
}

.principal-content p {
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.principal-content .signature {
  margin-top: 25px;
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 600;
}

/* ============================================
   FACILITIES SECTION
   ============================================ */
.facilities-section {
  background: var(--off-white);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.facility-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.facility-image .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  gap: 8px;
}

.facility-image .placeholder-img svg {
  width: 50px;
  height: 50px;
  opacity: 0.7;
}

.facility-info {
  padding: 25px;
}

.facility-info h3 {
  font-size: 1.15rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-weight: 700;
}

.facility-info p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Colors for facility images */
.facility-card:nth-child(1) .facility-image .placeholder-img { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.facility-card:nth-child(2) .facility-image .placeholder-img { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.facility-card:nth-child(3) .facility-image .placeholder-img { background: linear-gradient(135deg, #e65100, #bf360c); }
.facility-card:nth-child(4) .facility-image .placeholder-img { background: linear-gradient(135deg, #6a1b9a, #4a148c); }
.facility-card:nth-child(5) .facility-image .placeholder-img { background: linear-gradient(135deg, #00838f, #006064); }
.facility-card:nth-child(6) .facility-image .placeholder-img { background: linear-gradient(135deg, #ad1457, #880e4f); }

/* ============================================
   COUNTER / STATS SECTION
   ============================================ */
.counter-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 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");
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.counter-item {
  text-align: center;
  color: var(--white);
}

.counter-item .counter-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  display: block;
}

.counter-item .counter-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.counter-item .counter-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* ============================================
   EVENTS / NEWS SECTION
   ============================================ */
.events-section {
  background: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--light-gray);
}

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

.event-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.event-image .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.event-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-gold);
  color: var(--primary-blue-dark);
  padding: 8px 12px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

.event-date-badge .day {
  font-size: 1.5rem;
  display: block;
}

.event-date-badge .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-info {
  padding: 25px;
}

.event-info h3 {
  font-size: 1.1rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-weight: 700;
}

.event-info p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.event-info .read-more {
  color: var(--accent-gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.event-info .read-more:hover {
  color: var(--primary-blue);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--off-white);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  padding: 0 20px;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent-gold);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-name strong {
  display: block;
  color: var(--primary-blue);
  font-size: 1rem;
}

.testimonial-name span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.testimonial-nav .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.testimonial-nav .dot.active {
  background: var(--accent-gold);
  transform: scale(1.2);
}

/* ============================================
   ADMISSION CTA SECTION
   ============================================ */
.admission-cta {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.admission-cta::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  top: -150px;
  right: -100px;
}

.admission-cta::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  bottom: -100px;
  left: -50px;
}

.admission-cta h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.admission-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.admission-cta .btn {
  position: relative;
  z-index: 2;
  background: var(--primary-blue);
  color: var(--white);
}

.admission-cta .btn:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-3px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--white);
}

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

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(5px);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.contact-card-info h4 {
  font-size: 1.05rem;
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.contact-card-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card-info a {
  color: var(--accent-gold-dark);
  font-weight: 500;
}

.contact-card-info a:hover {
  color: var(--primary-blue);
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 35px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 25px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  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(--accent-gold);
  box-shadow: 0 0 0 3px rgba(249,168,37,0.1);
}

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

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

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
  height: 350px;
  background: var(--light-gray);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: var(--text-light);
}

.map-placeholder svg {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  opacity: 0.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0a0f3a;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about .logo-text h1 {
  color: var(--white);
  font-size: 1.3rem;
}

.footer-about .logo-text span {
  color: var(--accent-gold);
}

.footer-about p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  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);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-gold);
  color: var(--white);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column ul li a:hover {
  color: var(--accent-gold);
  transform: translateX(5px);
}

.footer-column ul li a::before {
  content: '›';
  color: var(--accent-gold);
  font-weight: 700;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item .icon {
  width: 35px;
  height: 35px;
  min-width: 35px;
  border-radius: 50%;
  background: rgba(249,168,37,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.footer-contact-item p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
}

.footer-contact-item a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: none;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
}

/* ============================================
   PAGE BANNER (for inner pages)
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,168,37,0.1), transparent);
  top: -250px;
  right: -150px;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.page-banner .breadcrumb a {
  color: var(--accent-gold);
}

.page-banner .breadcrumb a:hover {
  color: var(--white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-image-frame { width: 300px; height: 300px; }
  .hero-text h2 { font-size: 2.5rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .academics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .principal-grid { grid-template-columns: 1fr; text-align: center; }
  .principal-image { display: flex; justify-content: center; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 1001;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 15px;
    font-size: 1.05rem;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1002;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero { min-height: 70vh; padding: 40px 0; }
  .hero-text h2 { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .stat-item .stat-number { font-size: 1.8rem; }
  .hero-image-frame { width: 250px; height: 250px; }
  .hero-image-frame .sun-icon { width: 180px; height: 180px; }

  .section-title h2 { font-size: 2rem; }
  .section-padding { padding: 60px 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .admission-cta h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-text h2 { font-size: 1.6rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-direction: column; gap: 15px; align-items: flex-start; }
  .about-pillars { grid-template-columns: 1fr; }
  .academics-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr; }
  .hero-image-frame { width: 200px; height: 200px; }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-sun {
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

.nav-overlay.active {
  display: block;
}
