/* =========================================
   VARIABLES & GLOBAL STYLES
   ========================================= */
:root {
  --primary-color: #CF2E28;
  /* Crimson */
  --primary-dark: #A9231E;
  --secondary-color: #E08437;
  /* Orange/Gold */
  --text-dark: #1A202C;
  /* Dark Slate */
  --text-light: #64748B;
  --bg-color: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-light: #F1F5F9;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;

  --transition: all 0.3s ease-in-out;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(224, 132, 55, 0.55);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 90px;
}

ul {
  list-style-type: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

/* Typography & Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  background-color: var(--secondary-color);
  bottom: -5px;
  left: 0;
  border-radius: 2px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  margin-top: 1rem;
}

.section-header {
  text-align: center;
}

.section-header .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -65%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.22);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 130%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #A9231E 100%);
  color: var(--bg-white);
  border: 2px solid transparent;
  box-shadow: 0 4px 18px rgba(207, 46, 40, 0.38);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #A9231E 0%, #8B1C18 100%);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(207, 46, 40, 0.48);
}

.btn-outline {
  background-color: transparent;
  color: var(--bg-white);
  border: 2px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.18);
}

.w-100 {
  width: 100%;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.4rem 0;
  z-index: 1100;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* White links when over transparent hero */
.navbar:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.navbar:not(.scrolled) .nav-link.active {
  color: #F9C06A;
}

.navbar:not(.scrolled) .nav-link::after {
  background-color: #F9C06A;
}

.navbar:not(.scrolled) .logo-text h1 {
  color: #FFFFFF;
}

.navbar:not(.scrolled) .logo-text p {
  color: rgba(255, 255, 255, 0.75);
}

.navbar:not(.scrolled) .hamburger-menu {
  color: #FFFFFF;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 5px;
}

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

.logo-text p {
  font-size: 0.8rem;
  color: var(--secondary-color);
  font-weight: 500;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.hamburger-menu:active {
  transform: scale(0.96);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  z-index: 1035;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================
   FULLY REDESIGNED HOME SECTION
   ========================================= */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8.8rem 0 5rem;
  background: #070b17;
  isolation: isolate;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 14% 16%, rgba(207, 46, 40, 0.45), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(224, 132, 55, 0.38), transparent 30%),
    linear-gradient(112deg, rgba(7, 11, 23, 0.92) 0%, rgba(7, 11, 23, 0.66) 42%, rgba(7, 11, 23, 0.94) 100%),
    url('Photo Gallery/School Building.jpeg') center/cover no-repeat;
  background-size: auto, auto, auto, cover;
  background-position: 14% 16%, 86% 78%, center, center;
  background-repeat: no-repeat;
}

.home-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  z-index: -2;
  opacity: 0.7;
}

.glow-one {
  width: 410px;
  height: 410px;
  top: -90px;
  left: -70px;
  background: rgba(207, 46, 40, 0.8);
}

.glow-two {
  width: 340px;
  height: 340px;
  right: -70px;
  bottom: -30px;
  background: rgba(224, 132, 55, 0.72);
}

.home-hero-layout {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: center;
}

.home-copy {
  color: var(--bg-white);
}

.home-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 700;
}

.home-chip i {
  color: #f9c06a;
}

.home-live-pill {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #ffd7d5;
  background: rgba(207, 46, 40, 0.2);
  border: 1px solid rgba(207, 46, 40, 0.55);
  border-radius: 999px;
  padding: 0.36rem 0.75rem;
}

.home-live-pill i {
  color: #ff7b74;
  font-size: 0.55rem;
}

.home-title {
  margin-top: 0.95rem;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.08;
  color: var(--bg-white);
  letter-spacing: -0.8px;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.home-title-accent {
  background: linear-gradient(135deg, #ffd479, #ff8f62);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-description {
  margin-top: 1rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
}

.home-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.home-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.86);
  color: var(--bg-white);
  background: rgba(255, 255, 255, 0.06);
}

.home-btn-outline:hover {
  background: var(--bg-white);
  color: #0f172a;
}

