/*====================================================
  GOOGLE FONT
====================================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*====================================================
  GLOBAL
====================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#f8f9fa;
    overflow-x:hidden;
    line-height:1.7;
}
.up_arrow
{
    border-radius: 50%;
    text-align: center;
    line-height: 43px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-transform: uppercase;
    font-size: 26px;
    color: rgb(255, 255, 255);
    opacity: 0.6;
    transition: all 0.2s linear;
}
.up_arrow:hover
{
   border-radius: 50%; 
   text-align: center; 
   line-height: 43px; 
   position: fixed; 
   bottom: 20px; 
   right: 20px; 
   text-transform: uppercase; 
   font-size: 36px; 
   color: rgb(255, 255, 255); 
   opacity: 0.9; 
   transition: all 0.2s linear;
}


img{
max-width:100%;
display:block;
}

a{
    text-decoration:none;
    transition:.3s;
}

ul{
    list-style:none;
    padding:0;
}

section{
    padding:80px 0;
}

.container{
    max-width:1200px;
}

/*====================================================
COLORS
====================================================*/

:root{

--primary:#0d6efd;

--secondary:#198754;

--warning:#ffc107;

--dark:#1d1d1d;

--light:#f8f9fa;

--white:#ffffff;

}

/*====================================================
TOP BAR
====================================================*/

.top-bar{

font-size:14px;

}

.top-bar a{

color:#fff;

transition:.3s;

}

.top-bar a:hover{

color:#ffc107;

}

/*====================================================
NAVBAR
====================================================*/

.navbar{

padding:15px 0;

background:#fff;

transition:.4s;

z-index:999;

}
.navbar .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.navbar-brand{

font-size:28px;

font-weight:700;

color:var(--primary)!important;

display:flex;

align-items:center;

gap:10px;

}

.navbar-brand img{

width:55px;

}

.nav-link{

font-weight:500;

font-size:16px;

margin-left:18px;

color:#222!important;

position:relative;

}

.nav-link::after{

content:"";

position:absolute;

left:0;

bottom:-5px;

width:0;

height:2px;

background:var(--primary);

transition:.4s;

}

.nav-link:hover::after,

.nav-link.active::after{

width:100%;

}

.nav-link:hover{

color:var(--primary)!important;

}

.navbar .btn{

padding:10px 25px;

border-radius:50px;

font-weight:600;

}

/*====================================================
HERO
====================================================*/

.hero{

position:relative;

}

.hero-image{

height:90vh;

object-fit:cover;

}

.carousel-item{

position:relative;

}

.carousel-item::before{

content:"";

position:absolute;

left:0;

top:0;

width:100%;

height:100%;

background:rgba(0,0,0,.55);

}

.carousel-caption{

bottom:22%;

z-index:10;

}

.carousel-caption h5{

font-size:24px;

letter-spacing:2px;

text-transform:uppercase;

margin-bottom:15px;

}

.carousel-caption h1{

font-size:60px;

font-weight:700;

margin-bottom:20px;

}

.carousel-caption p{

font-size:20px;

margin-bottom:30px;

}

.carousel-caption .btn{

padding:15px 35px;

border-radius:40px;

font-size:18px;

font-weight:600;

}

/*====================================================
BUTTONS
====================================================*/

