﻿body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background: #fff;
}

a {
    text-decoration: none;
}

/* TOP HEADER */

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

/* ========================= */
/* TOPBAR */
/* ========================= */

.topbar{
    background:linear-gradient(90deg,#6d0000,#920000);
    padding:12px 25px;
    color:#fff;
    font-size:14px;
}

.topbar a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.topbar a:hover{
    color:#ffb347;
}

.topbar-left,
.topbar-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.topbar-right{
    justify-content:flex-end;
}

.divider{
    width:1px;
    height:18px;
    background:rgba(255,255,255,0.4);
}

.cbse-info{
    font-weight:500;
}

.cbse-info span{
    color:#ffb347;
    font-weight:700;
}

/* ========================= */
/* MAIN HEADER */
/* ========================= */

.main-header{
    background:#fff;
    padding:22px 30px;
    border-bottom:1px solid #eee;
}

.school-brand{
    display:flex;
    align-items:center;
    gap:20px;
}

.school-brand img{
    width:90px;
}

.school-text h1{
    font-family:'Oswald',sans-serif;
    font-size:48px;
    color:#6d0000;
    margin-bottom:5px;
    font-weight:700;
    line-height:1;
}

.school-text h2{
    font-size:24px;
    font-weight:700;
    margin-bottom:8px;
}

.school-text h3{
    color:#d95d00;
    font-weight:700;
    font-size:22px;
}

.header-info{
    display:flex;
    align-items:flex-start;
    gap:15px;
    border-left:1px solid #ddd;
    padding-left:25px;
}

.header-info i{
    font-size:28px;
    color:#f7941d;
}

.header-info span{
    display:block;
    font-size:14px;
    font-weight:600;
    margin-bottom:5px;
}

.header-info h4{
    font-size:34px;
    font-weight:700;
}

.header-info p{
    margin:0;
    line-height:1.7;
}

/* ========================= */
/* NOTICE STRIP */
/* ========================= */

.notice-strip{
    background:linear-gradient(90deg,#f79b1d,#ffb347);
    padding:15px 20px;
}

.notice-left{
    display:flex;
    align-items:center;
    gap:20px;
}

.notice-icon{
    width:48px;
    height:48px;
    background:#7a0000;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:20px;
}

.notice-left marquee{
    font-size:30px;
    font-weight:500;
}

.entrance-btn{
    background:#7a0000;
    color:#fff;
    text-decoration:none;
    padding:18px 35px;
    border-radius:6px;
    font-size:30px;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:10px;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.custom-navbar{
    background:#fff;
    padding:20px 30px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.navbar-nav{
    gap:15px;
}

.navbar-nav .nav-link{
    font-size:28px;
    font-weight:600;
    color:#111;
    padding:14px 20px !important;
    border-radius:12px;
    transition:.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{
    background:#7a0000;
    color:#fff;
}

.dropdown-menu{
    border:none;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    border-radius:12px;
    padding:12px;
}

.dropdown-item{
    padding:12px 18px;
    border-radius:8px;
}

.dropdown-item:hover{
    background:#f5f5f5;
}

.nav-exam-btn{
    background:#f7941d;
    color:#fff;
    text-decoration:none;
    padding:16px 24px;
    border-radius:10px;
    font-size:22px;
    font-weight:600;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:991px){

    .topbar-left,
    .topbar-right{
        justify-content:center;
        flex-wrap:wrap;
        margin-bottom:10px;
    }

    .school-brand{
        flex-direction:column;
        text-align:center;
    }

    .school-text h1{
        font-size:28px;
    }

    .school-text h2{
        font-size:18px;
    }

    .school-text h3{
        font-size:16px;
    }

    .header-info{
        border-left:none;
        padding-left:0;
        margin-top:25px;
    }

    .notice-left marquee{
        font-size:18px;
    }

    .entrance-btn{
        margin-top:15px;
        width:100%;
        justify-content:center;
        font-size:18px;
    }

    .navbar-nav .nav-link{
        font-size:18px;
    }

}

/* NAVBAR */

.main-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    height: 70px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #222 !important;
    margin-left: 15px;
}

.navbar-nav .nav-link:hover {
    color: #FF6B00 !important;
}

/* HERO */

.hero-section {
    position: relative;
}

.hero-img{
    height:65vh;
    min-height:450px;
    object-fit:cover;
}

@media(max-width:991px){

    .hero-img{
        height:45vh;
        min-height:300px;
    }

}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.55);
    width: 100%;
    height: 100%;
}

.hero-content {
    color: #fff;
    padding-top: 140px;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
}

.btn-admission {
    background: #FF6B00;
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
}

.btn-campus {
    background: #fff;
    color: #222;
    padding: 14px 30px;
    border-radius: 50px;
}
@media(max-width:991px){

    .hero-content{
        padding-top:90px;
        text-align:center;
    }

}

/* ADMISSION STRIP */

.admission-strip {
    background: linear-gradient(90deg,#FF6B00,#7A0019);
    color: #fff;
    padding: 12px 0;
}

/* STATS */

.stats-section {
    padding: 80px 0;
    background: #FFF8F0;
}

.stats-box {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    transition: .4s;
}

.stats-box:hover {
    transform: translateY(-10px);
}

.stats-box i {
    font-size: 45px;
    color: #FF6B00;
}

/* ABOUT */

.about-section {
    padding: 100px 0;
}

.about-img {
    border-radius: 20px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 700;
    color: #7A0019;
    margin-bottom: 25px;
}

.btn-theme {
    background: #FF6B00;
    color: #fff;
    padding: 12px 28px;
    border-radius: 40px;
}

/* PRINCIPAL */

.principal-section {
    background: #FFF8F0;
    padding: 100px 0;
}

.principal-img {
    width: 280px;
    border-radius: 50%;
    border: 8px solid #fff;
}

/* FACILITIES */

.facilities-section {
    padding: 100px 0;
}

.facility-box {
    background: #fff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: .4s;
}

.facility-box:hover {
    transform: translateY(-10px);
}

.facility-box i {
    font-size: 50px;
    color: #FF6B00;
    margin-bottom: 20px;
}

/* NOTICE */

.notice-section {
    background: #FFF8F0;
    padding: 100px 0;
}

.notice-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
}

/* GALLERY */

.gallery-section {
    padding: 100px 0;
}

.gallery-img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: .4s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* FOOTER */

.footer {
    background: #7A0019;
    color: #fff;
    padding: 70px 0;
}

.footer h4 {
    margin-bottom: 25px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #fff;
}

/* MOBILE MENU */

.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 12px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    z-index: 999;
}

.mobile-bottom-menu a {
    color: #222;
    text-align: center;
    font-size: 14px;
}

.mobile-bottom-menu i {
    display: block;
    font-size: 20px;
}

/* RESPONSIVE */

@media(max-width:991px){

    .hero-content {
        padding-top: 140px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-img {
        height: 75vh;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .top-links {
        display: none;
    }

}
    /* SCHOOL NAME */

.school-text h1{
    font-family:'Oswald',sans-serif;
    font-size:28px;
    color:#6d0000;
    margin-bottom:5px;
    font-weight:700;
    line-height:1.2;
}

.school-text h2{
    font-size:16px;
    font-weight:700;
    margin-bottom:5px;
    line-height:1.4;
}

.school-text h3{
    color:#d95d00;
    font-weight:700;
    font-size:14px;
}

/* HEADER INFO */

.header-info h4{
    font-size:18px;
    font-weight:700;
}

.header-info span{
    font-size:12px;
}

.header-info p{
    font-size:14px;
    line-height:1.5;
}

.topbar{
    padding:8px 20px;
    font-size:13px;
}

.topbar-left,
.topbar-right{
    gap:12px;
}

.notice-strip{
    padding:12px 20px;
}

.notice-left marquee{
    font-size:16px;
    font-weight:500;
}

.notice-icon{
    width:38px;
    height:38px;
    font-size:16px;
}

.entrance-btn{
    padding:12px 24px;
    font-size:16px;
    border-radius:5px;
}

.custom-navbar{
    padding:12px 20px;
}

.navbar-nav{
    gap:5px;
}

.navbar-nav .nav-link{
    font-size:16px;
    font-weight:600;
    padding:10px 16px !important;
    border-radius:8px;
}

.nav-exam-btn{
    padding:10px 18px;
    font-size:15px;
    border-radius:6px;
}
.school-brand img{
    width:400px;
}

.main-header{
    background:#fff;
    padding:20px 25px;
}
@media(max-width:991px){

    .topbar-left,
    .topbar-right{
        justify-content:center;
        flex-wrap:wrap;
        margin-bottom:10px;
    }

    .school-brand{
        flex-direction:column;
        text-align:center;
    }

    .school-brand img{
        width:60px;
    }

    .school-text h1{
        font-size:22px;
    }

    .school-text h2{
        font-size:14px;
    }

    .school-text h3{
        font-size:13px;
    }

    .header-info{
        border-left:none;
        padding-left:0;
        margin-top:20px;
        justify-content:center;
    }

    .notice-left{
        margin-bottom:10px;
    }

    .notice-left marquee{
        font-size:14px;
    }

    .entrance-btn{
        width:100%;
        justify-content:center;
        font-size:14px;
    }

    .navbar-nav .nav-link{
        font-size:15px;
    }

}

    /* NAVBAR HOVER EFFECT */

.navbar-nav .nav-link{
    color:#222 !important;
    transition:0.3s ease;
}

/* HOVER */

.navbar-nav .nav-link:hover{
    background:#6d0000;
    color:#fff !important;
}

/* ACTIVE MENU */

.navbar-nav .nav-link.active{
    background:#6d0000;
    color:#fff !important;
}

.dropdown-item{
    transition:0.3s;
}

.dropdown-item:hover{
    background:#6d0000;
    color:#fff;
}

/* ========================= */
/* HERO SLIDER */
/* ========================= */

.hero-slider-section{
    position:relative;
}

/* IMAGE */

.hero-img{
    height:82vh;
    object-fit:cover;
}

/* OVERLAY */

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
}

/* CAPTION */

.carousel-caption{
    bottom:50%;
    transform:translateY(50%);
    z-index:2;
    text-align:left;
    max-width:850px;
}

/* TOP TEXT */

.carousel-caption span{
    color:#f7941d;
    font-size:18px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

/* HEADING */

.carousel-caption h1{
    font-size:68px;
    font-weight:800;
    line-height:1.2;
    margin:20px 0;
    color:#fff;
}

/* TEXT */

.carousel-caption p{
    font-size:22px;
    color:#f1f1f1;
    margin-bottom:35px;
    line-height:1.8;
}

/* BUTTONS */

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.hero-btn{
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:0.4s;
}

/* PRIMARY */

.primary-btn{
    background:#f7941d;
    color:#fff;
}

.primary-btn:hover{
    background:#7a0000;
    color:#fff;
}

/* SECONDARY */

.secondary-btn{
    border:2px solid #fff;
    color:#fff;
}

.secondary-btn:hover{
    background:#fff;
    color:#222;
}

/* CONTROLS */

.carousel-control-prev,
.carousel-control-next{
    width:6%;
}

/* INDICATORS */

.carousel-indicators button{
    width:14px !important;
    height:14px !important;
    border-radius:50%;
    background:#f7941d !important;
}

/* RESPONSIVE */

@media(max-width:991px){

    .hero-img{
        height:60vh;
    }

    .carousel-caption{
        bottom:50%;
        transform:translateY(50%);
        text-align:center;
        left:5%;
        right:5%;
    }

    .carousel-caption h1{
        font-size:34px;
    }

    .carousel-caption p{
        font-size:15px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-btn{
        padding:12px 24px;
        font-size:14px;
    }

}

    /* ========================= */
/* NAVBAR DROPDOWN HOVER */
/* ========================= */

.navbar .dropdown:hover .dropdown-menu{
    display:block;
    margin-top:0;
    opacity:1;
    visibility:visible;
    transition:0.3s;
}

/* DROPDOWN MENU */


/* DROPDOWN ITEMS */

.dropdown-item{
    padding:12px 22px;
    font-size:15px;
    font-weight:500;
    transition:0.3s;
}

/* ITEM HOVER */

.dropdown-item:hover{
    background:#7a0000;
    color:#fff;
    padding-left:28px;
}

/* ===================================== */
/* NAVBAR DROPDOWN */
/* ===================================== */

/* DESKTOP HOVER */

@media(min-width:992px){

    .navbar .dropdown{
        position:relative;
    }

    .navbar .dropdown-menu{

        display:block;

        opacity:0;

        visibility:hidden;

        transform:translateY(15px);

        transition:all .3s ease;

        margin-top:0;

        border:none;

        border-radius:12px;

        min-width:240px;

        padding:12px 0;

        box-shadow:0 10px 35px rgba(0,0,0,0.12);

        pointer-events:none;

        position:absolute;
    }

    .navbar .dropdown:hover .dropdown-menu{

        opacity:1;

        visibility:visible;

        transform:translateY(0);

        pointer-events:auto;
    }

}

/* MOBILE DROPDOWN */

@media(max-width:991px){

    .navbar .dropdown-menu{

        position:static !important;

        transform:none !important;

        opacity:1 !important;

        visibility:visible !important;

        display:none;

        width:100%;

        border:none;

        padding:8px 0 8px 15px;

        margin-top:5px;

        background:#fff8f2;

        box-shadow:none;

        border-radius:10px;
    }

    .navbar .dropdown-menu.show{
        display:block;
    }

    /* DROPDOWN ITEMS */

    .navbar .dropdown-item{

        padding:10px 15px;

        font-size:15px;

        border-radius:8px;

        margin-bottom:5px;
    }

    .navbar .dropdown-item:hover{

        background:#7a0000;

        color:#fff;
    }

}

    /* ========================= */
/* MESSAGE DESK */
/* ========================= */

.message-desk-section{
    padding:90px 0;
    background:#fff;
}

/* CARD */

.message-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 35px rgba(0,0,0,0.08);

    transition:0.4s;

    height:100%;

    position:relative;
}

/* FEATURED CARD */

.featured-card{
    transform:translateY(-15px);
    border:3px solid #f7941d;
}

/* HOVER */

.message-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 45px rgba(0,0,0,0.15);
}

/* IMAGE */

.message-image{
    position:relative;
    overflow:hidden;
}

.message-image img{
    width:100%;
    height:340px;
    object-fit:cover;
    transition:0.5s;
}

.message-card:hover .message-image img{
    transform:scale(1.08);
}

/* CONTENT */

.message-content{
    padding:30px 25px;
    text-align:center;
}

/* NAME */

.message-content h3{
    font-size:28px;
    font-weight:700;
    color:#16213e;
    margin-bottom:10px;
}

/* DESIGNATION */

.message-content span{
    color:#f7941d;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

/* LINE */

.message-line{
    width:60px;
    height:4px;
    background:#f7941d;
    margin:18px auto;
    border-radius:10px;
}

/* TEXT */

.message-content p{
    color:#666;
    line-height:1.9;
    font-size:15px;
    margin:0;
}

/* RESPONSIVE */

@media(max-width:991px){

    .featured-card{
        transform:none;
    }

    .message-content h3{
        font-size:24px;
    }

    .message-image img{
        height:280px;
    }

}

    .disclosure-btn{
    background:#0d6efd;
    color:#fff !important;
    padding:12px 22px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    margin-right:10px;
    display:inline-block;
    transition:.3s;
}

.disclosure-btn:hover{
    background:#084298;
    color:#fff !important;
}

.entrance-section{
    background:#f4f7fb;
    padding:70px 0;
}

.sub-title{
    color:#ff7b00;
    font-size:18px;
    font-weight:700;
    letter-spacing:1px;
}

.main-title{
    font-size:56px;
    font-weight:800;
    color:#14213d;
    margin-top:10px;
}

.title-line{
    width:90px;
    height:4px;
    background:#ff7b00;
    margin:20px auto 0;
    border-radius:20px;
}

.entrance-form-box{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.entrance-table{
    margin-bottom:0;
}

.entrance-table th{
    width:35%;
    background:#0d6efd;
    color:#fff;
    padding:18px;
    vertical-align:middle;
    font-size:16px;
}

.entrance-table td{
    padding:18px;
    vertical-align:middle;
    background:#fff;
}

.custom-input,
.custom-textarea{
    border-radius:10px;
    border:1px solid #ddd;
    padding:12px 15px;
    box-shadow:none !important;
}

.custom-input:focus,
.custom-textarea:focus{
    border-color:#ff7b00;
}

.submit-btn{
    background:#dc3545;
    color:#fff;
    border:none;
    padding:14px 40px;
    border-radius:8px;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}

.submit-btn:hover{
    background:#bb2d3b;
}

@media(max-width:768px){

    .main-title{
        font-size:34px;
    }

    .entrance-form-box{
        padding:20px;
    }

    .entrance-table th,
    .entrance-table td{
        display:block;
        width:100%;
    }

    .entrance-table th{
        border-bottom:none;
    }
}