 :root {
    /* === THEME COLORS === */
    --theme-bg: #0b3c44;        /* main background */
    --theme-heading: #bf8844;  /* headings / gold */
    --theme-text: #0b3c44;
    --theme-light: #ffffff;

    /* === Bootstrap Overrides === */
    --bs-primary: #0b3c44;
    --bs-secondary: #bf8844;
    --bs-dark: #0b3c44;
    --bs-light: #ffffff;
}



body {
    background: var(--theme-bg);
    color: var(--theme-light);
}


h1, h2, h3, h4, h5, h6,
.section-title,
.footer-title,
.hero-content h1,
.hero-content h4,
.learning-title,
.about-title,
.patron-title,
.faculty-title,
.tm-heading,
.academics-title {
    color: var(--theme-heading) !important;
}
.nav-bar,
.school-footer,
.footer,
.copyright {
    background: var(--theme-bg) !important;
}
.navbar .nav-link {
    color: var(--theme-light) !important;
}

.navbar .nav-link:hover {
    color: var(--theme-heading) !important;
}
.btn-primary {
    background: var(--theme-heading) !important;
    color: var(--theme-bg) !important;
}

.btn-primary:hover {
    background: var(--theme-light) !important;
    color: var(--theme-bg) !important;
}

     
     
     
     
     
     html, body {
    width: 100%;
    overflow-x: hidden;
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}


/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
 height: 200px;
 width: 200px;

 border-radius: 20px;
 margin-left: -100px;

}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background:  url(../img/facility4.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-light);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-white);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
.blog-content{
    color: #0b3c44;
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
/*** copyright end ***/


/* After Carousel Image Section */
.after-carousel-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.after-carousel-image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.after-carousel-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

/* Tablet */
@media (max-width: 991px) {
    .after-carousel-section {
        padding: 40px 0;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .after-carousel-section {
        padding: 25px 15px;
    }

    .after-carousel-image {
        border-radius: 12px;
    }

    .after-carousel-image img {
        border-radius: 12px;
    }
}


.after-carousel-text {
    padding: 60px 0 80px;
    text-align: center;
    background-color: #ffffff;
}

/* Cap image */
.cap-image {
    margin-bottom: 20px;
}

.cap-image img {
    max-width: 90px;
    width: 100%;
    height: auto;
}

/* Small title */
.small-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #0b3c44;
    margin-bottom: 15px;
}

/* Main heading */
.main-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.25;
    color: #0b3c44;
    margin-bottom: 10px;
}

/* Tablet */
@media (max-width: 991px) {
    .main-title {
        font-size: 34px;
    }

    .cap-image img {
        max-width: 70px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .after-carousel-text {
        padding: 40px 15px;
    }

    .small-title {
        font-size: 16px;
    }

    .main-title {
        font-size: 26px;
    }

    .cap-image img {
        max-width: 55px;
    }
}



/* School Info Section */
.school-info-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.school-info-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 40px 40px 50px;
    background: #ffffff;
    border-left: 6px solid #bf8844; /* Bootstrap primary blue */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    margin-top: -100px;
    
}

/* Patronage text */
.trust-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 15px;
}

/* Main title */
.school-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #0b3c44;
    margin-bottom: 12px;
}

/* Affiliation */
.school-affiliation,
.school-code {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #bf8844;
    margin-bottom: 8px;
}

/* Tablet */
@media (max-width: 991px) {
    .school-info-box {
        padding: 35px;
    }

    .school-title {
        font-size: 26px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .school-info-section {
        padding: 40px 15px;
    }

    .school-info-box {
        padding: 25px;
        border-left-width: 4px;
    }

    .school-title {
        font-size: 22px;
    }

    .school-affiliation,
    .school-code {
        font-size: 16px;
    }
}


/* Kindergarten Section */
.kg-section {
    padding: 70px 0;
    background-color: #ffffff;
}

/* Image */
.kg-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Title */
.kg-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #015fc9; /* Theme gold */
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Text */
.kg-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #0b3c44; /* Theme dark blue */
}

/* Tablet */
@media (max-width: 991px) {
    .kg-title {
        font-size: 24px;
    }

    .kg-image img {
        width: 150px;
        height: 150px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .kg-section {
        padding: 40px 15px;
        text-align: center;
    }

    .kg-title {
        font-size: 22px;
    }

    .kg-text {
        font-size: 15px;
    }
}
/* Primary & Middle Section */
.pm-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.pm-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pm-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #015fc9;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.pm-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #0b3c44;
}

/* Tablet */
@media (max-width: 991px) {
    .pm-title {
        font-size: 24px;
    }

    .pm-image img {
        width: 150px;
        height: 150px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .pm-section {
        padding: 40px 15px;
        text-align: center;
    }

    .pm-title {
        font-size: 22px;
    }

    .pm-text {
        font-size: 15px;
    }
}




/* ========== FACILITIES CARDS EQUAL HEIGHT FIX ========== */

.service .service-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service .service-content-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Button always bottom aligned */
.service .service-content-inner .btn {
    margin-top: auto;
}

/* Optional: same image height */
.service .service-img img {
    height: 220px;
    object-fit: cover;
}


/* Learning Section */
.learning-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Images */
.learning-img {
    width: 100%;
    height: 200px;              /* 🔥 bigger images */
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: 0.4s;
}

.learning-img:hover {
    transform: translateY(-6px);
}

/* Tag */
.learning-tag {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #0b3c44;
    display: inline-block;
    margin-bottom: 10px;
}

/* Title */
.learning-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #0b3c44;
    line-height: 1.2;
}