.btn-primary{

background:linear-gradient(45deg,#0d6efd,#3b82f6);

border:none;

transition:.4s;

}

.btn-primary:hover{

transform:translateY(-3px);

box-shadow:0 10px 25px rgba(13,110,253,.4);

}

.btn-warning{

border:none;

transition:.4s;

}

.btn-warning:hover{

transform:translateY(-3px);

box-shadow:0 10px 20px rgba(255,193,7,.4);

}

/*====================================================
HEADINGS
====================================================*/

h1,h2,h3,h4,h5{

font-weight:700;

color:#222;

}

.text-primary{

color:#0d6efd!important;

}

/*====================================================
ABOUT
====================================================*/

.about-img img{

border-radius:20px;

overflow:hidden;

}

.about-content p{

margin-bottom:20px;

}

.about-content i{

color:var(--secondary);

margin-right:10px;

}

/*====================================================
CARDS
====================================================*/

.card{

border:none;

border-radius:20px;

overflow:hidden;

transition:.4s;

}

.card:hover{

transform:translateY(-10px);

box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.card img{

transition:.5s;

}

.card:hover img{

transform:scale(1.05);

}

.card-body{

padding:30px;

}
/*====================================================
STATISTICS SECTION
====================================================*/

.counter-section,
.bg-primary {
    position: relative;
}

.counter {
    font-size: 55px;
    font-weight: 700;
    color: #fff;
}

.counter + p {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

/*====================================================
PRINCIPAL / CHAIRMAN
====================================================*/

.principal-img img,
.chairman-img img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.principal-content,
.chairman-content {
    padding: 20px;
}

/*====================================================
VISION & MISSION
====================================================*/

.card i {
    transition: .4s;
}

.card:hover i {
    transform: rotate(10deg) scale(1.15);
}

/*====================================================
GALLERY
====================================================*/

.gallerySwiper {
    padding-bottom: 50px;
}

.gallerySwiper img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    transition: .4s;
}

.gallerySwiper img:hover {
    transform: scale(1.05);
}

.swiper-pagination-bullet-active {
    background: #0d6efd;
}

/*==========================
   TESTIMONIAL
===========================*/

.testimonial-section{
    background:#f5f8fd;
}

.section-tag{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:8px 24px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    margin-bottom:15px;
}

.section-title{
    font-size:42px;
    font-weight:700;
    color:#222;
    margin-bottom:15px;
}

.section-subtitle{
    max-width:700px;
    margin:auto;
    color:#666;
}

.testimonial-tile{

    position:relative;

    padding:35px;

    border-radius:25px;

    min-height:360px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    overflow:hidden;

    transition:.4s;

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.testimonial-tile:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(0,0,0,.2);

}

.tile-blue{
background:linear-gradient(135deg,#0d6efd,#00b4ff);
}

.tile-green{
background:linear-gradient(135deg,#00b894,#00d68f);
}

.tile-orange{
background:linear-gradient(135deg,#ff8a00,#ffc107);
}

.tile-purple{
background:linear-gradient(135deg,#7b2ff7,#b24592);
}

.quote-icon{

    font-size:42px;

    color:#fff;

    opacity:.35;

}

.stars{

    color:#FFD700;

    font-size:18px;

    letter-spacing:2px;

    margin:15px 0;

}

.testimonial-tile h3{

    color:#fff !important;

    font-size:25px;

    margin-bottom:15px;

}

.testimonial-tile p{

    color:#fff !important;

    font-size:15px;

    line-height:1.8;

}

.parent-info{

    color:#fff;

    margin-top:20px;

}

.parent-info strong{

    color:#fff !important;

    display:block;

    font-size:18px;

}

.tile-number{

    position:absolute;

    right:20px;

    bottom:10px;

    font-size:65px;

    font-weight:700;

    color:rgba(255,255,255,.15);

}
/*====================================================
CONTACT PAGE
====================================================*/

form .form-control {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    box-shadow: none;
}

form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 8px rgba(13,110,253,.2);
}

textarea {
    resize: none;
}

/*====================================================
CONTACT INFO
====================================================*/

.contact-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    transition: .4s;
}

.contact-card:hover {
    transform: translateY(-8px);
}

/*====================================================
FAQ
====================================================*/

.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: #0d6efd;
    color: #fff;
}

/*====================================================
FOOTER
====================================================*/

footer {
    background: #111;
}

footer h3,
footer h5 {
    color: #fff;
}

footer p,
footer li,
footer a {
    color: #d8d8d8;
}

footer a:hover {
    color: #ffc107;
}

footer hr {
    border-color: rgba(255,255,255,.2);
}

/*====================================================
SOCIAL ICONS
====================================================*/

footer .fa-facebook:hover {
    color: #1877F2;
}

footer .fa-instagram:hover {
    color: #E4405F;
}

footer .fa-youtube:hover {
    color: #FF0000;
}

footer .fa-linkedin:hover {
    color: #0A66C2;
}

/*====================================================
SCROLL TO TOP
====================================================*/

#topBtn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

#topBtn:hover {
    transform: scale(1.1);
}

/*====================================================
UTILITY
====================================================*/

.shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,.1) !important;
}

.rounded {
    border-radius: 20px !important;
}

.bg-light {
    background: #f8f9fa !important;
}

