body{
font-family: 'Segoe UI', sans-serif;
background:#f5f7fb;
}

/* navbar button */

.navbar .btn{
border-radius:30px;
padding:6px 18px;
font-weight:500;
}
.navbar{
transition:0.3s;
top: 50px;
}

.navbar.scrolled{
background:#ffffff;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

/* hover */

.navbar .btn:hover{
background:#0056b3;
}

/* slider */

.slider-img{
height:500px;
object-fit:cover;
}

.carousel-caption{
background:rgba(0,0,0,0.5);
padding:20px;
border-radius:10px;
}

/* section title */

.section-title{
font-weight:700;
margin-bottom:30px;
}



.facilities-icon .row{
    display: flex;
    justify-content: space-between;
}

.facilities-icon .col-md-3{
    padding-left: 12px;
    padding-right: 12px;
}

.facilities-clean{
padding:100px 0;   /* same spacing as other sections */
background:#f5f7fb;
}

/* card */

.facility-box{
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
height:100%;
display:flex;
flex-direction:column;
}

/* image */

.facility-img{
width:100%;
height:230px;
object-fit:cover;
}

/* text area (UPDATED BG) */

.facility-text{
padding:20px;
text-align:center;
background:#f9fbff;   /* light different bg */
border-top:1px solid #eee;
}

/* title */

.facility-text h5{
font-weight:600;
margin-bottom:8px;
color:#1b2341;
}

/* paragraph */

.facility-text p{
font-size:14px;
color:#666;
margin:0;
line-height:1.6;
}

/* spacing between cards */

.row.g-4{
--bs-gutter-y:30px;
--bs-gutter-x:30px;
}

/* text */

.facility-text{
padding:20px;
text-align:center;
}

.facility-text h5{
font-weight:600;
margin-bottom:10px;
color:#1b2341;
}

.facility-text p{
font-size:14px;
color:#555;
line-height:1.6;
}

/* subtle hover (only card lift, no text effect) */

.facility-box:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.12);
}
/* facilities title */

.facilities-title{
padding:70px 0 40px;
background:#f5f7fb;
}

.facilities-title h2{
font-weight:700;
font-size:36px;
color:#1b2341;
}

.facilities-title p{
color:#666;
margin-top:10px;
}

/* underline */

.title-line{
width:70px;
height:4px;
background:#20c997;
margin:15px auto 0;
border-radius:5px;
}

/* different color boxes */

.red-box{
background:rgba(200,40,60,0.9);
}

.brown-box{
background:rgba(120,80,50,0.9);
left:60px;
right:auto;
}

.yellow-box{
background:rgba(200,160,40,0.9);
}

/* button */

.facility-btn{
margin-top:10px;
border:1px solid white;
background:transparent;
color:white;
padding:6px 14px;
}

/* footer */

.footer{
background:#1b2341;
color:white;
padding:60px 0 20px;
}

.footer-title{
font-weight:600;
margin-bottom:20px;
}

.footer-links{
list-style:none;
padding:0;
}

.footer-links li{
margin-bottom:10px;
}

.footer-links a{
color:#ddd;
text-decoration:none;
}

.footer-links a:hover{
color:#20c997;
}

/* gallery grid */

.footer-gallery{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:8px;
}

/* image style */

.footer-gallery img{
width:100%;
height:70px;
object-fit:cover;
border-radius:5px;
transition:0.3s;
cursor:pointer;
}

/* hover effect */

.footer-gallery img:hover{
transform:scale(1.1);
opacity:0.8;
}

/* improve spacing for rows */

.footer .row{
row-gap:30px;
}

/* improve footer links hover */

.footer-links a{
transition:0.3s;
}

.footer-links a:hover{
color:#20c997;
padding-left:4px;
}

/* improve social icons */

.social-icons a{
transition:0.3s;
}

.social-icons a:hover{
background:#20c997;
transform:translateY(-3px);
}



/* social icons */

.social-icons a{
display:inline-block;
width:40px;
height:40px;
line-height:40px;
text-align:center;
border:1px solid #aaa;
border-radius:50%;
margin-right:10px;
color:white;
}

.social-icons a:hover{
background:#20c997;
border:none;
}

/* footer bottom */

.footer-bottom{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
margin-top:20px;
padding-top: 10px;
}

.footer-menu a{
margin-left:15px;
color:#ddd;
text-decoration:none;
}

/* back to top */

.back-top{
position:fixed;
bottom:30px;
right:30px;
background:#20c997;
border:none;
color:white;
padding:12px 15px;
font-size:20px;
cursor:pointer;
}

