:root {
    --brand-dark-blue: #001233;
    --button-green: #21ba45;
    --yellow: #ffc107;
    --nd-brand-primary: #0d2358;
    --nd-brand-yellow: #ffcc00;
    --nd-brand-green: #00c853;
    --nd-body-text: #555555;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    width: 100%;
}

/* pop up */
/* --- Enquiry Popup Custom Design --- */
.custom-popup-card {
    border: 3px solid #ff0000 !important;
    /* Signature red border */
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
}

/* FIXED: Input Group Wrapper reset */
.custom-input-group {
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    overflow: hidden;
    background-color: #ffffff;
}

/* FIXED: Left Icon Box Layout padding aur alignment correction */
.custom-input-group .input-group-text {
    background-color: #ffffff !important;
    border: none !important;
    /* Border wrap-box handle karega */
    font-size: 16px !important;
    /* Emoji ka clear standard size */
    padding-left: 12px !important;
    padding-right: 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    /* Standard static space taaki text overlap na ho */
}

/* FIXED: Main Inputs Reset */
.custom-input-group .form-control,
.custom-input-group .form-select {
    border: none !important;
    /* Purani line overlaps lines remove karega */
    font-size: 14px !important;
    padding: 10px 12px 10px 4px !important;
    /* Left padding space for cleaner alignment */
    box-shadow: none !important;
}

/* Field focus highlight effect */
.custom-input-group:focus-within {
    border-color: #ff0000 !important;
    /* Active box hone par outer border red hoga */
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.15) !important;
}

/* Red Enroll Button Style */
.btn-enroll {
    background-color: #ff0000 !important;
    border: none !important;
    border-radius: 6px;
    transition: background-color 0.25s ease-in-out;
}

.btn-enroll:hover {
    background-color: #cc0000 !important;
}

/* Responsive adjustment scaling */
@media (max-width: 575.98px) {
    .modal-dialog {
        margin: 15px;
    }

    .popup-title {
        font-size: 24px;
    }
}

/* pop end */

a {
    text-decoration: none;
}


.header-wrapper {
    width: 100%;
    position: relative;
    z-index: 1020;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff;
}

.main-nav-sticky-wrap {
    position: relative;
    z-index: 1025;
}

.main-nav-sentinel {
    height: 0;
    width: 100%;
    pointer-events: none;
}

.main-nav.main-nav--pinned {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 14px rgba(0, 18, 51, 0.18);
}

.main-nav.main-nav--pinned .dropdown-menu,
.main-nav.main-nav--pinned .custom-mega-menu {
    z-index: 1035;
}

.header-wrapper + main,
.site-main {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    width: 100%;
}

.site-main > *:first-child {
    margin-top: 0 !important;
}

.header-wrapper + section,
.header-wrapper + div,
.header-wrapper + canvas,
.header-wrapper + main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.main-nav {
    margin-bottom: 0 !important;
}

.responsive-logo-container {
    position: absolute;
    top: 8px;
    left: 12px;
    width: auto;
    text-align: left;
    padding: 4px;
    z-index: 1045;
    margin-top: 0 !important;
    pointer-events: auto;
}

.main-logo-img {
    width: auto;
    height: 62px;
    max-height: 72px;
    max-width: 310px;
    margin-top: 18px;
    margin-left: -20px;
    object-fit: contain;
    display: block;
}


.top-header {
    background: var(--brand-dark-blue);
    margin-top: 0 !important;
}

.top-header a {
    color: #fff;
    font-size: 15px;
    word-break: break-word;
}

.social-icons a {
    color: #fff;
    transition: .3s;
}

.social-icons a:hover {
    color: var(--yellow);
}

.btn-login {
    background: var(--button-green);
    color: #fff;
    border: none;
    border-radius: 4px;
}

.btn-login:hover {
    background: #169837;
    color: #fff;
}


.marquee-row {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.marquee-row marquee {
    font-size: 16px;
    color: #000;
    font-weight: 600;
}

.main-nav .dropdown-item {
    transition: all 0.25s ease-in-out !important;
    color: #080808 !important;
}

.main-nav {
    background: var(--brand-dark-blue);
}

.main-nav .nav-link {
    color: #fff !important;
    font-size: 15px;
    transition: .3s;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--yellow) !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .5);
}


.main-nav .nav-link {
    color: #ffffff !important;
    position: relative;
    transition: color 0.3s ease-in-out;

}

.main-nav .nav-link:hover {
    color: #ffc107 !important;

}


.custom-mega-menu .course-nav-disabled {
    color: #6c757d !important;
    cursor: default;
    pointer-events: none;
    opacity: 0.75;
}

.course-card-disabled {
    opacity: 0.85;
    cursor: default;
    pointer-events: none;
}

.custom-mega-menu .dropdown-item {
    transition: all 0.25s ease-in-out;
    /* Smooth transition */
}

.custom-mega-menu .dropdown-item:hover {
    background-color: #0958a6 !important;
    /* Halka grey background */
    color: #bddd06 !important;
    /* Dark text color */
    padding-left: 24px !important;

}

.main-nav {
    background-color: #031330;
}

.main-nav .dropdown-menu .dropdown-item:focus,
.main-nav .dropdown-menu .dropdown-item:hover {
    color: #ffc107 !important;
    background-color: #ffffff !important;
    padding-left: 20px !important;
}

@media (min-width: 992px) {


    .position-relative-lg {
        position: relative !important;
    }

    .custom-mega-menu {
        width: 750px !important;
        left: 0 !important;
        /* Left align rakhega */
        right: auto !important;
        border-radius: 4px;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    }

    .custom-mega-menu .dropdown-item {
        color: #111111 !important;
        font-size: 14px;
    }

    .custom-mega-menu .dropdown-item:hover {
        background-color: #1c5e9f;
        color: #d9e805 !important;
    }

    .main-nav .navbar-nav .nav-link {
        color: #ffffff !important;
        transition: color 0.25s ease-in-out;
    }

    .main-nav .navbar-nav .nav-link:hover,
    .main-nav .navbar-nav .nav-link.active {
        color: #ffc107 !important;
    }

    .custom-mega-menu .dropdown-item {
        color: #212529 !important;
        transition: all 0.2s ease-in-out !important;
    }

    .custom-mega-menu .dropdown-item:hover {
        background-color: #f8f9fa !important;
        /* Halka grey background */
        color: #d2dd06 !important;
        /* Dark corporate text color */
        padding-left: 24px !important;

    }

    .navbar-expand-lg .navbar-nav .dropdown-menu{
        position: absolute;
        border-top: 2px solid #ffc107;
        border-radius: 0 !important;
    }
}

@media(max-width:768px){
    .navbar-expand-lg .navbar-nav .dropdown-menu{
        border-top: 2px solid #ffc107;
        border-radius: 0 !important;
    }
}