.home-trust {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-item {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 0.9rem 0.8rem;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.trust-item strong {
  display: block;
  color: #f9c06a;
  font-size: 1.35rem;
  line-height: 1;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
}

.home-feature-panel {
  display: grid;
  gap: 0.9rem;
  position: relative;
}

.feature-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  padding: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.5);
}

.feature-card-highlight {
  border-color: rgba(255, 191, 106, 0.75);
  background: linear-gradient(140deg, rgba(255, 192, 107, 0.2), rgba(255, 255, 255, 0.06));
}

.feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-white);
  font-size: 1rem;
}

.feature-card h3 {
  color: var(--bg-white);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.home-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  letter-spacing: 0.7px;
  animation: hero-bounce 1.8s infinite;
}

.home-scroll-hint i {
  color: #f9c06a;
}

@keyframes hero-bounce {

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

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

/* =========================================
   NEW REDESIGNED HERO SECTION
   ========================================= */
.new-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)),
    url('Photo Gallery/Entrance.jpeg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  opacity: 0.6;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  top: -100px;
  left: -100px;
  animation: orb-float 10s infinite alternate;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  bottom: 0%;
  right: -50px;
  animation: orb-float 12s infinite alternate-reverse;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: #f9c06a;
  top: 40%;
  left: 40%;
  animation: orb-float 14s infinite alternate;
  opacity: 0.3;
}

@keyframes orb-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, -50px) scale(1.1);
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}

.badge-icon {
  color: #f9c06a;
  font-size: 1.1rem;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.hero-headline {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, #f9c06a 0%, var(--secondary-color) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subline {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  max-width: 540px;
  font-weight: 300;
}

.hero-action-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-glow {
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(169, 35, 30, 1) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(207, 46, 40, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.6s ease;
}

.btn-glow:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(207, 46, 40, 0.6);
  color: white;
  /* preserve colour */
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.4s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  color: white;
}

/* Glass Card Stack in Hero */
.glass-card-stack {
  position: relative;
  height: 450px;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 320px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  color: white;
}

.glass-card.card-top {
  top: 10%;
  right: 10%;
  z-index: 3;
  animation: float-card 6s ease-in-out infinite;
}

.glass-card.card-middle {
  top: 40%;
  right: 25%;
  z-index: 2;
  animation: float-card 7s ease-in-out infinite 1s;
}

.glass-card.card-bottom {
  top: 70%;
  right: 5%;
  z-index: 1;
  animation: float-card 8s ease-in-out infinite 2s;
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0) translateZ(0);
  }

  50% {
    transform: translateY(-15px) translateZ(20px);
  }
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: scale(1.05) translateZ(30px) !important;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.icon-grad-1 {
  background: linear-gradient(135deg, #FF6B6B, #C0392B);
}

.icon-grad-2 {
  background: linear-gradient(135deg, #F39C12, #D35400);
}

.icon-grad-3 {
  background: linear-gradient(135deg, #5D9CEC, #2980B9);
}

.card-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.card-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.card-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
}

.glass-card:hover .card-shimmer {
  animation: shimmer 1s ease forwards;
}

@keyframes shimmer {
  100% {
    left: 150%;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mouse-icon {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  position: relative;
}

.mouse-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: white;
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% {
    top: 8px;
    opacity: 1;
  }

  100% {
    top: 25px;
    opacity: 0;
  }
}

.scroll-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 4;
}

/* =========================================
   NEW REDESIGNED ABOUT SECTION
   ========================================= */
.about-premium {
  background:
    radial-gradient(circle at 8% 8%, rgba(207, 46, 40, 0.06), transparent 30%),
    radial-gradient(circle at 92% 90%, rgba(224, 132, 55, 0.08), transparent 32%),
    #ffffff;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding-bottom: 5rem;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.about-chip {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(207, 46, 40, 0.1);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-main-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.about-main-text {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 60ch;
}

.about-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

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

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

.about-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  right: 2rem;
  background: rgba(15, 23, 42, 0.85);
  color: var(--bg-white);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  display: inline;
  align-items: center;
  /* justify-content: space-between; */
  gap: 1rem;
  width: 20rem;
  height: 3rem;

}

.about-image-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1;


}

