body{
    font-family:'Segoe UI',sans-serif;
}
 html{
    overflow-x:hidden;
    max-width:100%;
}

.hero-admission,
.about-section,
.desk-pro,
.timeline,
.snapshots-section{
    overflow:hidden;
}

.top-info-bar { background-color: #0d3d91; color: white; font-size: 13px; padding: 8px 0; }
.top-info-bar a { color: white; text-decoration: none; margin-left: 15px; }

/* 2. MIDDLE HEADER (DESKTOP) */
@media (min-width: 992px) {
    .middle-header { background: white; padding: 20px 0; }
    .contact-item { display: flex; align-items: center; gap: 12px; border-right: 1px solid #eee; padding: 0 15px; }
    .contact-item:last-child { border: none; }
    .contact-item i { font-size: 26px; color: #0d3d91; }
    .contact-text h6 { margin: 0; font-size: 12px; color: #666; text-transform: uppercase; }
    .contact-text p { margin: 0; font-weight: 700; color: #000; font-size: 14px; line-height: 1.2; }
    .school-title-big { color: #2c75ff; font-weight: 900; line-height: 1; text-align: right; font-size: 28px; margin: 0;text-align: center; }
}
@media (max-width: 991px) { .middle-header { display: none; } }

/* 3. NAVBAR (RED THEME) */
.main-nav-bar { background-color: #dc3545; padding: 0; border-bottom: 3px solid #f42237; }

.nav-link {
    color: #fff !important;
    font-weight: 600;
    padding: 15px 18px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

/* Hover Effect Desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        border: none;
        border-top: 4px solid #0d3d91;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        animation: fadeInUp 0.3s ease;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 4. MOBILE VIEW STYLES */
@media (max-width: 991px) {
    .navbar-brand img { height: 45px; }
    .navbar-collapse {
        background: white;
        padding: 15px;
        border-top: 4px solid #0d3d91;
        max-height: 75vh;
        overflow-y: auto;
    }
    .nav-link { border-bottom: 1px solid #f0f0f0; padding: 12px 10px !important; }
    .dropdown-menu { background: #f9f9f9; border: none; padding-left: 20px; display: none; }
    .dropdown-menu.show { display: block; }
}

@media (max-width: 991px){
  .nav-link{
    color: #000 !important;
  }
}
/* Closed → white */
.navbar-toggler.collapsed .toggler-icon {
  background: #fff;
}

/* Open → black */
.navbar-toggler:not(.collapsed) .toggler-icon {
  background: #fff;
}

/* 5. ANIMATED CROSS TOGGLER */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    position: relative;
}
.navbar-toggler:focus { box-shadow: none; }

.toggler-icon {
    display: block;
    position: absolute;
    height: 3px;
    width: 28px;
    background: #000;
    border-radius: 5px;
    left: 6px;
    transition: .3s ease-in-out;
}


.toggler-icon:nth-child(1) { top: 12px; }
.toggler-icon:nth-child(2) { top: 20px; }
.toggler-icon:nth-child(3) { top: 28px; }

.navbar-toggler:not(.collapsed) .toggler-icon:nth-child(1) { top: 20px; transform: rotate(135deg); }
.navbar-toggler:not(.collapsed) .toggler-icon:nth-child(2) { opacity: 0; left: -40px; }
.navbar-toggler:not(.collapsed) .toggler-icon:nth-child(3) { top: 20px; transform: rotate(-135deg); }

/* Dropdown Hover */
.dropdown-item:hover { background-color: #0d3d91; color: white; }





/* home */

/* ================= HERO CAROUSEL ================= */

#schoolHeroCarousel {
  position: relative;
}

/* Image Smooth Zoom Effect */
.carousel-item img {
  transition: transform 6s ease;
}

.carousel-item.active img {
  transform: scale(1.08);
}

/* Dark Overlay (Premium Look) */
.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;

  z-index: 1;
}

/* Caption Styling */
.carousel-caption {
  z-index: 2;
  backdrop-filter: blur(6px);
  border-left: 5px solid #dc3545; /* red accent */
  animation: fadeUp 1s ease;
}

.carousel-caption h1 {
  color: #fff;
  letter-spacing: 1px;
}

.carousel-caption p {
  color: #ddd;
}

/* Caption Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ================= CONTROLS ================= */

/* Arrows */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: #0d3d91;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: #dc3545;
  transform: translateY(-50%) scale(1.1);
}

/* Indicators */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #0d3d91;
  opacity: 0.5;
  transition: 0.3s;
}

.carousel-indicators .active {
  background-color: #dc3545;
  opacity: 1;
  transform: scale(1.2);
}


/* ================= CARDS ================= */

.custom-card {
  border-radius: 16px;
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Blue Border Accent */
.custom-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #0d3d91;
  transition: 0.4s;
}

/* Hover Effect */
.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.custom-card:hover::before {
  height: 100%;
  opacity: 0.05;
}

/* Icon Circle */
.icon-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: 0.4s;
}

/* Icon Hover */
.custom-card:hover .icon-circle {
  transform: scale(1.1) rotate(5deg);
}

/* Card Title */
.card-title {
  color: #0d3d91;
}

/* Special Card Accent (middle one) */
.border-warning {
  border-color: #dc3545 !important;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .carousel-caption {
    padding: 15px;
    font-size: 14px;
  }

  .carousel-caption h1 {
    font-size: 22px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

}







/* about us */
/* ===== ABOUT ===== */
.about-section{
    background:#f5f8ff;
    overflow:hidden;
}

/* IMAGE WRAP */
.about-left{
    position:relative;
}

/* MAIN IMAGE */
.main-img{
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.main-img img{
    width:100%;
    transition:0.4s;
}

.main-img:hover img{
    transform:scale(1.05);
}

/* 🔥 SMALL IMAGE (FIXED CORNER) */
.small-img{
    position:absolute;
    bottom:-20px;
    right:-10px;   /* 👉 corner fix */
    width:55%;
    border-radius:12px;
    overflow:hidden;
    border:4px solid #fff;
    box-shadow:0 10px 20px rgba(0,0,0,0.2);
    transition:0.3s;
}

.small-img:hover{
    transform:translateY(-8px);
}

/* TEXT */
.about-right h2 span{
    color:#dc3545;
}

/* BUTTON */
.about-btn{
    background:#dc3545;
    color:#fff;
    border-radius:30px;
    transition:0.3s;
}

.about-btn:hover{
    background:#0d3d91;
    color: #fff;
}

/* COUNTER */
.counter{
    color:#0d3d91;
    font-weight:700;
}

/* ===== ANIMATION FIX ===== */
.animate{
    opacity:0;
    transform:translateY(30px);
    transition:0.6s ease;
}

.animate.active{
    opacity:1;
    transform:translateY(0);
}

/* DESKTOP LEFT RIGHT */
@media(min-width:768px){
    .slide-left{
        transform:translateX(-60px);
    }
    .slide-right{
        transform:translateX(60px);
    }

    .slide-left.active,
    .slide-right.active{
        transform:translateX(0);
    }
}

/* 🔥 MOBILE FIX (NO WEIRD SLIDE) */
@media(max-width:767px){
    .slide-left,
    .slide-right{
        transform:translateY(30px); /* only smooth fade */
    }
}

/* 🔥 RESPONSIVE IMAGE FIX */
@media(max-width:768px){
    .small-img{
        position:absolute;
        bottom:-10px;
        right:10px;
        width:65%;
    }
}




/* leader */

/* ================= SECTION ================= */
.desk-section{
  background:#f4f7ff;
  padding:60px 0;
}

/* ================= TITLE ================= */
.desk-title{
  font-size:36px;
  font-weight:700;
  color:#0d3d91;
}
.desk-subtitle{
  color:#666;
  margin-top:5px;
}

/* ================= CARD ================= */
.desk-card{
  display:flex;
  background:#fff;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  transition:0.35s ease;
  height:100%;
  position:relative;
  border-left:5px solid #dc3545;
}

/* HOVER CLEAN EFFECT */
.desk-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,0.12);
}

/* ================= IMAGE ================= */
.desk-img{
  width:40%;
  overflow:hidden;
}

.desk-img img{
  width:100%;
  height:100%;
  object-fit:fill;
  transition:0.4s ease;
}

/* IMAGE HOVER ZOOM */
.desk-card:hover img{
  transform:scale(1.06);
}

/* ================= CONTENT ================= */
.desk-content{
  width:60%;
  padding:25px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* HEADING */
.desk-content h4{
  color:#dc3545;
  font-weight:700;
  transition:0.3s;
}

/* HOVER HEADING COLOR */
.desk-card:hover h4{
  color:#0d3d91;
}

/* TEXT */
.desk-content p{
  font-size:14px;
  color:#555;
  margin-top:10px;
  line-height:1.6;
}

/* NAME */
.desk-content h6{
  margin-top:auto;
  color:#0d3d91;
  font-weight:600;
}

/* ================= PREMIUM BUTTON ================= */
.desk-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:15px;
  padding:8px 18px;
  font-size:14px;
  font-weight:600;
  color:#dc3545;
  text-decoration:none;
  border:2px solid #dc3545;
  border-radius:50px;
  position:relative;
  overflow:hidden;
  transition:0.35s ease;
  z-index:1;
}

/* BACKGROUND FILL ANIMATION */
.desk-btn::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:0%;
  height:100%;
  background:#dc3545;
  transition:0.35s ease;
  z-index:-1;
}

/* HOVER EFFECT */
.desk-btn:hover::before{
  width:100%;
}

.desk-btn:hover{
  color:#fff;
}

/* ARROW ANIMATION */
.desk-btn span{
  transition:0.3s;
}

.desk-btn:hover span{
  transform:translateX(6px);
}

/* ================= BOTTOM LINE ================= */
.desk-card::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:0%;
  height:2px;
  background:#0d3d91;
  transition:0.35s ease;
}

.desk-card:hover::after{
  width:100%;
}



/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .desk-card{
    flex-direction:column;
  }

  .desk-img,
  .desk-content{
    width:100%;
  }

  .desk-img{
    height:250px;
  }

  .desk-title{
    font-size:28px;
  }
}




/* vission and mission */



.vm-ultra{
    background:#f5f8ff;
}

/* TITLE */
.vm-title{
    color:#0d3d91;
    font-weight:700;
}

/* CARD */
.vm-card{
    position:relative;
    background:#fff;
    padding:40px 30px;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    transition:0.4s;
}

/* CONTENT */
.vm-content{
    position:relative;
    z-index:2;
}

/* ICON */
.vm-icon{
    width:60px;
    height:60px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    margin-bottom:15px;
    color:#fff;
    transition:0.4s;
}

/* OVERLAY (HOVER EFFECT) */
.vm-overlay{
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    transition:0.5s ease;
    z-index:1;
    opacity:0.08;
}

/* VISION */
.vision .vm-icon{
    background:#0d3d91;
}
.vision .vm-overlay{
    background:#0d3d91;
}

/* MISSION */
.mission .vm-icon{
    background:#dc3545;
}
.mission .vm-overlay{
    background:#dc3545;
}

/* 🔥 HOVER EFFECT */
.vm-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,0.12);
}