@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);

    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .custom-mega-menu {
        width: 100% !important;
        box-shadow: none;
        background-color: transparent;
        border: none;
        padding: 10px 0 !important;
    }

    .custom-mega-menu .dropdown-item {
        color: #ffffff !important;
        white-space: normal;
        padding-left: 15px;
    }

    .nav-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .position-relative-lg {
        position: relative !important;
    }


    .custom-mega-menu {
        width: 820px !important;
        left: -320px !important;
        right: auto !important;
        border-radius: 4px;
        box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.25);
        border: none;
    }

    .custom-mega-menu .dropdown-item {
        color: #efeb08 !important;
        font-size: 14.5px;
        transition: padding 0.2s ease;
    }

    .custom-mega-menu .dropdown-item:hover {
        background-color: #467fb9;
        color: #efeb08 !important;
        padding-left: 20px;
    }
}


@media (min-width: 992px) {}


@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;

        padding: 10px 0;
    }

    .custom-mega-menu {
        width: 100% !important;
        box-shadow: none !important;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        padding: 10px !important;
    }

    /* Mobile view par text safely break ho isliye wrap automatic kiya hai */
    .custom-mega-menu .dropdown-item {
        color: #ffffff !important;
        white-space: normal !important;
        font-size: 14px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-buttons {
        width: 100%;
        justify-content: center;
        /* Mobile par login buttons bhi auto-center ho jayenge */
    }
}

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    margin: 0 !important;
    padding: 0 !important;
}

#mainSlider .carousel-item {
    position: relative;
    /* height: 480px; */
    /* min-height: 280px; */
    /* max-height: 520px; */
    background: #031330;
}

#mainSlider .carousel-item img {
    width: 100%;
    /* height: 100%; */
    /* object-fit: cover; */
    object-position: center center;
    display: block;
}

/* OVERLAY */

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* CONTENT */

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 5;
    max-width: 650px;
    color: #fff;
}

.carousel-caption-custom h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
}

.carousel-caption-custom p {
    font-size: 20px;
    line-height: 34px;
    margin-bottom: 30px;
}

/* BUTTONS */

.hero-btn {
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s;
    color: #fff;
}

.btn-yellow {
    background: #f5b400;
}

.btn-green {
    background: #0f9d58;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

/* =========================
      NEXT PREV BUTTON
========================= */

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    /* TRANSPARENT BG */
    border-radius: 50%;
    opacity: 1;
    transition: 0.3s;
}

.carousel-control-prev {
    left: 25px;
    /* PEHLE -81px THA */
}

.carousel-control-next {
    right: 25px;
    /* PEHLE -81px THA */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.30);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 25px;
    height: 25px;
}

/* INDICATORS */

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 6px;
}

@media (max-width: 991px) {

    #mainSlider .carousel-item {
        /* height: 360px;
        min-height: 280px;
        max-height: 400px; */
    }

    .carousel-caption-custom {
        left: 5%;
        right: 5%;
        max-width: 100%;
    }

    .carousel-caption-custom h1 {
        font-size: 38px;
    }

    .carousel-caption-custom p {
        font-size: 17px;
        line-height: 30px;
    }

    .hero-btn {
        width: fit-content;
    }

    /* BUTTON SIZE SMALL */

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

}

/* MOBILE */

@media (max-width: 767px) {

    #mainSlider .carousel-item {
        /* height: 300px;
        min-height: 260px;
        max-height: 340px; */
    }

    .navbar-nav {
        margin-left: 0 !important;
    }

    .carousel-caption-custom {
        text-align: center;
        top: 52%;
        left: 15px;
        right: 15px;
        transform: translateY(-50%);
    }

    .carousel-caption-custom h1 {
        font-size: 28px;
        line-height: 42px;
    }

    .carousel-caption-custom p {
        font-size: 15px;
        line-height: 28px;
        margin-bottom: 20px;
    }

    .carousel-caption-custom .d-flex {
        align-items: center;
        justify-content: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 15px;
    }

    /* MOBILE NEXT PREV */

    .carousel-control-prev,
    .carousel-control-next {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.12);
    }

    .carousel-control-prev {
        left: 8px;
    }

    .carousel-control-next {
        right: 8px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }

}


@media (min-width: 992px) {

    .responsive-logo-container {
        position: absolute;
        top: 10px;
        left: 20px;
        width: auto;
        padding: 6px;
        border-radius: 4px;
        z-index: 1045;
    }

    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .carousel-control-prev {
        left: 11px !important;
    }

    .carousel-control-next {
        right: 11px !important;
    }

    .main-logo-img {
        width: auto;
        height: 83px;
        max-height: 96px;
        max-width: 420px;
        margin-top: 25px;
        margin-left: -27px;
    }

    .ms-lg-logo-space {
        margin-left: 34px !important;
    }
}


@media (max-width: 991px) {

    .responsive-logo-container {
        top: 8px !important;
        left: 12px !important;
        padding: 4px 8px;
        z-index: 1045;
    }

    .main-logo-img {
        width: auto;
        height: 62px;
        max-height: 72px;
        max-width: 310px;
        margin-top: 145px !important;
        margin-left: -20px;
        margin-right: 0;
    }

    .main-nav .navbar-collapse {
        max-height: calc(100vh - 220px);
        overflow-y: auto;
        background-color: var(--brand-dark-blue);
    }

    .main-nav.main-nav--pinned .navbar-collapse {
        max-height: calc(100vh - var(--pinned-nav-height, 56px));
    }

    .top-header .container-fluid {
        align-items: center !important;
    }

    .contact-info {
        text-align: center;
        align-items: center;
    }

    .social-login-block {
        justify-content: center !important;
    }

    .navbar-nav {
        padding-top: 15px;
    }

    .nav-buttons {
        padding-top: 10px;
        flex-wrap: wrap;
    }

    .hero-carousel .carousel-item {
        /* height: 360px;
        min-height: 280px; */
    }

    .carousel-caption-custom {
        left: 5%;
        right: 5%;
        text-align: center;
        max-width: 100%;
    }

    .carousel-caption-custom h1 {
        font-size: 38px;
    }

    .carousel-caption-custom p {
        font-size: 16px;
    }
}