.about-image-badge .badge-text {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.metric-card {
  padding: 1.2rem 1.1rem;
  border-radius: 14px;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 32, 44, 0.08);
  text-align: center;
}

.metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.story-card {
  background: var(--bg-white);
  border: 1px solid rgba(26, 32, 44, 0.08);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.story-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

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

.story-points {
  margin-top: 1rem;
}

.story-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-dark);
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.story-points li i {
  color: var(--secondary-color);
  margin-top: 0.2rem;
}

.vision-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.vision-item {
  border: 1px solid rgba(26, 32, 44, 0.12);
  border-radius: 10px;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.vision-item i {
  color: var(--primary-color);
}

.quote-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--bg-white);
}

.quote-card i {
  font-size: 1.4rem;
  color: #f9c06a;
  margin-bottom: 0.7rem;
}

.quote-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.8;
}

.quote-card h4 {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: #f9c06a;
  font-weight: 600;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 2.5rem 4rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.stat-value {
  color: var(--primary-color);
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.stat-plus {
  color: #f9c06a;
  font-size: 2rem;
}

.stat-label {
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(0, 0, 0, 0.08);
}

.about-premium .container {
  position: relative;
  z-index: 2;
}

.about-flex-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
}

.main-about-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: block;
}

.about-visuals {
  position: relative;
}

.img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  position: relative;
}

.main-img {
  width: 85%;
  border: 8px solid white;
}

.sub-img {
  width: 65%;
  position: absolute;
  bottom: -50px;
  right: -30px;
  border: 12px solid white;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hover-zoom img {
  transition: transform 0.8s ease;
  display: block;
}

.hover-zoom:hover img {
  transform: scale(1.08);
}

.glass-badge {
  position: absolute;
  top: 30px;
  left: -30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  z-index: 3;
}

.glass-badge h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 0;
  line-height: 1;
}

.glass-badge p {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-dark);
}

.active-float {
  animation: float 6s ease-in-out infinite;
}