/* Text */
.learning-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #0b3c44;
    margin-bottom: 15px;
}

/* Tablet */
@media (max-width: 991px) {
    .learning-title {
        font-size: 32px;
    }

    .learning-img {
        height: 180px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .learning-section {
        padding: 50px 15px;
    }

    .learning-title {
        font-size: 26px;
    }

    .learning-img {
        height: 150px;
    }
}



/* About Hero Section */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url("../img/teaching1.jpg") center center / cover no-repeat;
}

/* Overlay */
.about-overlay {
    position: absolute;
    inset: 0;
   /* theme blue overlay */
    display: flex;
    align-items: center;
}

/* Content */
.about-content {
    max-width: 900px;
    margin: auto;
    color: #ffffff;
}

/* Title */
.about-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* Text */
.about-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Tablet */
@media (max-width: 991px) {
    .about-title {
        font-size: 40px;
    }

    .about-text {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .about-hero {
        min-height: 100vh;
    }

    .about-title {
        font-size: 28px;
    }

    .about-text {
        font-size: 15px;
    }
}


/* Patron Section */
.patron-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Tag */
.patron-tag {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #0b3c44; /* Theme blue */
    display: inline-block;
    margin-bottom: 10px;
}

/* Title */
.patron-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #0b3c44;
    margin-bottom: 25px;
    line-height: 1.2;
}

/* Text */
.patron-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #0b3c44;
    margin-bottom: 25px;
}

/* Name */
.patron-name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #bf8844;
}

.patron-name span {
    font-weight: 500;
    color: #6c757d;
}

/* Image */
.patron-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Tablet */
@media (max-width: 991px) {
    .patron-title {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .patron-section {
        padding: 50px 15px;
        text-align: center;
    }

    .patron-title {
        font-size: 26px;
    }

    .patron-text {
        font-size: 15px;
    }
}



/* School Footer */
.school-footer {
    background:  #0b3c44;
    padding: 70px 0 30px;
    color: #ffffff;
}

/* Brand */
.footer-brand img {
    width: 190px;
    height: 181px;
    margin-bottom: 15px;
}

.footer-brand h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-brand p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    opacity: 0.9;
}

/* Title */
.footer-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Form */
.footer-form .form-control {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #ffffff;
    padding: 10px 14px;
}

.footer-form .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.footer-form .form-control:focus {
    border-color: #ffffff;
    box-shadow: none;
    background: transparent;
}

/* Bottom */
.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links li a {
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    opacity: 0.9;
}

.footer-links li a:hover {
    text-decoration: underline;
}

/* Copyright */
.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* Mobile */
@media (max-width: 575px) {
    .school-footer {
        text-align: center;
    }

    .footer-title {
        font-size: 20px;
    }
}




/* Founder Section */
.founder-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Left Card */
.founder-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.founder-card img {
    width: 100%;
    max-width: 220px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Name */
.founder-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0b3c44;
    margin-bottom: 15px;
}

/* Titles */
.founder-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #c58a3a; /* Gold accent */
    margin-bottom: 5px;
}

.founder-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #bf8844; /* Theme blue */
}

/* Right Content */
.founder-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #0b3c44;
    margin-bottom: 18px;
}

/* Quote */
.founder-quote {
    border-left: 4px solid #0b3c44;
    padding-left: 18px;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #bf8844;
}

/* Tablet */
@media (max-width: 991px) {
    .founder-title {
        font-size: 22px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .founder-section {
        padding: 50px 15px;
    }

    .founder-card {
        text-align: center;
    }

    .founder-content p {
        font-size: 15px;
    }

    .founder-quote {
        font-size: 16px;
    }
}



/* Superintendent Section with Background Image */
.superintendent-section {
    position: relative;
    padding: 90px 0;
    background: url("../img/facility2.jpg") center center / cover no-repeat;
}

/* Overlay for readability */
.superintendent-section::before {
    content: "";
    position: absolute;
    inset: 0;
   
    z-index: 1;
}

/* Content above overlay */
.superintendent-section .container {
    position: relative;
    z-index: 2;
}

/* Title & text color white on image */
.superintendent-section .section-title,
.superintendent-section p,
.superintendent-section .signature,
.superintendent-section .signature span {
    color: #ffffff;
}

/* Quote */
.highlight-quote {
    border-left: 4px solid #c58a3a;
    padding-left: 16px;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
}

/* Belief Box stays light */
.belief-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #0b3c44;
}

.belief-box h4,
.belief-box ul li {
    color: #0b3c44;
}

/* Tag */
.section-tag {
    color: #c58a3a;
}

/* Mobile */
@media (max-width: 575px) {
    .superintendent-section {
        padding: 60px 15px;
    }
}



/* Principal Section */
.principal-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Left Card */
.principal-card {
    background: #ffffff;
    padding: 45px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FROM */
.principal-from {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #c58a3a; /* Gold */
    margin-bottom: 5px;
    position: relative;
}

.principal-from::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #0b3c44;
    margin: 10px auto 0;
}

/* Role */
.principal-role {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0b3c44;
    margin-bottom: 25px;
}

/* Name */
.principal-name {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #c58a3a;
    margin-bottom: 8px;
}

/* Qualification */
.principal-qualification {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0b3c44;
}

/* Right Content */
.principal-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #0b3c44;
    margin-bottom: 18px;
}

/* Quote */
.principal-quote {
    border-left: 4px solid #0b3c44;
    padding-left: 16px;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #bf8844;
}