@media (max-width: 576px) {

    .main-logo-img {
        width: auto;
        height: 50px;
        max-height: 58px;
        max-width: min(252px, 58vw);
        margin-top: 150px !important;
        /* margin-left: -14px; */
    }

    .top-header a {
        font-size: 14px;
    }

    .marquee-row marquee {
        font-size: 14px;
    }

    .hero-carousel .carousel-item {
        /* height: 340px; */
    }

    .carousel-caption-custom h1 {
        font-size: 28px;
    }

    .carousel-caption-custom p {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .carousel-control-prev {
        left: -6px !important;
    }

    .carousel-control-next {
        right: -6px !important;
    }


}

/* Section Colors and Layout */
.bg-dark-blue {
    background-color: #0b2545;
    /* Image ka dark blue background */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.feature-card-link:hover .feature-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-green {
    background-color: #aacc66;

}

.card-coral {
    background-color: #ff6f69;

}

.card-blue {
    background-color: #4285f4;

}

/* Custom Navigation Arrow Buttons positioning */
.custom-btn-prev,
.custom-btn-next {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.custom-btn-prev:hover,
.custom-btn-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}


.custom-btn-prev {
    left: -20px;
}

.custom-btn-next {
    right: -20px;
}


@media (max-width: 575.98px) {
    .custom-btn-prev {
        left: -10px;
    }

    .custom-btn-next {
        right: -10px;
    }

    .feature-card {
        padding: 15px !important;
    }
}

/* new css */
.news-section .card {
    overflow: hidden;
}

.news-section .card-img-container {
    overflow: hidden;
    width: 100%;
}

.news-section .card-img-container img {
    transition: transform 0.5s ease;
}

.news-section .card-img-container:hover img {
    transform: scale(1.08);
}

.news-section .news-heading a {
    transition: color 0.2s ease;
}

.news-section .news-heading a:hover {
    color: #ffc107 !important;
}


/* About Us Custom Styles */
.about-section {
    overflow: hidden;
}

.about-section .letter-spacing {
    letter-spacing: 1px;
}

.about-section .about-title {
    color: #0d233a;
    font-size: 2.5rem;
    line-height: 1.2;
}

.about-section .about-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
}

.about-section .custom-btn {
    background-color: #ffcc00;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.about-section .custom-btn:hover {
    background-color: #e6b800 !important;
}

.about-section .about-img-wrapper img {
    height: auto;
    border-radius: 12px;
    min-height: unset;
    max-height: 420px;
    object-fit: contain;
}

.about-section .custom-btn {
    background-color: #ffcc00;
    color: #ffffff !important;
    border: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.about-section .custom-btn:hover {
    background-color: #070118 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
    /* Halka sa yellow glow effect */
}

@media (max-width: 991.98px) {
    .about-section .about-title {
        font-size: 1.8rem;
    }

    .about-section .about-img-wrapper img {
        min-height: auto;
        max-height: 400px;
    }
}

/* Apply Section Styles */
.cta-box-left {
    background-color: #0b233a;
}

.cta-box-right {
    background-color: #0e2f50;
}

.cta-inner-content {
    max-width: 480px;
    width: 100%;
}

.cta-title {
    font-size: 2.3rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.cta-text {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-btn {
    background-color: #ffcc00;
    color: #000000;
    font-weight: 700;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #070118 !important;
    color: #ffffff !important;
}

@media (max-width: 991.98px) {
    .cta-title {
        font-size: 1.8rem;
    }
}

/* image gallery */

.courses-section {
    background-color: #fcfdfe;

    background-image:
        radial-gradient(#e5eaf0 15%, transparent 16%),
        radial-gradient(#e5eaf0 15%, transparent 16%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(229, 234, 240, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 2px;
}

.section-title {
    font-size: 2.5rem;
    color: #0b2545;
    font-weight: 700;
    margin-bottom: 2.5rem;
}


.course-card {
    border: none;
    border-radius: 0;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    overflow: hidden;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


.card-img-wrapper {
    position: relative;
    width: 100%;
   /* padding-top: 100%;*/
    padding-top:75%;
    overflow: hidden;
    background-color: #f4f7fb;
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* object-fit: cover; */
    object-fit: contain;
    object-position: center;
}

/* yha se Home course album cards ka letest code hai */
.courses-section .course-album-grid {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.courses-section .course-album-card {
    cursor: pointer;
}

.courses-section .course-album-item {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.courses-section .course-album-img-wrapper {
    padding-top: 72%;
    background-color: #f4f7fb;
}

.courses-section .course-album-img-wrapper img {
    transition: transform 0.3s ease;
}

.courses-section .course-album-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 37, 69, 0.5);
    color: #fff;
    font-size: 1.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.courses-section .course-album-item:hover .course-album-overlay,
.courses-section .course-album-item:focus .course-album-overlay {
    opacity: 1;
}

.courses-section .course-album-item:hover img {
    transform: scale(1.03);
}

@media (min-width: 992px) {
    .courses-section .course-album-grid > .col {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

/*  yha tk couse ka letest css hai */

.enroll-now-badge {
    position: fixed;
    right: 0;
    top: 35%;
    background-color: #081140;
    color: #fff;
    padding: 15px 8px;
    font-weight: bold;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    border-radius: 5px 0 0 5px;
    z-index: 1000;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 0.85rem;
}

.enroll-now-badge:hover {
    color: #fff;
    background-color: #112277;
}

/* OUR FACILITIES    */

.facilities-section {
    overflow: hidden;
    background-image: url('images/ourfacilities.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}


.facility-left-space {
    min-height: 550px;
    background: transparent;
}

.facilities-content-bg {
    color: #ffffff;
    background-color: rgba(17, 39, 66, 0.866);
    /* Luminous Dark Blue Overlay */
    backdrop-filter: blur(2px);

}

.facility-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.facility-text {
    color: #e2ecf5;
    font-size: 1rem;
    line-height: 1.5;
}


.custom-icon-box {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* teachers section css */
.teachers-section {
    background-color: #fcfdfe;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #8a949f;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.section-title {
    font-size: 2.8rem;
    color: #061e43;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 25px;
}

.content-text {
    color: #4a5568;
    font-size: 1.02rem;
    line-height: 1.65;
    text-align: justify;
}

/* Custom Button Styles */
.btn-custom-yellow {
    background-color: #fec200;
    color: #061e43;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    border: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-custom-yellow:hover {
    background-color: #e5af00;
    color: #061e43;
    box-shadow: 0 4px 12px rgba(254, 194, 0, 0.3);
}

/* Teacher Card Container */
.teacher-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    aspect-ratio: 1 / 1;
    /* Square format matching image_b8fca7.png */
    background-color: #e2e8f0;
}

.teacher-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* White Profile Info Overlay Box */
.profile-info-box {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background-color: rgba(255, 255, 255, 0.96);
    padding: 12px 10px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.profile-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #061e43;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-designation {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    margin-bottom: 2px;
}

.profile-qualification {
    font-size: 0.8rem;
    color: #a0aec0;
    font-weight: 500;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* home quick enquiry section */
.home-enquiry-section {
    background-color: #f4f6fa;
}

.quick-enquiry-card {
    background: linear-gradient(160deg, var(--nd-brand-primary) 0%, var(--brand-dark-blue) 100%);
    border: 2px solid #c9a227;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: 0 12px 32px rgba(0, 18, 51, 0.22);
}

.quick-enquiry-title {
    color: #ffffff;
    font-size: 2rem;
    letter-spacing: 0.3px;
}

.quick-enquiry-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.quick-enquiry-card .quick-enquiry-input {
    border: 1px solid #c9a227 !important;
    border-radius: 6px !important;
    background-color: #ffffff;
    overflow: hidden;
}

.quick-enquiry-card .quick-enquiry-input .input-group-text {
    background-color: #ffffff !important;
    color: var(--nd-brand-primary);
}

.quick-enquiry-card .quick-enquiry-input .form-control,
.quick-enquiry-card .quick-enquiry-input .form-select {
    background-color: #ffffff !important;
    color: #0b2545;
}

.quick-enquiry-card .quick-enquiry-input .form-control::placeholder {
    color: #6b7c93;
}

.quick-enquiry-card .quick-enquiry-input .form-select {
    color: #0b2545;
}

.quick-enquiry-card .quick-enquiry-input:focus-within {
    border-color: var(--nd-brand-yellow) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 204, 0, 0.28) !important;
}

.quick-enquiry-card .form-check-input {
    border-color: #c9a227;
    background-color: #ffffff;
}

.quick-enquiry-card .form-check-input:checked {
    background-color: var(--nd-brand-yellow);
    border-color: var(--nd-brand-yellow);
}

.quick-enquiry-check-label {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    line-height: 1.4;
}

.quick-enquiry-mandatory {
    color: var(--nd-brand-yellow);
    font-weight: 600;
    font-size: 13px;
}

.quick-enquiry-submit {
    background-color: var(--nd-brand-yellow) !important;
    border: 2px solid #c9a227 !important;
    color: var(--brand-dark-blue) !important;
    border-radius: 6px;
    letter-spacing: 0.5px;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 204, 0, 0.35);
}

.quick-enquiry-submit:hover {
    background-color: #e6b800 !important;
    border-color: #b8941f !important;
    color: var(--brand-dark-blue) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 204, 0, 0.45);
}

.quick-enquiry-map {
    min-height: 520px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 18, 51, 0.12);
    border: 2px solid #c9a227;
}

@media (max-width: 991.98px) {
    .quick-enquiry-map {
        min-height: 360px;
    }

    .quick-enquiry-title {
        font-size: 1.65rem;
    }
}

/* testimonial */
/* Testimonial Section Main Wrapper with Background Overlay */
.testimonial-section {
    overflow-hidden: hidden;
    width: 100%;
}

/* Images screen size ke hisab se scale honi chahiye */
.student-img-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Agar .testimonial-item ka koi fix width set kiya hai toh use auto/percentage pe karein */
.testimonial-item {
    width: 100%;
    box-sizing: border-box;
}

.testimonial-section {
    position: relative;
    z-index: 1;
    color: #ffffff;
    padding: 80px 0;
    background-color: #0b2240;
    background-image: linear-gradient(rgba(11, 34, 64, 0.92), rgba(11, 34, 64, 0.92)), url('images/testibg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: auto;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #000000d5;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: inline-block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #151212;
    margin-bottom: 50px;
}


.testimonial-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
}


.student-img-container {
    position: relative;
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    margin-right: 25px;
}

.student-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;

}

/* Yellow Quote Badge */
.quote-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: #ffb703;
    /* Bright Yellow/Orange tone */
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-family: Georgia, serif;
    padding-top: 8px;

}


.testimonial-text {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 15px;
    text-align: left;
}

.student-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.student-course {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
    margin-bottom: 0;
}

/* Custom Dots / Indicators Styling */
.custom-carousel-indicators {
    position: relative;
    margin-top: 40px;
    margin-bottom: 0;
    gap: 8px;
}

.custom-carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.4;
    border: none;
    transition: all 0.3s ease;
}

.custom-carousel-indicators .active {
    opacity: 1;
    background-color: #ffb703;
    /* Active dot becomes yellow */
    transform: scale(1.2);
}

@media (max-width: 767.98px) {
    .testimonial-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .student-img-container {
        margin-right: 0;
        margin-bottom: 25px;
    }

    .testimonial-text {
        text-align: center;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }
}

/* swiper gallery */
.logo-marquee-section {
    
    width: 100%;
    overflow: hidden;
}


.logo-marquee-section {
    
    width: 100%;
    overflow: hidden;
}

/* Logos Wrapper */
.logo-ticker-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    cursor: grab;

}


.logo-ticker-swiper .swiper-slide:active {
    cursor: grabbing;
}

.logo-ticker-swiper .swiper-slide img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;

    transition: all 0.3s ease;
}

.logo-ticker-swiper .swiper-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-ticker-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.logo-ticker-swiper.swiper-free-mode > .swiper-wrapper {
    transition-timing-function: linear !important;
}


.logo-ticker-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;

}

.logo-ticker-swiper .swiper-slide img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;


}

/* footer css */

.footer-section {
    background: #032a57;
    padding: 45px 0 0;
    color: #fff;
}

.footer-logo {
    width: 85px;
    margin-bottom: 25px;
}



.footer-heading {
    font-size: 22px;
    /* PEHLE 42px THA */
    font-weight: 700;
    margin-bottom: 28px;
    color: #fff;
}

.footer-links li a {
    text-decoration: none;
    color: #f1f1f1;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #e7ea19;
    transform: translateX(6px);
}



.footer-contact p {
    transition: 0.3s;
}

.footer-contact p:hover {
    color: #e7ea19;
}



.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}



.footer-social a:nth-child(1):hover {
    background: #1877f2;
    color: #fff;
    transform: translateY(-5px);
}



.footer-social a:nth-child(2):hover {
    background: #e1306c;
    color: #fff;
    transform: translateY(-5px);
}



.footer-social a:nth-child(3):hover {
    background: #ff0000;
    color: #fff;
    transform: translateY(-5px);
}



.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    background: #1976d2;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 999;
    transition: 0.3s;
}

