/* IMPORTANT */
#MainBanner .carousel-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* SLIDES */
#MainBanner .carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    transition: transform .6s ease-in-out;
    backface-visibility: hidden;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* ACTIVE SLIDE */
#MainBanner .carousel-item.active {
    display: block;
}

/* MOBILE */
@media(max-width:767px){

    #MainBanner .carousel-item{
        height: 550px;
        min-height: 550px;
    }

    #MainBanner .bgImgWrap img,
    #MainBanner .bgImgWrap video{
        object-position:center;
    }
}


/* FOOTER CSS */
#Footer{
    width:100%;
    height:auto;
    position:relative;
}

@media only screen and (max-width:468px){
    #Footer{
        margin-bottom:30px;
    }
}

#Footer .shape{
    position:absolute;
    left:0;
    bottom:100%;
    width:100%;
    pointer-events:none;
    z-index:5;
    display:flex;
}

#Footer .bgIcons{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#Footer .bgIcons .itm{
    position: absolute;
    z-index: 10;
}

#Footer .bgIcons .itm img{
    height:100%;
    object-fit:contain;
}

#Footer .c1{
    color:#EA3546;
}

#Footer .c2{
    color:#43BCCD;
}

#Footer .c3{
    color:#B271EF;
}

#Footer .ftTle{
    font-weight:600;
    line-height:1.2;
    margin-bottom:10px;
    padding-bottom:15px;
    position:relative;
    font-size:13px;
}

@media only screen and (min-width:576px){
    #Footer .ftTle{
        font-size:14px;
    }
}

@media only screen and (min-width:1200px){
    #Footer .ftTle{
        font-size:16px;
    }
}

#Footer .ftTle::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:51px;
    height:2px;
    background:#EA3546;
}

#Footer ul li{
    margin-bottom:5px;
}

#Footer ul li a{
    color:#000;
    font-size:12px;
    text-decoration:none;
    transition:0.4s;
}

#Footer ul li a:hover{
    color:#f86624;
}

#Footer .ftMid{
    width:100%;
    padding:40px 0;
}

#Footer .ftBtm{
    width:100%;
    padding:20px 0;
    background:rgba(179,218,254,0.5);
}

#Footer .sclFlx{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
}

#Footer .sclFlx a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border-radius:50%;
    transition:0.4s;
}

#Footer .sclFlx a:hover{
    transform:translateY(-3px);
}

/* gallery css */
/* =========================================
        SECTION
========================================= */

.school-gallery{
    position:relative;
    padding:100px 0;
    background:#f8f5ee;
    overflow:hidden;
}

.container{
    width:92%;
    max-width:1300px;
    margin:auto;
    position:relative;
    z-index:2;
}

/* =========================================
        TITLE
========================================= */

.gallery-heading{
    text-align:center;
    margin-bottom:60px;
}

.gallery-heading span{
    /* color:#0ea5e9; */
    /* font-size:14px; */
    letter-spacing:3px;
    font-weight:700;
}

.gallery-heading h2{
    font-size: 46px;
    color:#111827;
    margin-top:10px;
    font-weight:800;
}

/* =========================================
        MASONRY LAYOUT
========================================= */

.masonry-gallery{
    column-count:5;
    column-gap:20px;
}

/* =========================================
        ITEM
========================================= */

.gallery-item{
    position:relative;
    display:block;
    margin-bottom:20px;
    overflow:hidden;
    border-radius:22px;
    break-inside:avoid;
    animation:fadeUp 1s ease;
}

/* Different Heights */

.gallery-item img{
    width:100%;
    display:block;
    border-radius:22px;
    transition:0.7s ease;
}

/* Hover Zoom */

.gallery-item:hover img{
    transform:scale(1.08);
}

/* Overlay */

.gallery-item::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to top,
    rgba(0,0,0,0.35),
    transparent);
    opacity:0;
    transition:.5s;
    z-index:1;
    border-radius:22px;
}

.gallery-item:hover::before{
    opacity:1;
}

/* Floating Effect */

.gallery-item{
    animation:floatImage 5s ease-in-out infinite;
}

.gallery-item:nth-child(2){
    animation-delay:.5s;
}

.gallery-item:nth-child(3){
    animation-delay:1s;
}

.gallery-item:nth-child(4){
    animation-delay:1.5s;
}

/* =========================================
        ANIMATIONS
========================================= */

@keyframes floatImage{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-6px);
    }

    100%{
        transform:translateY(0px);
    }

}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* =========================================
        RESPONSIVE
========================================= */

@media(max-width:1100px){

    .masonry-gallery{
        column-count:4;
    }

}

@media(max-width:768px){

    .school-gallery{
        padding:70px 0;
    }

    .gallery-heading h2{
        font-size:38px;
    }

    .masonry-gallery{
        column-count:2;
        column-gap:15px;
    }

}

@media(max-width:480px){
    .masonry-gallery{
        column-count:1;
    }

    .gallery-heading h2{
        font-size:30px;
    }
}


/*=========================================
        MODERN ADMISSION SECTION
=========================================*/

.modern-admission{
    position:relative;
    padding:60px 0;
    overflow:hidden;
    background: url("../images/admission-bg.webp") center center/cover no-repeat;
    z-index:1;
}

/* Dark Overlay */