/* Tablet */
@media (max-width: 991px) {
    .principal-from {
        font-size: 24px;
    }

    .principal-role {
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .principal-section {
        padding: 50px 15px;
    }

    .principal-card {
        padding: 35px 20px;
    }

    .principal-content p {
        font-size: 15px;
    }
}


/* Vision Mission Section */
.vm-section {
    position: relative;
    min-height: 100vh;
    background: url("../img/facility4.jpg") center center / cover no-repeat;
}

.vm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
}

/* Center Wrapper */
.vm-wrapper {
    display: flex;
    justify-content: center;
}

/* Pencil Card */
.vm-card {
    width: 380px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    position: relative;
}

/* Pencil spine */
.vm-card::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 0;
    width: 18px;
    height: 100%;
    background: linear-gradient(#f4c15d, #c58a3a);
    border-radius: 10px 0 0 10px;
}

/* Section Items */
.vm-item {
    padding: 18px 20px;
    color: #ffffff;
}

.vm-item h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.vm-item p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Colors */
.vm-item.vision {
    background: #c58a3a;
}

.vm-item.mission {
    background: #0b6b63;
}

.vm-item.philosophy {
    background: #c0392b;
}

.vm-item.values {
    background: #333333;
}

/* Values list */
.vm-item.values ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.vm-item.values ul li {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    margin-bottom: 6px;
}

/* Tablet */
@media (max-width: 991px) {
    .vm-card {
        width: 340px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .vm-section {
        min-height: auto;
        padding: 60px 0;
    }

    .vm-card {
        width: 100%;
        max-width: 340px;
    }

    .vm-item p {
        font-size: 13px;
    }
}



/* Admission Section */
.admission-section {
    padding: 90px 0;
    background-color: #ffffff;
}

/* Heading */
.admission-heading h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #0b3c44;
    padding: 25px 40px;
    background: #ffffff;
    display: inline-block;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 70px;
}

/* Row spacing */
.admission-row {
    margin-top: 20px;
}

/* Step Card */
.admission-step-card {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.admission-step-card h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #015fc9; /* Gold */
    margin-bottom: 10px;
}

.admission-step-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #0b3c44;
}

/* Content Box */
.admission-content {
    position: relative;
    padding-left: 30px;
}

.admission-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #0b3c44;
    margin-bottom: 18px;
}

/* Left Accent Bar */
.admission-content .left-bar {
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 90%;
    background: #0b3c44; /* theme accent */
    border-radius: 10px;
}

/* Tablet */
@media (max-width: 991px) {
    .admission-heading h1 {
        font-size: 34px;
    }

    .admission-step-card h2 {
        font-size: 24px;
    }

    .admission-step-card h3 {
        font-size: 26px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .admission-section {
        padding: 60px 15px;
    }

    .admission-heading h1 {
        font-size: 26px;
        padding: 18px 25px;
    }

    .admission-content {
        padding-left: 20px;
    }

    .admission-content p {
        font-size: 15px;
    }
}


/* Admission Step 2 */
.admission-step2-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Content */
.step2-content {
    position: relative;
    padding-left: 30px;
}

.step2-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #0b3c44;
    margin-bottom: 18px;
}

/* Intro line */
.step2-intro {
    font-weight: 500;
}

/* Vertical Accent Bar */
.step2-bar {
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 90%;
    background: #0b3c44; /* theme mint */
    border-radius: 10px;
}

/* Step Card */
.step2-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    display: inline-block;
    text-align: center;
}

.step2-card h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #015fc9; /* gold */
    margin-bottom: 10px;
}

.step2-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0b3c44;
}

/* Tablet */
@media (max-width: 991px) {
    .step2-card {
        margin-top: 30px;
    }

    .step2-card h2 {
        font-size: 22px;
    }

    .step2-card h3 {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .admission-step2-section {
        padding: 60px 15px;
    }

    .step2-content {
        padding-left: 20px;
    }

    .step2-content p {
        font-size: 15px;
    }

    .step2-card {
        padding: 35px 25px;
    }
}


/* Documents Required Section */
.documents-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Left Card */
.documents-card {
    background: #0b3c44; /* Gold */
    padding: 55px 35px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.documents-card h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.documents-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

/* Document List */
.documents-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.documents-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 22px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #0b3c44;
}

/* Vertical Mint Bar */
.documents-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 70%;
    background: #0b3c44;
    border-radius: 10px;
}

/* Tablet */
@media (max-width: 991px) {
    .documents-card {
        padding: 45px 30px;
    }

    .documents-card h2,
    .documents-card h3 {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .documents-section {
        padding: 60px 15px;
    }

    .documents-list li {
        font-size: 15px;
    }

    .documents-card {
        border-radius: 22px;
    }
}


/* Fee Structure Header */
.fee-structure-header {
    margin: 70px auto 40px;
    text-align: center;
}

.fee-structure-header h1 {
    display: inline-block;
    padding: 25px 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #0b3c44;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Fee Note */
.fee-note {
    margin-bottom: 50px;
}

.fee-note p {
    position: relative;
    padding-left: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: #bf8844;
}

/* Vertical bar */
.fee-bar {
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 80%;
    background: #bf8844;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 575px) {
    .fee-structure-header h1 {
        font-size: 26px;
        padding: 18px 30px;
    }
}



/* Fee Table Section */
.fee-table-section {
    padding: 60px 0 90px;
    background: #f8f9fa;
}

/* Title */
.fee-table-title {
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0b3c44;
    margin-bottom: 40px;
}

/* Table */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
}

.fee-table thead th {
    background: #0b3c44;
    color: #bf8844;
    padding: 14px;
    font-size: 16px;
}

.fee-table td {
    padding: 14px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #0b3c44;
    border-bottom: 1px solid #dee2e6;
}

.fee-table tbody tr:hover {
    background: #e9f3ff;
}

.fee-table td.total {
    font-weight: 700;
    color: #198754;
}

/* Mobile */
@media (max-width: 575px) {
    .fee-table-title {
        font-size: 26px;
    }

    .fee-table td, .fee-table th {
        font-size: 14px;
    }
}



/* Admission Form Section */
.admission-form-section {
  padding: 80px 0;
  background: linear-gradient(
    rgba(11,60,68,0.85),
    rgba(11,60,68,0.85)
  ), url('../img/form-bg.jpg') center/cover no-repeat;
}

/* Form Box */
.admission-form {
  max-width: 1100px;
  margin: auto;
}

/* Titles */
.form-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 40px 0 20px;
  border-left: 5px solid #c58a3a;
  padding-left: 12px;
}

/* Rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

/* Inputs */
.admission-form input,
.admission-form select {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
}

/* Radio Group */
.radio-group {
  background: transparent;
  color: #ffffff;
  font-size: 15px;
}

.radio-group label {
  display: block;
  margin-bottom: 6px;
}

/* Submit */
.form-submit {
  text-align: right;
  margin-top: 40px;
}

.form-submit button {
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 4px;
  transition: 0.3s;
}

.form-submit button:hover {
  background: #c58a3a;
  border-color: #c58a3a;
}

/* Mobile */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    text-align: center;
  }
}


/* Journey Section */
.journey-section {
  padding: 80px 0;
  background-color: #ffffff;
}

/* Image */
.journey-img {
  max-width: 260px;
  width: 100%;
  height: auto;
}

/* Small Heading */
.journey-title-small {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #015fc9; /* Gold */
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Main Heading */
.journey-title-main {
  font-family: 'DM Sans', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #0b3c44; /* Dark Blue */
  line-height: 1.3;
}

/* Tablet */
@media (max-width: 991px) {
  .journey-title-small {
    font-size: 26px;
    text-align: center;
  }

  .journey-title-main {
    font-size: 32px;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .journey-section {
    padding: 50px 15px;
  }

  .journey-img {
    max-width: 200px;
  }

  .journey-title-small {
    font-size: 22px;
  }

  .journey-title-main {
    font-size: 26px;
  }
}


/* Academic Curriculum Section */
.academic-curriculum {
  background: url("img/academic-bg.jpg") center center / cover no-repeat;
  position: relative;
  padding: 120px 0;
}

/* Overlay */
.academic-overlay {
  background: rgba(10, 45, 55, 0.85); /* Dark teal overlay */
  padding: 80px 0;
}

/* Title */
.academic-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* Content Box */
.academic-content {
  max-width: 900px;
  margin: auto;
}

.academic-content p {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* Button */
.academic-btn {
  margin-top: 20px;
  padding: 12px 36px;
  border: 2px solid #bf8844;
  color: #bf8844;
  background: transparent;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s ease;
}

.academic-btn:hover {
  background: #bf8844;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .academic-title {
    font-size: 32px;
  }

  .academic-content p {
    font-size: 15px;
  }
}




/* Faculty Section */
.faculty-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

/* Layout */
.faculty-wrap {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Left Text */
.faculty-text {
  flex: 1;
}

.faculty-title {
  font-size: 42px;
  font-weight: 800;
  color: #015fc9; /* Gold */
  margin-bottom: 25px;
}

.faculty-text p {
  font-size: 16.5px;
  line-height: 1.8;
  color: #123b44;
  margin-bottom: 18px;
}

/* Right Image */
.faculty-image {
  flex: 1;
  text-align: right;
}

.faculty-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Decorative Shapes (optional) */
.faculty-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(255, 180, 180, 0.5);
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 992px) {
  .faculty-wrap {
    flex-direction: column;
    text-align: center;
  }

  .faculty-image {
    text-align: center;
  }

  .faculty-title {
    font-size: 34px;
  }
}



/* Teaching Methodology Section */
.teaching-methodology {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

/* Heading */
.tm-heading {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: #015fc9; /* Gold */
  margin-bottom: 60px;
}

/* Grid */
.tm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 50px;
}

/* Card */
.tm-card {
  background: #ffffff;
  padding: 28px 35px;
  font-size: 26px;
  font-weight: 500;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  position: relative;
}

/* Blue vertical line */
.tm-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 40px;
  background: #bf8844;
  border-radius: 2px;
}

/* Padding fix due to line */
.tm-card {
  padding-left: 50px;
}

/* Responsive */
@media (max-width: 992px) {
  .tm-grid {
    grid-template-columns: 1fr;
  }

  .tm-heading {
    font-size: 34px;
  }

  .tm-card {
    font-size: 22px;
  }
}



/* Orientation Section */
.orientation-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #043b3d, #0f6f67);
  color: #ffffff;
  position: relative;
}

/* Grid */
.orientation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

/* Box */
.orientation-box {
  font-size: 17px;
  line-height: 1.9;
  color: #e9f6f5;
}

/* Title */
.orientation-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #015fc9; /* Gold */
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* Blue vertical line */
.blue-line {
  width: 4px;
  height: 26px;
  background: #bf8844;
  display: inline-block;
  border-radius: 2px;
}

/* Paragraph */
.orientation-box p {
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .orientation-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .orientation-section {
    padding: 70px 20px;
  }
}


/* Program Section */
.program-section {
  padding: 80px 0;
  background: #ffffff;
}

/* Row */
.program-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 70px;
}