.scroll-top:hover {
    background: #0d47a1;
    color: #fff;
    transform: translateY(-5px);
}

.footer-about {
    font-size: 16px;
    /* PEHLE 20px THA */
    line-height: 38px;
    color: #f1f1f1;
    max-width: 320px;
}



.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 18px;
}

.footer-links li a {
    text-decoration: none;
    color: #f1f1f1;
    font-size: 16px;
    /* PEHLE 22px THA */
    transition: 0.3s;
}

.footer-links li a:hover {
    color: #e7ea19;
}



.footer-contact p {
    font-size: 16px;
    /* PEHLE 22px THA */
    line-height: 34px;
    color: #f1f1f1;
    margin-bottom: 16px;
}

.footer-social {
    margin-top: 25px;
}

.footer-social a {
    color: #fff;
    font-size: 22px;
    /* PEHLE 28px THA */
    margin-right: 18px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #4ea3ff;
}

.footer-bottom {
    background: #001f44;
    text-align: center;
    padding: 18px 10px;
    margin-top: 50px;
}

.footer-bottom p {
    margin: 0;
    font-size: 16px;
    color: #fff;
}


.scroll-top:hover {
    background: #0d47a1;
    color: #fff;
}

/* MOBILE */

@media(max-width:767px) {

    .footer-section {
        text-align: center;
    }

    .footer-heading {
        font-size: 24px;
    }

    .footer-about {
        max-width: 100%;
        line-height: 32px;
    }

}

/* translation script */

body > .skiptranslate,
body > .skiptranslate iframe,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner,
#goog-gt-tt,
.goog-te-balloon-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-menu-frame,
#google_element,
#google_element iframe {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: -9999px !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

