@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Jost:wght@300;400;500;600&display=swap');

body {
    font-family: 'Jost', sans-serif !important;
    background-color: #FDF8F0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif !important;
}

span.badge {
    color: #6a0100;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Jost', sans-serif !important;
}

h2.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000f30;
}

.btn {
    background-color: #E31E24 !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: max-content !important;
}

.btn i {
    font-size: 20px;
}

.btn:hover {
    background-color: #C41820 !important;
    color: #fff !important;
}

.heading-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
     margin-bottom: 14px;
}



.admission-announcement {
    background: #000041;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    position: relative;
}

.announcement-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-right: 60px;
}

.icon {
    color: #E31E24;
    font-size: 22px;
}

.apply-btn {
    background: #860000;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.apply-btn:hover {
    background: #fff;
    color: #860000;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


.main-header {
    position: relative;
    z-index: 1020;
    transition: transform 0.35s ease;
}

.main-header.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Slides the header fully out of view when scrolling down,
   and .header-hidden is removed (transform resets) when scrolling up. */
.main-header.header-hidden {
    transform: translateY(-100%);
}

header .navbar {
    background-color: #fff;
    height: 100px;
}

header .navbar .container {
    flex-wrap: nowrap;
}

/* Keep the hamburger button visible and un-squeezed on mobile/tablet,
   regardless of how wide the logo tries to render. */
.navbar-toggler {
    flex-shrink: 0;
    z-index: 1030;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 65, 0.25) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(227, 30, 36, 0.25);
}

@media (max-width: 991.98px) {
    header .navbar {
        height: auto;
        min-height: 80px;
        padding: 10px 0;
    }

    header .offcanvas .navbar-brand .img-fluid {
        /*width: auto;*/
        /*max-width: 362px;*/
        height: auto;
    }
    
    header .navbar .img-fluid{
        width: 460px !important;
    }
}

/* ===== Mobile / tablet slide-in side menu ===== */
.mobile-sidebar {
    width: 300px;
    background-color: #fff;
}

.mobile-sidebar-logo {
    width: 150px;
}

.mobile-sidebar .offcanvas-header {
    border-bottom: 1px solid #eee;
}

.mobile-nav-list {
    padding: 0;
    list-style: none;
}

.mobile-nav-list .nav-item {
    border-bottom: 1px solid #f1f1f1;
}

.mobile-nav-list .nav-link,
.mobile-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 4px;
    color: rgb(0 0 65);
    font-weight: 600;
    background: none;
    border: 0;
    text-align: left;
}

.mobile-accordion-toggle i {
    transition: transform 0.25s ease;
    font-size: 14px;
}

.mobile-accordion-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding-left: 12px;
    margin: 0 0 8px;
}

.mobile-submenu .dropdown-item {
    padding: 8px 6px;
    white-space: normal;
    color: rgb(0 0 65 / 80%);
}

.mobile-submenu .dropdown-item.active {
    background-color: #E31E24 !important;
    color: #fff !important;
    border-radius: 6px;
}

/* Ensure the desktop toggler button styling still hides correctly above lg */
@media (min-width: 992px) {
    #mobileSidebar {
        display: none !important;
    }
}

header .navbar .img-fluid {
    width: 375px;
}

header .d-flex {
    gap: 10px;
    margin-left: -120px;
}

header ul.icon-list {
    padding: 0;
    list-style-type: none;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    opacity: 0;
}

header ul.icon-list li.list {
    display: flex;
    align-items: center;
    gap: 10px;
}

header ul.icon-list li.list a {
    color: #000041;
    text-decoration: none;
    font-weight: 500;
}

header ul.icon-list li.list i {
    font-size: 24px;
    color: #000041;
}