.modern-admission .overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(0,70,40,0.92),
        rgba(8,85,52,0.88)
    );
    z-index:-1;
}

/* Main Card */

.admission-card{
    position:relative;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.15);
    backdrop-filter:blur(12px);
    border-radius:45px;
    padding: 37px;
    display:flex;
    gap:60px;
    align-items:center;
    justify-content:space-between;
    box-shadow:0 25px 60px rgba(0,0,0,0.25);
    overflow:hidden;
}

/* Glow Effect */

.admission-card::before{
    content:"";
    position:absolute;
    width:250px;
    height:250px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    top:-120px;
    right:-80px;
}

.admission-card::after{
    content:"";
    position:absolute;
    width: 120px;
    height: 150px;
    border:2px solid rgba(255,193,7,0.5);
    border-radius:50%;
    bottom:-80px;
    left:40%;
}

/* Left */

.admission-left{
    width:48%;
}

.admission-left h2{
    /* font-size:60px; */
    line-height:1.1;
    color:#fff;
    font-weight:800;
    margin-bottom:30px;
}

.admission-left p{
    color:#e7f5eb;
    /* font-size:18px; */
    line-height:1.9;
    margin-bottom:35px;
}

/* Button */

.admission-btn{
    display:inline-block;
    padding:15px 34px;
    background:#ffc107;
    color:#0d3c2b;
    font-weight:700;
    border-radius:50px;
    text-decoration:none;
    transition:0.4s;
    box-shadow:0 10px 30px rgba(255,193,7,0.35);
}

.admission-btn:hover{
    transform:translateY(-5px);
    background:#fff;
    color:#000;
}

/* Right */

.admission-right{
    width:48%;
}

.admission-right h3{
    color:#fff;
    /* font-size:38px; */
    margin-bottom:10px;
    font-weight:700;
}

.admission-right .year{
    color:#d6eadc;
    display:block;
    margin-bottom:35px;
    /* font-size:16px; */
}

/* List */

.admission-right ul{
    padding:0;
    margin:0;
    list-style:none;
}

.admission-right ul li{
    position:relative;
    padding:18px 20px 18px 65px;
    margin-bottom:18px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:18px;
    color:#fff;
    /* font-size:17px; */
    transition:0.4s;
}

.admission-right ul li:hover{
    transform:translateX(10px);
    background:rgba(255,255,255,0.13);
}

.admission-right ul li span{
    position:absolute;
    left:20px;
    top:50%;
    transform:translateY(-50%);
    width:30px;
    height:30px;
    background:#ffc107;
    color:#0d3c2b;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    /* font-size:15px; */
    font-weight:700;
}

/* Decorative Shapes */

.shape{
    position:absolute;
    border-radius:50%;
    animation:float 6s ease-in-out infinite;
}

.shape1{
    width:120px;
    height:120px;
    background:rgba(255,255,255,0.06);
    top:10%;
    left:5%;
}

.shape2{
    width:80px;
    height:80px;
    background:rgba(255,193,7,0.25);
    bottom:3%;
    right:51.6%;
    animation-delay:2s;
}

.shape3{
    width:50px;
    height:50px;
    border:2px solid rgba(255,255,255,0.25);
    top:25%;
    right:18%;
    animation-delay:4s;
}

/* Animation */

@keyframes float{
    0%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-20px);
    }
    100%{
        transform:translateY(0px);
    }
}

/* Responsive */

@media(max-width:991px){

    .admission-card{
        flex-direction:column;
        padding:50px 35px;
    }

    .admission-left,
    .admission-right{
        width:100%;
    }

    .admission-left h2{
        font-size:42px;
    }

}

@media(max-width:576px){

    .modern-admission{
        padding:80px 0;
    }

    .admission-card{
        border-radius:30px;
        padding:35px 20px;
    }

    .admission-left h2{
        font-size:34px;
    }

    .admission-right h3{
        font-size:28px;
    }

    .admission-right ul li{
        font-size:15px;
        line-height:1.7;
    }

}

/* img css */
/*=========================================
        PERFECT MASONRY GALLERY
=========================================*/

.masonry-gallery{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
}

/* Gallery Item */

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    display:block;
    background:#eee;
    height:280px; /* SAME HEIGHT */
}

/* Tall Images */

.gallery-item.tall{
    height:280px;
}

/* Image */

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover; /* PERFECT FIT */
    object-position:center;
    display:block;
    transition:0.5s ease;
}

/* Hover */

.gallery-item:hover img{
    transform:scale(1.08);
}

/* Overlay */

.gallery-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,0.35),
        transparent
    );
    opacity:0;
    transition:0.4s;
}

.gallery-item:hover::after{
    opacity:1;
}

/* Responsive */

@media(max-width:1199px){

    .masonry-gallery{
        grid-template-columns:repeat(4,1fr);
    }

}

@media(max-width:767px){

    .masonry-gallery{
        grid-template-columns:repeat(3,1fr);
        gap:14px;
    }

    .gallery-item{
        height:220px;
    }

    .gallery-item.tall{
        height:460px;
    }

}

@media(max-width:480px){

    .masonry-gallery{
        grid-template-columns:1fr;
    }

    .gallery-item,
    .gallery-item.tall{
        height:260px;
    }

}