iframe[id^=":"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

html {
    position: static !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: static !important;
    min-height: 100% !important;
}

body.translated-ltr,
body.translated-rtl,
html.translated-ltr,
html.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: static !important;
}


.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* end translation script */



/* director desk */

.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    align-items: center;
}

.breadcrumb-separator {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1;
}

.hero-btn-link {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(5px);

}

/* Home बटन पर माउस ले जाने (Hover) पर इफ़ेक्ट */
.hero-btn-link:hover {
    background-color: #ffffff;
    color: #111111 !important;
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);

}


.active-btn {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.3);
    /* थोड़ा ज़्यादा डार्क ताकि एक्टिव लगे */
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    cursor: default;

}

.page-hero-banner {
    background-size: cover;
    background-position: center 25% !important;
    background-repeat: no-repeat;
    padding: 80px 0;
    margin-top: 0 !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-banner > .container {
    margin-top: 0 !important;
}

/* मुख्य हेडिंग स्टाइल */
.hero-title {
    font-size: 2.8rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

/* बूटस्ट्रैप ब्रेडक्रंब का कस्टमाइजेशन */
.page-hero-banner .breadcrumb-item+.breadcrumb-item::before {
    color: #ffffff !important;
    opacity: 0.75;
}

.page-hero-banner .breadcrumb-item.active {
    opacity: 1;
    font-weight: 500;
}

@media (max-width: 768px) {
    .page-hero-banner {
        padding: 70px 0;
        background-position: center center !important;
    }

    .hero-title {
        font-size: 2rem;
    }
}


/* director desk message css */

/* ==========================================================================
   HOSTEL FACILITY PAGE STYLING (CARD + PARAGRAPH)
   ========================================================================== */


.hostel-main-title {
    color: #0b2545;
    font-size: 2.2rem;
}


.hostel-apply-card {
    background-color: #052648;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hostel-apply-card .card-heading {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
}

.hostel-apply-card .card-text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}


.btn-apply-now {
    background-color: #ffc107 !important;
    border: none;
    border-radius: 4px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-apply-now:hover {
    background-color: #e0a800 !important;
    transform: translateY(-2px);
}

.hostel-features-block {
    color: #333333;
    line-height: 1.6;
}

.hostel-features-block .intro-text {
    font-size: 1.05rem;
}

.features-heading {
    color: #111111;
    font-size: 1.2rem;
}


.features-list {
    list-style-type: none;

}

.features-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 1rem;
}


.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    color: #111111;
    font-size: 1.4rem;
    font-weight: bold;
}

.hostel-features-block .footer-text {
    font-style: italic;
    font-size: 1rem;
}


@media (max-width: 768px) {
    .hostel-main-title {
        font-size: 1.8rem;
    }

    .hostel-apply-card {
        padding: 30px 20px;
    }

    .hostel-apply-card .card-heading {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   SCHOLARSHIP FACILITY PAGE STYLING
   ========================================================================== */


.scholarship-main-title {
    color: #0b2545;
    font-size: 2.2rem;
}

.scholarship-apply-card {
    background-color: #052648;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.scholarship-apply-card .card-heading {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
}

.scholarship-apply-card .card-text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}


.scholarship-details-block {
    color: #333333;
    line-height: 1.6;
}

.scholarship-details-block .intro-text,
.scholarship-details-block .body-text,
.scholarship-details-block .footer-text {
    font-size: 1rem;
}

.section-subheading {
    color: #111111;
    font-size: 1.2rem;
    margin-top: 25px;
}


.scholarship-list {
    list-style-type: none;
}

.scholarship-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 1rem;
}


.scholarship-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    color: #111111;
    font-size: 1.4rem;
    font-weight: bold;
}


@media (max-width: 768px) {
    .scholarship-main-title {
        font-size: 1.8rem;
    }

    .scholarship-apply-card {
        padding: 30px 20px;
    }

    .scholarship-apply-card .card-heading {
        font-size: 1.5rem;
    }
}

/* end scholarship */


/* ==========================================================================
   GALLERY PAGE STYLING
   ========================================================================== */
.gallery-section {
    background-color: #f8f9fa;
}

.gallery-main-title {
    color: #0b2545;
}

.custom-gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    cursor: pointer;
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    padding: 6px;
    border: 1px solid #e2e8f0;
}

.gallery-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.gallery-hover-overlay {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background-color: rgba(11, 37, 69, 0.6);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.icon-circle {
    width: 55px;
    height: 55px;
    background-color: #ffffff;
    color: #0b2545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(0.7);
    transition: all 0.3s ease-in-out;
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-item:hover .icon-circle {
    transform: scale(1);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.lightbox-custom-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: #ffffff;
    color: #0b2545;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.lightbox-custom-close:hover {
    background-color: #0b2545;
    color: #ffffff;
    transform: scale(1.1);
}

.lightbox-body-wrapper img {
    width: 600px;
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border: 4px solid #ffffff;
    background-color: #fff;
}

@media (max-width: 992px) {
    .custom-gallery-grid {
        column-count: 2;
        column-gap: 15px;
    }

    .lightbox-custom-close {
        top: -45px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .custom-gallery-grid {
        column-count: 1;
    }
}

/* end gallery */

/* ==========================================================================
   Contact Us Page Styling
   ========================================================================== */
.contact-main-section {
    background-color: #ffffff;
}

.section-heading-title {
    color: #0b2545;
    font-size: 2.25rem;
    letter-spacing: -0.5px;
}

.section-desc-text {
    color: #4a5568;
    line-height: 1.65;
    font-size: 1.05rem;
}

.contact-link-text {
    color: #3182ce;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.contact-link-text:hover {
    color: #0b2545;
}

.contact-pure-text {
    color: #2d3748;
    font-size: 1.05rem;
    line-height: 1.5;
}

.contact-icon-box i {
    color: #3182ce;
    width: 24px;
    text-align: center;
}

.custom-map-heading {
    color: #0b2545;
    font-size: 1.6rem;
}

.contact-form-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0 !important;
}

.form-card-title {
    color: #0b2545;
    font-size: 2.1rem;
    letter-spacing: -0.5px;
}

.custom-input-field,
.custom-textarea-field {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: #1e293b;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.custom-input-field:focus,
.custom-textarea-field:focus {
    background-color: #ffffff;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
    outline: none;
}

.custom-textarea-field {
    resize: none;
}

.btn-custom-submit {
    background-color: #ffc107;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 6px rgba(255, 193, 7, 0.2);
    transition: all 0.2s ease;
}

.btn-custom-submit:hover {
    background-color: #e0a800 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(224, 168, 0, 0.3);
}

.btn-custom-submit:active {
    transform: translateY(1px);
}

.embedded-map-container {
    border: 1px solid #e2e8f0 !important;
}

@media (max-width: 991px) {

    .section-heading-title,
    .form-card-title {
        font-size: 1.85rem;
    }
}

.contact-main-section {
    background-color: #ffffff;
}

.section-heading-title {
    color: #0b2545;
    font-size: 2.25rem;
    letter-spacing: -0.5px;
}

.section-desc-text {
    color: #4a5568;
    line-height: 1.65;
    font-size: 1.05rem;
}

.contact-link-text {
    color: #3182ce;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.contact-link-text:hover {
    color: #0b2545;
}

.contact-pure-text {
    color: #2d3748;
    font-size: 1.05rem;
    line-height: 1.5;
}

.contact-icon-box i {
    color: #3182ce;
    width: 24px;
    text-align: center;
}

.custom-map-heading {
    color: #0b2545;
    font-size: 1.6rem;
}

.contact-form-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0 !important;
}

.form-card-title {
    color: #0b2545;
    font-size: 2.1rem;
    letter-spacing: -0.5px;
}

.custom-input-field,
.custom-textarea-field {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: #1e293b;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.custom-input-field:focus,
.custom-textarea-field:focus {
    background-color: #ffffff;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
    outline: none;
}

.custom-textarea-field {
    resize: none;
}

.btn-custom-submit {
    background-color: #ffc107;
    color: #060606;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 6px rgba(255, 193, 7, 0.2);
    transition: all 0.2s ease;
}

.btn-custom-submit:hover {
    background-color: #081140 !important;
    transform: translateY(-1px);
    color: #fcf9f9;
    box-shadow: 0 6px 12px rgba(224, 168, 0, 0.3);
}

.btn-custom-submit:active {
    transform: translateY(1px);
}

.embedded-map-container {
    border: 1px solid #e2e8f0 !important;
}

@media (max-width: 991px) {

    .section-heading-title,
    .form-card-title {
        font-size: 1.85rem;
    }
}

/* end contact styles */

/* diploma in OT Technician */

.lang-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    cursor: pointer;
    font-weight: 500;
}

.overview-title {
    color: #1d70b8;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.content-heading {
    font-weight: 700;
    color: #000;
}

.content-text {
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

.course-detail-content.content-text ul,
.course-detail-content.content-text ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.course-detail-content.content-text li {
    margin-bottom: 0.5rem;
}

.course-detail-content figure.table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
}

.course-detail-content table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse !important;
    margin: 1rem 0 1.5rem;
    border: 1px solid #dee2e6 !important;
    table-layout: auto;
}

.course-detail-content table th,
.course-detail-content table td {
    border: 1px solid #dee2e6 !important;
    padding: 12px 15px !important;
    vertical-align: top;
    min-width: 80px;
    color: #333;
}

.course-detail-content table th {
    font-weight: 700;
    background-color: #f8f9fa;
    color: #000;
}

.course-detail-content .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
    width: 100%;
}