/* ABOUT BANNER */

.about-banner{
background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
url('../images/WhatsApp\ Image\ 2026-03-14\ at\ 10.31.47\ AM.jpeg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
color: white;
padding: 120px 0;
}
.about-banner h1{
font-weight:700;
font-size:48px;
}

.about-banner p{
font-size:18px;
}


/* CONTACT BANNER */

.contact-banner{
background:#1f2d3d;
padding:50px 0;
}


/* TABLE STYLE */

.table th{
width:35%;
font-weight:600;
}

/* campus section spacing */

.campus-section{
margin-bottom:90px;
}

/* image container */

.campus-img{
overflow:hidden;
border-radius:10px;
position:relative;
}

/* image style */

.campus-img img{
width:100%;
height:260px;
object-fit:cover;
transition:0.5s ease;
}

/* hover zoom */

.campus-img:hover img{
transform:scale(1.1);
}

/* overlay effect */

.campus-img::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.2);
opacity:0;
transition:0.4s;
}

.campus-img:hover::after{
opacity:1;
}

/* about preview section */

.about-preview{
padding:80px 0;
background:#f8f9fa;
}

.about-img{
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* small heading */

.about-tag{
color:#1db4c1;
font-weight:600;
letter-spacing:1px;
}

/* title */

.about-title{
font-size:36px;
font-weight:700;
margin:10px 0 20px;
}

/* feature list */

.about-features p{
margin-bottom:10px;
font-weight:500;
}

/* button */

.about-btn{
background:#1db4c1;
color:white;
padding:10px 25px;
margin-top:15px;
border-radius:4px;
}

.about-btn:hover{
background:#159aa5;
color:white;
}

/* school info section */

.school-info-section{
padding:80px 0;
background:#f5f7fb;
}

/* info box */

.info-box{
display:flex;
align-items:flex-start;
gap:15px;
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

/* icon */

.info-box i{
font-size:24px;
color:#1db4c1;
margin-top:5px;
}

/* text */

.info-box h6{
margin:0;
font-weight:600;
}

.info-box p{
margin:0;
color:#555;
}

/* hover effect */

.info-box:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}
/* admission section */

.admission-alert{
padding:50px 0;
background:linear-gradient(270deg,#ff416c,#ff4b2b,#ff6a00);
background-size:400% 400%;
animation:gradientMove 6s ease infinite;
}

/* gradient animation */

@keyframes gradientMove{
0%{background-position:0% 50%;}
50%{background-position:100% 50%;}
100%{background-position:0% 50%;}
}

/* box */

.admission-box{
color:white;
}

/* title */

.admission-box h3{
font-size:32px;
font-weight:700;
margin:10px 0;
}

/* text */

.admission-box p{
font-size:16px;
margin-bottom:15px;
}

/* blinking dot */

.blink{
color:yellow;
font-size:20px;
animation:blink 1s infinite;
}

@keyframes blink{
0%{opacity:1;}
50%{opacity:0;}
100%{opacity:1;}
}

/* button */

.admission-btn{
background:white;
color:#ff4b2b;
padding:10px 25px;
border-radius:30px;
font-weight:600;
text-decoration:none;
transition:0.3s;
}

.admission-btn:hover{
background:#000;
color:white;
}

/* pulse effect */

.admission-box{
animation:pulse 2s infinite;
}

@keyframes pulse{
0%{transform:scale(1);}
50%{transform:scale(1.03);}
100%{transform:scale(1);}
}

/* WHY MODERN SECTION */

.why-modern{
padding:100px 0;
background:linear-gradient(135deg,#eef2f3,#dfe9f3);
}

/* title */

.why-title{
font-size:40px;
font-weight:700;
color:#1b2341;
}

.why-sub{
color:#666;
margin-top:10px;
}

/* card */

.why-card{
background:white;
padding:30px 20px;
text-align:center;
border-radius:15px;
transition:0.4s;
position:relative;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

/* icon */

.icon-box{
width:70px;
height:70px;
margin:0 auto 15px;
background:linear-gradient(45deg,#1db4c1,#00c6ff);
color:white;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
transition:0.4s;
}

/* hover effect */

.why-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.why-card:hover .icon-box{
transform:scale(1.1) rotate(5deg);
}

/* glowing border animation */

.why-card::before{
content:"";
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:linear-gradient(120deg,transparent,#1db4c1,transparent);
transition:0.6s;
}

.why-card:hover::before{
left:100%;
}

@media (max-width:768px){
.footer-gallery{
grid-template-columns:repeat(3,1fr);
}
}

/* testimonials */

.testimonial-section{
padding:80px 0;
background:#1b2341;
color:white;
}

.testimonial-card{
background:#243056;
color:white;
padding:25px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.testimonial-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 30px rgba(0,0,0,0.15);
}

.testimonial-text{
font-style:italic;
margin-bottom:15px;
}

/* modern events */

.events-modern{
padding:100px 0;
background:#f5f7fb;
}

/* event box */

.event-box{
position:relative;
overflow:hidden;
border-radius:15px;
}

/* image */

.event-img{
width:100%;
height:280px;
object-fit:cover;
transition:0.4s;
}

/* overlay */

.event-overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(to top, rgba(0,0,0,0.8), transparent);
color:white;
padding:20px;
display:flex;
flex-direction:column;
justify-content:flex-end;
opacity:0;
transition:0.4s;
}

/* show overlay on hover */

.event-box:hover .event-overlay{
opacity:1;
}

/* zoom effect */

.event-box:hover .event-img{
transform:scale(1.1);
}

/* date badge */

.event-date{
position:absolute;
top:15px;
left:15px;
background:#ff4b2b;
padding:5px 12px;
border-radius:20px;
font-size:12px;
font-weight:600;
}

/* button */

.event-btn{
display:inline-block;
margin-top:10px;
padding:6px 15px;
background:#1db4c1;
color:white;
border-radius:20px;
text-decoration:none;
font-size:14px;
}

.event-btn:hover{
background:#00c6ff;
}

/* mission section */

.mission-section{
padding:80px 0;
background:#f0f4ff;   /* different bg color */
}

/* title */

.mission-title{
text-align:center;
font-weight:700;
margin-bottom:40px;
color:#1b2341;
}

/* intro */

.mission-intro{
margin-bottom:20px;
color:#555;
}

/* headings */

.mission-heading{
margin-top:20px;
font-weight:600;
color:#1b2341;
}

/* list */

.mission-list{
padding-left:18px;
}

.mission-list li{
margin-bottom:10px;
color:#555;
}

/* image */

.mission-img{
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* container */

.admission-scroll{
background:#ff4b2b;
color:white;
overflow:hidden;
white-space:nowrap;
padding:12px 0;
font-weight:600;
font-size:18px;
position:relative;
}

/* moving text */

.scroll-text{
display:inline-block;
padding-left:100%;
animation:scroll-left 12s linear infinite;
}

/* animation */

@keyframes scroll-left{
0%{
transform:translateX(0%);
}
100%{
transform:translateX(-100%);
}
}

/* pause on hover */

.admission-scroll:hover .scroll-text{
animation-play-state:paused;
}

/* link style inside scrolling text */

.scroll-link{
color:#fff;
text-decoration:underline;
font-weight:700;
margin:0 5px;
}

.scroll-link:hover{
color:#000;
background:#fff;
padding:2px 6px;
border-radius:4px;
}

/* admission bar fixed at top */

.admission-scroll{
position:fixed;
top:0;
width:100%;
z-index:1000;
}

/* navbar just below it */

.navbar{
position:fixed;
top:50px; /* height of admission bar */
width:100%;
z-index:1000;
}

/* now push content properly */

body{
padding-top:120px; /* adjust = admission + navbar height */
}
/* rating stars */

.rating{
margin-bottom:10px;
}

.rating i{
color:#ffc107;  /* gold color */
margin:0 2px;
font-size:16px;
}
/* premium stats */

.stats-premium{
padding:100px 0;
background:linear-gradient(135deg,#1b2341,#2c3e70);
color:white;
}

/* stat box */

.stat-box{
background:rgba(255,255,255,0.08);
padding:30px 20px;
border-radius:15px;
backdrop-filter:blur(10px);
transition:0.3s;
}

/* number */

.stat-number{
font-size:42px;
font-weight:700;
color:#20c997;
margin-bottom:10px;
}

/* text */

.stat-box p{
margin:0;
font-size:16px;
color:#ddd;
}

/* hover */

.stat-box:hover{
transform:translateY(-8px);
background:rgba(255,255,255,0.15);
}
/* video section */

.video-section{
padding:100px 0;
background:linear-gradient(135deg,#eef2f7,#ffffff);
}

/* video container */

.video-box{
position:relative;
border-radius:15px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
transition:0.4s;
}

/* video */

.school-video{
width:100%;
height:400px;
object-fit:cover;
border-radius:15px;
}

/* hover effect */

.video-box:hover{
transform:scale(1.02);
box-shadow:0 20px 50px rgba(0,0,0,0.2);
}