header .call-btn {
    background: #860000;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

header .call-btn:hover {
    background: #fff;
    color: #860000;
}

header .admission-btn {
    background: #E31E24;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

header .admission-btn:hover {
    background: #C41820;
    color: #fff;
}

header .call-btn {
    display: flex;
    gap: 10px;
}

header .navbar-light .navbar-nav .nav-link {
    color: rgb(0 0 65);
    font-weight: 600;
}

header .navbar-light .navbar-nav .nav-link:hover {
    color: #E31E24;
}

header .navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show>.nav-link {
    color: #E31E24;
}

header .dropdown-item:focus,
.dropdown-item:hover {
    color: #e9eef5 !important;
    background-color: #E31E24 !important;
}

.hero-section .carousel-control-prev {
    width: 55px;
    height: 55px;
    background-color: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.hero-section .carousel-control-next {
    width: 55px;
    height: 55px;
    background-color: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.hero-section .carousel-control-prev {
    left: 89%;
    top: 94%;
}

.hero-section .carousel-control-next {
    right: 20px;
    top: 94%;
}

.hero-section .carousel-control-prev-icon {
    background-image: url("../images/arrow_back_ios_24dp_232060_FILL0_wght400_GRAD0_opsz24.svg");
    background-size: 22px;
}

.hero-section .carousel-control-next-icon {
    background-image: url("../images/arrow_forward_ios_24dp_232060_FILL0_wght400_GRAD0_opsz24.svg");
    background-size: 22px;
}

.home-2 img.img-fluid {
    border-radius: 20px;
}

.home-2 .col-12.col-md-6.col-lg-6 {
    position: relative;
}

.home-2 .box {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    position: absolute;
    left: 282px;
    bottom: -29px;
    box-shadow: 2px 2px 10px;
}

.home-3 span.badge {
    color: #dc3545;
}

.home-2 .box h5 {
    color: #0D1B3E;
    font-weight: bold;
}

/* On desktop the "20+ Years of caring..." card is deliberately
   offset with left: 282px so it overlaps the photo. Below the lg
   breakpoint the column is far narrower than 282px, so that fixed
   offset pushes the card off the right edge of the screen and
   creates horizontal overflow (visible as cropped text and a blank
   gap on the right). Switch it to a normal, in-flow card instead. */
@media (max-width: 991.98px) {
    .home-2 .box {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -30px;
        margin-bottom: 20px;
        width: fit-content;
    }
}

.home-2 .section-desc {
    text-align: justify;
}

.home-2 ul.icon-list {
    list-style-type: none;
}

.home-2 ul.icon-list .list {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px;
    padding: 10px;
}

.home-3 .first .box:hover {
    margin-right: -20px;
}

.home-3 .third .box:hover {
    margin-left: -20px;
}

.home-3 .box {
    display: flex;
    gap: 25px 17px;
    transition: 0.5s;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    padding: 30px;
    filter: drop-shadow(1px 0px 5.6px rgba(0, 0, 0, 0.2));
}

.home-3 .box .box__bg::before {
    content: "";
    width: 100px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transform: translateX(-100%);
    background-color: #593000;
    transition: all 500ms ease;
    clip-path: polygon(100% 0, 34% 50%, 100% 100%, 0 100%, 0 0);
}

.home-3 .box .box__bg {
    width: 100%;
    height: 100%;
    position: relative;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
    background-color: #ffffff;
    clip-path: polygon(15% 30%, 0 0, 100% 0, 100% 100%, 0 100%, 15% 70%);

}

.home-3 .box__icon-box {
    background-color: #000041;
    width: 140px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.home-3 .box:hover .box__icon-box {
    background-color: #E31E24;
}


.home-3 h4.box__title {
    font-weight: 600;
    color: #000f30;
}

.home-3 img.img-fluid {
    border-radius: 50%;
    height: 554px;
}

.home-3 .c1 {
    transform: rotate(180deg);
}

.home-4 .container {
    background: #F7F8FA;
    padding: 20px;
    border-radius: 20px;
}

.home-4 .counter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-4 .counter-box h4 {
    font-weight: 800;
    color: #000041;
    font-size: 44px;
}

.home-5 {
    background-color: #000041;
}

.home-5 .aca-box {
    background: #fff;
    padding: 20px;
    transition: 0.5s;
    -webkit-mask-image: url("../images/mask.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100% 100%;

    mask-image: url("../images/mask.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% 100%;
    height: 270px;
    border-radius: 20px;
}

.home-5 .aca-box .box-section {
    text-align: justify;
    margin-bottom: 2px;
}

.home-5 .aca-box img.img-fluid {
    height: 183px;
    width: 100%;
    border-radius: 20px;
}

.home-5 .aca-box h4.box-title {
    font-weight: 700;
    color: #000041;
}

:root {
    --navy: #0D1B3E;
    --red: #E31E24;
    --black: #1A1A1A;
    --white: #FFFFFF;
}

.facilities__header {
    max-width: 1400px;
    margin: 0 auto 64px;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

@media (min-width: 640px) {
    .facilities__header {
        padding: 0 40px;
        margin-bottom: 80px;
    }
}

@media (min-width: 1024px) {
    .facilities__header {
        padding: 0 64px;
        margin-bottom: 96px;
    }
}

.facilities__title-wrap {
    max-width: 700px;
}

.facilities__kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.facilities__kicker-line {
    width: 40px;
    height: 1px;
    background: var(--red);
}

.facilities__kicker-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--red);
}

.facilities__title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.facilities__title em {
    font-style: italic;
    font-weight: 300;
}

@media (min-width: 640px) {
    .facilities__title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .facilities__title {
        font-size: 60px;
    }
}

.facilities__controls {
    display: flex;
    gap: 12px;
}

.facilities__btn {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--navy);
    background: transparent;
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.facilities__btn:hover:not(:disabled) {
    background: var(--navy);
    color: var(--white);
    transform: scale(1.05);
}

.facilities__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.facilities__btn svg {
    width: 18px;
    height: 18px;
}

.facilities__btn--prev svg {
    transform: rotate(180deg);
}

.facilities__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 24px 16px;
    scrollbar-width: none;
}

.facilities__track::-webkit-scrollbar {
    display: none;
}

@media (min-width: 640px) {
    .facilities__track {
        padding: 0 40px 16px;
    }
}

@media (min-width: 1024px) {
    .facilities__track {
        padding: 0 64px 16px;
    }
}

.facility {
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 85vw;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    transition: box-shadow 0.5s ease;
    /* overflow:hidden + border-radius alone can fail to clip a child
       during a transform animation (the image zoom on hover), letting
       the image/overlay bleed past the rounded corners in some
       browsers. Forcing a mask-based clip fixes it reliably. */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transform: translateZ(0);
}

@media (min-width: 640px) {
    .facility {
        width: 440px;
        height: 420px;
    }
}

@media (min-width: 1024px) {
    .facility {
        width: 480px;
        height: 420px;
    }
}

.facility:hover {
    box-shadow: 0 30px 60px -20px rgba(13, 27, 62, 0.35);
}

.facility__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    will-change: transform;
}

.facility:hover .facility__img {
    transform: scale(1.05);
}

.facility__overlay-base {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

.facility__overlay-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 62, 0.55), rgba(13, 27, 62, 0) 55%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.facility:hover .facility__overlay-hover {
    opacity: 1;
}

.facility__caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    transition: transform 0.5s ease;
}

.facility:hover .facility__caption {
    transform: translateY(-6px);
}

.facility__title {
    margin: 0;
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .facility__title {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .facility__title {
        font-size: 26px;
    }
}







@media (max-width: 767.98px) {

    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 30px !important;
        height: 30px !important;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        display: inline-block;
        width: 28px;
        height: 30px;
    }

    .hero-section .carousel-control-prev-icon,
    .hero-section .carousel-control-next-icon {
        background-size: 19px;
    }

    .hero-section .carousel-control-prev {
        left: 10px;
    }

    .hero-section .carousel-control-next {
        right: 10px;
    }
}



section.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.home-3 .heading-center {
    margin-bottom: 50px;
}

.home-5 header {
    margin-bottom: 50px;
    text-align: center;
}

.facilities__header {
    padding: 0 64px;
    margin-bottom: 55px;
}

.home-6 {
    background-color: #fff;
}

.home-6 header {
    text-align: center;
    margin-bottom: 30px;
}

.home-6 .col-12.col-md-4.col-lg-4:hover h4 {
    bottom: 80px;
    color: #000000;
    background-color: rgb(250 250 250);
    backdrop-filter: none;
}

.home-6 h4 {
    pointer-events: visible;
    position: absolute;
    z-index: 3;
    text-align: center;
    left: 20px;
    color: #fff;
    transition: all 0.7s ease;
    bottom: 10px;
    width: calc(100% - 40px);
    padding: 20px 25px 20px;
    background-color: rgb(250 250 250 / 10%);
    -webkit-backdrop-filter: blur(14px) brightness(92%);
    backdrop-filter: blur(14px) brightness(92%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
}

.home-6 .col-12.col-md-4.col-lg-4 {
    position: relative;
    margin-bottom: 30px;
}

.home-6 .col-12.col-md-4.col-lg-4 img {
    width: 100%;
    border-radius: 10px;
}

footer h4 {
    font-size: 31px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 28px;
}

ul.footer-links li a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    line-height: 30px;
}

p.add span {
    display: table;
    margin-top: -28px;
    margin-left: 23px;
}

footer.footer.py-5 {
    background: #000041;
}

footer p {
    color: #fff;
    font-size: 16px;
    line-height: 28px;
}

.text-center.copy {
    color: #fff;
    border-top: 1px solid #dddddd5e;
    padding-top: 20px;
}

footer.footer.py-5 {
    background: #000041;
    padding-bottom: 25px !important;
}

section.home-3.py-5 {
    background-image: url(../images/sec-bg.webp);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

section.home-3.py-5::before {
    content: "";
    position: absolute;
    background: rgb(0 0 65 / 88%);
    width: 100%;
    height: 100%;
    top: 0px;
}

.home-3 h2.section-title {
    color: #fff;
}

.btn:hover {
    background: #000041 !important;
}

.home-5 .aca-box:hover {
    transform: translateY(-10px);
}

ul.footer-links {
    list-style-type: none;
    padding-left: 10px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-position: 80% !important;
}



@media (min-width: 1024px) and (max-width: 1280px) {
    section p {
        font-size: 12px;
        line-height: 25px;
    }

    h2.section-title {
        font-size: 30px;
        font-weight: 700;
        color: #000f30;
    }

    .btn {
        font-size: 12px !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .home-3 h4.box__title {
        font-weight: 600;
        color: #000f30;
        font-size: 18px;
    }

    .home-5 .aca-box h4.box-title {
        font-size: 20px;
    }

    .home-5 .aca-box img.img-fluid {
        height: auto;
        width: 100%;
        border-radius: 20px;
    }

    .home-5 .aca-box {
        background: #fff;
        padding: 20px;
        height: 245px;
        border-radius: 20px;
    }

    .home-5 .aca-box .box-section {
        line-height: 20px;
    }

    .facility__title {
        font-size: 20px;
    }

    .home-6 h4 {
        font-size: 20px;
    }

    footer img {
        width: 300px;
    }

    footer p,
    ul.footer-links li a {
        color: #fff;
        font-size: 13px;
        line-height: 25px;
    }

    footer h4 {
        font-size: 20px;
    }

    .text-center.copy {
        font-size: 12px;
        padding-top: 10px;
    }

    footer .mb-4 {
        margin-bottom: 0px !important;
    }

    footer.footer.py-5 {
        background: #000041;
        padding-bottom: 10px !important;
    }
}

@media only screen and (max-width:480px) {
    .facilities__header {
        padding: 0 0px;
        margin-bottom: 20px;
        text-align: center;
    }

    .facilities__header {
        gap: 15px;
        display: flex;
        justify-content: center;
    }

    .home-5 .mt-5 {
        margin-top: 0rem !important;
    }

    .home-5 .aca-box {
        background: #fff;
        padding: 20px;
        transition: 0.5s;
        -webkit-mask-image: none;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        /* -webkit-mask-size: 100% 100%; */
        mask-image: none;
        /* mask-repeat: no-repeat; */
        mask-position: center;
        mask-size: 100% 100%;
        height: auto;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .home-3 .heading-center {
        margin-bottom: 22px;
    }

    .facilities__controls {
        display: flex;
        gap: 12px;
        float: none;
        margin: 0 auto;
    }

    .home-5 .btn {
        display: none !important;
    }

    header .navbar .img-fluid {
        width: auto;
        max-width: 270px;
    }
.admission-1 .box{
    height:auto!important;
}
    section h2.section-title {
        font-size: 26px;
        font-weight: 700;
        color: #000f30;
    }

    .home-2 .box {
        background: #fff;
        padding: 10px;
        margin-bottom: 20px;
        border-radius: 20px;
        position: relative;
        left: 0px;
        bottom: 0px;
        box-shadow: 2px 2px 10px;
    }

    section p {
        font-size: 15px;
        text-align: left;
        line-height: 28px;
    }

    section.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    section.home-2.py-5 {
        padding-top: 1rem !important;
        padding-bottom: 3rem !important;
    }

    .home-2 img.img-fluid {
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .home-3 h4.box__title {
        font-weight: 600;
        color: #000f30;
        font-size: 18px;
    }

    .home-3 .box {
        padding: 20px;
    }

    .home-3 img.img-fluid {
        border-radius: 50%;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .home-4 .counter-box h4 {
        font-weight: 800;
        color: #000041;
        font-size: 37px;
    }

    footer img {
        max-width: 100% !important;
    }

    footer p,
    ul.footer-links li a {
        font-size: 14px;
        line-height: 28px;
    }

    footer h4 {
        font-size: 20px;
        margin-bottom: 13px;
    }

    .text-center.copy {
        font-size: 14px;
    }

    footer hr {
        margin: 0rem 0;
    }
}

.page-banner {
    display: flex;
    justify-content: center;
    height: 200px;
    align-items: center;
    background-image: linear-gradient(135deg, var(--red), var(--navy));
    color: #fff;
}

/* About Page */

.about-1 img.img-fluid {
    border-radius: 20px;
}

.about-1 p.section-desc {
    text-align: justify;
}

.about-1 ul.icon-list {
    padding: 0;
    list-style-type: none;
}

.about-1 ul.icon-list li.list {
    /* display: flex; */
    gap: 10px;
    padding: 15px;
}

.about-1 .icon-circle {
    background: #000041;
    height: 64px;
    width: 64px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 16px;
    transition: all 0.3s ease-in-out;
}

.about-1 ul.icon-list li.list:hover .icon-circle {
    background-color: #E31E24;
}

.about-1 .icon-circle i {
    font-size: 20px;
}

.about-1 p.box-desc {
    text-align: justify;
}

.about-1 h4.box-title {
    font-weight: 700;
}

section.about-2.py-5 {
    background: #000041;
    color: #fff;
}

.about-2 h2.section-title {
    color: #fff;
}

.about-3 ul.icon-list {
    padding: 0;
    list-style-type: none;
}

.about-3 ul.icon-list li.list {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    border: transparent;
}

.about-3 ul.icon-list li.list:hover {
    border-left: 4px solid #E31E24;
}

.about-3 ul.icon-list li.list .icon-circle {
    width: 64px;
    height: 64px;
    background: #000041;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
}

.about-3 ul.icon-list li.list:hover .icon-circle {
    background-color: #E31E24;
}

.about-3 ul.icon-list li.list .icon-circle i {
    font-size: 20px;
}

.about-3 img.img-fluid {
    border-radius: 20px;
}

.about-4 {
    background: linear-gradient(#00004161, #00004161), url(../images/philo-banner.webp);
}

.about-4 .box {
    background-color: #fff;
    width: 100%;
    max-width: 628px;
    padding: 20px;
    border-radius: 20px;
    box-sizing: border-box;
}

.about-4 .box p.section-desc {
    text-align: justify;
}

.about-5 {
    padding-top: 0 !important;
}

.about-5 img.img-fluid {
    border-radius: 0 0 50% 50%;
    width: 74%;
}

.about-5 .image {
    display: flex;
    justify-content: center;
}

.about-5 p.section-desc {
    text-align: justify;
}

.about-6 .image-box {
    background-color: #fff;
    padding: 20px;
    list-style-type: none;
    border-radius: 20px;
}

.about-6 .image-box .list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.about-6 .image-box .list .image img.img-fluid {
    border-radius: 20px;
}

.about-6 .image-box .list .box-title {
    font-weight: 700;
}

.about-6 .image-box .list .content {
    flex: 1 1 260px;
    min-width: 0;
    width: auto;
}

.about-6 .image-box .list .content p.box-desc {
    text-align: justify;
}

/* ==========================================================================
   About Page - Responsive Fixes (small screens up to large screens)
   ========================================================================== */

/* Large desktops / wide screens */
@media (min-width: 1400px) {
    .about-4 .box {
        max-width: 700px;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {

    .about-1 .icon-circle,
    .about-3 ul.icon-list li.list .icon-circle {
        width: 56px;
        height: 56px;
    }

    .about-3 ul.icon-list li.list .icon-circle i,
    .about-1 .icon-circle i {
        font-size: 18px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .page-banner {
        height: 170px;
    }

    .about-4 .box {
        max-width: 100%;
    }

    .about-6 .image-box .list .content {
        flex-basis: 220px;
    }
}

/* Tablets / large phones (below Bootstrap md) */
@media (max-width: 767.98px) {
    .page-banner {
        height: 140px;
    }

    .page-banner .page-title {
        font-size: 28px;
    }

    .about-1 ul.icon-list li.list {
        padding: 10px 0;
    }

    .about-3 ul.icon-list li.list {
        padding: 15px;
    }

    .about-4 .box {
        padding: 16px;
    }

    .about-5 img.img-fluid {
        width: 90%;
        margin-bottom: 20px;
    }

    .about-6 .image-box {
        padding: 15px;
        margin-bottom: 20px;
    }

    .about-6 .image-box .list .content {
        flex-basis: 100%;
    }
}

/* Small phones */
@media (max-width: 575.98px) {

    .about-1 .icon-circle,
    .about-3 ul.icon-list li.list .icon-circle {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .about-3 ul.icon-list li.list {
        flex-wrap: wrap;
    }

    .about-4 .box p.section-desc {
        font-size: 14px;
        line-height: 24px;
    }

    .about-5 img.img-fluid {
        width: 100%;
        border-radius: 0 0 30% 30%;
    }

    .about-6 .image-box .list {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .about-6 .image-box .list .image img.img-fluid {
        width: 100%;
    }

    .about-6 .image-box .list .content {
        flex-basis: auto;
        width: 100%;
    }
}

/* Extra small phones / heavy browser zoom */
@media (max-width: 400px) {
    .page-banner {
        height: 120px;
    }

    .page-banner .page-title {
        font-size: 22px;
    }

    .about-1 ul.icon-list li.list,
    .about-3 ul.icon-list li.list {
        padding: 10px;
    }

    .about-4 .box {
        padding: 12px;
    }
}

@media(max-width:482px) {
    .about-4 .box {
        width: 353px;
    }

    .about-6 .image {
        width: 100%;
    }

    .about-5 p.section-desc {
        text-align: left;
    }

    .about-1 p.section-desc {
        text-align: left;
    }

    .about-1 p.box-desc {
        text-align: left;
    }
}

/* Message Page */

.message-1 .image {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.message-1 .image img.img-fluid {
    width: 100%;
    border-radius: 20px;
    position: relative;
    display: block;
}

.message-1 .image::before {
    content: "";
    background-color: #000041;
    position: absolute;
    width: 100%;
    height: 100%;
    right: 30px;
    bottom: 30px;
    border-radius: 20px;
}

.message-1 h2.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #000f30;
    margin-top: 16px;
}

.message-1 .quote {
    border-left: 2px solid #E31E24;
    padding-left: 20px;
}

.message-1 p.section-desc {
    margin-top: 36px;
    text-align: justify;
}

.message-1 .content {
    border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
}

.message-1 .signboard {
    padding-top: 20px;
}

.message-1 .signboard .name {
    color: #000041;
    font-weight: 700;
}

.message-1 .signboard .role {
    color: #E31E24;
}

/* ==========================================================================
   Chairman's Message Page - Responsive Fixes (small display to large display)
   The base .message-1 .image rule above is now fluid (width:100%,
   max-width:420px) so the photo can never exceed its Bootstrap column,
   which is what caused it to bleed over the text at 110% zoom and other
   in-between widths. On a normal wide desktop the column is already wider
   than 420px, so the photo still renders at the original 420px - no visual
   change there. These media queries just fine-tune spacing/type size below.
   ========================================================================== */

/* Tablets */
@media (max-width: 991.98px) {
    .message-1 .image {
        max-width: 340px;
        margin-bottom: 30px;
    }

    .message-1 .image::before {
        right: 20px;
        bottom: 20px;
    }

    .message-1 h2.section-title {
        font-size: 26px;
        margin-top: 12px;
    }
}

/* Tablets / large phones (below Bootstrap md) */
@media (max-width: 767.98px) {
    .message-1 .image {
        max-width: 300px;
    }

    .message-1 h2.section-title {
        font-size: 24px;
    }

    .message-1 p.section-desc {
        font-size: 15px;
        line-height: 26px;
        margin-top: 24px;
    }

    .message-1 .quote {
        padding-left: 16px;
    }

    .message-1 .signboard {
        padding-top: 15px;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .message-1 .image {
        max-width: 260px;
        margin-bottom: 24px;
    }

    .message-1 .image::before {
        right: 14px;
        bottom: 14px;
    }

    .message-1 h2.section-title {
        font-size: 21px;
    }

    .message-1 .badge {
        font-size: 12px;
    }
}

/* Extra small phones / heavy browser zoom (>100%) */
@media (max-width: 400px) {
    .message-1 .image {
        max-width: 220px;
    }

    .message-1 .image::before {
        right: 10px;
        bottom: 10px;
    }

    .message-1 h2.section-title {
        font-size: 19px;
    }

    .message-1 p.section-desc {
        font-size: 14px;
        line-height: 24px;
    }
}

/* Trustee Page */

.trustee-1 p.section-desc {
    text-align: center;
    width: 580px;
    max-width: 100%;
}

.trustee-1 ul.image-box {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.trustee-1 ul.image-box .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1 1 190px;
    max-width: 220px;
    padding: 10px;
    border-radius: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.trustee-1 ul.image-box .box .image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.trustee-1 ul.image-box .box .image img.img-fluid {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.35s ease;
}

.trustee-1 ul.image-box .box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 65, 0.15);
    background-color: #fff;
}

.trustee-1 ul.image-box .box:hover .image img.img-fluid {
    transform: scale(1.05);
}

.trustee-1 ul.image-box .box .content h4.name {
    text-align: center;
    font-weight: 600;
    color: #000041;
    font-size: 19px;
}

.trustee-1 ul.image-box .box .content p.role {
    text-align: center;
    color: #E31E24;
}

/* ==========================================================================
   Trustee Page - Responsive Fixes (small display to large display,
   including in-between widths caused by browser zoom above/below 100%)
   ========================================================================== */

/* Large desktops / wide screens */
@media (min-width: 1400px) {
    .trustee-1 ul.image-box .box {
        max-width: 242px;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {
    .trustee-1 ul.image-box .box {
        flex: 1 1 170px;
        max-width: 200px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .trustee-1 p.section-desc {
        width: 100%;
    }

    .trustee-1 ul.image-box {
        gap: 16px;
    }

    .trustee-1 ul.image-box .box {
        flex: 1 1 150px;
        max-width: 126px;
        gap: 14px;
    }
    .trustee-1 ul.image-box .box .content h4.name{
        font-size: 16px;
    }

    .trustee-1 ul.image-box .box .content p.role{
        font-size: 14px;
    }
}

/* Tablets / large phones (below Bootstrap md) */
@media (max-width: 767.98px) {
    .trustee-1 ul.image-box {
        gap: 14px;
    }

    .trustee-1 ul.image-box .box {
        flex: 1 1 130px;
        max-width: 160px;
        padding: 8px;
    }

    .trustee-1 ul.image-box .box .content h4.name {
        font-size: 16px;
    }

    .trustee-1 ul.image-box .box .content p.role {
        font-size: 14px;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .trustee-1 ul.image-box {
        gap: 12px;
    }

    .trustee-1 ul.image-box .box {
        flex: 1 1 42%;
        max-width: 46%;
        gap: 10px;
        padding: 6px;
    }

    .trustee-1 ul.image-box .box:hover {
        transform: translateY(-3px);
    }
}

/* Extra small phones / heavy browser zoom (>100%) */
@media (max-width: 400px) {
    .trustee-1 ul.image-box .box {
        flex: 1 1 100%;
        max-width: 220px;
    }
}

/* Contact Page */

.contact-1 ul.icon-box {
    padding: 0;
    list-style-type: none;
}

.contact-1 ul.icon-box li.box {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #ddd;
    padding-top: 20px;
}

.contact-1 ul.icon-box li.box h4 {
    color: #000041;
    font-weight: 700;
}

.contact-1 ul.icon-box li.box .icon-circle {
    background: #000041;
    color: #fff;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    border-radius: 50%;
}

.contact-1 a {
    color: #E31E24;
    text-decoration: none;
}

.contact-1 a:hover {
    color: #000041;
}

.contact-1 ul.icon-box li.box .icon-circle {
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}

.contact-1 ul.icon-box li.box:hover .icon-circle {
    background-color: #E31E24;
    transform: scale(1.05);
}

.contac-2 .contact-2__map-wrap {
    width: 100%;
    margin-top: 20px;
}

.contac-2 .contact-2__map-wrap iframe {
    display: block;
}

/* ==========================================================================
   Contact Page - Responsive Fixes (small display to large display,
   including in-between widths caused by browser zoom above/below 100%)
   ========================================================================== */

/* Large desktops / wide screens */
@media (min-width: 1400px) {
    .contact-1 ul.icon-box li.box .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {
    .contact-1 ul.icon-box li.box .icon-circle {
        width: 58px;
        height: 58px;
        font-size: 26px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .contact-1 ul.icon-box li.box {
        padding-top: 16px;
    }

    .contac-2 .contact-2__map-wrap {
        margin-top: 16px;
    }
}

/* Tablets / large phones (below Bootstrap md) */
@media (max-width: 767.98px) {
    .contact-1 ul.icon-box li.box {
        gap: 14px;
        padding-top: 14px;
    }

    .contact-1 ul.icon-box li.box .icon-circle {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .contact-1 ul.icon-box li.box h4 {
        font-size: 18px;
    }

    .contac-2 .contact-2__map-wrap iframe {
        height: 320px;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .contact-1 ul.icon-box li.box {
        align-items: flex-start;
        gap: 12px;
    }

    .contact-1 ul.icon-box li.box .icon-circle {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .contact-1 ul.icon-box li.box .content p {
        font-size: 14px;
        line-height: 24px;
    }

    .contac-2 .contact-2__map-wrap iframe {
        height: 260px;
    }
}

/* Extra small phones / heavy browser zoom (>100%) */
@media (max-width: 400px) {
    .contact-1 ul.icon-box li.box .icon-circle {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .contact-1 ul.icon-box li.box h4 {
        font-size: 16px;
    }

    .contac-2 .contact-2__map-wrap iframe {
        height: 220px;
    }
}

/* Gallery Page */

.gallery-1 .gallery-filter-btn {
    display: flex;
    gap: 22px;
    justify-content: center;
}

.gallery-1 .gallery-container img.img-fluid {
    border-radius: 20px;
}

.gallery-1 .gallery-container .col-12.col-md-3.col-lg-3 {
    position: relative;
    transition: all 0.3s ease-in-out;
}

.gallery-1 .gallery-container .overlay {
    position: absolute;
    bottom: 0;
    width: 93%;
    height: 100%;
    background-color: #000041a1;
    border-radius: 20px;
    display: none;
    align-items: flex-end;
    padding: 20px;


}

.gallery-1 .gallery-container .col-12.col-md-3.col-lg-3:hover .overlay {
    display: flex;
}

.gallery-1 .gallery-container .overlay h4 {
    color: #fff;
}

.gallery-1 .gallery-container .overlay .btn {
    background-color: #fff !important;
    color: #000041 !important;
    border-radius: 50% !important;
    padding: 16px !important;
    width: 54px;
    height: 54px;
    position: absolute;
    bottom: 137px;
    right: 16px;
}

/* Gallery filter buttons - active state (kept consistent with existing .btn hover color) */
.gallery-1 .gallery-filter-btn .btn {
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-1 .gallery-filter-btn .btn.active,
.gallery-1 .gallery-filter-btn .btn:hover {
    background-color: #C41820 !important;
}

/* Limited hover animation on gallery items (subtle, doesn't change layout) */
.gallery-1 .gallery-container .gallery-item {
    cursor: pointer;
}

.gallery-1 .gallery-container .gallery-item img.img-fluid {
    transition: transform 0.35s ease;
}

.gallery-1 .gallery-container .gallery-item:hover img.img-fluid {
    transform: scale(1.03);
}

.gallery-1 .gallery-container .overlay {
    transition: opacity 0.3s ease;
}

.gallery-1 .gallery-container .overlay .btn {
    transition: transform 0.25s ease;
}

.gallery-1 .gallery-container .gallery-item:hover .overlay .btn {
    transform: scale(1.08);
}

.gallery-1 .gallery-empty-msg {
    text-align: center;
    color: #000041;
    font-weight: 500;
    margin-top: 20px;
}

/* Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 21, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox__content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    animation: lightboxFadeIn 0.3s ease;
}

.gallery-lightbox__content img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    object-fit: contain;
}

.gallery-lightbox__content h4 {
    color: #fff;
    margin-top: 16px;
    font-size: 20px;
}

.gallery-lightbox__close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.2s ease;
}

.gallery-lightbox__close:hover {
    color: #E31E24;
}

.gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 10px 16px;
    z-index: 2001;
    transition: color 0.2s ease;
}

.gallery-lightbox__nav:hover {
    color: #E31E24;
}

.gallery-lightbox__prev {
    left: 16px;
}

.gallery-lightbox__next {
    right: 16px;
}

body.lightbox-open {
    overflow: hidden;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Gallery Page - Responsive Fixes (small display to large display,
   including in-between widths caused by browser zoom above/below 100%)
   Desktop (md/lg and up) layout/design is untouched.
   ========================================================================== */

/* Large desktops / wide screens - unchanged design, just spacing safeguard */
@media (min-width: 1400px) {
    .gallery-1 .gallery-container .row {
        row-gap: 30px;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {
    .gallery-1 .gallery-container .row {
        row-gap: 24px;
    }

    .gallery-1 .gallery-container .overlay .btn {
        width: 48px;
        height: 48px;
        padding: 14px !important;
        bottom: 122px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .gallery-1 .gallery-filter-btn {
        flex-wrap: wrap;
        gap: 14px;
    }

    .gallery-1 .gallery-container .row {
        row-gap: 20px;
    }

    .gallery-1 .gallery-container .overlay .btn {
        bottom: 108px;
    }

    .gallery-lightbox__nav {
        font-size: 26px;
        padding: 8px 12px;
    }
}

/* Tablets / large phones (below Bootstrap md) - 2 columns instead of 1 */
@media (max-width: 767.98px) {
    .gallery-1 .gallery-filter-btn {
        gap: 10px;
    }

    .gallery-1 .gallery-filter-btn .btn {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        font-size: 14px;
    }

    .gallery-1 .gallery-container .row {
        row-gap: 16px;
    }

    .gallery-1 .gallery-container .overlay h4 {
        font-size: 16px;
    }

    .gallery-1 .gallery-container .overlay .btn {
        width: 42px;
        height: 42px;
        padding: 10px !important;
        bottom: 84px;
        right: 12px;
    }

    .gallery-lightbox__close {
        top: 16px;
        right: 20px;
        font-size: 22px;
    }
}

/* Small phones - single column */
@media (max-width: 575.98px) {
    .gallery-1 .gallery-filter-btn {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }

    .gallery-1 .gallery-container .overlay {
        width: 94%;
    }

    .gallery-1 .gallery-container .overlay .btn {
        bottom: 100px;
    }

    .gallery-lightbox__content h4 {
        font-size: 17px;
    }

    .gallery-lightbox__nav {
        font-size: 22px;
        padding: 6px 10px;
    }
}

/* Extra small phones / heavy browser zoom (>100%) */
@media (max-width: 400px) {
    .gallery-1 .gallery-filter-btn .btn {
        font-size: 13px;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .gallery-1 .gallery-container .overlay h4 {
        font-size: 14px;
    }

    .gallery-1 .gallery-container .overlay .btn {
        width: 38px;
        height: 38px;
        padding: 8px !important;
        bottom: 78px;
    }

    .gallery-lightbox__content h4 {
        font-size: 15px;
    }
}

/* Facilities Page */

/* ==========================================================================
   Facilities Page
   Built on top of the existing design system in style.css
   (colors: var(--navy) #0D1B3E / var(--red) #E31E24 / var(--white) #FFFFFF,
   typography: Cinzel for headings, Poppins for body, .page-banner,
   .heading-center, span.badge and h2.section-title left untouched)
   ========================================================================== */

/* ---------- Intro / Hero (badge + heading + short copy) ---------- */

.facilities-1 {
    padding-top: 120px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* subtle premium decoration: soft dotted pattern + thin accent shapes */
.facilities-1::before {
    content: "";
    position: absolute;
    top: 40px;
    right: 6%;
    width: 160px;
    height: 160px;
    background-image: radial-gradient(var(--navy) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.06;
    pointer-events: none;
}

.facilities-1::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--navy));
    opacity: 0.05;
    pointer-events: none;
}

.facilities-1__intro {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.facilities-1__intro .badge {
    background: rgba(227, 30, 36, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}

.facilities-1__heading {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.facilities-1__desc {
    font-size: 18px;
    line-height: 1.7;
    color: #4a5170;
    margin-bottom: 0;
}

.facilities-1__accent-line {
    width: 70px;
    height: 3px;
    background: var(--red);
    border-radius: 3px;
    margin: 0 auto 24px;
}

/* ---------- Cards grid section ---------- */

.facilities-2 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.facilities-2__container {
    max-width: 1400px;
}

.facilities-2__row {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
}

/* ---------- Facility card ---------- */

.facility-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(13, 27, 62, 0.08);
    border: 1px solid transparent;
    transition: transform 350ms ease, box-shadow 350ms ease, border-color 350ms ease;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(13, 27, 62, 0.16);
    border-color: var(--red);
}

.facility-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.facility-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 350ms ease;
}

.facility-card:hover .facility-card__image {
    transform: scale(1.08);
}

.facility-card__category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    color: var(--red);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(13, 27, 62, 0.15);
    display: none;
}

.facility-card__body {
    padding: 28px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-card__title {
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    transition: color 350ms ease;
}

.facility-card:hover .facility-card__title {
    color: var(--red);
}

.facility-card__desc {
    font-size: 18px;
    line-height: 1.6;
    color: #5a6180;
    margin-bottom: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Large desktops / wide screens */
@media (min-width: 1400px) {
    .facilities-2__container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {
    .facilities-1 {
        padding-top: 96px;
    }

    .facilities-2 {
        padding-top: 72px;
        padding-bottom: 96px;
    }

    .facilities-1__heading {
        font-size: 46px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .facilities-1 {
        padding-top: 72px;
    }

    .facilities-2 {
        padding-top: 56px;
        padding-bottom: 80px;
    }

    .facilities-1__heading {
        font-size: 38px;
    }

    .facility-card__title {
        font-size: 24px;
    }
}

/* Tablets / large phones (below Bootstrap md) */
@media (max-width: 767.98px) {
    .facilities-1 {
        padding-top: 56px;
    }

    .facilities-2 {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .facilities-2__row {
        --bs-gutter-x: 20px;
        --bs-gutter-y: 24px;
    }

    .facilities-1__heading {
        font-size: 32px;
    }

    .facilities-1__desc {
        font-size: 16px;
    }

    .facility-card__body {
        padding: 22px 22px 26px;
    }

    .facility-card__title {
        font-size: 22px;
    }

    .facility-card__desc {
        font-size: 16px;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .facilities-1__heading {
        font-size: 28px;
    }

    .facilities-1__intro .badge {
        padding: 7px 16px;
    }

    .facility-card__category {
        top: 14px;
        left: 14px;
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .facility-card,
    .facility-card__image,
    .facility-card__title {
        transition: none !important;
    }
}

/* Curriculam Page */

.curr-1 .box {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
}

.curr-1 .box p.box-desc {
    text-align: justify;
}

.curr-1 .box img.img-fluid {
    border-radius: 20px;
}

.curr-1 #left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.curr-1 .box h4.box-title {
    font-weight: 700;
    color: #000041;
}

.curr-1 #right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.curr-1 #right ul.icon-list {
    list-style-type: none;
    padding: 0;
}

.curr-1 #right ul.icon-list .list {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.curr-1 #right ul.icon-list .list i {
    font-size: 20px;
    color: #000041;
}

.curr-1 #right ul.icon-list .list a {
    color: #E31E24;
    text-decoration: none;
}

.curr-1 #right ul.icon-list .list a:hover {
    color: #000041;
}

.modal-dialog .modal-content .modal-body p {
    text-align: justify !important;
}

/* ==========================================================================
   Curriculam Page - Responsive
   (Desktop layout/design left untouched; only breakpoints below
   the current desktop layout, plus browser zoom > 100%, are adjusted)
   ========================================================================== */

/* Ensure box images scale cleanly at every size without changing desktop look */
.curr-1 .box .image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Large desktops / wide screens (zoom below 100% effectively lands here) */
@media (min-width: 1400px) {
    .curr-1 .box {
        padding: 24px;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {
    .curr-1 .box {
        padding: 18px;
    }

    .curr-1 .box h4.box-title {
        font-size: 20px;
    }

    .curr-1 .box p.box-desc {
        font-size: 15px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {

    .curr-1 #left,
    .curr-1 #right {
        gap: 16px;
    }

    .curr-1 #right {
        margin-top: 16px;
    }

    .curr-1 .box h4.box-title {
        font-size: 19px;
    }
}

/* Tablets / large phones (below Bootstrap md - image stacks above content) */
@media (max-width: 767.98px) {
    .curr-1 .box .row>div {
        margin-bottom: 12px;
    }

    .curr-1 .box .row>div:last-child {
        margin-bottom: 0;
    }

    .curr-1 .box .image img {
        border-radius: 16px;
    }

    .curr-1 .box h4.box-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .curr-1 .box p.box-desc {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .curr-1 #right ul.icon-list .list a {
        font-size: 14.5px;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .curr-1.py-5 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .curr-1 .box {
        padding: 14px;
        border-radius: 16px;
    }

    .curr-1 .box h4.box-title {
        font-size: 17px;
    }

    .curr-1 .box p.box-desc {
        font-size: 14px;
    }

    .curr-1 #right ul.icon-list .list i {
        font-size: 18px;
    }

    .curr-1 #right ul.icon-list .list a {
        font-size: 14px;
    }
}

/* Extra small phones / heavy browser zoom (above 100%) */
@media (max-width: 400px) {
    .curr-1 .box {
        padding: 12px;
        border-radius: 14px;
    }

    .curr-1 .box h4.box-title {
        font-size: 16px;
    }

    .curr-1 .box p.box-desc {
        font-size: 13px;
    }

    .curr-1 #right ul.icon-list .list {
        gap: 8px;
    }

    .curr-1 #right ul.icon-list .list i {
        font-size: 16px;
    }

    .curr-1 #right ul.icon-list .list a {
        font-size: 13px;
    }
}



.academic-ex-1 .box {
    background: #fff;
    border-radius: 20px;
    height: 500px;
}

.academic-ex-1 .box .content {
    padding: 20px;
}

.academic-ex-1 .box .content p.box-desc {
    text-align: justify;
}

.academic-ex-1 .box img.img-fluid {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.academic-ex-1 .box h4.box-title {
    color: #000041;
    font-weight: 700;
}

.academic-ex-2.py-5{
    padding-top: 0 !important;
}

.academic-ex-2 .accordion-group {
    width: 100%;
    max-width: 550px;
    box-sizing:
        border-box;
    font-size: 14px;
}

.academic-ex-2 .acc-item {
    background: #0d1b3e;
    border: 1px solid #e8cdcf;
    overflow: hidden;
    box-shadow: 0 15px calc(15px * 2) rgba(247, 193, 193, 0.15);
    transition: all 0.3s ease;
}

.academic-ex-2 .acc-item {
    border-radius: 20px;
    margin-bottom: 20px;
}

.academic-ex-2 .acc-item:last-child {
    margin-bottom: 0;
}

.academic-ex-2 summary {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: #ffffff;
    transition: background 0.2s ease;
}

.academic-ex-2 summary:hover {
    background: #c41820;
}

.academic-ex-2 summary::-webkit-details-marker {
    display: none;
}

.academic-ex-2 .acc-icon {
    color: #e31e24;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.academic-ex-2 summary:hover .acc-icon {
    color: #000041;
}

.academic-ex-2 .content-wrapper {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    background: #fcebec;
}

.academic-ex-2 .content-body {
    padding: 20px;
    color: #0d1b3e;
    line-height: 1.6;
}

.academic-ex-2 .acc-item.is-open .acc-icon {
    transform: rotate(45deg);
}

.academic-ex-2 img.img-fluid {
    border-radius: 20px;
}

/* ---------- Limited hover animation (box lift + image zoom) ---------- */

.academic-ex-1 .box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.academic-ex-1 .box:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(13, 27, 62, 0.14);
}

.academic-ex-1 .box .image {
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.academic-ex-1 .box .image img.img-fluid {
    transition: transform 0.5s ease;
    display: block;
}

.academic-ex-1 .box:hover .image img.img-fluid {
    transform: scale(1.06);
}

.academic-ex-2 img.img-fluid {
    transition: transform 0.4s ease;
}

.academic-ex-2 .col-12.col-md-6.col-lg-6:hover>img.img-fluid {
    transform: scale(1.02);
}

/* ==========================================================================
   Academics Excellence Page - Responsive
   (Desktop layout/design left untouched; breakpoints below the current
   desktop layout, plus in-between widths from browser zoom above/below
   100%, are adjusted so nothing overlaps or overflows.)
   ========================================================================== */

/* Large desktops / wide screens (zoom below 100% effectively lands here) */
@media (min-width: 1400px) {
    .academic-ex-1 .box .content {
        padding: 24px;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {
    .academic-ex-1 .box .content {
        padding: 18px;
    }

    .academic-ex-1 .box h4.box-title {
        font-size: 19px;
    }

    .academic-ex-1 .box p.box-desc {
        font-size: 15px;
    }

    .academic-ex-2 .accordion-group {
        max-width: 100%;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .academic-ex-1 .col-12.col-md-4.col-lg-4 {
        margin-bottom: 24px;
        width: 50%;
    }

    .academic-ex-1 .col-12.col-md-4.col-lg-4:last-child {
        margin-bottom: 0;
    }

    .academic-ex-2 .col-12.col-md-6.col-lg-6 {
        margin-bottom: 24px;
    }

    .academic-ex-2 .col-12.col-md-6.col-lg-6:last-child {
        margin-bottom: 0;
    }

    .academic-ex-2 .accordion-group {
        font-size: 13.5px;
    }
}

/* Tablets / large phones (below Bootstrap md) */
@media (max-width: 767.98px) {
    .academic-ex-1.py-5 {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
    }

    .academic-ex-1 .box h4.box-title {
        font-size: 18px;
    }

    .academic-ex-1 .box p.box-desc {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .academic-ex-1 .box:hover {
        transform: translateY(-4px);
    }

    .academic-ex-2.py-5 {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }

    .academic-ex-2 summary span:first-child {
        font-size: 14.5px;
    }

    .academic-ex-2 .content-body {
        padding: 16px;
        font-size: 14px;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .academic-ex-1 .box .content {
        padding: 16px;
    }

    .academic-ex-2 summary {
        padding: 14px;
    }

    .academic-ex-2 .acc-item {
        margin-bottom: 16px;
    }
}

/* Extra small phones / heavy browser zoom (above 100%) */
@media (max-width: 400px) {
    .academic-ex-1 .box h4.box-title {
        font-size: 17px;
    }

    .academic-ex-1 .box p.box-desc {
        font-size: 14px;
    }

    .academic-ex-2 summary span:first-child {
        font-size: 14px;
    }

    .academic-ex-2 .acc-icon {
        font-size: 14px;
    }

    .academic-ex-2 .content-body {
        padding: 14px;
        font-size: 13.5px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .academic-ex-1 .box,
    .academic-ex-1 .box .image img.img-fluid,
    .academic-ex-2 img.img-fluid {
        transition: none !important;
    }
}

.ex-1 .icon-list .list .content {
    background: #fff;
    padding: 14px;
    border-radius: 20px;
}

.ex-1 ul.icon-list {
    padding: 0;
    list-style-type: none;
    position: relative;
}

.ex-1 ul.icon-list .list {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ex-1 ul.icon-list .list h4 {
    font-weight: 600;
    color: #000041;
}

.ex-1 ul.icon-list .list .icon-circle {
    height: 64px;
    width: 110px;
    background: #000041;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: relative;
}

.ex-1 ul.icon-list::before {
    content: "";
    position: absolute;
    background: #000041;
    width: 2px;
    height: 100%;
    bottom: 0;
    left: 26px;
}

.ex-1 img.img-fluid {
    border-radius: 20px;
}

.ex-2 .col-lg-3{
    display: flex;
}

.ex-2 .box {
    background: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 26px;
    width: 100%;
    height: 100%;
}

.ex-2 .box .image img.img-fluid {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.ex-2 .box .content {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
}

.ex-2 .box .content p {
    text-align: center;
}

.ex-2 .box .content h4{
    font-weight: 700;
    color: #000041;
}

/* ---------- Limited hover animation (Extra-Curricular page) ---------- */

.ex-1 ul.icon-list .list .icon-circle {
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.ex-1 ul.icon-list .list:hover .icon-circle {
    background-color: #E31E24;
    transform: scale(1.05);
}

.ex-1 ul.icon-list .list .content {
    transition: box-shadow 0.3s ease-in-out;
}

.ex-1 ul.icon-list .list:hover .content {
    box-shadow: 0 8px 20px rgba(0, 0, 65, 0.12);
}

.ex-1 img.img-fluid {
    transition: transform 0.4s ease;
}

.ex-1 .col-12.col-md-6.col-lg-6:hover>img.img-fluid {
    transform: scale(1.02);
}

.ex-2 .box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 6px 16px rgba(13, 27, 62, 0.06);
}

.ex-2 .box:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(13, 27, 62, 0.14);
}

.ex-2 .box .image {
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.ex-2 .box .image img.img-fluid {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
}

.ex-2 .box:hover .image img.img-fluid {
    transform: scale(1.06);
}

/* ==========================================================================
   Extra-Curricular Page - Responsive
   (Desktop layout/design left untouched; breakpoints below the current
   desktop layout, plus in-between widths from browser zoom above/below
   100%, are adjusted so nothing overlaps or overflows.)
   ========================================================================== */

/* Large desktops / wide screens (zoom below 100% effectively lands here) */
@media (min-width: 1400px) {
    .ex-1 .icon-list::before {
        left: 43px;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {
    .ex-1 .icon-circle {
        width: 56px;
        height: 56px;
    }

    .ex-1 .icon-list::before {
        left: 40px;
    }

    .ex-1 .box h4 {
        font-size: 18px;
    }

    .ex-2 .box .content h4 {
        font-size: 17px;
    }

    .ex-2 .box .content p {
        font-size: 14px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .ex-1 .icon-list::before {
        left: 37px;
    }

    .ex-1 .icon-circle {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .ex-1 .box {
        padding: 16px;
    }

    .ex-1 .box h4 {
        font-size: 17px;
    }

    .ex-1 img.img-fluid {
        margin-bottom: 24px;
    }

    .ex-2 .box {
        margin-top: 20px;
    }

    .ex-2 .box .content {
        padding: 16px;
    }

    .ex-2 .box .content h4 {
        font-size: 16px;
    }

    .ex-2 .box .content p {
        font-size: 13.5px;
    }
}

/* Tablets / large phones (below Bootstrap md) */
@media (max-width: 767.98px) {
    .ex-1.py-5 {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
    }

    /* Below md, the icon column and the .box column each become col-12
       and stack instead of sitting side-by-side, so the vertical
       connector line no longer lines up with just the icons and is
       hidden; spacing below is added instead so icon and box don't
       feel jammed together. */
    .ex-1 .icon-list::before {
        display: none;
    }

    .ex-1 .list.row {
        margin-top: 16px;
    }

    .ex-1 .list.row > .col-12:first-child {
        margin-bottom: 10px;
    }

    .ex-1 .icon-circle {
        width: 52px;
        height: 52px;
    }

    .ex-1 .box {
        padding: 16px;
    }

    .ex-1 .box h4 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .ex-1 .box p {
        font-size: 14px;
    }

    .ex-2.py-5 {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }

    .ex-2 .box:hover {
        transform: translateY(-4px);
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .ex-1 .icon-circle {
        width: 46px;
        height: 46px;
    }

    .ex-1 .box {
        padding: 14px;
    }

    .ex-1 .box h4 {
        font-size: 16px;
    }

    .ex-1 .box p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .ex-2 .box .content {
        padding: 14px;
    }

    .ex-2 .box .content h4 {
        font-size: 15.5px;
    }

    .ex-2 .box .content p {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Extra small phones / heavy browser zoom (above 100%) */
@media (max-width: 400px) {
    .ex-1 .icon-circle {
        width: 40px;
        height: 40px;
    }

    .ex-1 .box h4 {
        font-size: 15.5px;
    }

    .ex-1 .box p {
        font-size: 13.5px;
    }

    .ex-2 .box .content h4 {
        font-size: 15px;
    }

    .ex-2 .box .content p {
        font-size: 12.5px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .ex-1 .icon-circle,
    .ex-1 img.img-fluid,
    .ex-2 .box,
    .ex-2 .box .image img.img-fluid {
        transition: none !important;
    }
}


.activity-1 .box{
    background-color: #fff;
    border-radius: 20px;
}

.activity-1 .box .image img.img-fluid{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.activity-1 .box .content{
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
}

.activity-1 .box .content h4{
    color: #000041;
    font-weight: 600;
}

.activity-1 .box .content p{
    margin-bottom: 0;
    text-align: justify;
}

/* ---------- Limited hover animation (Activity page) ---------- */

.activity-1 .box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 6px 16px rgba(13, 27, 62, 0.06);
}

.activity-1 .box:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(13, 27, 62, 0.14);
}

.activity-1 .box .image {
    overflow: hidden;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.activity-1 .box .image img.img-fluid {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-1 .box:hover .image img.img-fluid {
    transform: scale(1.06);
}

.activity-1 .box .row {
    height: 100%;
}

/* ==========================================================================
   Activity Page - Responsive
   (Desktop layout/design left untouched; breakpoints below the current
   desktop layout, plus in-between widths from browser zoom above/below
   100%, are adjusted so nothing overlaps or overflows.)
   ========================================================================== */

/* Large desktops / wide screens (zoom below 100% effectively lands here) */
@media (min-width: 1400px) {
    .activity-1 .box .content {
        padding-top: 24px;
        padding-bottom: 24px;
        padding-right: 24px;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {
    .activity-1 .box .content h4 {
        font-size: 19px;
    }

    .activity-1 .box .content p {
        font-size: 15px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .activity-1 .row>.col-12.col-md-6.col-lg-6 {
        margin-bottom: 24px;
        width: 100%;
    }

    img.img-fluid {
    border-top-right-radius: 20px;
    border-bottom-left-radius: none  !important;
    }

    .activity-1 .row>.col-12.col-md-6.col-lg-6:last-child {
        margin-bottom: 0;
    }

    .activity-1 .box .content {
        padding-top: 16px;
        padding-bottom: 16px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .activity-1 .box:hover {
        transform: translateY(-5px);
    }
}

/* Tablets / large phones (below Bootstrap md - image stacks above content) */
@media (max-width: 767.98px) {
    .activity-1.py-5 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .activity-1 .box .row {
        height: auto;
    }

    .activity-1 .box .image img.img-fluid {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 0;
        height: 220px;
    }

    .activity-1 .box .content {
        padding: 16px;
    }

    .activity-1 .box .content h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .activity-1 .box .content p {
        font-size: 14.5px;
        line-height: 1.6;
        text-align: left;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .activity-1 .box .image img.img-fluid {
        height: 190px;
    }

    .activity-1 .box .content {
        padding: 14px;
    }

    .activity-1 .box .content h4 {
        font-size: 17px;
    }

    .activity-1 .box .content p {
        font-size: 14px;
    }

    .activity-1 .box:hover {
        transform: translateY(-3px);
    }
}

/* Extra small phones / heavy browser zoom (above 100%) */
@media (max-width: 400px) {
    .activity-1 .box .image img.img-fluid {
        height: 170px;
    }

    .activity-1 .box .content {
        padding: 12px;
    }

    .activity-1 .box .content h4 {
        font-size: 16px;
    }

    .activity-1 .box .content p {
        font-size: 13.5px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .activity-1 .box,
    .activity-1 .box .image img.img-fluid {
        transition: none !important;
    }
}

.admission-1 .section-title{
    color: #000041;
}

.admission-1 .section-desc{
    text-align: justify;
}

.admission-1 .box {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 18px;
    transition: all 0.3s ease-in-out;
    border: 0   ;
    height: 240px;
}

.admission-1 .box .box-title{
    color: #000041;
}

.admission-1 .box .icon-circle {
    background: #000041;
    color: #fff;
    height: 64px;
    width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    border-radius: 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}

.admission-1 .box:hover{
    border: 2px solid #E31E24;
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 65, 0.12);
}
.admission-1 .box:hover .icon-circle{
    background-color: #E31E24;
}


.admission-1 img.img-fluid{
    border-radius: 20px;
}

.admission-2 {
    background: linear-gradient(#0000419c, #000041bf), url(../images/admission-2.webp);
}

.admission-2 p.section-desc.text-white {
    text-align: center;
    width: 50%;
}

.admission-2 .icon-list .list .icon i{
    color: #fff;
}

.admission-2 ul.icon-list {
    list-style-type: none;
    padding: 0;
}

.admission-2 ul.icon-list li.list {
    display: flex;
    gap: 14px;
    margin-bottom: 36px;
}

.admission-2 ul.icon-list li.list .content h4, .admission-2 ul.icon-list .content p{
    color: #fff;
}

.admission-2 ul.icon-list li.list .content p{
    text-align: justify;
}

.admission-3 .process-cards{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: relative;
    margin-top: 30px;
    gap: 20px;
}

.admission-3 .process-cards .box {
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    border: 2px solid #ddd;
    transition: all 0.3s ease-in-out;
}

.admission-3 .process-cards .box .icon {
    background: #000041;
    color: #fff;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 12px;
}

.admission-3 .process-cards .box .box-desc{
    text-align: center;
}

.admission-3 .process-cards .box:hover{
    border: 2px solid #E31E24;
    transform: translateY(-6px);
}

.admission-3 .process-cards .box .icon {
    transition: all 0.3s ease-in-out;
}

.admission-3 .process-cards .box:hover .icon {
    background-color: #E31E24;
}

.admission-4{
    background-color: #e31e2433;
}

.admission-4 .section-title{
    color: #000041;
}

.admission-4 .icon-list .list i{
    color: #000041;
    font-size: 28px;
}

.admission-4 ul.icon-list {
    padding: 0;
    list-style-type: none;
}

.admission-4 ul.icon-list li.list {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    transition: transform 0.25s ease-in-out;
}

.admission-4 ul.icon-list li.list:hover {
    transform: translateX(6px);
}

.admission-5 .section-desc{
    width: 50%;
    text-align: center;
}

.admission-5 .table{
    background-color: #fff;
}


.admission-5 .table thead{
    background-color: #000041;
    color: #fff;
}

.admission-5 .table thead tr th{
    padding: 14px;
}

.admission-6{
    background-color: #000041;
}

.admission-6 .box {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    height: 500px;
    transition: all 0.3s ease-in-out;
}

.admission-6 .box:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.admission-6 .box ul.icon-box {
    padding: 0;
    list-style-type: none;
}

.admission-6 .box ul.icon-box li.list {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admission-6 .box .icon-box .list .icon {
    background-color: #000041;
    height: 64px;
    width: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.admission-6 .box ul.icon-list {
    padding: 0;
    list-style-type: none;
}

.admission-6 .box ul.icon-list li.list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #ddd;
    padding: 20px;
}

.admission-7 .fee-timetable{
        display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    margin-top: 30px;
    gap: 30px;
    position: relative;
}

.admission-7 .fee-timetable::before {
    content: "";
    position: absolute;
    background: #000041;
    height: 2px;
    width: 100%;
    bottom: 109px;
}

.admission-7 .fee-timetable .box{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.admission-7 .fee-timetable .box:hover{
    transform: translateY(-6px);
}
.admission-7 .fee-timetable .box .circle {
    border: 4px solid #000041;
    height: 64px;
    width: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    background-color: #000041;
    transition: all 0.3s ease-in-out;
}

.admission-7 .fee-timetable .box:hover .circle{
    background-color: #E31E24;
    border: 4px solid  #fff;
}

.admission-7 ul.icon-list {
    padding: 0;
    list-style-type: none;
    background-color: #dddddd6e;
    padding: 20px;
    border-radius: 20px;
    margin-top: 20px;
}

.admission-7 ul.icon-list li.list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.admission-8 .accordion-group{
    max-width: none;
}

/* ==========================================================================
   Admission Page - Responsive
   (Desktop layout/design left untouched; breakpoints below the current
   desktop layout, plus in-between widths from browser zoom above/below
   100%, are adjusted so nothing overlaps, overflows, or gets cramped.)
   ========================================================================== */

/* Large desktops / wide screens (zoom below 100% effectively lands here) */
@media (min-width: 1400px) {
    .admission-2 p.section-desc.text-white {
        width: 60%;
    }

    .admission-5 .section-desc {
        width: 45%;
    }
}

/* Laptops / small desktops */
@media (max-width: 1199.98px) {
    .admission-3 .process-cards {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
    }

    .admission-2 p.section-desc.text-white {
        width: 70%;
    }

    .admission-5 .section-desc {
        width: 65%;
    }

    .admission-6 .box {
        height: 460px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .admission-1 .box {
        margin-bottom: 20px;
        height: 300px;
    }

    .admission-2 p.section-desc.text-white {
        width: 85%;
    }

    .admission-3 .process-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .admission-4 .col-12.col-md-6.col-lg-6 .row {
        margin-top: 24px;
    }

    .admission-5 .section-desc {
        width: 80%;
    }

    .admission-6 .box {
        height: auto;
        min-height: 320px;
        padding: 20px 16px;
    }

    .admission-6 .row.mt-5 > .col-12.col-md-6.col-lg-6 {
        margin-bottom: 24px;
    }

    .admission-6 .row.mt-5 > .col-12.col-md-6.col-lg-6:last-child {
        margin-bottom: 0;
    }

    .admission-7 .fee-timetable::before {
        bottom: 100px;
    }
}

/* Tablets / large phones (below Bootstrap md - columns stack) */
@media (max-width: 767.98px) {
    .admission-1.py-5,
    .admission-2.py-5,
    .admission-3.py-5,
    .admission-4.py-5,
    .admission-5.py-5,
    .admission-6.py-5,
    .admission-7.py-5,
    .academic-ex-2.py-5.admission-8 {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }

    .admission-1 img.img-fluid {
        margin-top: 16px;
    }

    .admission-2 p.section-desc.text-white {
        width: 100%;
    }

    .admission-2 ul.icon-list li.list {
        margin-bottom: 24px;
    }

    .admission-3 .process-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .admission-3 h2.section-title {
        font-size: 28px;
    }

    .admission-4 .col-12.col-md-6.col-lg-6 .col-12.col-md-6.col-lg-6:first-child {
        margin-bottom: 10px;
    }

    .admission-5 .section-desc {
        width: 100%;
    }

    .admission-5 .table {
        font-size: 14px;
    }

    .admission-6 .box {
        min-height: unset;
    }

    .admission-6 .box ul.icon-list li.list {
        padding: 14px 0;
    }

    .admission-7 .fee-timetable {
        gap: 14px;
    }

    .admission-7 .fee-timetable::before {
        bottom: 86px;
    }

    .admission-7 .fee-timetable .box .circle {
        height: 54px;
        width: 54px;
        font-size: 22px;
    }

    .admission-7 ul.icon-list li.list {
        gap: 14px;
        align-items: flex-start;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .admission-1 .box {
        padding: 16px;
    }

    .admission-1 .box .icon-circle {
        height: 54px;
        width: 54px;
        font-size: 24px;
    }

    .admission-2 .heading-center .section-title {
        font-size: 26px;
    }

    .admission-3 .process-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .admission-3 .process-cards .box {
        padding: 14px;
    }

    .admission-3 .process-cards .box .icon {
        height: 42px;
        width: 42px;
    }

    .admission-3 .process-cards .box .box-title {
        font-size: 16px;
    }

    .admission-3 .process-cards .box .box-desc {
        font-size: 13.5px;
    }

    .admission-5 .table thead tr th,
    .admission-5 .table tbody tr td {
        padding: 8px;
        font-size: 13px;
    }

    .admission-6 .box ul.icon-box li.list .icon {
        height: 54px;
        width: 54px;
    }

    .admission-7 .fee-timetable {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }

    .admission-7 .fee-timetable::before {
        display: none;
    }

    .admission-7 .fee-timetable .box .circle {
        height: 44px;
        width: 44px;
        font-size: 18px;
    }

    .admission-7 .fee-timetable .box h4 {
        font-size: 15px;
    }

    .admission-7 .fee-timetable .box p {
        font-size: 13px;
    }

    .admission-1 .box:hover,
    .admission-3 .process-cards .box:hover,
    .admission-7 .fee-timetable .box:hover {
        transform: translateY(-3px);
    }
}

/* Extra small phones / heavy browser zoom (above 100%) */
@media (max-width: 400px) {
    .admission-3 .process-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .admission-3 .process-cards .box .box-title {
        font-size: 15px;
    }

    .admission-5 .table thead tr th,
    .admission-5 .table tbody tr td {
        font-size: 12px;
        padding: 6px;
    }

    .admission-6 .box {
        padding: 16px 12px;
    }

    .admission-7 .fee-timetable::before {
        bottom: 66px;
    }

    .admission-7 .fee-timetable .box .circle {
        height: 38px;
        width: 38px;
        font-size: 16px;
    }

    .admission-7 .fee-timetable .box h4 {
        font-size: 14px;
    }
    
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .admission-1 .box,
    .admission-1 .box .icon-circle,
    .admission-3 .process-cards .box,
    .admission-3 .process-cards .box .icon,
    .admission-4 ul.icon-list li.list,
    .admission-6 .box,
    .admission-7 .fee-timetable .box,
    .admission-7 .fee-timetable .box .circle {
        transition: none !important;
    }
}

.gallery-1 .gallery-container .row {
    row-gap: 30px;
}

.ex-1 .icon-circle{
    background-color: #000041;
    height: 64px;
    width: 64px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: relative;
}

.ex-1 .box{
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}

.ex-1 .list.row {
    display: flex;
    align-items: center;
    margin-top: 20px;

}

.ex-1 .icon-list{
    position: relative;
}

.ex-1 .icon-list::before{
    content: "";
    position: absolute;
    background-color: #000041;
    height: 100%;
    width: 2px;
    left: 43px;
}

html, body{
    overflow-x: hidden;
}

.home-2 .col-12.col-md-6.col-lg-6.animate-box.animate__animated.animate__fadeInRight.show {
    padding-left: 24px;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #e43740 !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .row.academic-card {
    display: flex;
    justify-content: center;
    margin-top: 0 !important;
}

    .row.academic-card .col-12.col-md-6.col-lg-6.aca-card {
    width: 91% !important; 
    padding-left: 0 !important;
    margin-top: 20px;
}


.home-3 .col-12.col-md-4.col-lg-4{
    width: 100%;
}

.home-3 .first .box__icon-box{
    width: 80px;
    height: 80px;
    position: absolute;
    right: 57px;
}

.home-3 .second{
    display: flex;
    justify-content: center;
}

.home-3 .third{
    margin-top: 20px;
}

.home-3 .third .box__icon-box{
    width: 80px;
    height: 80px;
    position: absolute;
    left: 38px;
}

.home-3 .third .box__content {
    padding-left: 108px;
}

.ex-2 .col-md-3{
    width: 50% !important;
}

.gallery-1 .col-md-3{
    width: 33% !important;
}

.hero-section .carousel-control-prev {
    left: 81% !important;
    top: 94%;
}
 .home-3 .container .row .first .box:nth-of-type(3){
        margin-bottom: 0 !important;
    }

.home-3 .container .row .second{
    margin-top: 20px;
}

.home-3 .container .row .third .box:nth-of-type(3){
        margin-bottom: 0 !important;
    }
}

.about-6.py-5{
    padding-top: 0 !important;
}

@media(max-width: 482px){
    .about-1 .col-12.col-md-7.col-lg-7.aos-init.aos-animate {
    margin-top: 28px;
}

.about-1 .col-12.col-md-6.col-lg-6.aos-init.aos-animate {
    margin-top: -7px;
}

.message-1 .col-12.col-md-4.col-lg-4.aos-init.aos-animate {
    display: flex;
    justify-content: center;
}
}

.about-3 span.badge {
    padding-left: 0;
}  

.about-6 .heading-center{
    margin-bottom: 20px !important;
}

.ex-1 h2{
    margin-bottom: 20px;
}

@media (max-width: 482px){
    .admission-7 .heading-center h2{
        text-align: center;
    }

    .home-3 .container .row .first .box:nth-of-type(3){
        margin-bottom: 0 !important;
    }

    .home-3 .container .row .third .box:nth-of-type(3){
        margin-bottom: 0 !important;

    }
    .academic-ex-1 .col-12.col-md-4.col-lg-4{
        width: 100% !important;
    }

    .about-1 ul.icon-list{
        margin-bottom:0 !important
    }
    footer span br:nth-of-type(1){
    display: none !important;
}
.home-3 img.img-fluid{
    height: auto !important;
}
}

.admission-7.py-5{
    padding-bottom: 3rem !important;
}

.home-3 .container .row .second{
    /* display: flex; */
    justify-content: center;
    align-items: center;
}
@media only screen and (max-width: 480px) {
    section h2.section-title {
        font-size: 26px;
        font-weight: 700;
        color: #000f30;
        text-align: center;
    }
}