/* Image */
.program-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Content */
.program-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: #015fc9; /* Gold */
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.program-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #0b3c44;
}

/* Responsive */
@media (max-width: 991px) {
  .program-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .program-content h3 {
    font-size: 24px;
  }
}


/* Personality Development Section */
.pd-section {
  padding: 80px 0;
  background: #ffffff;
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
}

/* Content */
.pd-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: #015fc9; /* Gold */
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.pd-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #0b3c44;
  max-width: 720px;
}

.mt-40 {
  margin-top: 40px;
}

/* Image */
.pd-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  height: 400px;
}

/* Responsive */
@media (max-width: 991px) {
  .pd-grid {
    grid-template-columns: 1fr;
  }

  .pd-image {
    text-align: center;
  }

  .pd-image img {
    max-width: 320px;
  }

  .pd-content h3 {
    font-size: 24px;
  }
}

.student-activities {
  padding: 80px 0;
  background: #ffffff;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Card */
.activity-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
  padding: 20px;
  display: flex;
  flex-direction: column;   /* 🔑 equal height */
  height: 100%;             /* 🔑 equal height */
}

/* Image */
.activity-card img {
  width: 100%;
  height: 190px;            /* 🔑 same image height */
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

/* Heading */
.activity-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #015fc9;          /* Gold theme */
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* Text */
.activity-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #0b3c44;
  flex: 1;                  /* 🔑 pushes content equally */
}

/* Hover */
.activity-card:hover {
  transform: translateY(-6px);
  transition: 0.4s ease;
}

/* Tablet */
@media (max-width: 991px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 575px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
}


.service-initiative-section {
  background: #ffffff;
  padding-bottom: 80px;
}

/* Top Gradient Bar */
.service-header {
  background: #0b3c44;
  padding: 50px 0;
}

.service-header-inner {
  max-width: 1100px;
  margin: auto;
  padding-left: 30px;
  border-left: 4px solid #bf8844 /* gold line */
}

.service-header h2 {
  color: #015fc9;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-header p {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.7;
  max-width: 900px;
}

/* Sports Layout */
.sports-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-top: 70px;
  align-items: start;
}

.sports-content h3 {
  color: #015fc9;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.sports-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #0b3c44;
  margin-bottom: 15px;
}

/* Images */
.sports-images {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sports-images img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Tablet */
@media (max-width: 991px) {
  .sports-grid {
    grid-template-columns: 1fr;
  }

  .sports-images {
    flex-direction: row;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .service-header-inner {
    padding-left: 20px;
  }

  .service-header h2 {
    font-size: 24px;
  }

  .sports-images {
    flex-direction: column;
  }

  .sports-content h3 {
    font-size: 22px;
  }
}


/* Section Background */
.clubs-section {
  background: #0f3f44;
  padding: 80px 20px;
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
}

/* Title */
.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #015fc9;
}

/* Description */
.section-desc {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  color: #d9f2f2;
}

/* Grid */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Cards */
.club-card {
  background: linear-gradient(135deg, #0c4a4f, #0f6b6b);
  padding: 22px;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  position: relative;
}

/* Accent bar */
.club-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 6px;
  background: #bf8844;
  border-radius: 5px;
}

/* Hover */
.club-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, #0f6b6b, #139191);
}
.image-wrapper {
  width: 100%;
  height: 100vh;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Container */
.gallery {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
}

/* Card */
.card {
  width: 300px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  background: #fff;
}

/* Image */
.card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Desktop tilt */
.card.left {
  transform: rotate(-8deg);
}

.card.center {
  transform: rotate(0deg);
}

.card.right {
  transform: rotate(8deg);
}

/* Hover effect */
.card:hover {
  transform: scale(1.05);
  transition: 0.4s ease;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .gallery {
    flex-direction: column;
    gap: 30px;
  }

  .card {
    width: 90%;
    transform: rotate(0deg) !important;
  }

  .card img {
    height: auto;
  }
}


.faculty-section {
  padding: 60px 30px;
  background: #ffffff;
  font-family: "Segoe UI", sans-serif;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Card */
.faculty-card {
  background: #f2f2f2;
  border-radius: 16px;
  text-align: center;
  padding: 18px 15px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  height: 400px;
}

/* School Title */
.school-title {
  font-weight: 700;
  font-size: 15px;
  color: #0a4f2d;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Image */
.faculty-image {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name strip */
.faculty-name {
  background: #0a4f2d;
  color: #ffffff;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0 0 14px 14px;
}


.gallery-section {
  padding: 60px 40px;
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.gallery-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
#second{
    height: 800px;
    width: 500px;
    text-align: center;
    margin-left: 500px;
    
}

.blog-img img {
    height: 220px;        /* aap 200–250px adjust kar sakte ho */
    width: 100%;
    object-fit: cover;    /* image crop hogi, stretch nahi */
}
.blog-item {
    height: 100%;
    max-height: 520px;   /* card zyada lamba nahi hoga */
    display: flex;
    flex-direction: column;
}
.blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-content p.mb-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* sirf 3 lines dikhengi */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-content a.btn {
    margin-top: auto;
}
    h2 {
        text-align: center;
        font-size: 28px;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        font-size: 16px;

    }

    table, th, td {
        border: 1px solid #7a7a7a;
    }

    thead th {
        background: #0b3c44;
        color: #bf8844;
        font-weight: bold;
        text-align: center;
        padding: 10px;
    }

    td {
        padding: 10px;
        vertical-align: middle;
    }

    .sl {
        width: 60px;
        text-align: center;
        font-weight: bold;
    }

    .info {
        width: 55%;
        font-weight: bold;
    }

    .details {
        width: 40%;
    }

    .principal {
        font-size: 26px;
        font-weight: bold;
    }

    /* ===== NAVBAR BACKGROUND FIX ===== */
.navbar .navbar-nav {
    background: transparent !important; /* center box remove */
    border-radius: 0 !important;
}

/* Nav bar full width same color */
.nav-bar {
    background: #0b3c44 !important;   /* same background everywhere */
}

/* Nav items same height & alignment */
.navbar .navbar-nav .nav-item {
    padding: 15px 18px;
}


.footer-dropdown {
    position: relative;
}

/* Dropdown menu */
.footer-dropdown-menu {
    position: absolute;
    bottom: 100%;           /* MPD ke upar open hoga */
    left: 0;
    background: #ffffff;
    min-width: 230px;
    list-style: none;
    padding: 8px 0;
    margin: 0;              /* IMPORTANT: gap remove */
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
}

/* Invisible hover bridge (IMPORTANT FIX) */
.footer-dropdown::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 12px;           /* hover gap cover karega */
}

/* Show dropdown */
.footer-dropdown:hover .footer-dropdown-menu,
.footer-dropdown-menu:hover {
    display: block;
}

/* Dropdown links */
.footer-dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    color: #000;
    text-decoration: none;
}

.footer-dropdown-menu li a:hover {
    background: #0b3c44;
    color: white;
}




.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2); /* optional line */
}

