/* ==========================
   GLOBAL
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    overflow-x:hidden;
    background:#fff;
}

a{
    text-decoration:none;
}

.container{
    width:95%;
    max-width:1400px;
    margin:auto;
}

/* ==========================
   TOP BAR
========================== */

.top-bar{
    background:#7a1010;
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

.top-bar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* ==========================
   HEADER
========================== */

.main-header{
    background:#fff;
    padding:20px 0;
}

.header-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo-section img{
    width:100px;
}

.cbse-logo img{
    width:110px;
}

.school-details{
    text-align:center;
    flex:1;
}

.school-details h1{
    color:#7a1010;
    font-size:42px;
    font-weight:700;
    margin-bottom:8px;
}

.school-details h3{
    color:#444;
    font-size:22px;
    margin-bottom:12px;
}

.address-box{
    display:inline-block;
    background:#7a1010;
    color:#fff;
    padding:10px 25px;
    border-radius:4px;
    font-size:15px;
}

/* ==========================
   NAVBAR
========================== */

.custom-navbar{
    background:#7a1010 !important;
    padding:0;
}

.custom-navbar .nav-link{
    color:white !important;
    font-size:14px;
    font-weight:600;
    padding:18px 14px !important;
    transition:.3s;
}

.custom-navbar .nav-link:hover{
    background:#fff;
    color:#7a1010 !important;
}

.dropdown-menu{
    border:none;
    border-radius:0;
    min-width:260px;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.dropdown-item{
    padding:10px 18px;
    font-size:14px;
}

.dropdown-item:hover{
    background:#7a1010;
    color:white;
}

/* Desktop Hover */

@media(min-width:992px){

    .navbar .dropdown:hover .dropdown-menu{
        display:block;
        margin-top:0;
    }

}

/* ==========================
   SLIDER
========================== */

.slider-img{
    width:100%;
    height:650px;
    object-fit:cover;
}

/* ==========================
   SECTION TITLE
========================== */

.section-title{
    text-align:center;
    font-size:36px;
    color:#7a1010;
    margin-bottom:40px;
    position:relative;
}

.section-title::after{
    content:'';
    width:100px;
    height:4px;
    background:#7a1010;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-10px;
}

/* ==========================
   MOBILE
========================== */

@media(max-width:992px){

    .header-row{
        flex-direction:column;
    }

    .logo-section{
        margin-bottom:20px;
    }

    .cbse-logo{
        margin-top:20px;
    }

    .school-details h1{
        font-size:28px;
    }

    .school-details h3{
        font-size:18px;
    }

    .slider-img{
        height:280px;
    }

    .top-bar .container{
        flex-direction:column;
        gap:5px;
        text-align:center;
    }

}
/* ==========================
WELCOME
========================== */

.welcome-section{
    padding:80px 0;
}

.about-content h3{
    color:#7a1010;
    margin-bottom:20px;
}

.about-content p{
    line-height:1.9;
    margin-bottom:15px;
}

.about-img{
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

/* ==========================
MESSAGE
========================== */

.message-section{
    background:#f8f8f8;
    padding:80px 0;
}

.message-card{
    background:#fff;
    text-align:center;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.message-img{
    width:220px;
    height:220px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:20px;
}
.founder-image{
    width:100%;
    max-width:420px;
    height:250px;
    object-fit:contain;
    border-radius:10px;
}
.message-card h3{
    color:#7a1010;
    margin-bottom:15px;
}

/* ==========================
VISION
========================== */

.vision-section{
    padding:80px 0;
}

.vision-box{
    background:#7a1010;
    color:#fff;
    padding:40px;
    border-radius:10px;
    height:100%;
}

.vision-box h3{
    margin-bottom:15px;
}

/* ==========================
NEWS
========================== */

.news-section{
    background:#f5f5f5;
    padding:80px 0;
}

.news-card{
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    height:100%;
}

.news-card h4{
    color:#7a1010;
    margin-bottom:15px;
}
/* ==========================
INFRASTRUCTURE
========================== */

.infrastructure-section{
    padding:80px 0;
}

.infra-card{
    background:#fff;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    border-radius:10px;
    overflow:hidden;
    text-align:center;
}

.infra-card img{
    height:220px;
    width:100%;
    object-fit:cover;
}

.infra-card h5{
    padding:15px;
}

/* ==========================
GALLERY
========================== */

.gallery-section{
    background:#f7f7f7;
    padding:80px 0;
}

.gallery-img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
    transition:.4s;
}

.gallery-img:hover{
    transform:scale(1.05);
}

/* ==========================
QUICK LINKS
========================== */

.quick-links{
    padding:80px 0;
}

.quick-box{
    background:#7a1010;
    color:#fff;
    text-align:center;
    padding:30px;
    border-radius:10px;
    height:100%;
}

/* ==========================
FOOTER
========================== */

.main-footer{
    background:#1e1e1e;
    color:#fff;
    padding:70px 0;
}

.main-footer h4{
    margin-bottom:20px;
    color:#fff;
}

.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:#ddd;
}

.footer-links a:hover{
    color:#fff;
}

.copyright{
    background:#111;
    color:#fff;
    text-align:center;
    padding:15px;
}
.inner-banner{
    background:#7a1010;
    color:white;
    padding:60px 0;
    text-align:center;
}

.content-section{
    padding:70px 0;
}

.content-section h2{
    color:#7a1010;
    margin-bottom:20px;
}

.content-section p{
    line-height:1.9;
    margin-bottom:20px;
    text-align:justify;
}
.inner-banner{
    background:#7a1010;
    color:#fff;
    padding:60px 0;
    text-align:center;
}

.content-section{
    padding:60px 0;
}

.content-section h2{
    color:#7a1010;
    margin-bottom:25px;
}

.content-section p{
    line-height:1.9;
    text-align:justify;
}

.contact-box{
    margin-top:30px;
    background:#f8f8f8;
    padding:25px;
    border-left:5px solid #7a1010;
}
.inner-banner{
    background:#7a1010;
    color:#fff;
    padding:60px 0;
    text-align:center;
}

.content-section{
    padding:60px 0;
}

.side-menu{
    background:#f5f5f5;
    padding:20px;
    border-radius:10px;
}

.side-menu h4{
    color:#7a1010;
    margin-bottom:15px;
}

.side-menu ul{
    list-style:none;
    padding:0;
}

.side-menu ul li{
    margin-bottom:10px;
}

.side-menu ul li a{
    text-decoration:none;
    color:#333;
    display:block;
    padding:10px;
    background:#fff;
    border-radius:5px;
}

.active-link{
    background:#7a1010 !important;
    color:#fff !important;
}
.principal-box{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.principal-image{
    width:220px;
    height:220px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #7a1010;
}

.quote-box{
    background:#f8f8f8;
    padding:20px;
    border-left:5px solid #7a1010;
    margin:20px 0;
}

.vision-highlight{
    background:#7a1010;
    color:#fff;
    padding:15px;
    border-radius:8px;
    text-align:center;
    font-weight:bold;
    margin:20px 0;
}

.principal-sign{
    text-align:right;
    color:#7a1010;
    font-size:18px;
    margin-top:25px;
}