/*
Theme Name: JVB School Theme
Theme URI: https://jvbems.in
Author: JVB Schools Thiruvananthapuram
Author URI: https://jvbems.in
Description: A prestigious, professional theme for Jawahar Vidhya Bhavan English Medium School — Navy Blue & Gold edition.
Version: 1.0
License: GNU General Public License v2 or later
Tags: school, education, professional
*/

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --navy: #0a1f44;
  --navy-mid: #102a5e;
  --navy-light: #1a3a7a;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-dark: #a07830;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --light-gray: #eef1f6;
  --text-dark: #1a1a2e;
  --text-mid: #444466;
  --text-light: #888aaa;
  --shadow: 0 8px 32px rgba(10, 31, 68, 0.13);
  --shadow-lg: 0 20px 60px rgba(10, 31, 68, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', 'Georgia', serif;
  --font-ui: 'Nunito', 'Segoe UI', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--gold-light);
}

ul {
  list-style: none;
}

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

.section-pad {
  padding: 90px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

h4 {
  font-size: 1.2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-mid);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 52px;
  font-family: var(--font-ui);
}

/* =========================================
   GOLD BADGE / LABEL
   ========================================= */
.gold-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 14px 34px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 9px 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  border-bottom: 2px solid var(--gold);
}

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

.top-bar a {
  color: var(--gold-light);
}

.top-bar a:hover {
  color: var(--white);
}

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

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.top-bar-social a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10, 31, 68, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  transition: var(--transition);
}

.site-logo:hover .logo-img {
  transform: scale(1.03);
}

.logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.2);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.logo-sub {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  background: var(--light-gray);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Dropdown */
.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  min-width: 210px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  border-top: 3px solid var(--gold);
  padding: 8px 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 0;
  color: var(--text-dark);
}

.dropdown a:hover {
  background: var(--off-white);
  color: var(--navy);
  padding-left: 26px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
  transform: translateY(-1px);
  background: var(--off-white) !important;
  color: var(--navy) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-shape {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 80px solid rgba(201, 168, 76, 0.06);
}

.hero-shape2 {
  position: absolute;
  right: 120px;
  bottom: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 60px solid rgba(201, 168, 76, 0.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

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

.hero-image-heading {
  margin-bottom: 24px;
}

.hero-heading-img {
  width: 100%;
  max-width: 920px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 168, 76, 0.35);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-heading-img:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(201, 168, 76, 0.5);
}

.hero-tagline {
  font-family: var(--font-ui);
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.7), transparent);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(6px)
  }
}

/* =========================================
   RECOGNITION STRIP
   ========================================= */
.recognition-strip {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  padding: 18px 0;
}

.recognition-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.rec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rec-divider {
  width: 1px;
  height: 24px;
  background: rgba(10, 31, 68, 0.25);
}

/* =========================================
   ABOUT PREVIEW
   ========================================= */
.about-preview {
  background: var(--off-white);
}

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

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

.about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.badge-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.badge-text {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content {
  padding-right: 20px;
}

.heading-title-with-img {
  text-align: left;
}

.heading-title-with-img::after {
  margin: 14px 0 0 0;
}

.heading-flex {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.heading-left-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.18);
  flex-shrink: 0;
  transition: var(--transition);
}

.heading-left-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(10, 31, 68, 0.25);
}

.about-content p {
  color: var(--text-mid);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.founder-note {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-mid);
}

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

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

.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

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

/* =========================================
   FACILITIES
   ========================================= */
.facilities {
  background: var(--navy);
}

.facilities .section-title {
  color: var(--white);
}

.facilities .section-title::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.facilities .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

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

.facility-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.facility-item:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.facility-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.facility-item span {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* =========================================
   VISION & MISSION
   ========================================= */
.vm-section {
  background: var(--off-white);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.vm-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1), transparent 70%);
  border-radius: 50%;
}

.vm-card.navy {
  background: var(--navy);
}

.vm-card.navy h3 {
  color: var(--white);
}

.vm-card.navy p {
  color: rgba(255, 255, 255, 0.75);
}

.vm-card.navy .vm-icon {
  background: rgba(201, 168, 76, 0.15);
}

.vm-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.vm-card h3 {
  margin-bottom: 16px;
}

.vm-card p {
  color: var(--text-mid);
  line-height: 1.8;
}

/* =========================================
   CURRICULUM
   ========================================= */
.curriculum {
  background: var(--white);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.curriculum-card {
  display: flex;
  gap: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

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

.curriculum-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: 12px;
}

.curriculum-card h4 {
  color: var(--navy);
  margin-bottom: 8px;
}

.curriculum-card p {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* =========================================
   KINDERGARTEN SECTION
   ========================================= */
.kindergarten {
  background: linear-gradient(135deg, #fff9f0, #fff3e0);
}

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

.kinder-content .gold-badge {
  border-color: #e8a000;
  color: #c97a00;
}

.kinder-content h2 {
  color: var(--navy);
  margin-bottom: 20px;
}

.kinder-content p {
  color: var(--text-mid);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.kinder-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.kinder-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(10, 31, 68, 0.06);
}

.kinder-item-icon {
  font-size: 1.4rem;
}

.kinder-item span {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--navy);
}

.kinder-info-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.kinder-info-box h3 {
  color: var(--gold-light);
  margin-bottom: 20px;
}

.kinder-info-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-family: var(--font-ui);
}

.kinder-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.kinder-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================
   INSTITUTIONS
   ========================================= */
.institutions {
  background: var(--navy);
}

.institutions .section-title {
  color: var(--white);
}

.institutions .section-title::after {
  background: var(--gold);
}

.institutions .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

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

.inst-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.inst-card:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.inst-card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.inst-card h3 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.inst-card p {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-ui);
  font-size: 0.88rem;
}

/* =========================================
   ADMISSIONS / ENQUIRY
   ========================================= */
.admissions {
  background: var(--off-white);
}

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

.admissions-info h2 {
  margin-bottom: 20px;
}

.admissions-info p {
  color: var(--text-mid);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--navy);
  margin-bottom: 4px;
}

.step-content p {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-mid);
}

.enquiry-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.enquiry-form-box h3 {
  margin-bottom: 24px;
  color: var(--navy);
}

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

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

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

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

/* =========================================
   GALLERY PREVIEW
   ========================================= */
.gallery-preview {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--light-gray);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 31, 68, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

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

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
  font-family: var(--font-ui);
  font-size: 0.8rem;
}

.gallery-placeholder .icon {
  font-size: 2rem;
}

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

.contact-section .section-title {
  color: var(--white);
}

.contact-section .section-title::after {
  background: var(--gold);
}

.contact-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

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

.contact-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
}

.contact-card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.contact-card h4 {
  color: var(--gold-light);
  margin-bottom: 12px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-card a {
  color: var(--gold-light);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #060f24;
  border-top: 3px solid var(--gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.footer-brand .logo-icon {
  width: 52px;
  height: 52px;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-top: 14px;
  max-width: 280px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-col h5 {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-col address {
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
}

.footer-col address a {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

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

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold);
  }

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

  .main-nav a {
    padding: 14px 16px;
    border-radius: var(--radius);
  }

  .hamburger {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .about-grid,
  .admissions-grid,
  .vm-grid,
  .kinder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    display: inline-block;
  }

  .features-grid,
  .inst-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.large {
    grid-column: span 2;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    max-width: 280px;
  }

  .recognition-inner {
    gap: 20px;
  }

  .rec-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-pad {
    padding: 60px 0;
  }

  .enquiry-form-box {
    padding: 28px 20px;
  }
}