:root {
  --primary: #f76826; /* Orange-Red */
  --secondary: #171875; /* Navy Blue */
  --accent: #f5b041; /* Gold */
  --bg-light: #f4f6f9;
  --text-dark: #1a1d23;
  --text-muted: #5f6771;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.85);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-snap-type: y proximity; /* Better user control than 'mandatory' */
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* ===== LAYOUT & SPACING ===== */
.section-padding {
  padding: 60px 0; /* Slightly more breathe room for snapping */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
.site-topbar {
  background: var(--secondary);
  color: #fff;
  padding: 6px 0;
  font-size: 12px;
}

.site-header {
  background: var(--white);
  padding: 10px 0;
  border-bottom: 2px solid var(--primary);
}

.main-nav {
  background: var(--secondary);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 15px !important;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
  background: var(--primary);
}

/* Mobile Nav Customizations */
@media (max-width: 991px) {
  .mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
  }
}

/* ===== HERO SLIDER ===== */
.hero-slider-wrapper {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease-in-out,
    transform 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(23, 24, 117, 0.8),
    rgba(190, 32, 21, 0.4)
  );
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.3s;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 10px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  display: inline-block;
  font-weight: 700;
}

/* iOS Smooth Dots */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 10px;
}

/* ===== SECTIONS ===== */
.section-title {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  color: var(--secondary);
}

.section-title::after {
  content: "";
  width: 50px;
  height: 4px;
  background: var(--primary);
  display: block;
  margin: 12px auto;
  border-radius: 2px;
}

.section-subtitle-top {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
}

/* Glassmorphism */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.whatsapp-float::after {
  content: "Any Query?";
  position: absolute;
  right: 65px;
  background: #1a1d23;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20ba5a;
  color: white;
}

/* Gallery Hover */
.hover-zoom {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .hover-zoom {
  transform: scale(1.1);
}

/* Features/Values Cards */
.value-card {
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  transition: var(--transition);
  border: 1px solid #eee;
  height: 100%;
}

.value-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--primary);
  color: #fff;
}

.stat-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border-top: 4px solid var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 32px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.stat-number {
  font-size: 24px;
  font-weight: 600;
  color: black;
}

/* ===== PRINCIPAL MESSAGE ===== */
.principal-section {
  background: #fff;
  padding: 40px 0;
}

.principal-box {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.principal-img {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  border: 10px solid var(--bg-light);
  border-radius: 20px;
}

.principal-content {
  flex: 2;
  min-width: 300px;
}

/* ===== ADMISSION POPUP ===== */
.adm-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.adm-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.adm-popup-card {
  background: #fff;
  width: 90%;
  max-width: 550px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.adm-popup-overlay.active .adm-popup-card {
  transform: scale(1);
}

.adm-popup-header {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  padding: 30px;
  text-align: center;
  color: #fff;
}

.adm-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

.adm-popup-body {
  padding: 30px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, opacity;
}

[data-reveal="left"] {
  transform: translateX(-60px);
}
[data-reveal="right"] {
  transform: translateX(60px);
}
[data-reveal="zoom"] {
  transform: scale(0.8);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1) !important;
}

/* Staggered Delay Utilities */
.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;
}

/* OFF CANVAS */
.site-offcanvas {
  background: var(--secondary) !important;
  color: #fff;
}

.oc-contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.oc-contact-icon {
  color: var(--accent);
  font-size: 20px;
}

.oc-logo {
  height: 80px;
  margin-bottom: 20px;
}
