/* ===== CSS RESET & VARIABLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --navy: #1B2A4A;
  --navy-light: #243656;
  --navy-dark: #111D33;
  --gold: #C5A55A;
  --gold-light: #D4B86A;
  --gold-dark: #A88B3D;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --grey-light: #F0F2F7;
  --grey: #E2E5EC;
  --grey-mid: #9BA3B5;
  --text-dark: #2D2D2D;
  --text-body: #4A5568;
  --text-light: #718096;
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 4px 20px rgba(27, 42, 74, 0.12);
  --shadow-lg: 0 8px 40px rgba(27, 42, 74, 0.16);
  --shadow-3d: 0 6px 0 var(--gold-dark), 0 10px 30px rgba(27, 42, 74, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  color: var(--gold);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(27, 42, 74, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(197, 165, 90, 0.1);
}

.header.scrolled {
  background: rgba(17, 29, 51, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(197, 165, 90, 0.3);
  flex-shrink: 0;
}

.school-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.school-address {
  font-size: 0.7rem;
  color: var(--grey-mid);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cbse-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(197, 165, 90, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(17, 29, 51, 0.85) 0%,
      rgba(27, 42, 74, 0.75) 40%,
      rgba(17, 29, 51, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

/* 3D Admission Badge */
.admission-badge-3d {
  display: inline-block;
  margin-bottom: 32px;
  perspective: 600px;
  animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.admission-inner {
  background: linear-gradient(135deg, var(--gold), #E8C84A, var(--gold-dark));
  color: var(--navy-dark);
  padding: 16px 40px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow:
    0 6px 0 var(--gold-dark),
    0 8px 20px rgba(197, 165, 90, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: rotateX(5deg);
  transition: var(--transition);
}

.admission-inner:hover {
  transform: rotateX(0deg) scale(1.05);
  box-shadow:
    0 8px 0 var(--gold-dark),
    0 12px 30px rgba(197, 165, 90, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.admission-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.admission-session {
  font-size: 0.7rem;
  background: var(--navy);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 12px;
}

.admission-star {
  font-size: 0.75rem;
  animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 165, 90, 0.4);
}

.btn-3d {
  box-shadow: 0 4px 0 var(--gold-dark), 0 6px 15px rgba(197, 165, 90, 0.3);
}

.btn-3d:hover {
  box-shadow: 0 2px 0 var(--gold-dark), 0 4px 12px rgba(197, 165, 90, 0.3);
  transform: translateY(2px);
}

.btn-3d:active {
  box-shadow: 0 0px 0 var(--gold-dark);
  transform: translateY(4px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 165, 90, 0.1);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 24px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeInUp 1.5s ease-out;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

/* ===== SECTIONS COMMON ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(197, 165, 90, 0.15), rgba(197, 165, 90, 0.05));
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 30px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(197, 165, 90, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
  margin: 0 auto 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.05);
}

.about-img-accent {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  border: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-img-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: 24px;
  max-width: 420px;
}

.about-img-badge .press-img {
  width: 140px;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--grey);
}

.about-img-badge span {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-content>p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-highlights {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.highlight-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== FACILITIES SECTION ===== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.facility-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey);
  transition: var(--transition);
  animation-delay: var(--delay);
  position: relative;
  overflow: hidden;
}

.facility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.facility-card:hover::before {
  transform: scaleX(1);
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.facility-icon-wrap {
  margin-bottom: 20px;
}

.facility-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.06), rgba(197, 165, 90, 0.1));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--navy);
  transition: var(--transition);
}

.facility-card:hover .facility-icon {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  transform: rotateY(180deg);
}

.facility-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.facility-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: var(--off-white);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--grey);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(17, 29, 51, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.gallery-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-zoom:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  font-size: 0.9rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* ===== BROCHURE SECTION ===== */
.brochure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.brochure-preview {
  display: flex;
  justify-content: center;
}

.brochure-mockup {
  perspective: 800px;
}

.brochure-page {
  width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow:
    0 20px 60px rgba(27, 42, 74, 0.15),
    0 2px 0 var(--grey),
    4px 4px 0 var(--grey-light);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
  border: 1px solid var(--grey);
}

.brochure-page:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.brochure-header-mock {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gold);
}

.brochure-header-mock i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.brochure-header-mock h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.2rem;
}

.brochure-header-mock p {
  font-size: 0.75rem;
  color: var(--text-light);
}

.brochure-body-mock {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-line {
  height: 8px;
  background: var(--grey-light);
  border-radius: 4px;
}

.w80 {
  width: 80%;
}

.w60 {
  width: 60%;
}

.w90 {
  width: 90%;
}

.w70 {
  width: 70%;
}

.w50 {
  width: 50%;
}

.brochure-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.brochure-content>p {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.brochure-list {
  margin-bottom: 28px;
}

.brochure-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--grey-light);
}

.brochure-list li i {
  color: var(--gold);
  font-size: 1rem;
}

.brochure-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.brochure-actions .btn-outline {
  color: var(--navy);
  border-color: var(--navy);
}

.brochure-actions .btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form-wrap {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--grey);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
}

.form-group label {
  position: absolute;
  top: -8px;
  left: 12px;
  background: var(--white);
  padding: 0 6px;
  font-size: 0.72rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: var(--transition);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group select:focus+label,
.form-group select:valid+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
  opacity: 1;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 0;
  position: relative;
}

.footer-wave {
  position: relative;
  top: -2px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
  fill: var(--navy-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 40px 0 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo i {
  font-size: 1.8rem;
  color: var(--gold);
}

.footer-logo h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
}

.footer-about p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-col h4::after,
.footer-contact-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}

.footer-links-col li {
  margin-bottom: 10px;
}

.footer-links-col a {
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-col p {
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-col i {
  color: var(--gold);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ===== CALL FLOAT ===== */
.call-float {
  position: fixed;
  bottom: 100px;
  left: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.4);
  transition: var(--transition);
  animation: callPulse 2s infinite;
}

.call-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(27, 42, 74, 0.6);
  background: var(--gold);
}

@keyframes callPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(27, 42, 74, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(27, 42, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(27, 42, 74, 0);
  }
}

.call-tooltip {
  position: absolute;
  left: 70px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.call-float:hover .call-tooltip {
  opacity: 1;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-tooltip {
  position: absolute;
  left: 70px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border: none;
  border-radius: 12px;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-40px) translateY(0);
}

.reveal-left.revealed {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(40px) translateY(0);
}

.reveal-right.revealed {
  transform: translateX(0);
}

/* ===== FADE IN KEYFRAMES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== ACADEMIC PARTNERS ========== */
.partners-section {
  background: var(--white);
  padding: 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.partner-logo {
  display: block;
}



.partner-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 20px;
    gap: 4px;
    border-bottom: 2px solid var(--gold);
    animation: fadeInUp 0.3s ease;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .stat-divider {
    width: 50px;
    height: 1px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brochure-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .header-inner {
    height: 66px;
  }

  .school-name {
    font-size: 1.1rem;
  }

  .school-address {
    display: none;
  }

  .cbse-badge {
    display: none;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

  .admission-inner {
    padding: 12px 24px;
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .admission-text {
    font-size: 0.9rem;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-filter {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.78rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .brochure-page {
    width: 240px;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-stats {
    padding: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .call-float,
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    bottom: 20px;
    left: 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}