.bg-primary {
    background: linear-gradient(135deg,#0d6efd,#3b82f6) !important;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white p {
    color: #fff;
}
/*====================================================
RESPONSIVE DESIGN
====================================================*/

/* Large Screens */
@media (min-width:1400px){

.container{
max-width:1320px;
}

.carousel-caption h1{
font-size:72px;
}

}

/* Laptop */

@media (max-width:1200px){

.carousel-caption h1{
font-size:50px;
}

.hero-image{
height:75vh;
}

}

/* Tablet */

@media (max-width:992px){

.navbar-brand{
font-size:22px;
}

.navbar-brand img{
width:45px;
}

.nav-link{
margin-left:0;
padding:12px 0;
}

.navbar .btn{
margin-top:15px;
}

.hero-image{
height:70vh;
}

.carousel-caption{
bottom:18%;
}

.carousel-caption h1{
font-size:42px;
}

.carousel-caption h5{
font-size:20px;
}

.carousel-caption p{
font-size:17px;
}

section{
padding:60px 0;
}

.counter{
font-size:42px;
}

.card-body{
padding:25px;
}

.gallerySwiper img{
height:220px;
}

footer{
text-align:center;
}

footer .col-lg-3,
footer .col-lg-4,
footer .col-lg-2{
margin-bottom:30px;
}

}

/* Mobile */

@media (max-width:768px){

.top-bar{
display:none;
}

.hero-image{
height:60vh;
}

.carousel-caption{
bottom:15%;
}

.carousel-caption h1{
font-size:32px;
line-height:1.2;
}

.carousel-caption h5{
font-size:16px;
}

.carousel-caption p{
display:none;
}

.carousel-caption .btn{
padding:10px 22px;
font-size:15px;
}

.display-4{
font-size:2.2rem;
}

h2{
font-size:30px;
}

.counter{
font-size:34px;
}

.gallerySwiper img{
height:200px;
}

.card{
margin-bottom:20px;
}

.btn-lg{
padding:10px 25px;
font-size:16px;
}

}

/* Small Mobile */

@media (max-width:576px){

body{
font-size:15px;
}

.navbar-brand{
font-size:18px;
}

.navbar-brand img{
width:40px;
}

.hero-image{
height:55vh;
}

.carousel-caption{
bottom:10%;
}

.carousel-caption h1{
font-size:26px;
}

.carousel-caption h5{
font-size:14px;
}

section{
padding:50px 0;
}

.card-body{
padding:20px;
}

.counter{
font-size:28px;
}

.gallerySwiper img{
height:170px;
}

#topBtn{
width:45px;
height:45px;
right:15px;
bottom:15px;
}

}

/*====================================================
ANIMATIONS
====================================================*/

.fade-up{

animation:fadeUp 1s ease;

}

@keyframes fadeUp{

0%{

opacity:0;

transform:translateY(40px);

}

100%{

opacity:1;

transform:translateY(0);

}

}

.zoom{

animation:zoom 1s;

}

@keyframes zoom{

0%{

transform:scale(.8);

opacity:0;

}

100%{

transform:scale(1);

opacity:1;

}

}

/*====================================================
HOVER EFFECTS
====================================================*/

img{
transition:.5s;
}

img:hover{
transform:scale(1.03);
}

.btn{
transition:.4s;
}

.btn:hover{
transform:translateY(-3px);
}

.card{
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/*====================================================
SCROLLBAR
====================================================*/

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-track{
background:#f1f1f1;
}

::-webkit-scrollbar-thumb{
background:#0d6efd;
border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
background:#084298;
}

/*====================================================
SELECTION
====================================================*/

::selection{
background:#0d6efd;
color:#fff;
}

/*====================================================
SMOOTH TRANSITIONS
====================================================*/

*{
    transition:all .3s ease;
}
/*==============================
GALLERY PAGE
===============================*/

.gallery-banner{
    position:relative;
    background:url('../images/School.png') center center/cover no-repeat;
    height:350px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.gallery-banner .overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.60);
}

.gallery-banner .container{
    position:relative;
    z-index:2;
}

.gallery-banner h1{
    color:#fff;
    font-size:55px;
    font-weight:700;
}

.gallery-banner p{
    color:#fff;
    font-size:18px;
}

.filter-btn{
    border-radius:30px;
    padding:10px 25px;
    font-weight:600;
    transition:.3s;
}

.gallery-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.gallery-img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.5s;
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(13,110,253,.95),rgba(13,110,253,.2));
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.4s;
    color:#fff;
}

.gallery-overlay i{
    font-size:34px;
    margin-bottom:15px;
}

.gallery-overlay h5{
    color:#fff;
    font-weight:700;
}

.gallery-card:hover .gallery-overlay{
    opacity:1;
}

.gallery-card:hover .gallery-img{
    transform:scale(1.12);
}

.gallery-item{
    transition:.4s;
}
.gallery-container img{
width:100%;
height:280px;
object-fit:cover;
}
/* ===== Navbar School Name ===== */

.school-logo{
    display:flex;
    align-items:center;
    text-decoration:none;
    gap:15px;
}

.school-logo img{
    width:65px;
    height:65px;
    object-fit:contain;
}

.school-title{
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #1f1f1f;
    /* ==========================
   Navbar Responsive
========================== */

.school-logo{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.school-title{
    flex: 1;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
}

/* Tablet */
@media (max-width:992px){

    .school-logo img{
        width:50px;
        height:50px;
    }

    .school-title{
        font-size:17px;
    }

}

/* Mobile */
@media (max-width:576px){

    .navbar-brand{
        width: calc(100% - 60px);
    }

    .school-logo img{
        width:42px;
        height:42px;
    }

    .school-title{
        font-size:14px;
        line-height:1.2;
    }

}
}
@media(max-width:576px){

.gallery-banner{
    height:220px;
}

.gallery-banner h1{
    font-size:28px;
}

.gallery-banner p{
    font-size:15px;
}

.gallery-img{
    height:220px;
}

.gallery-card{
    border-radius:15px;
}

.gallery-intro h2{
    font-size:28px;
}

.gallery-stats h2{
    font-size:24px;
}
}

/*====================================================
END OF FILE
====================================================*/