:root {
  --purple: #6A0DAD;
  --green: #00C896;
  --dark: #0F172A;
  --light: #F7F9FC;
  --white: #FFFFFF;
  --text: #1E293B;
  --muted: #64748B;
}

/* ========== GLOBAL ========== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, sans-serif;
}

body {
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  padding-top: 45px; /* space for admission strip */
}

img {
  display: block;
  max-width: 100%;
  border-radius: 18px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ========== ADMISSION STRIP ========== */

.admission-strip {
  background: linear-gradient(135deg, #ff0080, #7928ca);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3000;
}

.strip-btn {
  margin-left: 12px;
  background: white;
  color: #7928ca;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
  animation: pulse 1.5s infinite;
}

/* ========== HEADER ========== */

header {
  background: linear-gradient(135deg, #6a2ca0, #4b63b8, #00b894);
  padding: 18px 0;
  position: sticky;
  top: 45px;
  z-index: 1500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-box.with-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.school-logo {
  max-height: 48px;
  max-width: 90px;
  object-fit: contain;
}

.logo-main {
  font-size: 30px;
  font-weight: 900;
  color: white;
}

.logo-sub {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}

nav a {
  color: white;
  margin-left: 24px;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  font-size: 14px;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #00b894;
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* ========== HERO SLIDER ========== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.75));
  z-index: 3;
}

.hero-text {
  position: relative;
  z-index: 4;
  color: #fff;
  max-width: 900px;
  text-align: center;
  padding: 20px;
}

/* hero inner */

.admission-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00f260, #0575e6);
  color: white;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 800;
}

.hero-text p {
  font-size: 16px;
  opacity: 0.92;
}

/* HERO BUTTONS */

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.35);
  transition: 0.4s;
  font-size: 14px;
}

.btn i {
  font-size: 14px;
}

.btn::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  top: 0;
  left: -120%;
  transition: 0.5s;
}

.btn:hover::before {
  left: 120%;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
}

.book-btn {
  background: linear-gradient(135deg, #ff0080, #7928ca);
  animation: pulse 1.6s infinite;
}

/* HERO STATS */

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.stat-card {
  background: rgba(15,23,42,0.85);
  border-radius: 16px;
  padding: 12px 20px;
  min-width: 110px;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}

.stat-card span {
  display: block;
  font-weight: 800;
  font-size: 18px;
}

.stat-card small {
  font-size: 11px;
  opacity: 0.8;
}

/* HERO SCROLL DOWN */

.scroll-down {
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.9;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: float 2s infinite;
}

.scroll-down i {
  font-size: 16px;
}

/* HERO TEXT ANIMATION */

.hero-animate {
  opacity: 0;
  transform: translateY(25px);
  animation: heroFadeUp 1s ease forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== GENERIC SECTIONS ========== */

.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-lead {
  max-width: 780px;
  margin: 8px auto 0;
  color: var(--muted);
}

/* ========== WELCOME SECTION ========== */

.welcome-section {
  background: #ffffff;
}

.welcome-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.welcome-image img {
  border-radius: 30px;
  box-shadow: 0 25px 70px rgba(15,23,42,0.25);
  object-fit: cover;
}

.welcome-text {
  text-align: left;
}

.welcome-text h2 {
  text-align: left;
}

.welcome-text p {
  margin-top: 10px;
  color: var(--muted);
}

.welcome-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.welcome-points div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(148,163,184,0.16);
  font-size: 13px;
}

.welcome-points i {
  color: var(--purple);
}

/* ========== IMAGE PROGRAM CARDS ========== */

.image-programs {
  background: #eef2ff;
}

.image-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.image-card {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(15,23,42,0.22);
  transform: translateY(0);
  transition: 0.4s;
}

.image-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1);
  transition: 0.5s;
}

.image-card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px 20px;
  background: linear-gradient(to top, rgba(15,23,42,0.9), transparent 80%);
  color: white;
}

.image-card-content h3 {
  font-size: 18px;
  margin: 6px 0;
}

.image-card-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}

.badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-top: 10px;
  text-decoration: none;
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  transition: 0.3s;
}

.ghost-btn i {
  font-size: 12px;
}

.ghost-btn:hover {
  background: white;
  color: #0f172a;
}

.image-card:hover {
  transform: translateY(-10px);
}

.image-card:hover img {
  transform: scale(1.08);
}

/* ========== ICON CARDS (WHY RAIZ) ========== */

.icon-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 30px;
  margin-top: 50px;
}

.icon-card {
  background: linear-gradient(135deg, white, #f3f4f6);
  padding: 35px 25px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
  transition: 0.4s;
}

.icon-card i {
  font-size: 38px;
  color: #6A0DAD;
  margin-bottom: 15px;
}

.icon-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.icon-card p {
  font-size: 14px;
  color: #64748B;
}

.icon-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(0,0,0,.22);
  background: linear-gradient(135deg, #6A0DAD, #00C896);
}

.icon-card:hover i,
.icon-card:hover h3,
.icon-card:hover p {
  color: white;
}

/* ========== LIFE AT RAIZ: GALLERY + VIDEO ========== */

.gallery-section {
  background: #ffffff;
}

/* main layout: left images, right video */
.gallery-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 40px;
}

/* LEFT GRID */
.gallery-grid.aligned-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid.aligned-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* RIGHT VIDEO (NO TEXT, NO CROP) */
.aligned-video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: calc(2 * 180px + 16px);
  background: #000;
  box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}

.aligned-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* ========== FOOTER ========== */

footer {
  background: linear-gradient(135deg, var(--purple), var(--green));
  color: white;
  text-align: center;
  padding: 18px;
  font-size: 13px;
}

/* ========== FLOATING BUTTON ========== */

.floating-book {
  position: fixed;
  bottom: 25px;
  right: 25px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff0080, #7928ca);
  color: white;
  font-weight: 800;
  text-decoration: none;
  z-index: 2200;
  animation: pulse 1.3s infinite;
}

.floating-book i {
  margin-right: 6px;
}

/* ========== ANIMATIONS ========== */

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
  .welcome-inner {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 900px) {
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .aligned-video {
    height: 260px;
    margin-top: 20px;
  }

  .gallery-grid.aligned-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid.aligned-grid img {
    height: 150px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .school-logo {
    max-height: 38px;
  }

  .hero-slider {
    height: 85vh;
  }
}
/* ==============================
   ✅ WELCOME SECTION PRO ANIMATIONS
================================ */

/* Smooth transition globally */
.welcome-section * {
  transition: all 0.35s ease;
}

/* IMAGE HOVER – LIFT + GLOW */
.welcome-image img {
  transform: translateY(0) scale(1);
  box-shadow: 0 25px 70px rgba(15,23,42,0.25);
}

.welcome-image:hover img {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 90px rgba(106,13,173,0.35);
}

/* TEXT SLIDE IN EFFECT */
.welcome-text {
  opacity: 0.92;
  transform: translateX(0);
}

.welcome-section:hover .welcome-text {
  opacity: 1;
  transform: translateX(-8px);
}

/* TITLE SHINE EFFECT */
.welcome-text h2 {
  position: relative;
  display: inline-block;
}

.welcome-text h2::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  left: 0;
  bottom: -6px;
  transition: 0.35s ease;
}

.welcome-section:hover .welcome-text h2::after {
  width: 100%;
}

/* FEATURE PILL HOVER EFFECT */
.welcome-points div {
  transition: 0.3s ease;
  cursor: default;
}

.welcome-points div:hover {
  background: linear-gradient(135deg, var(--purple), var(--green));
  color: white;
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.welcome-points div:hover i {
  color: white;
}

/* ICON POP ANIMATION */
.welcome-points i {
  transition: transform 0.3s ease;
}

.welcome-points div:hover i {
  transform: rotate(-8deg) scale(1.2);
}
/* ==============================
   ✅ GLOBAL PRO HEADING ANIMATION
   Applies to:
   - Welcome to RAIZ
   - Why Families Choose RAIZ
   - Life at RAIZ
================================ */

/* Wrap effect for ALL section headings */
.section h2 {
  position: relative;
  display: inline-block;
  cursor: default;
}

/* Animated gradient underline */
.section h2::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 4px;
  left: 0;
  bottom: -8px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  border-radius: 999px;
  transition: 0.4s ease;
}