.shape-blob {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(207, 46, 40, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  z-index: -1;
}

.experience-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem 2.5rem;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.experience-card h3 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.experience-card p {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-paragraph {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.about-list li {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-list li i {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.about-heading {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.about-pillars {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid rgba(26, 32, 44, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

.divider-vertical {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {

  .event-gallery-grid,
  .event-images-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .home-hero {
    min-height: auto;
    padding: 7.8rem 0 4rem;
  }

  .home-hero-layout {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .home-copy {
    text-align: center;
  }

  .home-description {
    margin-left: auto;
    margin-right: auto;
  }

  .home-actions {
    justify-content: center;
  }

  .home-feature-panel {
    grid-template-columns: 1fr;
  }

  .home-scroll-hint {
    display: none;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .glass-card-stack {
    height: 350px;
  }

  .glass-card.card-top {
    right: auto;
    transform: translateX(20px);
  }

  .glass-card.card-middle {
    right: auto;
    transform: translateX(-20px);
  }

  .glass-card.card-bottom {
    right: auto;
    transform: translateX(30px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .main-img {
    width: 100%;
  }

  .sub-img {
    display: none;
  }
}

/* =========================================
   FACILITIES SECTION
   ========================================= */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.facility-card {
  background-color: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.card-img {

  height: 200px;
  overflow: hidden;

}

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

.facility-card:hover .card-img img {
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
  position: relative;
}

.icon-wrapper {
  position: absolute;
  top: -25px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--bg-white);
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

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

/* =========================================
   LEADERSHIP SECTION
   ========================================= */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.leader-card {
  background-color: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

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

.leader-img {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.leader-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: var(--transition);
}

.leader-card:hover .leader-img img {
  transform: scale(1.05);
}

.social-links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(207, 46, 40, 0.9);
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  transform: translateY(100%);
  transition: var(--transition);
  display: none !important;
}

.leader-card:hover .social-links {
  transform: translateY(0);
}

.social-links a {
  color: var(--bg-white);
  font-size: 1.1rem;
}

.social-links a:hover {
  color: var(--secondary-color);
}

.leader-info {
  padding: 1.5rem;
}

.leader-info h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.leader-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.leader-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.staff-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 3rem;
}

.staff-photo img {
  width: 100%;
  display: block;
  transition: var(--transition);
}

.staff-photo:hover img {
  transform: scale(1.02);
}

.staff-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.staff-caption h3 {
  color: var(--bg-white);
  font-size: 1.8rem;
  margin: 0;
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.gallery-item {
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: var(--transition);
  mix-blend-mode: multiply;
}

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

.gallery-item:hover::after {
  opacity: 0.4;
}

.event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: 0 10px;
  align-items: stretch;
}

.event-card {
  position: relative;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #0f172a;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  display: block;
}

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

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}

.event-card:hover img {
  transform: scale(1.04);
}

.event-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.92));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.event-card-overlay strong {
  color: var(--bg-white);
  font-size: 1rem;
}

.event-card-overlay small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.event-viewer {
  position: fixed;
  inset: 0;
  z-index: 11000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.event-viewer.open {
  opacity: 1;
  pointer-events: auto;
}

.event-viewer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 28, 0.75);
  backdrop-filter: blur(3px);
}

.event-viewer-panel {
  position: relative;
  z-index: 2;
  width: min(1100px, 94vw);
  max-height: 90vh;
  margin: 5vh auto;
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-viewer-close {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.1);
  color: var(--text-dark);
  cursor: pointer;
}

.event-viewer-head {
  padding: 1rem 1rem 0.7rem;
  border-bottom: 1px solid #E2E8F0;
}

.event-viewer-head h3 {
  font-size: 1.3rem;
}

.event-viewer-head p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.event-loading {
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  color: var(--text-light);
}

.event-loading.show {
  display: flex;
}

.gallery-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(207, 46, 40, 0.2);
  border-top-color: var(--primary-color);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.event-images-grid {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  overflow: auto;
  align-items: stretch;
}

.event-image {
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #E2E8F0;
  aspect-ratio: 1 / 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  display: block;
}

.event-image:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.event-video {
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: block;
}

.event-video video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-color);
}

.info-card i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  background: rgba(224, 132, 55, 0.1);
  padding: 15px;
  border-radius: 50%;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-body);
}

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

.info-card a {
  color: inherit;
  text-decoration: none;
}

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

.contact-form {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.contact-map {
  background: var(--bg-white);
  padding: 1rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 10px;
  display: block;
}

.map-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(207, 46, 40, 0.1);
}

.contact-form textarea {
  resize: vertical;
  margin-bottom: 1.5rem;
}

/* Spacing below standalone subject input */
.contact-form>input[type="text"],
.contact-form>input[type="email"] {
  margin-bottom: 1.5rem;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background:
    radial-gradient(circle at 8% 15%, rgba(224, 132, 55, 0.16), transparent 34%),
    radial-gradient(circle at 92% 85%, rgba(207, 46, 40, 0.18), transparent 32%),
    #0b1220;
  color: var(--bg-white);
  padding-top: 4.2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.1fr;
  gap: 2.1rem;
  margin-bottom: 2.4rem;
}

.footer-brand img {
  height: 62px;
  width: 62px;
  border-radius: 10px;
  background-color: var(--bg-white);
  padding: 3px;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.footer-brand-top h3 {
  font-size: 1.35rem;
  color: #fff;
}

.footer-brand-top span {
  color: #cbd5e1;
  font-size: 0.86rem;
}

.footer-brand p {
  color: #b8c4d6;
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-contact-mini {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

.footer-contact-mini a {
  color: #d8e1ef;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-contact-mini a:hover {
  color: #f9c06a;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  color: var(--bg-white);
}

.footer-links h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
  bottom: -5px;
  left: 0;
}

.footer-links ul li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #c5d0e0;
  transition: var(--transition);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #f9c06a;
  padding-left: 4px;
}

.footer-social p {
  color: #b8c4d6;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 0.7rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding: 1.1rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a6b4c8;
  font-size: 0.88rem;
}

.footer-credit {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #8192aa;
}

/* =========================================
   ANIMATIONS & EFFECTS
   ========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeInUp 0.55s ease-in-out forwards;
  will-change: transform, opacity;
}

.delay-1 {
  animation-delay: 0.22s;
}

.delay-2 {
  animation-delay: 0.44s;
}

.delay-3 {
  animation-delay: 0.66s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-in-out, transform 0.55s ease-in-out;
  will-change: transform, opacity;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal.right {
  transform: translateX(24px);
  opacity: 0;
}

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

/* Staggered card cascade delays */
.scroll-reveal.delay-1 {
  transition-delay: 0.14s;
}

.scroll-reveal.delay-2 {
  transition-delay: 0.28s;
}

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */
@media (max-width: 992px) {
  .new-hero {
    align-items: flex-start;
    padding-top: 10rem;
    padding-bottom: 8rem;
    /* space for the wave */
  }

  .about-stats {
    margin-top: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  /* Fix Hero Cards collapsing on mobile */
  .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .glass-card-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    width: 100%;
  }

  .glass-card {
    position: relative;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    width: 100%;
    max-width: 400px;
    animation: none !important;
    /* Disable floating on mobile to prevent layout jumping */
  }

  .about-flex-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-image-card img {
    min-height: 320px;
  }

  .about-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .about-story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-image-wrapper {
    margin-bottom: 2rem;
    /* Buffer for absolute experience card */
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

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

  .experience-card {
    right: 1rem;
    bottom: -2.2rem;
    padding: 1.3rem 1.5rem;
  }

  .experience-card h3 {
    font-size: 2.2rem;
  }

  .experience-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .home-hero-bg {
    background-position: 14% 16%, 86% 78%, center, 62% center;
    background-size: auto, auto, auto, cover;
  }

  .home-hero {
    padding-top: 7rem;
    padding-bottom: 3.2rem;
  }

  .home-chip {
    font-size: 0.73rem;
    padding: 0.38rem 0.75rem;
  }

  .home-title {
    font-size: clamp(1.9rem, 8.8vw, 2.6rem);
  }

  .home-description {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .home-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .home-trust {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 0.7rem;
  }

  .feature-card {
    padding: 0.9rem;
  }

  .container {
    width: min(92%, 560px);
  }

  .section-padding {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
  }

  .navbar {
    padding: 0.8rem 0;
  }

  .hamburger-menu {
    display: block;
    position: relative;
    z-index: 1080;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(84vw, 340px);
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.1rem;
    padding: 1.5rem 1.3rem;
    transform: translateX(110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1050;
    overscroll-behavior: contain;
    will-change: transform, opacity;
    box-shadow: -16px 0 34px rgba(2, 6, 23, 0.2);
  }

  .nav-list.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .navbar.menu-open .hamburger-menu {
    color: var(--text-dark);
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.72rem 0.2rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .mobile-nav-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
  }

  .close-menu {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .close-menu:hover {
    transform: rotate(90deg);
  }

  .nav-link::after {
    background-color: #f9c06a;
  }

  .nav-link.active {
    color: #f9c06a !important;
  }

  .hero-orb {
    filter: blur(60px);
    opacity: 0.45;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-action-group {
    justify-content: center;
  }

  .new-hero {
    min-height: auto;
    padding-top: 7.8rem;
    padding-bottom: 5rem;
  }

  .hero-badge {
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.2rem;
  }

  .badge-text {
    letter-spacing: 0.5px;
    font-size: 0.8rem;
  }

  .hero-headline {
    font-size: clamp(2rem, 9vw, 2.6rem);
    margin-bottom: 1rem;
  }

  .hero-subline {
    margin-bottom: 1.8rem;
    line-height: 1.6;
  }

  .glass-card-stack {
    height: auto;
    gap: 1rem;
  }

  .glass-card {
    max-width: 100%;
    padding: 1rem;
    gap: 1rem;
  }

  .card-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .card-info h4 {
    font-size: 1rem;
  }

  .card-info p {
    font-size: 0.8rem;
  }

  .about-flex-container {
    gap: 3rem;
  }

  .about-paragraph,
  .about-list li {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-main-title {
    font-size: 2rem;
  }

  .about-main-text {
    font-size: 1rem;
  }

  .about-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .about-image-card img {
    min-height: 260px;
  }

  .about-image-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

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

  .card-content {
    padding: 1.5rem;
  }

  .leader-img {
    height: auto;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .leader-img img {
    object-fit: contain;
    object-position: center top;
    max-height: 340px;
    width: 100%;
  }

  .leader-card:hover .leader-img img {
    transform: none;
  }

  .gallery-item {
    height: 220px;
  }

  .event-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 10px;
  }

  .event-viewer-panel {
    width: 96vw;
    max-height: 92vh;
    margin: 4vh auto;
  }

  .event-images-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .input-group {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.4rem;
  }

  .contact-map {
    padding: 0.8rem;
  }

  .contact-map iframe {
    height: 320px;
  }

  .map-actions {
    justify-content: center;
  }

  .map-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand-top {
    justify-content: center;
  }

  .footer-contact-mini {
    justify-items: center;
  }

  .footer-links h3::after,
  .footer-social h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }

  .about-img-badge {
    width: 100px;
    height: 100px;
    bottom: -10px;
    left: -10px;
    border-width: 5px;
  }

  .about-img-badge i {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }

  .about-img-badge span {
    font-size: 0.9rem;
  }

  /* Hide scroll indicator on small screens */
  .scroll-indicator {
    display: none;
  }

  .hero-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }

  .about-stats {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .experience-card {
    right: 50%;
    transform: translateX(50%);
    bottom: -40px;
    width: 85%;
    padding: 1.5rem;
  }

  .experience-card h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding-top: 6.6rem;
    padding-bottom: 2.8rem;
  }

  .home-title {
    font-size: 1.75rem;
  }

  .home-description {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .home-glow {
    filter: blur(55px);
    opacity: 0.38;
  }

  .home-hero-bg {
    background-position: 14% 16%, 86% 78%, center, 68% center;
  }

  .feature-card h3 {
    font-size: 0.98rem;
  }

  .feature-card p {
    font-size: 0.84rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.6rem;
  }

  .container {
    width: 94%;
  }

  .logo {
    gap: 10px;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  .logo-text h1 {
    font-size: 1rem;
  }

  .logo-text p {
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .about-stats {
    padding: 1.4rem 1rem;
    gap: 1.3rem;
  }

  .stat-value {
    font-size: 2.1rem;
  }

  .stat-plus {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .experience-card {
    width: 90%;
    padding: 1.2rem 1rem;
    bottom: -35px;
  }

  .experience-card h3 {
    font-size: 2rem;
  }

  .experience-card p {
    font-size: 0.9rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding: 1.1rem;
  }

  .event-gallery-grid,
  .event-images-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .contact-map iframe {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================
   GALLERY LIGHTBOX
   ========================================= */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lb-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lb-img {
  max-width: 88vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  object-fit: contain;
}

#lightbox.open #lb-img {
  transform: scale(1);
}

.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.25s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lb-close {
  top: 1.2rem;
  right: 1.2rem;
}

.lb-prev {
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.lb-prev:hover {
  transform: translateY(-50%) scale(1.08);
}

.lb-next:hover {
  transform: translateY(-50%) scale(1.08);
}

.lb-close:hover {
  transform: rotate(90deg) scale(1.1);
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  z-index: 1080;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
}

.whatsapp-float i {
  font-size: 1.8rem;
  line-height: 1;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.06);
  background: #1ebe5d;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.42);
}

.whatsapp-float:active {
  transform: scale(0.98);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #111827;
  color: #fff;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 1rem;
    bottom: 1rem;
  }

  .whatsapp-float i {
    font-size: 1.65rem;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 0.85rem;
    bottom: 0.9rem;
  }

  .whatsapp-float i {
    font-size: 1.55rem;
  }
}