*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Poppins,Arial,sans-serif;
}

body{
    background:#f5f7fb;color:#222;}

.main-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 50px;
  background:#310734;
  position:sticky;
  top:0;
  z-index:1000;
}

.logo-box{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:white;
}

.logo-box img{
  height:42px;
  width:auto;
}

.logo-box span{
  font-size:20px;
  font-weight:600;
  letter-spacing:0.4px;
}

nav a{
  color:white;
  text-decoration:none;
  margin-left:22px;
  font-size:15px;
  position:relative;
}

/* subtle hover underline */
nav a::after{
  content:"";
  position:absolute;
  width:0;
  height:2px;
  background:#ffd166;
  left:0;
  bottom:-5px;
  transition:0.3s;
}

nav a:hover::after{
  width:100%;
}

.hero{
  text-align:center;
  padding:20px;
  background:linear-gradient(135deg,#310734,#95569f,#b398b7);
  color:white;
}

.about-home{
  display: flex;
  gap: 60px; /* slightly more spacing between image & text */
  padding: 40px;
  align-items: flex-start; /* align top instead of center for better look */
  flex-wrap: wrap;
}

.about-image{
  text-align: center;
  flex: 0 0 320px; /* fix width for image section */
}

.about-image img{
  width: 100%;
  border-radius: 15px;
  margin-bottom: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.about-image h4{
  margin: 8px 0 4px;
  font-size: 20px;
  font-weight: 600;
  color: #310734;
}

.about-image p{
  font-size: 14px;
  color: #363434;
  margin: 0;
}

.about-text{
  flex: 1; /* take remaining space */
}

.about-text h2{
  font-size: 36px;
  margin-bottom: 24px;
  color: #5a0f2e;            /* wine text */
  font-weight: 800;
  letter-spacing: 0.6px;
  display: inline-block;
  padding: 10px 20px;
  background: #f6e9ed;       /* soft wine tint */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(90, 15, 46, 0.25);
}

.about-text p{
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
  .about-home{
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .about-text{
    margin-top: 20px;
  }
}

/* ===============================
   COURSES – PURPLE THEME
================================ */
.courses-preview.theme-purple{
  padding:70px 40px;
  text-align:center;
  background:linear-gradient(135deg,#f9ff8a,#a452aa,#d78dbc);
  color:#fff;
}

.courses-preview h2{
  font-size:34px;
  margin-bottom:8px;
}

.courses-preview .subtext{
  color:#310734;
  margin-bottom:50px;
  font-weight:500;
}

/* Vertical layout */
.course-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  max-width:500px;
  margin:auto;
}

/* Card */
.course{
  background:#310734    ;
  border-radius:22px;
  padding:30px 25px;
  text-decoration:none;
  color:#fff;
  box-shadow:0 15px 35px rgba(216, 123, 123, 0.289);
  transition:0.35s ease;
  position:relative;
}

.course:hover{
  transform:translateY(-8px) scale(1.03);
  background:#7136ba;
}

/* Icon box (Image-1 style) */
.course-icon{
  width:70px;
  height:70px;
  margin:0 auto 18px;
  border-radius:18px;
  background:#ffd400;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

.course-icon i{
  font-size:34px;
  color:#fb036e;
}

/* Text */
.course h3{
  font-size:20px;
  margin-bottom:8px;
}

.course p{
  font-size:14.5px;
  line-height:1.6;
  opacity:0.95;
}

/* Individual subtle accents */
.robotics .course-icon{background:#ffca28;}
.abacus .course-icon{background:#66ff99;}
.vedic .course-icon{background:#b388ff;}
.school .course-icon{background:#4dd0e1;}
.personality .course-icon{background:#ffab91;}
.bonding .course-icon{background:#ffd180;}

/* Desktop */
@media(min-width:992px){
  .course-grid{
    grid-template-columns:repeat(3,1fr);
    max-width:1100px;
  }
}


/* ===================== MOBILE & TABLET RESPONSIVE ===================== */

/* Navbar - Stack links on smaller screens */
@media(max-width: 991px){
  .main-header{
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
    gap: 12px;
  }

  nav{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav a{
    margin-left: 0;
    font-size: 16px;
  }
}

/* Hero section - smaller padding & font size */
@media(max-width:768px){
  .hero{
    padding: 40px 20px;
  }

  .hero h1{
    font-size: 26px;
  }

  .hero p{
    font-size: 16px;
  }
}

/* About section - ensure image & text stack nicely */
@media(max-width:768px){
  .about-home{
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .about-text{
    margin-top: 20px;
  }
}

 .admission-cta{
    padding: 40px 20px;
    text-align: center;
  }

  .admission-cta h2{
    font-size: 26px;
  }

  .admission-cta p{
    font-size: 16px;
  }

  .cta-actions{
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }
}


.testimonials{
  padding:70px 30px;
  background:#f9fbfe; /* soft light shade */
  text-align:center;
}

.testimonials h2{
  font-size:32px;
  margin-bottom:6px;
  color:#310734; /* slightly stronger color for heading */
  text-align: center;
}

.testimonial-sub{
  font-size:15px;
  color:#666;
  margin-bottom:45px;
  text-align: center;
}

.testimonial-wrap{
  display:flex;
  gap:30px;
  justify-content:center;
  flex-wrap:wrap;
}

.testimonial{
  background:rgba(251, 238, 2, 0.385);
  max-width:360px;
  padding:30px;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  text-align:left;
  position:relative;
  transition:0.3s ease;
  border-top:4px solid #114ce1; /* default top border */
}

.testimonial::before{
  content:"“";
  font-size:60px;
  color:#201139;
  position:absolute;
  top:-20px;
  left:20px;
}

.testimonial p{
  font-size:15px;
  line-height:1.7;
  color:#3d07ee;
  margin-bottom:18px;
}

.testimonial span{
  font-size:14px;
  color:#d12020;
  font-weight:500;
}

/* subtle hover effect */
.testimonial:hover{
  transform:translateY(-5px);
  box-shadow:0 14px 28px rgba(0,0,0,0.12);
}

/* Border colors for individual testimonials */
.testimonial:nth-child(1){border-top-color:#7405a0;} /* orange */
.testimonial:nth-child(2){border-top-color:#0fc643);;} /* green */
.testimonial:nth-child(3){border-top-color:#05790f;} /* blue */
.testimonial:nth-child(4){border-top-color:#980e3e;} /* pink */

/* FOOTER */
footer{
  background:#310734;
  color:white;
  text-align:center;
  padding:15px;
}

/* ===============================
   COURSE DETAIL SECTIONS
   =============================== */

.course-detail{
  padding:70px 50px;
  background:#f9fbfe;
  border-bottom:1px solid #eaeaea;
}

.course-detail h2{
  font-size:32px;
  margin-bottom:15px;
}

.course-detail h2 span{
  font-size:18px;
  color:#555;
  font-weight:400;
}

.intro{
  max-width:900px;
  color:#444;
  line-height:1.7;
  margin-bottom:35px;
}

.course-points{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:40px;
}

.course-points h3{
  margin-bottom:12px;
  color:#222;
}

.course-points ul,
.single-list{
  padding-left:18px;
}

.course-points li,
.single-list li{
  margin-bottom:10px;
  color:#444;
}

.highlight-box{
  margin-top:40px;
  padding:18px 25px;
  background:#eef3ff;
  border-left:5px solid #3f51b5;
  font-weight:500;
  border-radius:8px;
}

.contact-line{
  margin-top:20px;
  font-size:16px;
}

/* Light themed section colors */
.robotics-bg .highlight-box{border-color:#ff9800;}
.abacus-bg .highlight-box{border-color:#4caf50;}
.vedic-bg .highlight-box{border-color:#3f51b5;}
.school-bg .highlight-box{border-color:#009688;}

/* ===============================
   MATHEMATICAL SKILL GRID
================================ */

.math-skill-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
  margin-top:40px;
}

.math-card{
  background:white;
  border-radius:16px;
  padding:25px 20px;
  text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  transition:0.3s ease;
}

.math-card i{
  font-size:32px;
  margin-bottom:12px;
  color:#3f51b5;
}

.math-card h4{
  font-size:17px;
  margin-bottom:6px;
  color:#222;
}

.math-card p{
  font-size:14px;
  color:#555;
  line-height:1.6;
}

.math-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
}
.math-flow{
  margin-top:30px;
  padding:14px 18px;
  background:#f1f4ff;
  border-left:5px solid #3f51b5;
  font-size:15px;
  border-radius:8px;
}

/* ===============================
   MATHEMATICAL SKILL GRID
================================ */
.math-skill-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
  margin-top:40px;
}

.math-card{
  background:white;
  border-radius:16px;
  padding:25px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  transition:0.3s;
}

.math-card i{
  font-size:32px;
  color:#7a2880;
  margin-bottom:10px;
}

.math-card:hover{
  transform:translateY(-6px);
}

/* FLOW */
.math-flow{
  margin-top:30px;
  padding:15px;
  background:#eef3ff;
  border-left:5px solid #3f51b5;
  border-radius:8px;
  font-size:15px;
}


/* COURSE COMPARISON */
.course-compare{
  padding:60px 30px;
  background:#f9fbfe;
  text-align:center;
}
.course-compare table{
  margin:auto;
  border-collapse:collapse;
}
.course-compare th,
.course-compare td{
  padding:12px 18px;
  border:1px solid #ddd;
}

/* ===============================
   ADMISSION CTA SECTION
================================ */
.admission-cta{
  max-width:500px;
  min-height:20px;

  background:linear-gradient(180deg,#e7fc00,#b2dde9);
  border-radius:0px;

  padding:32px 22px;
  margin:40px auto;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  text-align:center;
  box-shadow:0 20px 40px rgba(0,0,0,0.25);
}

/* Heading */
.admission-cta h2{
  font-size:22px;
  font-weight:800;
  margin-bottom:16px;
  color:#1e1e1e;
}

/* Text */
.admission-cta p{
  font-size:14px;
  line-height:1.6;
  color:#2a2a2a;
  margin-bottom:26px;
}

.admission-cta p strong{
  display:block;
  margin-top:6px;
  font-weight:700;
}

/* Button wrapper */
.cta-actions{
  margin-top:auto;
}

/* Button */
.cta-btn{
  padding: 9px 20px;
  border-radius:25px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  border:none;
}

.cta-btn.secondary{
  background:#00c8fff0;
  color:#000;
  padding: 10px 15px;
}

.cta-btn.secondary:hover{
  background:#e0c400;
}

.cta-btn{
  padding: 14px 26px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #fff200;
  color: #222;
}


/* ===============================
   ADMISSION ENQUIRY FORM PANEL
================================ */
.admission-form-panel{
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 320px;
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  z-index: 999;
  transition: all 0.4s ease;
}

/* Hidden state */
.admission-form-panel.hide{
  right: -360px;
  opacity: 0;
  pointer-events: none;
}

/* Form layout */
.admission-form-panel form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admission-form-panel input,
.admission-form-panel select{
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.admission-form-panel button{
  margin-top: 12px;
  padding: 13px;
  border-radius: 28px;
  border: none;
  background: #ff9800;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.admission-form-panel button:hover{
  background: #0a3551;
  color: #ffffff;
}

/* Close icon */
.form-toggle{
  position: absolute;
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  color: #999;
}

.form-toggle:hover{
  background: rgba(10,53,81,0.1);
  color: #0a3551;
}


/* ===============================
   FLOATING BUTTON GROUP
================================ */
.float-btns{
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

/* Common button style */
.float-btn{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}

/* Individual buttons */
.float-btn.whatsapp{
  background: #25d366;
}

.float-btn.call{
  background: #2196f3;
}

.float-btn.enquiry{
  background: #ff9800;
  color: #222;
  font-size: 20px;
}


/* ===============================
   MOBILE RESPONSIVE
================================ */
@media(max-width:600px){
  .float-btns{
    right: 14px;
    bottom: 14px;
  }

  .float-btn{
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .admission-form-panel{
    width: 90%;
    right: 5%;
  }

  .admission-form-panel.hide{
    right: -100%;
  }
}


/* ===============================
   FOOTER
================================ */
footer{
  background: #310734;
  color: #ffffff;
  text-align: center;
  padding: 15px;
}

//* ===============================
   GALLERY SECTIONs
=============================== */
./* ===============================
   GALLERY SECTION
=============================== */
.gallery-section{
  padding: 70px 30px 90px;
  background: #f9fbfe;
}

/* ===============================
   GALLERY HEADER
=============================== */
.gallery-head{
  max-width: 1200px;
  margin: auto;
  text-align: center;
  margin-bottom: 45px;
}

.gallery-head h2{
  font-size: 36px;
  font-weight: 700;
  color: #de0a5c;
}

.gallery-head p{
  margin-top: 6px;
  font-size: 15px;
  color: #666;
}

/* Social icons – centered & responsive */
.gallery-head .social-links{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.gallery-head .social-links a{
  color: #310734;
  font-size: 26px;
  transition: 0.3s ease;
}

.gallery-head .social-links a:hover{
  color: #ffd166;
}

/* ===============================
   GALLERY GRID
=============================== */
.gallery-grid{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* ===============================
   GALLERY CARD
=============================== */
.gallery-card{
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  background: #000;
}

.gallery-card img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover zoom */
.gallery-card:hover img{
  transform: scale(1.1);
}

/* ===============================
   TABLET
=============================== */
@media (max-width: 992px){
  .gallery-head h2{
    font-size: 32px;
  }

  .gallery-card img{
    height: 220px;
  }
}

/* ===============================
   MOBILE
=============================== */
@media (max-width: 600px){
  .gallery-section{
    padding: 55px 18px;
  }

  .gallery-head h2{
    font-size: 26px;
  }

  .gallery-card img{
    height: 200px;
  }
}


/* ===============================
   PARENT INSIGHT GALLERY
=============================== */
.parent-gallery{
  padding: 70px 40px;
  background: #ffffff;
  text-align: center;
}

.parent-gallery h2{
  font-size: 30px;
  color: #310734;
  margin-bottom: 8px;
}

.parent-sub{
  font-size: 15px;
  color: #666;
  margin-bottom: 45px;
}

/* Grid */
.parent-grid{
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

/* Card */
.parent-card{
  background: #f9fbfe;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  transition: 0.35s ease;
  text-align: left;
}

.parent-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.18);
}

/* Image */
.parent-img{
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.parent-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.parent-content{
  padding: 22px 22px 26px;
}

.parent-content h3{
  font-size: 20px;
  margin-bottom: 10px;
  color: #0a3551;
}

.parent-content p{
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 14px;
}

/* Skill tag */
.skill-tag{
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 20px;
  background: #eef3ff;
  color: #3f51b5;
  font-weight: 500;
}

/* Mobile */
@media(max-width:768px){
  .parent-gallery{
    padding: 60px 20px;
  }
  .parent-card{
    text-align: center;
  }
}

/* ===============================
   MOBILE RESPONSIVE
=============================== */
/* @media(max-width:768px){
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }

  .prev, .next {
    font-size: 18px;
    padding: 8px 12px;
  }
} */

/* ===============================
   CONTACT SECTION
=============================== */
/* ===============================
   CONTACT SECTION
=============================== */
.contact-section{
  padding: 60px 30px;
  background: #f9fbfe;
  text-align: center;
}

.contact-section h2{
  font-size: 30px;
  color: #510a23ff;
  margin-bottom: 6px;
}

.contact-sub{
  font-size: 15px;
  color: #555;
  margin-bottom: 45px;
}

/* ===============================
   WRAPPER
=============================== */
.contact-wrapper{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* info slightly wider */
  gap: 35px;
  max-width: 1050px;
  margin: auto;
  align-items: stretch;
}

/* ===============================
   CONTACT INFO GRID
=============================== */
.contact-info{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

/* ===============================
   INFO BOX
=============================== */
.info-box{
  background: #ffffff;
  padding: 20px 16px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.25s ease;
  text-align: center;
}

.info-box a{
  text-decoration: none;
  color: inherit;
  display: block;
}

.info-box i{
  font-size: 26px;          /* NOT too large */
  color: #5b2b82;           /* premium purple */
  margin-bottom: 10px;
}

.info-box h4{
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

/* Hover – subtle, not heavy */
.info-box:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.14);
}

/* ===============================
   MAP
=============================== */
.contact-map iframe{
  width: 100%;
  height: 100%;
  min-height: 280px;        /* balanced height */
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 900px){
  .contact-wrapper{
    grid-template-columns: 1fr;
  }

  .contact-map iframe{
    min-height: 260px;
  }
}

@media (max-width: 500px){
  .contact-section{
    padding: 50px 20px;
  }

  .info-box{
    padding: 18px 14px;
  }

  .info-box i{
    font-size: 24px;
  }
}

/* ===============================
   ABOUT PAGE STYLES
=============================== */

.about-hero{
  padding: 30px;
  text-align:center;
  background:linear-gradient(135deg,#310734,#7a2684,#ecec0c);
  color:white;
}

.about-hero h1{
  font-size:36px;
  margin-bottom:10px;
}

.about-hero p{
  font-size:16px;
  opacity:0.9;
}

/* Responsive for about-hero */
@media(max-width:768px){
  .about-hero{
    padding: 40px 20px;
  }

  .about-hero h1{
    font-size:28px;
  }

  .about-hero p{
    font-size:14px;
  }
}

/* About Section */
.about-section{
  padding:70px 40px;
  background:#f9fbfe;
}

.about-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.about-text h2{
  font-size:28px;
  margin-bottom:15px;
  color:#3d175a;
}

.about-text p{
  font-size:15px;
  color:#444;
  line-height:1.7;
  margin-bottom:15px;
}

.about-image img{
  width:100%;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* Mission Vision */
.mission-vision{
  padding:60px 40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
  background:#eef3ff;
}

.mv-box{
  background:white;
  padding:30px;
  border-radius:18px;
  text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.mv-box i{
  font-size:34px;
  color:#7933a1;
  margin-bottom:12px;
}

.mv-box h3{
  font-size:20px;
  margin-bottom:10px;
}

/* Why Choose Us */
.why-us{
  padding:70px 40px;
  text-align:center;
  background:#f9fbfe;
}

.why-us h2{
  font-size:30px;
  margin-bottom:40px;
  color:#310c4a;
}

.why-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
}

.why-card{
  background:white;
  padding:25px;
  border-radius:18px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  transition:0.3s ease;
}

.why-card i{
  font-size:30px;
  color:#ff9800;
  margin-bottom:10px;
}

.why-card:hover{
  transform:translateY(-6px);
}

/* Responsive */
@media(max-width:900px){
  .about-grid{
    grid-template-columns:1fr;
    text-align:center;
  }
}

/* ===============================
COMMON ICON GRID
================================ */
.icon-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
  margin-top:40px;
}

.icon-card{
  background:white;
  padding:28px 22px;
  border-radius:20px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  transition:0.3s ease;
}

.icon-card i{
  font-size:34px;
  margin-bottom:12px;
}

.icon-card h4{
  font-size:17px;
  margin-bottom:8px;
  color:#222;
}

.icon-card p{
  font-size:14px;
  color:#555;
  line-height:1.6;
}

.icon-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 35px rgba(0,0,0,0.15);
}

/* ===============================
PERSONALITY THEME (Purple + Yellow)
================================ */
.personality-theme h2 i,
.personality-theme .icon-card i{
  color:#6a1b9a;
}

.personality-theme{
  background:linear-gradient(135deg,#f4e8ff,#ffffff);
}

/* ===============================
BOND BEYOND THEME
================================ */
.bond-theme h2 i,
.bond-theme .icon-card i{
  color:#d81b60;
}

.bond-theme{
  background:linear-gradient(135deg,#ffe4ec,#ffffff);
}

/* ===============================
ROBOTICS THEME
================================ */
.robotics-bg{
  background:linear-gradient(135deg,#e3f2fd,#ffffff);
}

/* ===============================
ABACUS THEME
================================ */
.abacus-bg{
  background:linear-gradient(135deg,#ffebee,#ffffff);
}

/* ===============================
VEDIC THEME
================================ */
.vedic-bg{
  background:linear-gradient(135deg,#ede7f6,#ffffff);
}

/* ===============================
SCHOOL MATHS THEME
================================ */
.school-bg{
  background:linear-gradient(135deg,#fff3e0,#ffffff);
}

/* ===============================
HIGHLIGHT BOX COLORS
================================ */
.highlight-box.yellow{
  border-left-color:#ff9800;
  background:#fff8e1;
}

.highlight-box.purple{
  border-left-color:#6a1b9a;
  background:#f3e5f5;
}

/* ===============================
   ABOUT IMAGE SLIDESHOW
=============================== */
.about-slideshow{
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* Fixed image shape */
.about-slide{
  display: none;
  aspect-ratio: 4 / 3;
  background: #000;
}

.about-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fade */
.fade{
  animation: fadeEffect 1s ease-in-out;
}

/* Arrows */
.about-prev,
.about-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.about-prev:hover,
.about-next:hover{
  background: rgba(0,0,0,0.75);
}

.about-prev{ left: 10px; }
.about-next{ right: 10px; }

/* Dots */
.about-dot-container{
  text-align: center;
  margin-top: 12px;
}

.about-dot{
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s;
}

.about-dot.active,
.about-dot:hover{
  background: #3f51b5;
}

/* Mobile spacing */
@media(max-width:768px){
  .about-dot-container{
    margin-bottom: 10px;
  }
}
/* =====================================================
   GLOBAL RESPONSIVE FIXES (SAFE)
===================================================== */
img{
  max-width:100%;
  height:auto;
}

section{
  overflow-x:hidden;
}

/* =====================================================
   HEADER & NAVIGATION
===================================================== */
@media(max-width:900px){
  .main-header{
    padding:12px 20px;
    flex-wrap:wrap;
  }

  nav{
    width:100%;
    margin-top:12px;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
  }

  nav a{
    margin:0;
    font-size:14px;
  }

  .logo-box span{
    font-size:17px;
  }
}

/* =====================================================
   HERO & TEXT SCALING
===================================================== */
@media(max-width:768px){
  h1{font-size:28px;}
  h2{font-size:26px;}
  h3{font-size:20px;}
  p{font-size:14.5px;}
}

/* =====================================================
   ABOUT / TWO COLUMN SECTIONS
===================================================== */
@media(max-width:900px){
  .about-home,
  .about-grid{
    flex-direction:column;
    grid-template-columns:1fr;
    gap:30px;
    text-align:center;
  }

  .about-image{
    margin:auto;
  }
}

/* =====================================================
   COURSES GRID
===================================================== */
@media(max-width:992px){
  .course-grid{
    max-width:100%;
    padding:0 20px;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  }
}

@media(max-width:600px){
  .course{
    padding:24px 20px;
  }
}

/* =====================================================
   TESTIMONIALS
===================================================== */
@media(max-width:768px){
  .testimonial-wrap{
    flex-direction:column;
    align-items:center;
  }

  .testimonial{
    max-width:95%;
  }
}

/* =====================================================
   COURSE DETAIL / POINTS GRID
===================================================== */
@media(max-width:900px){
  .course-detail{
    padding:60px 20px;
  }

  .course-points{
    grid-template-columns:1fr;
    gap:28px;
  }
}

/* =====================================================
   GALLERY SECTION
===================================================== */
@media(max-width:768px){
  .gallery-section{
    padding:60px 20px;
  }

  .gallery-grid{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
  }

  .gallery-card img{
    height:200px;
  }
}

/* =====================================================
   PARENT INSIGHT GALLERY
===================================================== */
@media(max-width:768px){
  .parent-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

  .parent-content{
    text-align:center;
  }
}

/* =====================================================
   CONTACT SECTION
===================================================== */
@media(max-width:900px){
  .contact-section{
    padding:60px 20px;
  }

  .contact-wrapper{
    grid-template-columns:1fr;
  }

  .contact-map iframe{
    min-height:260px;
  }
}

/* =====================================================
   ADMISSION CTA
===================================================== */
@media(max-width:600px){
  .admission-cta{
    max-width:92%;
    padding:28px 18px;
  }
}

/* =====================================================
   FLOATING BUTTONS & FORM
===================================================== */
@media(max-width:600px){
  .float-btns{
    right:12px;
    bottom:12px;
  }

  .float-btn{
    width:48px;
    height:48px;
    font-size:18px;
  }

  .admission-form-panel{
    width:92%;
    right:4%;
  }

  .admission-form-panel.hide{
    right:-100%;
  }
}
.float-btn.enquiry i{
  color: #fffefcff;  /* yellow icon */
}


/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #310734;
  color: white;
  text-align: center;
  padding: 20px;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 24px;
  transition: 0.3s;
}

.social-links a:hover {
  color: #ffd166;
}

@media(max-width:600px){
  footer{
    font-size:13px;
    padding:14px;
  }
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }
}


/* ===== STAR RATING ===== */
/* ===============================
   COURSE COMPARISON
=============================== */
.course-compare{
  padding: 70px 30px;
  background: #f9fbfe;
  text-align: center;
}

.course-compare h2{
  font-size: 30px;
  margin-bottom: 35px;
  color: #0a3551;
}

.table-wrapper{
  overflow-x: auto;
}

/* Table */
.course-compare table{
  width: 100%;
  max-width: 1100px;
  margin: auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.course-compare th,
.course-compare td{
  padding: 14px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.course-compare th{
  background: #eef3ff;
  font-weight: 600;
}

/* Yellow stars */
.stars{
  color: #ffdd00ff; /* yellow */
  font-size: 16px;
  letter-spacing: 2px;
}

/* ===============================
   MOBILE VIEW (STACKED)
=============================== */
@media(max-width: 768px){
  .course-compare table,
  .course-compare thead,
  .course-compare tbody,
  .course-compare th,
  .course-compare td,
  .course-compare tr{
    display: block;
  }

  .course-compare thead{
    display: none;
  }

  .course-compare tr{
    margin-bottom: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    background: #fff;
    padding: 10px;
  }

  .course-compare td{
    border: none;
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    font-size: 14px;
  }

  .course-compare td::before{
    content: attr(data-label);
    font-weight: 600;
    color: #0a3551;
  }

  .stars{
    font-size: 18px;
  }
}