.course-detail-content table.custom-table {
    border-color: #eee;
}

.custom-table {
    border-color: #eee;
}

.custom-table th {
    font-weight: 700;
    color: #000;
    border-bottom-width: 1px;
    padding: 15px;
}

.custom-table td {
    padding: 15px;
    color: #333;
}

.btn-apply {
    background-color: #ffcc00;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.btn-apply:hover {
    background-color: #081140;
    color: white;
}

/* end diploma in OT Technician */

/* registration */

.form-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.section-header {
    background-color: #4a148c;
    /* Deep Purple theme */
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

label {
    color: #4a148c;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.required::after {
    content: "*";
    color: red;
    margin-left: 3px;
}

/* Matching background styling for text boxes and selects */
.form-control,
.form-select {
    background-color: #f1f1f1 !important;
    border: 1px solid #ccc !important;
    border-radius: 0px !important;
    /* Square edges matching original form */
    color: #333;
}

.form-control::placeholder {
    color: #666;
}

.photo-preview-box {
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    height: 160px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    overflow: hidden;
}

.photo-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Sahi aspect ratio me photo dikhane ke liye */
}

.table th {
    background-color: #4a148c !important;
    color: white !important;
    text-align: center;
    font-size: 0.9rem;
}

.btn-submit {
    background-color: #4a148c;
    color: white;
    padding: 8px 25px;
}

.btn-submit:hover {
    background-color: #380e6f;
    color: white;
}

/* end registration */


/* login page */
/* =========================
   LOGIN PAGE DESIGN
========================= */

