/*=========================================
            HERO SECTION
=========================================*/

.hero{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}

/*==============================
            SLIDER
==============================*/

.slider{
    width:100%;
    height:100%;
    position:relative;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;

    opacity:0;
    visibility:hidden;

    transition:opacity .8s ease;
}

.slide.active{
    opacity:1;
    visibility:visible;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/*==============================
            OVERLAY
==============================*/

.overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(22,28,45,.82),
        rgba(67,56,202,.55),
        rgba(0,0,0,.25)
    );
}

/*==============================
        HERO CONTENT
==============================*/

.hero-content{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    width:90%;
    max-width:1200px;

    color:#fff;

    z-index:5;

}

.hero-tag{

    display:inline-block;

    padding:10px 22px;

    border-radius:40px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(10px);

    font-size:15px;

    margin-bottom:20px;

}

.hero-content h1{

    font-size:3.8rem;

    line-height:1.2;

    margin-bottom:20px;

    font-family:'Noto Sans Devanagari',sans-serif;

}

.hero-content p{

    width:600px;

    max-width:100%;

    font-size:1.1rem;

    line-height:1.8;

    margin-bottom:35px;

}

/*==============================
            BUTTONS
==============================*/

.hero-buttons{

    display:flex;

    gap:18px;

}

.btn{

    display:inline-block;

    padding:15px 34px;

    border-radius:50px;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

.btn-primary{

    background:#06B6D4;

    color:#fff;

}

.btn-primary:hover{

    background:#0891B2;

    transform:translateY(-4px);

}

.btn-secondary{

    border:2px solid #fff;

    color:#fff;

}

.btn-secondary:hover{

    background:#fff;

    color:#4338CA;

}

/*==============================
            ARROWS
==============================*/

.prev,
.next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:55px;
    height:55px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    color:#fff;

    font-size:20px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(8px);

    transition:.3s;

    z-index:20;

}

.prev:hover,
.next:hover{

    background:#06B6D4;

}

.prev{

    left:30px;

}

.next{

    right:30px;

}

/*==============================
            DOTS
==============================*/

.dots{

    position:absolute;

    left:50%;

    bottom:35px;

    transform:translateX(-50%);

    display:flex;

    gap:12px;

    z-index:20;

}

.dot{

    width:14px;
    height:14px;

    border-radius:50%;

    background:rgba(255,255,255,.45);

    cursor:pointer;

    transition:.3s;

}

.dot.active{

    background:#06B6D4;

    transform:scale(1.2);

}

/*==============================
        ANIMATION
==============================*/

.slide.active .hero-content{

    animation:fadeUp .9s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translate(-50%,calc(-50% + 40px));

    }

    to{

        opacity:1;

        transform:translate(-50%,-50%);

    }

}

/*=========================================
        Responsive
=========================================*/

@media(max-width:768px){

.hero{

    height:75vh;

}

.hero-content{

    text-align:center;

}

.hero-content h1{

    font-size:2.3rem;

}

.hero-content p{

    width:100%;

    font-size:15px;

}

.hero-buttons{

    justify-content:center;

    flex-wrap:wrap;

}

.btn{

    padding:13px 28px;

    font-size:15px;

}

.prev,
.next{

    width:42px;
    height:42px;

    font-size:16px;

}

.prev{

    left:12px;

}

.next{

    right:12px;

}

.hero-tag{

    font-size:13px;

}

}

/*=========================================
        SCHOOL HIGHLIGHTS
=========================================*/

.highlights{
    padding:100px 0;
    background:#F8FAFC;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    display:inline-block;
    padding:8px 20px;
    background:#EEF2FF;
    color:#4338CA;
    border-radius:30px;
    font-weight:600;
    margin-bottom:15px;
}

.section-title h2{
    font-size:2.5rem;
    color:#1E293B;
    margin-bottom:15px;
}

.section-title p{
    color:#64748B;
    max-width:650px;
    margin:auto;
    line-height:1.8;
}

.highlights-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.highlight-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.highlight-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

/*========================
        CARD HEADER
=========================*/

.card-header{
    text-align:center;
    padding:20px;
    border-bottom:1px solid #edf2f7;
}

.card-header h3{
    color:#1E293B;
    font-size:1.35rem;
    position:relative;
}

.card-header h3::after{
    content:"";
    width:55px;
    height:3px;
    background:#06B6D4;
    position:absolute;
    left:50%;
    bottom:-10px;
    transform:translateX(-50%);
    border-radius:5px;
}

/*========================
        ABOUT CARD
=========================*/

.about-card{
    padding:25px;
}

.about-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:20px;
}

.about-card p{
    color:#64748B;
    line-height:1.8;
    margin-bottom:25px;
    text-align:justify;
}

/*========================
        BUTTONS
=========================*/

.card-btn{
    display:inline-block;
    padding:12px 28px;
    background:#4338CA;
    color:#fff;
    border-radius:30px;
    transition:.3s;
    font-size:15px;
    font-weight:500;
}

.card-btn:hover{
    background:#06B6D4;
}

.center-btn{
    display:block;
    width:max-content;
    margin:25px auto;
}

/*=========================================
        FACILITIES
=========================================*/

.facility-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    padding:25px;
}

.facility-box{
    background:#fff;
    border:1px solid #EEF2F7;
    border-radius:12px;
    text-align:center;
    padding:25px 15px;
    transition:.35s;
}

.facility-box:hover{
    background:#4338CA;
    transform:translateY(-6px);
    box-shadow:0 12px 25px rgba(67,56,202,.25);
}

.facility-box i{
    font-size:34px;
    color:#4338CA;
    margin-bottom:15px;
    transition:.35s;
}

.facility-box h5{
    color:#1E293B;
    font-size:15px;
    font-weight:600;
    transition:.35s;
}

.facility-box:hover i,
.facility-box:hover h5{
    color:#fff;
}


/*=========================================
        GALLERY
=========================================*/

.gallery-grid{
    padding:25px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.gallery-grid img{
    width:100%;
    height:120px;
    object-fit:cover;
    border-radius:10px;
    transition:.35s;
    cursor:pointer;
}

.gallery-grid img:hover{
    transform:scale(1.08);
}


/*=========================================
        NOTICE BOARD
=========================================*/

.notice-list{
    padding:25px;
}

.notice-item{

    display:flex;
    align-items:center;
    gap:15px;

    padding:14px 0;

    border-bottom:1px solid #EEF2F7;
}

.notice-item:last-child{
    border:none;
}

.notice-date{

    width:65px;
    min-width:65px;
    height:65px;

    background:#EEF2FF;

    border-radius:10px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.notice-date span{

    font-size:24px;
    font-weight:700;
    color:#4338CA;

}

.notice-date small{

    font-size:11px;
    font-weight:600;
    color:#64748B;

}

.notice-content{
    flex:1;
}

.notice-content h5{

    color:#1E293B;
    font-size:15px;
    margin-bottom:5px;
}

.notice-content small{

    color:#64748B;
    font-size:12px;

}

.notice-item i{

    color:#4338CA;
    cursor:pointer;
    transition:.3s;

}

.notice-item i:hover{

    color:#06B6D4;
    transform:scale(1.15);

}