/* Trigger animation on section hover */
.section:hover h2::after {
  width: 100%;
}

/* Soft lift animation on hover */
.section:hover h2 {
  transform: translateY(-3px);
  transition: 0.35s ease;
}

/* Small glow pulse on hover */
.section:hover h2 {
  text-shadow: 0 6px 25px rgba(106, 13, 173, 0.25);
}
/* ===== Animated Title ===== */

.animated-title {
  animation: fadeUp 1.2s ease both;
}





/* ================== REVIEWS SECTION ================== */

/* ===== REVIEWS SLIDER (FRONTEND) ===== */

.reviews-section {
  background: linear-gradient(135deg, #f3f4ff, #ecfeff);
}

.reviews-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 30px 5px;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-width: 320px;
  background: white;
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  scroll-snap-align: center;
  transition: 0.4s;
}

.review-card:hover {
  transform: translateY(-10px);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.review-meta strong {
  display: block;
  font-size: 16px;
  color: #6A0DAD;
}

.review-meta small {
  font-size: 12px;
  color: #64748B;
}

.review-stars {
  margin: 6px 0 10px;
  font-size: 16px;
}

.star-active {
  color: #facc15;
}

.star-inactive {
  color: #e5e7eb;
}

.review-text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}


/* ===== LUXURY REVIEWS ===== */
.lux-title{
  font-size:36px;
  font-weight:900;
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  text-align:center;
}
.review-slider-wrapper{
  position:relative;
  overflow:hidden;
  margin-top:50px;
  width:100%;
}



.review-slider{
  display:flex;
  gap:30px;
  transition:transform 0.6s ease-in-out;
  will-change: transform;
}


.lux-review-card{
  min-width:340px;
  max-width:340px;
  flex-shrink:0;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
  padding:30px;
  border-radius:26px;
  box-shadow:0 25px 50px rgba(0,0,0,0.18);
  transform:scale(0.95);
  transition:0.5s;
}


.lux-review-card:hover{
  transform:scale(1);
}

.lux-top{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}

.lux-avatar{
  width:65px;
  height:65px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

.lux-top h4{
  margin:0;
  font-size:18px;
  color:#6A0DAD;
}

.lux-top small{
  font-size:13px;
  color:#666;
}

.lux-stars{
  margin-bottom:14px;
}

.lux-stars i{
  color:#ddd;
}

.lux-stars i.active{
  color:#facc15;
}

.lux-text{
  font-size:14px;
  color:#333;
  line-height:1.7;
}

/* NAV BUTTONS */
.review-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  border:none;
  color:white;
  font-size:26px;
  padding:10px 16px;
  border-radius:50%;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
  z-index:5;
}

.review-nav.left{left:-10px;}
.review-nav.right{right:-10px;}

/* MOBILE */
@media(max-width:768px){
  .lux-review-card{min-width:85%;}
}
/* ===============================
   ABOUT PAGE DESIGN
=============================== */

.about-hero{
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  color:white;
  padding:80px 20px 70px;
  text-align:center;
}

.about-hero h1{
  font-size:42px;
  margin-bottom:12px;
}

.about-hero p{
  font-size:18px;
  opacity:0.95;
}

.about-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:50px;
  align-items:center;
}

.about-text h2{
  color:#6A0DAD;
  margin-bottom:14px;
}

.about-text p{
  line-height:1.7;
  margin-bottom:14px;
  color:#444;
}

