/* ============================================================
   PM SHREE SCHOOL - Main Stylesheet
   Design System & Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&family=Baloo+2:wght@400;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --saffron:       #FF6B1A;
  --saffron-light: #FF8C42;
  --saffron-pale:  #FFF0E6;
  --navy:          #0A1F4B;
  --navy-mid:      #1A3A6B;
  --navy-light:    #2A5298;
  --gold:          #F5A623;
  --gold-light:    #FFD166;
  --green:         #27AE60;
  --green-light:   #A8E6CF;
  --white:         #FFFFFF;
  --off-white:     #F8F9FC;
  --gray-100:      #F1F4F9;
  --gray-200:      #E2E8F0;
  --gray-400:      #94A3B8;
  --gray-600:      #64748B;
  --gray-800:      #1E293B;
  --text:          #1A1A2E;
  --text-light:    #64748B;

  --font-display:  'Playfair Display', serif;
  --font-body:     'DM Sans', sans-serif;
  --font-accent:   'Baloo 2', cursive;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.15);
  --shadow-xl:  0 30px 80px rgba(0,0,0,0.20);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --header-h:  72px;
}

/* ── 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);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Spacing ── */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--text-light); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  background: var(--saffron-pale);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--saffron);
  border-radius: 50%;
}

.section-title {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title span { color: var(--saffron); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,26,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,26,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ── Card Base ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-saffron { background: var(--saffron-pale); color: var(--saffron); }
.badge-navy    { background: rgba(10,31,75,0.08); color: var(--navy); }
.badge-green   { background: rgba(39,174,96,0.12); color: var(--green); }
.badge-gold    { background: rgba(245,166,35,0.15); color: #B7791F; }

/* ── Divider ── */
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider-center { margin: 16px auto 24px; }

/* ── India Flag Strip ── */
.flag-strip {
  height: 5px;
  background: linear-gradient(90deg, #FF9933 33.33%, #FFFFFF 33.33% 66.66%, #138808 66.66%);
}

/* ── HEADER / NAVBAR ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.header-flag { height: 4px; background: linear-gradient(90deg,#FF9933 33%,#fff 33% 67%,#138808 67%); }

.navbar {
  background: rgba(10,31,75,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-emblem {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 0 3px rgba(255,107,26,0.3);
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text .school-name {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}
.nav-logo-text .school-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  display: block;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-link.active { color: var(--gold); }

.nav-cta .btn { padding: 10px 20px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0A1F4B 0%, #1A3A6B 50%, #0D2E5A 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 8px);
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,107,26,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245,166,35,0.10) 0%, transparent 50%),
    radial-gradient(circle at 60% 20%, rgba(42,82,152,0.4) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,26,0.15);
  border: 1px solid rgba(255,107,26,0.3);
  color: var(--saffron-light);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot { width:7px;height:7px;background:var(--saffron-light);border-radius:50%;animation:pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero-title .accent { color: var(--gold); }
.hero-title .accent2 { color: var(--saffron-light); }

.hero-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.hero-location svg { color: var(--saffron-light); flex-shrink: 0; }

.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  display: block;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-main-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  z-index: 3;
}
.hero-card-emblem {
  width: 80px; height: 80px;
  background: linear-gradient(135deg,var(--saffron),var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 30px rgba(255,107,26,0.4);
}
.hero-card-title {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 6px;
}
.hero-card-sub {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-bottom: 24px;
}
.hero-card-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-card-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
}
.hero-card-feature-icon {
  width: 32px; height: 32px;
  background: rgba(255,107,26,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  white-space: nowrap;
}
.hero-float-card-1 {
  top: -20px; right: -20px;
  animation: float 4s ease-in-out infinite;
}
.hero-float-card-2 {
  bottom: 10px; left: -30px;
  animation: float 4s ease-in-out infinite 1.5s;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-float-inner {
  display: flex; align-items: center; gap: 10px;
}
.hero-float-icon { font-size: 1.5rem; }
.hero-float-text .val {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  display: block; line-height: 1;
}
.hero-float-text .lbl {
  font-size: 0.72rem;
  color: var(--gray-600);
  display: block;
}

/* ── NOTICE TICKER ── */
.notice-ticker {
  background: linear-gradient(90deg,var(--saffron),var(--gold));
  padding: 10px 0;
  overflow: hidden;
}
.notice-ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.ticker-label {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 20px;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%);
  padding-right: 32px;
}
.ticker-scroll {
  overflow: hidden;
  flex: 1;
  padding: 0 20px;
}
.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.ticker-item::before { content: '📢 '; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── QUICK STATS STRIP ── */
.stats-strip {
  background: var(--navy);
  padding: 0;
}
.stats-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-accent);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── ABOUT SNIPPET ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0A1F4B, #2A5298);
  display: flex; align-items: center; justify-content: center;
}
.about-img-wrap .school-illustration {
  font-size: 8rem;
  opacity: 0.6;
}
.about-accent-card {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--saffron);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
}
.about-accent-card .num {
  font-family: var(--font-accent);
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.about-accent-card .lbl {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}
.about-text {}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 40px; height: 40px;
  background: var(--saffron-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.about-feature-text h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 2px; }
.about-feature-text p  { font-size: 0.82rem; margin: 0; }

/* ── FACILITIES ── */
.facilities-bg { background: var(--off-white); }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  cursor: pointer;
}
.facility-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.facility-card:hover .facility-img-overlay { opacity: 1; }

.facility-img {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #0A1F4B, #2A5298);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  overflow: hidden;
}
.facility-img-overlay {
  position: absolute; inset: 0;
  background: rgba(255,107,26,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.facility-img-overlay span { color: var(--white); font-size: 0.9rem; font-weight: 600; }

.facility-body { padding: 24px; }
.facility-body h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.15rem; }
.facility-body p  { font-size: 0.88rem; margin: 0; }

/* ── FACULTY ── */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.faculty-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  text-align: center;
}
.faculty-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.faculty-img {
  height: 180px;
  background: linear-gradient(135deg, #0A1F4B, #2A5298);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}
.faculty-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.faculty-body { padding: 20px 16px; }
.faculty-name { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.faculty-desig { font-size: 0.8rem; color: var(--saffron); font-weight: 600; margin-bottom: 8px; }
.faculty-subject { font-size: 0.78rem; color: var(--text-light); }

/* ── PRINCIPAL MESSAGE ── */
.principal-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.principal-section::before {
  content: '"';
  position: absolute;
  top: -40px; left: 5%;
  font-size: 30rem;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}
.principal-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: center;
}
.principal-photo-wrap {
  text-align: center;
}
.principal-photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  margin: 0 auto 20px;
  border: 6px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 0 12px rgba(255,107,26,0.1);
  overflow: hidden;
}
.principal-photo img { width:100%;height:100%;object-fit:cover; }
.principal-title { font-family: var(--font-accent); font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.principal-name  { font-size: 1.3rem; color: var(--white); margin-top: 4px; }

.principal-message blockquote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  margin-bottom: 24px;
  position: relative;
}
.principal-message p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ── ACHIEVEMENTS ── */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.achievement-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.achievement-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--saffron); }
.achievement-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}
.achievement-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.achievement-card p  { font-size: 0.83rem; margin: 0; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info { }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--saffron-pale);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-item h4 { color: var(--navy); margin-bottom: 4px; }
.contact-item p  { font-size: 0.88rem; margin: 0; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--text);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255,107,26,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.footer-brand .logo-name {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}
.footer-brand .logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
}
.footer-brand p { font-size: 0.87rem; line-height: 1.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  color: rgba(255,255,255,0.7);
}
.social-btn:hover { background: var(--saffron); color: var(--white); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.87rem;
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--saffron);
  font-size: 1rem;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-item .icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item span { font-size: 0.84rem; line-height: 1.5; color: rgba(255,255,255,0.6); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-govt-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  padding: 6px 14px;
}
.footer-govt-badge span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.footer-flag { height: 4px; background: linear-gradient(90deg,#FF9933 33%,#fff 33% 67%,#138808 67%); margin-top: 0; }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, #0A1F4B, #1A3A6B);
  padding: calc(var(--header-h) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(255,107,26,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 2; }
.page-header-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.page-header-breadcrumb a { color: rgba(255,255,255,0.5); }
.page-header-breadcrumb a:hover { color: var(--saffron-light); }
.page-header-breadcrumb .sep { color: rgba(255,255,255,0.3); }
.page-header-breadcrumb .current { color: var(--gold); }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p   { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; }

/* ── VISION MISSION ── */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 48px;
}
.vm-card {
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.vm-card-vision { background: linear-gradient(135deg, #0A1F4B, #2A5298); color: var(--white); }
.vm-card-mission { background: linear-gradient(135deg, #FF6B1A, #FF8C42); color: var(--white); }
.vm-card-icon {
  font-size: 3.5rem;
  margin-bottom: 24px;
  display: block;
}
.vm-card h2 { color: var(--white); margin-bottom: 16px; }
.vm-card p  { color: rgba(255,255,255,0.8); line-height: 1.8; font-size: 0.97rem; }
.vm-card-watermark {
  position: absolute;
  bottom: -20px; right: -10px;
  font-size: 10rem;
  opacity: 0.06;
  pointer-events: none;
  line-height: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}
.value-card:hover { border-color: var(--saffron); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-icon { font-size: 2.5rem; display: block; margin-bottom: 16px; }
.value-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 10px; }
.value-card p  { font-size: 0.87rem; margin: 0; }

/* ── ADMISSION INFO ── */
.admission-strip {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.admission-strip h2 { color: var(--white); margin-bottom: 8px; }
.admission-strip p  { color: rgba(255,255,255,0.85); margin: 0; }

/* ── MAP EMBED ── */
.map-section { background: var(--off-white); }
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  height: 400px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.map-placeholder {
  text-align: center;
  padding: 40px;
}
.map-placeholder .map-icon { font-size: 4rem; margin-bottom: 16px; display: block; }
.map-placeholder h3 { color: var(--navy); margin-bottom: 8px; }
.map-placeholder p { font-size: 0.9rem; margin: 0; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── BACK TO TOP ── */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--saffron);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
  cursor: pointer;
  border: none;
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 300px;
  background: var(--navy);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-menu-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 4px;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.mobile-nav-link.active { color: var(--gold); }
.mobile-nav-link .icon { font-size: 1.1rem; width: 20px; text-align: center; }

/* ── NOTIFICATION / ALERT ── */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.alert-success { background: rgba(39,174,96,0.1); border-left: 4px solid var(--green); color: #166534; }
.alert-error    { background: rgba(220,38,38,0.1); border-left: 4px solid #EF4444; color: #991B1B; }
.alert-info     { background: rgba(59,130,246,0.1); border-left: 4px solid #3B82F6; color: #1E40AF; }
.alert-icon { font-size: 1.2rem; flex-shrink: 0; }
.alert-content h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; color: inherit; }
.alert-content p  { font-size: 0.83rem; margin: 0; color: inherit; opacity: 0.8; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats  { max-width: 400px; margin: 0 auto; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .principal-grid { grid-template-columns: 1fr; text-align: center; }
  .faculty-grid { grid-template-columns: repeat(3, 1fr); }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); border-right: none; }

  .facilities-grid  { grid-template-columns: 1fr; }
  .faculty-grid     { grid-template-columns: repeat(2, 1fr); }
  .vm-grid          { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr 1fr; }
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .admission-strip  { flex-direction: column; text-align: center; }
  .principal-photo  { width: 160px; height: 160px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; max-width: 200px; }
  .faculty-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .values-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .vm-card { padding: 32px 24px; }
}