.footer-links {
    margin-bottom: 15px;   /* LINKS aur COPYRIGHT ke beech gap */
}

.footer-links li {
    margin-bottom: 5px;    /* mobile me thoda breathing space */
}

.copyright {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}



.contact-add-item {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
}





/* Academics Hero Section */
.academics-hero {
  width: 100%;
  overflow: hidden;
  padding: 80px 0;
  background: #f8f9fa;
}

.academics-hero .row {
  margin: 0;
}

.academics-title {
  font-size: 72px;
  font-weight: 800;
  color: #015fc9;
  letter-spacing: 2px;
}

/* Image wrapper */
.academics-image {
  max-width: 520px;
  margin-left: auto;
}

.academics-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Tablet */
@media (max-width: 991px) {
  .academics-title {
    font-size: 48px;
    text-align: center;
  }

  .academics-image {
    margin: 30px auto 0;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .academics-title {
    font-size: 36px;
  }

  .academics-image img {
    height: 240px;
  }
}

.hero-video {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8%;
}

.hero-content h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 15px 0;
}

.hero-content p {
    max-width: 550px;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
        text-align: center;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}
/* ===== CONTACT PAGE FIX ===== */
.contact,
.contact h1,
.contact h4,
.contact p,
.contact label {
    color: #0b3c44 !important;
}


/* ===== FACILITIES TEXT VISIBILITY FIX ===== */

/* Normal state text color */
.service .service-content-inner a.h4,
.service .service-content-inner p {
    color: #0b3c44 !important;
}

/* Hover state text color */
.service .service-item:hover .service-content-inner a.h4,
.service .service-item:hover .service-content-inner p {
    color: #ffffff !important;
}

/* Card background always white */
.service .service-content {
    background: #ffffff !important;
}

/* Read More button normal state */
.service .service-content-inner .btn {
    background: #bf8844;
    color: #0b3c44;
    border: none;
}

/* Read More button hover */
.service .service-item:hover .service-content-inner .btn {
    background: #ffffff;
    color: #0b3c44;
}
/* ===== NAVBAR ACTIVE LINK FIX ===== */

/* Normal nav links */
.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

/* Active page link */
.navbar .nav-link.active {
    color: #bf8844 !important;   /* GOLD */
    font-weight: 700;
    position: relative;
}

/* Optional underline indicator */
.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #bf8844;
}
/* Topbar icons */
.topbar i {
    color: #bf8844;  /* GOLD */
}


#spinner {
    background: #0b3c44;
}

#spinner .spinner-border {
    color: #bf8844;
}


/* ===== MOBILE HAMBURGER ICON FIX ===== */
.navbar-light .navbar-toggler {
    border-color: #bf8844;   /* gold border */
}

.navbar-light .navbar-toggler-icon {
    filter: invert(1);       /* icon white ho jayega */
}
@media (max-width: 991px) {
    .nav-bar .navbar-light .navbar-brand img {
        height: 60px;
        width: auto;
        margin-left: 0;
        border-radius: 8px;
    }
}
@media (max-width: 768px) {
  .card.left,
  .card.center,
  .card.right {
    transform: none !important;
  }
}


/* ===== FORCE SHOW HAMBURGER ICON ===== */
.navbar-toggler {
    border: 2px solid #bf8844 !important;
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 28px;
    height: 20px;
}

/* 3 lines manually draw */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #bf8844; /* GOLD */
    border-radius: 2px;
}

/* top line */
.navbar-toggler-icon::before {
    top: 0;
}

/* middle line */
.navbar-toggler-icon span {
    top: 8px;
}

/* bottom line */
.navbar-toggler-icon::after {
    bottom: 0;
}
/* ===== FORCE SHOW FONT AWESOME HAMBURGER ===== */
.navbar-toggler {
    border: 2px solid #bf8844 !important;
    padding: 6px 10px;
}

/* fa-bars icon */
.navbar-toggler .fa-bars {
    color: #bf8844 !important;   /* GOLD */
    font-size: 24px;
}


/* ==========================================
   MPD PAGE – FIRST TABLE MOBILE FIX ONLY
========================================== */