.about-points{
  margin-top:20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.about-points div{
  background:#f6f7fb;
  padding:10px 12px;
  border-radius:10px;
  font-weight:600;
}

.about-points i{
  color:#6A0DAD;
  margin-right:6px;
}

.about-image img{
  width:100%;
  border-radius:18px;
  box-shadow:0 12px 32px rgba(0,0,0,0.12);
}

.light-bg{
  background:#f6f7fb;
}

.center{
  text-align:center;
}

/* ✅ RESPONSIVE */
@media(max-width:900px){
  .about-grid{
    grid-template-columns:1fr;
  }

  .about-hero h1{
    font-size:32px;
  }
}
/* ===== GAIN SECTION ===== */
.gain-section{
  background:linear-gradient(180deg,#f8faff,#ffffff);
}

.gain-title{
  font-size:34px;
  font-weight:800;
  background:linear-gradient(90deg,#6a0dad,#00c896);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom:10px;
}

/* GRID */
.gain-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
  margin-top:45px;
}

/* CARD */
.gain-card{
  background:#ffffff;
  padding:28px 22px;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  text-align:center;
  transition:0.3s;
  border-bottom:4px solid transparent;
}

.gain-card:hover{
  transform:translateY(-6px);
  border-bottom:4px solid #6A0DAD;
}

.gain-card i{
  font-size:36px;
  color:#6A0DAD;
  margin-bottom:14px;
}

.gain-card h4{
  font-size:18px;
  margin-bottom:8px;
  font-weight:700;
}

.gain-card p{
  font-size:14px;
  color:#666;
  line-height:1.6;
}

/* BUTTON */
.enroll-btn{
  background:linear-gradient(90deg,#6A0DAD,#00C896);
  color:white;
  padding:14px 36px;
  border-radius:40px;
  display:inline-block;
  font-weight:700;
  text-decoration:none;
  transition:0.3s;
}

.enroll-btn:hover{
  transform:scale(1.05);
  opacity:0.95;
}
.main-btn{
  display:inline-block;
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  color:#fff;
  padding:14px 34px;
  border-radius:40px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
  box-shadow:0 10px 25px rgba(0,0,0,0.18);
}

.main-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 35px rgba(0,0,0,0.28);
}
.coming-badge{
  position:absolute;
  top:16px;
  right:16px;
  background:linear-gradient(135deg,#ef4444,#f97316);
  color:#fff;
  padding:6px 14px;
  font-size:12px;
  font-weight:700;
  border-radius:30px;
  z-index:5;
  box-shadow:0 6px 18px rgba(0,0,0,0.25);
}
.image-card{
  position:relative;
}
/* =====================================
   PROGRAM CARD TEXT READABILITY FIX
===================================== */

/* Dark gradient overlay on image */
.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.65)
  );
  z-index: 1;
  border-radius: inherit;
}

/* Ensure content is always above overlay */
.image-card-content {
  position: relative;
  z-index: 2;
}

/* Make all text fully readable */
.image-card-content h3,
.image-card-content p {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Improve description readability */
.image-card-content p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
}

/* Improve Learn More button visibility */
.ghost-btn {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  backdrop-filter: blur(2px);
}

.ghost-btn:hover {
  background: linear-gradient(135deg,#6A0DAD,#00C896);
  border-color: transparent;
  color: #fff;
}

/* Coming Soon badge clarity */
.coming-badge {
  background: linear-gradient(135deg,#ff4d30,#ff9f1c);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
/* =====================================
   PREMIUM PROGRAM CARD HOVER EFFECTS
===================================== */

.image-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* Image zoom on hover */
.image-card img {
  transition: transform 0.6s ease;
}

.image-card:hover img {
  transform: scale(1.12);
}

/* Lift + glow effect */
.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* Overlay darken animation */
.image-card::before {
  transition: background 0.5s ease;
}

.image-card:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.85)
  );
}

/* Text rise animation */
.image-card-content {
  transition: transform 0.45s ease;
}

.image-card:hover .image-card-content {
  transform: translateY(-8px);
}

/* CTA button glow animation */
.ghost-btn {
  transition: all 0.35s ease;
}