.vm-card:hover .vm-overlay{
    left:0;
}

.vm-card:hover .vm-icon{
    transform:rotate(10deg) scale(1.1);
}

/* TEXT */
.vm-card h4{
    font-weight:600;
}
.vm-card p{
    color:#555;
}

/* ANIMATION */
.animate{
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate.active{
    opacity:1;
    transform:translateY(0);
}



/* counter */

.counter-pro{
    background:#f5f8ff;
}

/* LEFT BIG STAT */
.main-stat{
    background:#0d3d91;
    color:#fff;
    padding:50px 40px;
    border-radius:16px;
    position:relative;
    overflow:hidden;
}

/* LIGHT DESIGN SHAPE */
.main-stat::after{
    content:"";
    position:absolute;
    width:200px;
    height:200px;
    background:rgba(255,255,255,0.05);
    border-radius:50%;
    top:-50px;
    right:-50px;
}

/* TEXT */
.main-stat h2{
    font-size:48px;
    font-weight:700;
}
.main-stat p{
    margin-top:10px;
    font-size:20px;
    font-weight:600;
}
.main-stat small{
    font-size:13px;
    opacity:0.85;
}

/* SMALL CARDS */
.stat-box{
    background:#fff;
    padding:25px;
    border-radius:12px;
    position:relative;
    overflow:hidden;
    transition:0.3s;
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

/* ICON (PRACTICAL) */
.stat-box i{
    font-size:22px;
    background:#f1f4ff;
    color:#0d3d91;
    padding:10px;
    border-radius:8px;
    margin-bottom:10px;
    display:inline-block;
    transition:0.3s;
}

/* UNIQUE HOVER LINE */
.stat-box::before{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:0%;
    height:3px;
    background:#dc3545;
    transition:0.4s;
}

/* HOVER */
.stat-box:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 40px rgba(0,0,0,0.1);
}
.stat-box:hover::before{
    width:100%;
}
.stat-box:hover i{
    background:#dc3545;
    color:#fff;
}

/* TEXT */
.stat-box h4{
    font-weight:700;
    margin:5px 0;
}
.stat-box p{
    color:#666;
}

/* SCROLL ANIMATION */
.animate{
    opacity:0;
    transform:translateY(30px);
    transition:0.6s;
}
.animate.active{
    opacity:1;
    transform:translateY(0);
}

/* MOBILE */
@media(max-width:768px){
    .main-stat{
        text-align:center;
    }
}





/* school level */


.level-timeline{
    background:#f5f8ff;
}

/* TITLE */
.timeline-title{
    color:#0d3d91;
    font-weight:700;
}

/* LINE */
.timeline{
    position:relative;
    max-width:900px;
    margin:auto;
}
.timeline::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    width:3px;
    height:100%;
    background:#ddd;
    transform:translateX(-50%);
}