@media (max-width: 575px) {

  /* Target ONLY first MPD table */
  .mpd-page table:first-of-type {
      display: block;
      width: 100%;
  }

  /* Force proper wrapping */
  .mpd-page table:first-of-type th,
  .mpd-page table:first-of-type td {
      white-space: normal !important;
      word-break: break-word;
      overflow-wrap: break-word;
      line-height: 1.4;
      font-size: 14px;
      padding: 10px 8px;
  }

  /* SL NO column */
  .mpd-page table:first-of-type .sl {
      width: 50px;
      min-width: 50px;
      text-align: center;
  }

  /* INFORMATION column (problematic one) */
  .mpd-page table:first-of-type .info {
      width: 45%;
      font-size: 13px;
      text-transform: none;   /* 🔥 CAPS problem solved */
  }

  /* DETAILS column */
  .mpd-page table:first-of-type .details {
      width: 55%;
      font-size: 14px;
  }
}
/* ==========================================
   ADMISSION PAGE – FEE TABLE MOBILE FIX
   NO HORIZONTAL SCROLL
========================================== */

@media (max-width: 768px) {

  /* Target only admission fee table */
  .admission-page .fee-table {
      width: 100%;
      border: none;
  }

  /* Hide table head */
  .admission-page .fee-table thead {
      display: none;
  }

  /* Each row becomes a card */
  .admission-page .fee-table tbody tr {
      display: block;
      margin-bottom: 16px;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 10px;
      background: #fff;
  }

  /* Cells become rows */
  .admission-page .fee-table tbody td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      font-size: 14px;
      border: none;
  }

  /* Labels */
  .admission-page .fee-table tbody td::before {
      content: attr(data-label);
      font-weight: 600;
      color: #333;
      padding-right: 10px;
      white-space: nowrap;
  }

  /* Grade highlight */
  .admission-page .fee-table tbody td:first-child {
      font-weight: 700;
      color: #0b3c49;
      font-size: 15px;
  }

  /* Total highlight */
  .admission-page .fee-table .total {
      font-weight: 700;
      color: #c07a2c;
  }
}


/* ==========================================
   ABOUT PAGE – VISION MISSION HARD FIX
   (CONTENT FORCE VISIBLE)
========================================== */

@media (max-width: 768px) {

  /* Kill overlay behaviour */
  .about-page .vm-overlay {
      background: none !important;
      position: static !important;
      height: auto !important;
      min-height: auto !important;
      overflow: visible !important;
  }

  /* Reset section */
  .about-page .vm-section {
      padding: 40px 0 !important;
      height: auto !important;
      overflow: visible !important;
  }

  /* Stack everything */
  .about-page .vm-wrapper,
  .about-page .vm-card {
      display: block !important;
      height: auto !important;
  }

  /* Individual cards */
  .about-page .vm-item {
      position: static !important;
      background: #ffffff !important;
      opacity: 1 !important;
      visibility: visible !important;
      overflow: visible !important;

      margin-bottom: 18px;
      padding: 18px;

      border-radius: 12px;
      box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  }

  /* FORCE TEXT VISIBILITY */
  .about-page .vm-item * {
      opacity: 1 !important;
      visibility: visible !important;
      color: #222 !important;
  }

  /* Headings */
  .about-page .vm-item h4 {
      font-size: 18px;
      text-align: center;
      margin-bottom: 10px;
      color: #c07a2c !important;
  }

  /* Paragraphs */
  .about-page .vm-item p {
      font-size: 14px;
      line-height: 1.6;
      margin: 0;
  }

  /* Core values list */
  .about-page .vm-item ul {
      padding-left: 18px;
      margin-top: 10px;
  }

  .about-page .vm-item ul li {
      font-size: 14px;
      margin-bottom: 6px;
  }
}



/* NEWS PAGE – IMAGE MOBILE FIX */

@media (max-width: 768px) {

  .poster img,
  .second img,
  #second {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      visibility: visible !important;
      opacity: 1 !important;
  }

  .second {
      padding: 0 12px;
  }
}
/* ===============================
   NEWS PAGE – IMAGE HARD FIX
=============================== */

.second {
    background: none !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

.second img,
.news-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 50% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5 !important;
}

@media (max-width: 768px) {
    .second {
        padding: 0 12px;
    }
}
/* ===============================
   NEWS PAGE – IMAGE RESPONSIVE FIX
=============================== */

.readmore,
.image-box {
    text-align: center;
}

.readmore img,
.image-box img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}

/* Mobile specific */
@media (max-width: 768px) {
    .readmore img,
    .image-box img {
        max-width: 100%;
        padding: 0 12px;
    }
}


/* =====================================
   NEWS PAGE – FINAL RESPONSIVE FIX
===================================== */

/* Top image */
.news-image-wrap {
    width: 100%;
    text-align: center;
    padding: 0 12px;
}