.image-card:hover .ghost-btn {
  background: linear-gradient(135deg,#6A0DAD,#00C896);
  box-shadow: 0 0 0 rgba(0,0,0,0),
              0 0 15px rgba(0,200,150,0.8),
              0 0 25px rgba(106,13,173,0.6);
  transform: scale(1.05);
}

/* Coming Soon pulse effect */
.coming-badge {
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
/* =====================================
   SCROLL REVEAL + STAGGER ANIMATION
===================================== */

/* Initial hidden state */
.image-card {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  animation: revealCard 0.7s ease forwards;
}

/* Stagger delays */
.image-card:nth-child(1) { animation-delay: 0.1s; }
.image-card:nth-child(2) { animation-delay: 0.25s; }
.image-card:nth-child(3) { animation-delay: 0.4s; }
.image-card:nth-child(4) { animation-delay: 0.55s; }
.image-card:nth-child(5) { animation-delay: 0.7s; }
.image-card:nth-child(6) { animation-delay: 0.85s; }
.image-card:nth-child(7) { animation-delay: 1s; }
.image-card:nth-child(8) { animation-delay: 1.15s; }

@keyframes revealCard {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* =====================================
   PREMIUM GRADIENT BORDER ANIMATION
===================================== */

.image-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

/* Animated Gradient Border */
.image-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    #6A0DAD,
    #00C896,
    #ff9f1c,
    #6A0DAD
  );
  background-size: 300% 300%;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
  animation: borderMove 6s linear infinite;
}

/* Show border on hover */
.image-card:hover::after {
  opacity: 1;
}

/* Keep card content above border */
.image-card > * {
  position: relative;
  z-index: 2;
}

@keyframes borderMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* =====================================
   FLOATING ICONS
===================================== */

.icon-card i {
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
/* =====================================
   HOME SCROLL REVEAL
===================================== */

.section {
  opacity: 0;
  transform: translateY(40px);
  animation: sectionReveal 1s ease forwards;
}

.section:nth-of-type(1) { animation-delay: 0.2s; }
.section:nth-of-type(2) { animation-delay: 0.4s; }
.section:nth-of-type(3) { animation-delay: 0.6s; }
.section:nth-of-type(4) { animation-delay: 0.8s; }

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================================
   ✅ FULL RESPONSIVE HEADER FIX
================================ */

/* Prevent overflow on all screens */
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Header Must Wrap */
header .nav {
  flex-wrap: wrap;
  padding: 12px 16px;
}

/* Responsive Logo */
.logo-box {
  max-width: 100%;
  flex-wrap: wrap;
}

/* Navigation Responsive */
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile View Fix */
@media (max-width: 900px) {

  header .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav {
    width: 100%;
    justify-content: flex-start;
    margin-top: 12px;
  }

  header nav a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .admission-strip {
    font-size: 13px;
    text-align: center;
    flex-wrap: wrap;
  }

  .admission-strip a {
    margin-top: 6px;
  }
}

/* ================================
   ✅ HERO SECTION RESPONSIVE FIX
================================ */

.hero-slider {
  min-height: 100vh;
  height: auto;
}

.hero-text {
  padding: 30px 18px;
}

.hero-text h1 {
  font-size: 34px;
}

.hero-text p {
  font-size: 16px;
}

/* Small Mobile Fix */
@media (max-width: 600px) {

  .hero-text h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
}
/* ============================
   MOBILE NAV PROFESSIONAL
============================ */

.menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: linear-gradient(145deg, #6A0DAD, #00C896);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: 0.4s ease;
    z-index: 9999;
  }

  .main-nav a {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
  }

  .main-nav.active {
    right: 0;
  }

  body.menu-open {
    overflow: hidden;
  }
}
/* ==============================
   HEADER + TOP STRIP GAP FIX
   WORKS FOR ALL PAGES
============================== */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Fix admission strip height */
.admission-strip {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.2;
}

/* Remove any extra gap between strip & header */
.admission-strip + header {
  margin-top: 0 !important;
}

/* Fix header spacing */
header {
  margin: 0 !important;
  padding: 10px 0 !important;
  min-height: unset !important;
}

/* Nav container spacing */
header .nav {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* Logo scaling */
.school-logo {
  height: 42px;
}

/* Prevent hero section from creating gap */
.hero-slider,
.section:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ==============================
   MOBILE FIX
============================== */

@media (max-width: 900px) {

  .admission-strip {
    font-size: 12px;
    padding: 6px 10px;
  }

  header {
    padding: 6px 0 !important;
  }

  .school-logo {
    height: 36px;
  }

  header nav a {
    padding: 10px 0;
    display: block;
  }
}
body{
  margin:0;
  padding:0;
  overflow-x:hidden;
}

.admission-strip{
  background:linear-gradient(135deg,#ff0080,#7928ca);
  color:#fff;
  text-align:center;
  padding:10px;
  font-weight:600;
}

.strip-btn{
  background:#fff;
  color:#000;
  padding:6px 15px;
  border-radius:20px;
  margin-left:10px;
  font-size:13px;
}

.main-header{
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  padding:15px 0;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.school-logo{
  height:45px;
}

.desktop-nav a{
  color:#fff;
  margin:0 12px;
  text-decoration:none;
  font-weight:500;
}

.desktop-nav{
  display:flex;
}

.mobile-menu-btn{
  display:none;
  color:#fff;
  font-size:24px;
  cursor:pointer;
}

.mobile-nav{
  display:none;
  background:#111;
  text-align:center;
}

.mobile-nav a{
  display:block;
  padding:15px;
  color:#fff;
  border-bottom:1px solid #222;
}

.mobile-nav.active{
  display:block;
}

.main-footer{
  background:#111;
  color:#fff;
  padding:20px 0;
  text-align:center;
}

@media(max-width:768px){
  .desktop-nav{display:none;}
  .mobile-menu-btn{display:block;}
}


/* ============================
   ✅ FIX: CONTENT HIDING UNDER HEADER
   (SAFE – DOES NOT BREAK DESIGN)
============================ */

/* Space for admission strip + header */
body {
  padding-top: 135px !important;
}

/* Admission strip stays top */
.admission-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

/* Header below admission strip */
header {
  position: fixed;
  top: 45px;
  left: 0;
  width: 100%;
  z-index: 9998;
}

/* First visible sections must not hide */
.hero-slider,
.section:first-of-type,
.about-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ✅ Mobile correction */
@media (max-width: 768px) {
  body {
    padding-top: 160px !important;
  }
}
/* ============================
   ✅ FINAL HEADER + CONTENT OFFSET FIX
   (Prevents ANY overlap on all pages)
============================ */

/* Force correct top spacing for all pages */
body {
  padding-top: 140px !important;
}

/* Lock admission strip */
.admission-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  z-index: 9999;
}

/* Lock header just below strip */
header {
  position: fixed;
  top: 45px;
  left: 0;
  width: 100%;
  height: 95px;
  z-index: 9998;
}

/* Push first section down correctly */
.about-hero,
.hero-slider,
.section.first-section {
  margin-top: 20px !important;
}

/* ✅ Mobile correction */
@media (max-width: 768px) {
  body {
    padding-top: 170px !important;
  }

  header {
    height: 110px;
  }
}
/* ✅ FIX ONLY MOBILE MENU COLOR (RAIZ BRAND) */
@media (max-width: 900px) {

  .mobile-nav,
  .main-nav {
    background: linear-gradient(135deg, #6A0DAD, #00C896) !important;
  }

  .mobile-nav a,
  .main-nav a {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

}
/* ==============================
   ✅ CLEAN DROPDOWN MOBILE MENU
   (NO FULL SCREEN)
============================== */

@media (max-width: 900px) {

  /* Hide desktop nav */
  nav,
  .desktop-nav {
    display: none !important;
  }

  /* Mobile menu button */
  .menu-toggle,
  .mobile-menu-btn {
    display: block !important;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
  }

  /* ✅ DROPDOWN STYLE MENU */
  .mobile-nav,
  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #6A0DAD, #00C896);
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
    z-index: 9999;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  }

  /* Show when active */
  .mobile-nav.active,
  .main-nav.active {
    display: flex;
  }

  /* Menu links */
  .mobile-nav a,
  .main-nav a {
    color: #fff !important;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .mobile-nav a:last-child,
  .main-nav a:last-child {
    border-bottom: none;
  }
}
/* ✅ FINAL FIX: STOP MENU OVERLAPPING PAGE TEXT */

header {
  position: fixed;
  top: 45px; /* height of admission strip */
  left: 0;
  width: 100%;
  z-index: 9999;
}

/* ✅ Correct body spacing for header + strip */
body {
  padding-top: 130px !important;
}

/* ✅ Force dropdown to appear BELOW header */
@media (max-width: 900px) {
  .mobile-nav,
  .main-nav {
    top: 115px !important;  /* pushes dropdown below header */
  }
}
/* ✅ FIX: Coming Soon badge overlay position */
.image-card {
  position: relative; /* This is REQUIRED for badge positioning */
  overflow: hidden;
}

.coming-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* =========================
   ✅ FOOTER SEO STYLES
========================= */

.main-footer {
  background: #0F172A;
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-box h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #00C896;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5e1;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

.footer-box ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #334155;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 14px;
  color: #cbd5e1;
}

/* ✅ MOBILE RESPONSIVE */
@media (max-width: 900px) {
  .footer-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-wrap {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ✅ HEADER RIGHT ACTIONS FIX
========================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* SOCIAL ICONS */
.header-social {
  display: flex;
  gap: 8px;
}

.header-social a {
  width: 26px;
  height: 26px;
  background: #e5e7eb;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  text-decoration: none;
  transition: 0.3s;
}

.header-social a:hover {
  background: #00C896;
  color: #fff;
}

/* WHATSAPP BUTTON */
.header-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 6px 12px;
  border-radius: 25px;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: 0.3s;
}

.header-whatsapp:hover {
  background: #1ebe5d;
}

/* MOBILE ADJUST */
@media (max-width: 768px) {
  .header-social {
    display: none;
  }

  .header-whatsapp {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* =========================================================
   ✅ FINAL CLEAN MOBILE HEADER SIZE BALANCE (SAFE OVERRIDE)
   Fixes:
   - Big text on mobile
   - Small logo on mobile
   - Uneven header height
========================================================= */

@media (max-width: 768px) {

  /* ✅ Reduce logo text size */
  .logo-main {
    font-size: 20px !important;
    line-height: 1.1;
  }

  .logo-sub {
    font-size: 9px !important;
    letter-spacing: 1px;
  }

  /* ✅ Slightly increase logo image */
  .school-logo {
    height: 40px !important;
    max-width: 70px;
  }

  /* ✅ Compact header height */
  .main-header,
  header {
    padding: 8px 0 !important;
    height: auto !important;
  }

  /* ✅ Align logo + whatsapp + menu properly */
  .nav {
    gap: 10px;
  }

  .logo-box.with-logo {
    gap: 8px;
  }

  /* ✅ WhatsApp button slightly smaller */
  .header-whatsapp {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }

  /* ✅ Menu icon size controlled */
  .mobile-menu-btn {
    font-size: 22px !important;
  }
}



.actions-cell .icon-btn {
  margin: 0;              /* remove old margins */
}

/* === ACTION BUTTON ALIGNMENT FIX === */
.actions-cell{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;              /* space between icons */
  white-space: nowrap;  /* prevent wrapping */
}

.actions-cell .icon-btn{
  margin: 0 !important; /* override old margins */
}



/* =====================================================
   ✅ MOBILE HEADER RIGHT-SIDE SOCIAL ICON FIX
===================================================== */
@media (max-width: 768px) {

  /* Force right alignment of actions */
  .header-actions {
    margin-left: auto;
    display: flex !important;
    align-items: center;
    gap: 8px;
  }

  /* ✅ Show social icons on mobile (right side) */
  .header-social {
    display: flex !important;
    gap: 6px;
  }

  .header-social a {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  /* ✅ Compact WhatsApp button */
  .header-whatsapp {
    padding: 5px 9px !important;
    font-size: 11px !important;
  }

  /* ✅ Hamburger size */
  .mobile-menu-btn {
    font-size: 22px !important;
  }
}