/* ITEM */
.timeline-item{
    position:relative;
    width:50%;
    padding:20px;
}
.timeline-item.left{ left:0; text-align:right; }
.timeline-item.right{ left:50%; }

/* CARD */
.timeline-content{
    position:relative;
    height:180px;
    border-radius:14px;
    overflow:hidden;
    color:#fff;
    transition:0.4s;
}

/* BACKGROUND IMAGE */
.bg-img{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    transition:0.6s;
}

/* DARK OVERLAY */
.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    transition:0.4s;
}

/* CONTENT */
.content-inner{
    position:relative;
    z-index:2;
    padding:20px;
}

/* COLOR BORDER */
.blue{ border-left:4px solid #0d3d91; }
.red{ border-left:4px solid #dc3545; }

/* DOT */
.timeline-content::before{
    content:"";
    position:absolute;
    top:20px;
    width:14px;
    height:14px;
    border-radius:50%;
    background:#fff;
    z-index:3;
}
.timeline-item.left .timeline-content::before{
    right:-7px;
}
.timeline-item.right .timeline-content::before{
    left:-7px;
}

/* 🔥 HOVER MAGIC */
.timeline-content:hover{
    transform:scale(1.05);
}

/* IMAGE ZOOM */
.timeline-content:hover .bg-img{
    transform:scale(1.2);
}

/* COLOR OVERLAY CHANGE */
.timeline-content.blue:hover .overlay{
    background:rgba(13,61,145,0.75);
}
.timeline-content.red:hover .overlay{
    background:rgba(220,53,69,0.75);
}

/* TEXT */
.timeline-content h4{
    margin-bottom:5px;
}
.timeline-content p{
    font-size:14px;
}

/* ANIMATION */
.animate{
    opacity:0;
    transform:translateY(40px);
    transition:0.6s;
}
.animate.active{
    opacity:1;
    transform:translateY(0);
}

/* MOBILE */
@media(max-width:768px){

.timeline::before{
    left:10px;
}

.timeline-item{
    width:100%;
    padding-left:30px;
}

.timeline-item.right{
    left:0;
}

.timeline-item.left{
    text-align:left;
}

.timeline-content::before{
    left:-7px !important;
}

}





/* cbse filler */



.achievement-ultra{
    background:#f5f8ff;
}
.ach-title{
     color: #0d3d91;
    font-weight: 700;
}
/* CARD */
.ach-card{
    background:#fff;
    padding:25px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    transition:0.4s;
    position:relative;
    overflow:hidden;
}

/* HOVER */
.ach-card:hover{
    transform:translateY(-12px) scale(1.03);
    box-shadow:0 25px 70px rgba(0,0,0,0.15);
}

/* PROGRESS CONTAINER */
.progress{
    height:8px;
    background:#eee;
    border-radius:20px;
    overflow:hidden;
}

/* PROGRESS BAR */
.progress-bar{
    width:0%;
    height:100%;
    position:relative;
    border-radius:20px;

    /* 🔥 BASE GLOW */
    box-shadow:0 0 10px rgba(220,53,69,0.3);
}

/* 🔥 REDISH SHINE EFFECT */
.progress-bar::before{
    content:"";
    position:absolute;
    top:0;
    left:-50%;
    width:50%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(220,53,69,0.5),
        rgba(255,255,255,0.6),
        rgba(220,53,69,0.5),
        transparent
    );

    animation:wave 2s infinite;
}

/* WAVE ANIMATION */
@keyframes wave{
    100%{
        left:150%;
    }
}

/* COLORS */
.blue{background:#0d6efd;}
.green{background:#28a745;}
.orange{background:#f59e0b;}
.red{background:#dc3545;}
.purple{background:#6f42c1;}
.cyan{background:#0dcaf0;}

/* TEXT */
.progress-item{
    margin-bottom:15px;
}
.progress-item label{
    display:flex;
    justify-content:space-between;
    font-size:14px;
}

/* CENTER CARD */
.highlight{
    border:2px solid #0d3d91;
    transform:scale(1.05);
}

/* 🔥 HOVER GLOW BOOST */
.ach-card:hover .progress-bar{
    box-shadow:0 0 18px rgba(220,53,69,0.6);
}

/* SCROLL ANIMATION */
.animate{
    opacity:0;
    transform:translateY(40px);
    transition:0.6s;
}
.animate.active{
    opacity:1;
    transform:translateY(0);
}




/* snapshot */

.snapshots-section{
  padding:100px 0;
  background:#f5f8ff;
}

/* TAG */
.snapshots-tag{
  background:#0033cc;
  color:#fff;
  padding:7px 24px;
  border-radius:30px;
  font-size:13px;
  display:inline-block;
  margin-bottom:18px;
  transition:.3s;
}
.snapshots-tag:hover{
  background:#ff4d4d;
}

/* HEADING */
.snapshots-heading{
  font-size:42px;
  font-weight:800;
  margin-bottom:18px;
}

/* TEXT */
.snapshots-text{
  color:#666;
  margin-bottom:30px;
}

/* LIST */
.facility-list{
  list-style:none;
  padding:0;
}

.facility-list li{
  padding:14px 0;
  cursor:pointer;
  border-bottom:1px solid #eee;
  position:relative;
  transition:.3s;
}

/* 🔥 LEFT ACTIVE LINE */
.facility-list li::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:2px;
  width:0;
  background:#0033cc;
  transition:.4s;
}

/* HOVER */
.facility-list li:hover::after{
  width:100%;
  background:#ff4d4d;
}

.facility-list li:hover{
  color:#0033cc;
  padding-left:10px;
}

/* ACTIVE */
.facility-list li.active{
  color:#0033cc;
  font-weight:600;
}
.facility-list li.active::after{
  width:100%;
}

/* IMAGE WRAPPER */
.image-wrapper{
  position:relative;
  border-radius:20px;
  overflow:hidden;
}

/* IMAGE */
.facility-img{
  width:100%;
  height:480px;
  object-fit:cover;
  border-radius:20px;
  transition:transform .6s ease, opacity .4s ease;
}

/* OVERLAY */
.image-wrapper::after{
  content:"";
  position:absolute;
  inset:0;
 
}

/* 🔥 HOVER ZOOM */
.image-wrapper:hover .facility-img{
  transform:scale(1.08);
}

/* 🔥 SHINE EFFECT */
.image-wrapper::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:50%;
  height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);
  z-index:2;
}
.image-wrapper:hover::before{
  animation:shine 1s;
}
@keyframes shine{
  100%{ left:120%; }
}

/* LABEL */
.image-label{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(255,77,77,0.9);
  color:#fff;
  padding:10px 28px;
  border-radius:30px;
  font-weight:600;
  backdrop-filter:blur(8px);
  transition:.3s;
}

.image-label:hover{
  background:#0033cc;
}

/* RESPONSIVE */
@media(max-width:768px){
  .facility-img{ height:300px; }
  .snapshots-heading{ font-size:28px; }
}




/* faqs */
.faq-section{
  padding:80px 0;
  background:#f5f8ff;
}

/* TITLE */
.faq-title{
  font-size:34px;
   color: #0d3d91;
    font-weight: 700;
}

.faq-subtitle{
  color:#666;
  font-size:15px;
}

/* ACCORDION */
.faq-accordion .accordion-item{
  border:none;
  margin-bottom:15px;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
  transition:.3s;
}

/* HOVER EFFECT */
.faq-accordion .accordion-item:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* BUTTON */
.faq-accordion .accordion-button{
  background:#fff;
  font-weight:600;
  font-size:16px;
  color:#111;
  padding:18px 20px;
  border:none;
  box-shadow:none;
  position:relative;
}

/* ACTIVE */
.faq-accordion .accordion-button:not(.collapsed){
  background:#0b1c3d;
  color:#fff;
}

/* ICON CHANGE */
.faq-accordion .accordion-button::after{
  filter:invert(0);
  transition:.3s;
}

.faq-accordion .accordion-button:not(.collapsed)::after{
  filter:invert(1);
  transform:rotate(180deg);
}

/* BODY */
.faq-accordion .accordion-body{
  background:#fff;
  color:#555;
  font-size:14px;
  line-height:1.7;
}

/* BORDER LEFT ACCENT */
.faq-accordion .accordion-item::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background:#ff4d4d;
  opacity:0;
  transition:.3s;
}

.faq-accordion .accordion-item:hover::before{
  opacity:1;
}

/* ANIMATION */
.faq-section{
  animation:fadeUp 1s ease;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* RESPONSIVE */
@media(max-width:768px){
  .faq-title{
    font-size:26px;
  }
}


/* gallery */
.ultra-gallery {
  background: #f3f6ff;
}
.fw-bold{
    color: #0d3d91;
    font-weight: 700;
}

/* WRAPPER */
.gallery-wrap {
  position: relative;
  height: 520px;
  max-width: 900px;
  margin: auto;
}

/* CARDS */
.u-card {
  position: absolute;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.4s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* PERFECT BALANCED POSITIONS */
.card1 {
  width: 260px;
  top: 0;
  left: 0;
}

.card2 {
  width: 220px;
  top: 160px;
  left: 200px;
}

.card3 {
  width: 260px;
  top: 0;
  right: 0;
}

.card4 {
  width: 230px;
  top: 200px;
  right: 180px;
}

/* IMAGE */
.u-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

/* INFO */
.u-info {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #dc3545;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  transform: translateY(30px);
  opacity: 0;
  transition: 0.3s;
}

/* BLUE OVERLAY */
.u-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13,61,145,0.35);
  opacity: 0;
  transition: 0.3s;
}

/* FLOAT */
.u-card {
  animation: floatSmooth 6s ease-in-out infinite;
}

.card2 { animation-delay: 1s; }
.card3 { animation-delay: 2s; }
.card4 { animation-delay: 3s; }

@keyframes floatSmooth {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* HOVER (CLASSY) */
.u-card:hover {
  transform: scale(1.08);
  z-index: 5;
}

.u-card:hover img {
  transform: scale(1.12);
}

.u-card:hover::after {
  opacity: 1;
}

.u-card:hover .u-info {
  transform: translateY(0);
  opacity: 1;
}

/* BUTTON */
.u-btn {
  padding: 12px 35px;
  background: #0d3d91;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.u-btn:hover {
  background: #dc3545;
  transform: translateY(-3px);
}

/* ========================= */
/* 📱 RESPONSIVE FIX (IMPORTANT) */
/* ========================= */

@media (max-width: 991px) {

  .gallery-wrap {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .u-card {
    position: relative;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }
}

@media (max-width: 576px) {

  .gallery-wrap {
    grid-template-columns: 1fr;
  }

}



/* testimonial */

.testimonial-section{
  padding:90px 0;
  background:#f5f8ff;
  overflow:hidden;
}

/* WRAPPER */
.testimonial-wrapper{
  position:relative;
  overflow:hidden;
}

/* SOFT EDGE FADE */
.testimonial-wrapper::before,
.testimonial-wrapper::after{
  content:"";
  position:absolute;
  top:0;
  width:100px;
  height:100%;
  z-index:2;
}

.testimonial-wrapper::before{
  left:0;
  background:linear-gradient(to right,#f5f8ff,transparent);
}

.testimonial-wrapper::after{
  right:0;
  background:linear-gradient(to left,#f5f8ff,transparent);
}

/* TRACK */
.testimonial-track{
  display:flex;
  gap:22px;
  width:max-content;
  animation:scroll 32s linear infinite;
}

/* PAUSE */
.testimonial-wrapper:hover .testimonial-track{
  animation-play-state:paused;
}

/* CARD */
.testimonial-card{
  min-width:270px;
  background:#fff;
  border-radius:14px;
  padding:20px;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
  position:relative;
  transition:.3s;
  border-left:3px solid #ff4d4d;
}

/* USER */
.user{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.user img{
  width:45px;
  height:45px;
  border-radius:50%;
}

/* TEXT */
.testimonial-card p{
  font-size:14px;
  color:#444;
  line-height:1.6;
}

/* NAME */
.testimonial-card h5{
  margin:0;
  font-size:14px;
  color:#0d3d91;
}

.user span{
  font-size:12px;
  color:#888;
}

/* 🔥 HOVER LINE EFFECT */
.testimonial-card::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:0%;
  height:2px;
  background:#0033cc;
  transition:.4s;
}

.testimonial-card:hover::after{
  width:100%;
}

/* HOVER */
.testimonial-card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* SCROLL */
@keyframes scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* RESPONSIVE */
@media(max-width:768px){
  .testimonial-card{
    min-width:220px;
  }
}




/* contact */


.hero-admission{
  padding:100px 0;
  background:#0b1c3d; /* DARK BLUE */
  color:#fff;
  position:relative;
  overflow:hidden;
}

/* 🔥 BACKGROUND GLOW */
.hero-admission::before{
  content:"";
  position:absolute;
  width:500px;
  height:500px;
  background:radial-gradient(circle,#0033cc55,transparent);
  top:-100px;
  left:-100px;
}

.hero-admission::after{
  content:"";
  position:absolute;
  width:400px;
  height:400px;
  background:radial-gradient(circle,#ff4d4d55,transparent);
  bottom:-100px;
  right:-100px;
}

/* TEXT */
.hero-text h1{
  font-size:48px;
  font-weight:800;
  line-height:1.2;
  margin-bottom:20px;
}

.hero-text h1 span{
  color:#ff4d4d;
}

/* BADGE */
.hero-badge{
  display:inline-block;
  background:#0033cc;
  padding:6px 18px;
  border-radius:30px;
  font-size:13px;
  margin-bottom:15px;
}

/* PARAGRAPH */
.hero-text p{
  color:#d0d8ff;
  margin-bottom:30px;
  max-width:500px;
}

/* BUTTON */
.hero-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 28px;
  background:#ff4d4d;
  color:#fff;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
  position:relative;
  overflow:hidden;
}

/* SHINE */
.hero-btn::after{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,0.5),transparent);
}

.hero-btn:hover::after{
  left:100%;
  transition:.6s;
}

/* HOVER */
.hero-btn:hover{
  background:#0033cc;
  transform:translateY(-3px);
}

/* IMAGE */
.hero-img img{
  max-width:90%;
  animation:floatY 4s ease-in-out infinite;
}

/* FLOAT ANIMATION */
@keyframes floatY{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-15px); }
}

/* TEXT ANIMATION */
.hero-text{
  animation:fadeLeft 1s ease;
}

.hero-img{
  animation:fadeRight 1s ease;
}

@keyframes fadeLeft{
  from{
    opacity:0;
    transform:translateX(-40px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes fadeRight{
  from{
    opacity:0;
    transform:translateX(40px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero-text{
    text-align:center;
  }

  .hero-text h1{
    font-size:32px;
  }

  .hero-img{
    margin-top:40px;
  }
}




/* FOOTER */


.main-footer{
  background:#0b1c3d;
  color:#fff;
  padding:70px 0 20px;
}

/* LOGO */
.footer-logo{
        padding: 5px;
    background-color: white;
  max-width:160px;
  margin-bottom:15px;
  
}

/* TITLE */
.footer-title{
  font-weight:700;
  margin-bottom:15px;
  position:relative;
}

.footer-title::after{
  content:"";
  width:40px;
  height:2px;
  background:#ff4d4d;
  display:block;
  margin-top:6px;
  transition:.3s;
}

/* 🔥 TITLE HOVER */
.footer-title:hover::after{
  width:70px;
}

/* TEXT */
.footer-text{
  color:#b8c2ff;
  font-size:14px;
}

/* CONTACT BOX */
.footer-contact-box p{
  font-size:14px;
  color:#d0d8ff;
  margin-bottom:6px;
  transition:.3s;
}

.footer-contact-box i{
  color:#ff4d4d;
  margin-right:8px;
}

/* CONTACT HOVER */
.footer-contact-box p:hover{
  color:#fff;
  transform:translateX(5px);
}

/* LINKS */
.footer-links{
  list-style:none;
  padding:0;
}

.footer-links li{
  margin-bottom:10px;
}

.footer-links a{
  color:#d0d8ff;
  text-decoration:none;
  transition:.3s;
  position:relative;
}

/* 🔥 ADVANCED HOVER */
.footer-links a::before{
  content:"";
  position:absolute;
  left:-10px;
  top:50%;
  width:6px;
  height:6px;
  background:#ff4d4d;
  border-radius:50%;
  transform:translateY(-50%) scale(0);
  transition:.3s;
}

.footer-links a:hover::before{
  transform:translateY(-50%) scale(1);
}

.footer-links a:hover{
  color:#fff;
  padding-left:10px;
}

/* SOCIAL */
.social-icons{
  margin-top:15px;
}

.social-icons a{
  display:inline-flex;
  width:36px;
  height:36px;
  align-items:center;
  justify-content:center;
  background:#132a5e;
  border-radius:50%;
  margin-right:8px;
  color:#fff;
  transition:.3s;
  position:relative;
}

/* 🔥 SOCIAL HOVER UPGRADE */
.social-icons a:hover{
  background:#ff4d4d;
  transform:translateY(-5px) scale(1.1);
  box-shadow:0 8px 20px rgba(255,77,77,0.4);
}

/* MAP */
.footer-map{
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

.footer-map iframe{
  width:100%;
  height:180px;
  border:0;
}

/* HR */
.main-footer hr{
  border-color:#1f3a75;
  margin:40px 0 20px;
}

/* BOTTOM */
.footer-bottom p{
  font-size:13px;
  color:#aaa;
}

/* ================= RESPONSIVE IMPROVEMENT ================= */

/* Tablet View */
@media (max-width: 991px){

  .main-footer{
    text-align:left; /* center hata diya */
  }

  .footer-title{
    margin-top:20px;
  }

  .footer-map iframe{
    height:200px;
  }

  .footer-contact-box p{
    font-size:13px;
  }

}


/* Mobile View */
@media (max-width: 768px){

  .main-footer{
    text-align:left; /* center hata diya clean look ke liye */
    padding:50px 0 20px;
  }

  /* spacing fix */
  .main-footer .col-md-3,
  .main-footer .col-md-4,
  .main-footer .col-lg-3,
  .main-footer .col-lg-4{
    margin-bottom:25px;
  }

  /* title center + underline align */
  .footer-title{
    text-align:left;
  }



  /* text center */
  .footer-text{
    text-align:left;
  }

  /* contact center */
  .footer-contact-box{
    text-align:left;
  }

  /* links center */
  .footer-links{
    text-align:left;
  }

  /* remove left shift animation on mobile */
  .footer-links a:hover{
    padding-left:0;
  }

  /* social center */
  .social-icons{
    text-align:left;
  }

  .social-icons a{
    margin:5px;
  }

  /* map better spacing */
  .footer-map{
    margin-top:10px;
  }

}


/* Small Mobile */
@media (max-width: 480px){

  .footer-title{
    font-size:16px;
  }

  .footer-text,
  .footer-contact-box p{
    font-size:13px;
  }

  .social-icons a{
    width:32px;
    height:32px;
    font-size:14px;
  }

  .footer-map iframe{
    height:160px;
  }

}