.news-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Poster box */
.poster {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Poster images */
.poster img,
.image-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Mobile fine tuning */
@media (max-width: 768px) {

    .first h1 {
        font-size: 22px;
        padding: 0 12px;
    }

    .poster {
        padding: 16px;
        margin: 25px 12px;
    }

    .content,
    .read {
        font-size: 15px;
        line-height: 1.6;
    }
}


/* =====================================
   TOPBAR – CLEAN MOBILE LAYOUT (FINAL)
===================================== */

@media (max-width: 768px) {

  .topbar {
      display: block !important;
      padding: 10px 12px;
  }

  .topbar .container {
      padding: 0;
  }

  .topbar .row {
      display: block;
      text-align: center;
  }

  /* Address + Email block */
  .topbar .col-lg-8 {
      width: 100%;
      text-align: center;
      margin-bottom: 6px;
  }

  .topbar .col-lg-8 .d-flex {
      flex-direction: column;
      align-items: center;
      gap: 4px;
  }

  .topbar .col-lg-8 a {
      font-size: 13px;
      line-height: 1.4;
      white-space: normal;
  }

  .topbar .border-end {
      border: none !important;
      padding: 0 !important;
  }

  /* Social icons */
  .topbar .col-lg-4 {
      width: 100%;
      text-align: center;
  }

  .topbar .col-lg-4 .d-flex {
      justify-content: center !important;
      gap: 16px;
  }

  .topbar .col-lg-4 a {
      font-size: 15px;
  }
}



/* ===== NAVBAR LOGO SIZE FIX ===== */

/* Desktop */
@media (min-width: 992px) {
    .navbar-brand img {
        height: 90px;     /* 👈 yahan size control karo */
        width: 180px;
        max-height: none;
    }

    .nav-bar {
        padding: 10px 0;  /* navbar ko thoda breathing space */
    }
}






/* ===== FLOATING CONTACT STRIP (MOBILE) ===== */
@media (max-width: 768px) {

  .topbar {
      display: none !important;
  }

  .mobile-floating-strip {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 12px;
      background: #0b3c44;
      color: #ffffff;
      font-size: 12px;
  }

  .strip-left {
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 70%;
  }

  .strip-left i {
      color: #bf8844;
      font-size: 13px;
  }

  .strip-right {
      display: flex;
      align-items: center;
      gap: 12px;
  }

  .strip-right i {
      color: #bf8844;
      font-size: 14px;
  }
}
#welcome{
    font-size: 50px;
    text-shadow: 2px 2px 5px #bf8844;
}
#shaping{
    font-size: 30px;
}
#wel{
    font-size: 35px;
}








.bg-breadcrumb {
    background-position: center 30%;
}



.image-wrapper {
    width: 100%;
    height: 100vh;
    margin-top: 40px;   /* 👈 gap create karega */
}


.admission-form-section {
    padding-bottom: 80px;   /* 👈 footer se gap */
}





/* =====================================
   FINAL TESTIMONIAL SECTION DESIGN
===================================== */

.blog {
    background: #f8f9fa;
}

/* Row stretch */
.blog .row {
    align-items: stretch;
}

/* Card */
.blog .blog-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 30px 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    height: 100%;
    position: relative;
}

.blog .blog-item:hover {
    transform: translateY(-10px);
}

/* ===== IMAGE CIRCLE ===== */
.testimonial-img {
    width: 210px;              /* 🔥 Bigger circle */
    height: 210px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #bf8844;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Image inside circle */
.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;   /* 🔥 Face perfectly aligned */
    transition: 0.3s ease;
}

.blog .blog-item:hover .testimonial-img img {
    transform: scale(1.05);
}

/* ===== CONTENT ===== */
.blog-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-content p {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #0b3c44;
    margin-bottom: 25px;
}

/* Name */
.blog-content h6 {
    font-size: 17px;
    font-weight: 700;
    color: #bf8844;
    margin: 0;
}

/* Remove any old height restriction */
.blog-item,
.blog-content,
.blog-content p {
    max-height: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .testimonial-img {
        width: 170px;
        height: 170px;
    }

    .blog .blog-item {
        padding: 40px 20px;
    }

    .blog-content p {
        font-size: 15px;
    }
}




/* =====================================
   HERO VIDEO SECTION – FINAL VERSION
===================================== */

.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 550px;
    overflow: hidden;
}

/* Background Video */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Content Wrapper */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8%;
    color: #ffffff;
}

/* Headings */
#welcome {
    font-size: 52px;
    font-weight: 800;
    text-shadow: 2px 2px 8px #bf8844;
    margin-bottom: 10px;
}

#wel {
    font-size: 36px;
    font-weight: 600;
}

#shaping {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
}

/* =====================================
   DESKTOP – TEXT THODA UPAR
===================================== */

@media (min-width: 992px) {
    .hero-content {
        margin-top: -190px;  /* 👈 Desktop control */
    }
}

/* =====================================
   TABLET & MOBILE
===================================== */

@media (max-width: 991px) {

    .hero-video {
        min-height: 480px;
    }

    .hero-content {
        margin-top: 0;
        padding: 0 20px;
        text-align: center;
        align-items: center;
    }

    #welcome {
        font-size: 30px;
    }

    #wel {
        font-size: 20px;
    }

    #shaping {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 15px;
    }
}

/* =====================================
   LANDSCAPE FIX (HEIGHT BASED)
===================================== */

@media (max-height: 500px) {

    .hero-video {
        height: auto;
        padding: 70px 0;
    }

    .hero-content {
        margin-top: 0 !important;
        height: auto;
        justify-content: center;
    }

    #welcome {
        font-size: 24px;
    }

    #shaping {
        font-size: 18px;
    }
}






/* ===== FORCE BIG LOGO SIZE ===== */

.nav-bar .navbar-light .navbar-brand img {
    height: 100px !important;   /* 👈 yahan size control karo */
    width: auto !important;     /* image stretch nahi hogi */
    max-height: none !important;
}

/* Navbar height adjust */
.navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}




/* ===== MOBILE LOGO SIZE INCREASE ===== */

@media (max-width: 991px) {

    .nav-bar .navbar-light .navbar-brand img {
        height: 75px !important;   /* 👈 mobile logo size */
        width: auto !important;
        margin-left: 0 !important;
        border-radius: 8px;
    }

    .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}