.login-card {
    max-width: 1000px;
    width: 95%;
    margin: 0 auto 50px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.left-banner {
    background: #f5f5f5;
    min-height: 720px;
    border-right: 1px solid #d8d8d8;
    padding: 40px;
}

.institute-logo {
    width: 170px;
    max-width: 100%;
}

.left-banner p {
    font-size: 26px;
    margin-bottom: 10px;
}

.institute-title {
    font-size: 38px;
    font-weight: 700;
    color: #ff0000;
    line-height: 1.2;
    max-width: 450px;
}

.helpdesk-info {
    margin-top: 40px;
    font-size: 18px;
    line-height: 2;
}

.right-form {
    background: #f5f5f5;
    padding: 40px;
}

.form-title {
    text-align: center;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #111;
}

.form-control-custom {
    height: 56px;
    border-radius: 30px;
    border: 1px solid #cfcfcf;
    padding-left: 22px;
    font-size: 18px;
}

.form-control-custom:focus {
    border-color: #9dc0ff;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .15);
}

.password-group .form-control {
    border-radius: 30px 0 0 30px;
}

.password-toggle-btn {
    width: 60px;
    border: 1px solid #cfcfcf;
    border-left: none;
    background: #fff;
    border-radius: 0 10px 10px 0;
}

.error-note {
    color: red;
    font-size: 14px;
    margin-top: 8px;
}

.form-label-custom {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.captcha-display {
    min-height: 70px;
    background: #ececec;
    border: 1px solid #ccc;
    border-radius: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;
    font-weight: bold;
    color: #000;

    letter-spacing: 8px;
}

.btn-refresh {
    background: #6c757d;
    color: #fff;
    border: none;
    margin-top: 10px;
}

.btn-refresh:hover {
    background: #5b6167;
    color: #fff;
}

.btn-login1 {
    height: 60px;
    border-radius: 40px;
    border: none;
    background: #7da4eb;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.btn-login1:hover {
    background: #042247;
    color: #fff;
}

.footer-links a {
    color: #0047b3;
    font-size: 17px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Mobile */

@media (max-width: 991px) {

    .left-banner {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 30px 20px;
    }

    .right-form {
        padding: 25px;
    }

    .form-title {
        font-size: 32px;
    }

    .institute-title {
        font-size: 28px;
    }

    .captcha-display {
        font-size: 24px;
        letter-spacing: 6px;
    }
}

/* end login page */

/* FORGOT PASSWORD CSS */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}




.reset-container {
    width: 100%;
    max-width: 650px;
    background: #ffffff;
    padding: 40px;
    text-align: left;
}


.instruction-text {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}


.reset-form {
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.form-group label {
    font-weight: 600;
    color: #0d335d;
    font-size: 15px;
    margin-right: 15px;
    min-width: 150px;
}

.form-group input {
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    height: 40px;
    border: 1px solid #006dff;
    padding: 8px 12px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    border-color: #ffcc00;
}

/* Button */
.btn-submit {
    background-color: #ffcc00;
    color: #0d335d;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #051131;
}

/* Footer Links */
.form-footer {
    font-size: 15px;
    color: #0d335d;
    margin-top: 20px;
}

.footer-link {
    color: #0d335d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    text-decoration: underline;
}

.divider {
    color: #cccccc;
    margin: 0 8px;
}

/* end forgot pass */


/* user login   */
* {
    box-sizing: border-box;
}

.login-container {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    padding: 40px;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    width: 100%;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #0d335d;
    margin-bottom: 8px;
    text-align: left;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    max-width: 280px;
    height: 40px;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input.input-error {
    border: 1px solid #cc3333;
}

.checkbox-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-top: 4px;
    margin-bottom: 28px;
    width: 100%;
    max-width: 280px;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    margin: 0 12px 0 0;
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-row label {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #0d335d;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.btn-login2 {
    background-color: #ffcc00;
    color: #0d335d;
    border: none;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: block;
    margin-bottom: 24px;
    align-self: flex-start;
}

.btn-login2:hover {
    background-color: #051131;
    COLOR: #fff;
}

.form-footer {
    font-size: 15px;
    text-align: left;
    width: 100%;
}

.footer-link {
    color: #0d335d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    text-decoration: underline;
}

/* end user login */


/* aboutus page css */
/* Vibrant Canvas Background */
#nd-ambient-motion-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fc 100%);
}

.nd-hero-title {
    color: var(--nd-brand-primary);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
}

.nd-top-tagline {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.nd-main-editorial {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.nd-action-wa-trigger {
    background-color: var(--nd-brand-green);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.nd-action-wa-trigger:hover {
    background-color: #00a844;
    color: #ffffff;
}

.nd-visual-frame {
    position: relative;
    display: inline-block;
    width: 100%;
}

.nd-dot-grid-element {
    position: absolute;
    left: -35px;
    bottom: -55px;
    width: 220px;
    height: 240px;
    z-index: 1;
    background-image: radial-gradient(#a3b4d6 1.5px, transparent 1.5px);
    background-size: 11px 11px;
    opacity: 0.7;
}

.nd-showcase-img {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nd-pillars-layout {
    margin-top: 80px;
}

.nd-minimal-info-stack {
    background: transparent;
    border: none;
    padding: 10px;
}

.nd-serial-identifier {
    font-size: 3.5rem;
    color: #e0e0e0;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 15px;
}

.nd-block-header {
    color: var(--nd-brand-primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.nd-block-prose {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--nd-body-text);
}

.nd-statistics-strip {
    margin-top: 80px;
    background: linear-gradient(rgba(18, 30, 62, 0.88), rgba(18, 30, 62, 0.88)),
        url('images/aboutus2.jpg') no-repeat center center / cover;
    padding: 80px 0;
    color: #ffffff;
}

.nd-live-counter {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.nd-accent-separator {
    width: 45px;
    height: 3px;
    background-color: var(--nd-brand-yellow);
    margin: 12px auto;
}

.nd-counter-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.nd-faculty-wrapper {
    padding: 80px 0;
    background: transparent;
}

.nd-faculty-profile-card {
    border: none;
    border-radius: 0px;
    background: transparent;
    position: relative;
    margin-bottom: 50px;
}

.nd-avatar-container {
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.nd-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nd-badge-overlay {
    position: absolute;
    bottom: -25px;
    left: 5%;
    right: 5%;
    background-color: #ffffff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    z-index: 3;
}

.nd-professor-name {
    color: var(--nd-brand-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.nd-professor-role {
    color: #777777;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* end aboutus css */

/* WhatsApp floating button */
#whatsapp {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
}

#whatsapp .whtsapp {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#whatsapp .whtsapp:hover {
    color: #fff;
    background-color: #1ebe57;
    transform: scale(1.05);
}

#whatsapp .whtsapp::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation: whatsapp-pulse 1500ms ease-out infinite;
}

#whatsapp .whtsapp:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.45);
}

@keyframes whatsapp-pulse {
    0% {
        transform: translateX(-50%) translateY(-50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 767.98px) {
    #whatsapp {
        bottom: 85px;
        right: 16px;
    }

    #whatsapp .whtsapp {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    #whatsapp .whtsapp::before {
        width: 50px;
        height: 50px;
    }
}

/* photo gallery (albums) */
.photo-gallery-section {
    background: linear-gradient(135deg, #f8f9ff, #fff8f0);
}

.gallery-page-title h2 {
    font-size: 45px;
    font-weight: 800;
    color: #8b3d00;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.gallery-page-title h2:after {
    content: '';
    width: 90px;
    height: 5px;
    background: linear-gradient(to right, #ff9800, #ff5722);
    display: block;
    margin: 14px auto 0;
    border-radius: 50px;
}

.year-filter-box label {
    font-size: 20px;
    font-weight: 700;
    color: #c77700;
}

.year-filter-box select {
    border-radius: 12px;
    padding: 10px 18px;
    border: 2px solid #ffc107;
    font-weight: 600;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.album-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.album-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.album-img {
    position: relative;
    overflow: hidden;
}

.album-img img,
.gallery-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

.album-card:hover .album-img img {
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.video-gallery-overlay i {
    font-size: 2.5rem;
    color: #ff0000;
    background: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.video-gallery-card .album-content h4 {
    font-size: 1rem;
    line-height: 1.4;
}

.album-overlay i {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    color: #173375;
    line-height: 70px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.album-content {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.album-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.4;
}

.event-date {
    display: inline-block;
    padding: 7px 12px;
    background: linear-gradient(45deg, #2d6de9, #173375);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.4s;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.gallery-card .gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card .gallery-overlay i {
    width: 70px;
    height: 70px;
    background: #fff;
    color: #173375;
    border-radius: 50%;
    text-align: center;
    line-height: 70px;
    font-size: 28px;
}

.event-details-wrap {
    margin-bottom: 55px;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2d6de9, #173375);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
    box-shadow: 0 10px 25px rgb(34 112 255 / 48%);
}

.event-modern-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-radius: 7px;
    padding: 12px 10px 12px 56px;
    width: fit-content;
    min-width: 480px;
    max-width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.event-line {
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(135deg, #2d6de9, #173375);
}

.event-block:not(:last-child) {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

.event-heading {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
}

.event-value {
    font-size: 18px;
    font-weight: 500;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .gallery-page-title h2 {
        font-size: 30px;
    }

    .event-modern-card {
        width: 100%;
        min-width: auto;
        padding: 28px 25px 28px 60px;
    }

    .year-filter-box select {
        width: 100%;
    }
}

/* director / principal desk */
.desk-message-section {
    background: #fff;
}

.desk-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    text-transform: capitalize;
}

.desk-title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffcc99, #ee482c);
    margin-top: 8px;
    border-radius: 4px;
}

.desk-content-wrap {
    overflow: hidden;
}

.desk-photo-box {
    float: left;
    margin: 0 25px 15px 0;
}

.desk-photo {
    width: 350px;
    height: 350px;
    object-fit: cover;
    object-position: center top;
    border: 2px solid #ffcc99;
    display: block;
    border-radius: 4px;
}

.desk-message-text {
    text-align: justify;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.desk-quote {
    color: #222;
}

.desk-signature {
    margin-top: 25px;
    line-height: 1.6;
}

.desk-signature-right {
    float: right;
    text-align: right;
    clear: right;
    margin-top: 10px;
}

.desk-closing {
    font-size: 16px;
}

.desk-person-name {
    color: #833835 !important;
    font-size: 20px;
}

.desk-designation {
    font-size: 15px;
    color: #000;
}

.desk-institute {
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

@media (max-width: 767.98px) {
    .desk-photo-box {
        float: none;
        margin: 0 auto 20px;
        text-align: center;
    }

    .desk-photo {
        width: 100%;
        max-width: 350px;
        height: 320px;
        margin: 0 auto;
    }

    .desk-signature-right {
        float: none;
        text-align: left;
        margin-top: 25px;
    }
}

/* vision & mission pages */
.vm-page-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f4f7fc 100%);
}

.vm-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.vm-icon-badge-vision {
    background: linear-gradient(135deg, #2d6de9, #173375);
}

.vm-icon-badge-mission {
    background: linear-gradient(135deg, #c9a227, #e6b800);
    color: #001233;
}

.vm-tagline {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 8px;
}

.vm-main-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
    margin-bottom: 20px;
}

.vm-lead-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 16px;
}

.vm-body-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #555;
    text-align: justify;
}

.vm-visual-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 18, 51, 0.15);
    border: 3px solid #c9a227;
}

.vm-feature-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.vm-visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 35, 88, 0.92), transparent);
    color: #fff;
    padding: 30px 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.05rem;
}

.vm-visual-overlay i {
    font-size: 1.4rem;
    color: #ffcc00;
}

.vm-statement-card {
    background: linear-gradient(135deg, var(--nd-brand-primary) 0%, var(--brand-dark-blue) 100%);
    color: #fff;
    padding: 40px 36px;
    border-radius: 16px;
    position: relative;
    border: 2px solid #c9a227;
    box-shadow: 0 12px 32px rgba(0, 18, 51, 0.2);
}

.vm-statement-mission {
    background: linear-gradient(135deg, #001233 0%, #0d2358 100%);
}

.vm-quote-icon {
    font-size: 28px;
    color: #ffcc00;
    opacity: 0.7;
    margin-bottom: 16px;
}

.vm-statement-text {
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 500;
    max-width: 900px;
    margin: 0 auto;
}

.vm-section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #212529;
}

.vm-title-underline {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #ffcc00, #c9a227);
    border-radius: 4px;
    margin-top: 10px;
}

.vm-pillar-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 22px;
    height: 100%;
    text-align: center;
    border: 1px solid #e8ecf2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 18, 51, 0.12);
}

.vm-pillar-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef3ff, #dce8ff);
    color: #173375;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.vm-pillar-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
}

.vm-pillar-card p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 0;
}

.vm-highlight-box {
    background: #fff;
    border-left: 4px solid #c9a227;
    border-radius: 10px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.vm-highlight-box i {
    font-size: 28px;
    color: #173375;
    margin-bottom: 14px;
}

.vm-highlight-box h5 {
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.vm-highlight-box p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.vm-mission-item {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px 24px;
    height: 100%;
    position: relative;
    border: 1px solid #e8ecf2;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.vm-mission-item:hover {
    transform: translateY(-6px);
}

.vm-mission-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(23, 51, 117, 0.08);
    line-height: 1;
}

.vm-mission-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffcc00, #e6b800);
    color: #001233;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.vm-mission-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.vm-mission-item p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 0;
}

.vm-commitment-banner {
    background: linear-gradient(135deg, var(--nd-brand-primary), var(--brand-dark-blue));
    color: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    border: 2px solid #c9a227;
    box-shadow: 0 12px 30px rgba(0, 18, 51, 0.18);
}

.vm-commitment-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffcc00;
}

.vm-commitment-banner p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    font-size: 1rem;
}

.vm-cta-btn {
    display: inline-block;
    background: #ffcc00;
    color: #001233;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.vm-cta-btn:hover {
    background: #e6b800;
    color: #001233;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .vm-main-heading {
        font-size: 1.75rem;
    }

    .vm-feature-img {
        height: 300px;
    }

    .vm-statement-text {
        font-size: 1.05rem;
    }
}

/* website result page */
.website-result-section {
    background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%);
}

.result-fetch-card,
.result-student-card,
.result-preview-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 12px 32px rgba(0, 18, 51, 0.08);
    border: 1px solid #e8ecf2;
}

.result-page-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d2358, #001233);
    color: #ffcc00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.result-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.result-page-subtitle {
    color: #666;
    margin-bottom: 0;
}

.result-fetch-btn,
.result-download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffcc00, #e6b800);
    color: #001233;
    font-weight: 700;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-fetch-btn:hover,
.result-download-btn:hover {
    color: #001233;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.35);
}

.result-download-btn.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.result-section-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0d2358;
}

.result-info-box {
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-left: 4px solid #c9a227;
    border-radius: 10px;
    padding: 16px;
    height: 100%;
}

.result-info-label {
    display: block;
    font-size: 0.82rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.result-info-value {
    color: #212529;
    font-size: 1rem;
    line-height: 1.4;
}

.result-semester-select {
    border: 2px solid #c9a227;
    font-weight: 600;
}

.result-message-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #e8ecf2;
}

.result-preview-area {
    min-height: 420px;
    background: #f8fafc;
    border: 2px dashed #d7deea;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-preview-image {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.result-preview-frame {
    width: 100%;
    min-height: 420px;
    height: 600px;
    border: none;
}

.result-no-preview {
    text-align: center;
    color: #666;
    padding: 40px 20px;
}

.result-no-preview i {
    color: #0d2358;
}

/* flag banner popup */
.flag-banner-modal .modal-backdrop.show {
    opacity: 0.75;
}

.flag-banner-modal-dialog {
    max-width: min(920px, 94vw);
    margin: 1rem auto;
}

.flag-banner-modal-content {
    background: transparent;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.flag-banner-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.flag-banner-close-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.05);
}

.flag-banner-popup-img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    background: #fff;
}

.flag-banner-download-wrap {
    background: #fff;
    padding: 14px 16px 18px;
    border-top: 1px solid #eee;
}

.flag-banner-download-btn {
    min-width: 220px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 575.98px) {
    .flag-banner-modal-dialog {
        max-width: 96vw;
        margin: 0.5rem auto;
    }

    .flag-banner-close-btn {
        width: 34px;
        height: 34px;
        top: 8px;
        right: 8px;
    }

    .flag-banner-popup-img {
        max-height: 70vh;
    }

    .flag-banner-download-btn {
        width: 100%;
        min-width: unset;
    }
} 