/* Apply font globally */
body {
    font-family: 'Poppins', sans-serif;
}

/* ============================= */
/*         MAIN HEADER          */
/* ============================= */

.main-header {
    background-color: #fdfdfd;
    border-bottom: 2px solid #E80202;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* College Logo */
.college-logo {
    max-height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .college-logo {
        max-height: 50px;
    }
}

/* Header Right Buttons */
.header-right-buttons a {
    margin-left: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Contact Us Button */
.contact-btn {
    background-color: #0E2B86;
    color: #ffffff;
    border: none;
}

.contact-btn:hover {
    background-color: #FFC52D;
    color: #0E2B86;
}

/* Top Header Menu Link */
.top-header-link {
    background-color: transparent;
    color: #3F4398;
    border: 1px solid #3F4398;
}

.top-header-link:hover {
    background-color: #0E2B86;
    color: #FFC52D;
}

/* Admission Button (if menu->is_button = true) */
.admission-btn {
    background-color: #3F4398;
    color: #ffffff;
    border: none;
}

.admission-btn:hover {
    background-color: #E80202;
    color: #ffffff;
}

/* ============================= */
/*        NAVIGATION BAR        */
/* ============================= */


/* NAVIGATION BAR — sticky */
.custom-navbar {
    position: sticky;
    top: 0;
    z-index: 1020; /* stays on top of all content */
    background-color: #0E2B86;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-navbar .nav-link {
    color: #ffffff !important;
    padding: 12px 18px;
    margin: 0 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.custom-navbar .nav-link:hover,
.custom-navbar .dropdown-item:hover {
    color: #FFC52D !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-navbar .nav-link.active {
    background-color: #FFC52D !important;
    color: #0E2B86 !important;
}

.custom-navbar .dropdown-menu {
    background-color: #ffffff;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    padding: 10px 0;
}

.custom-navbar .dropdown-item {
    color: #3F4398;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

/* Nested Dropdowns */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    margin-top: -6px;
    display: none;
    position: absolute;
    border-radius: 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Toggler styles for mobile */
.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================= */
/*        Banner Section         */
/* ============================= */

.banner-section {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden; /* keep overflow hidden */
}

/* Banner Image */
.banner-img {
    height: 600px;
    object-fit: cover;
    width: 100%;
    border-radius: 0; /* REMOVE rounded corners */
    position: relative;
}

/* Gradient Overlay on Banner */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index: 2;
    border-radius: 0; /* REMOVE rounded corners */
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    padding: 10px;
    background-size: 60% 60%;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #E80202;
}

/* Social Icons in Banner */
.banner-social-icons {
    top: 20px;
    right: 20px;
    z-index: 4;
    display: flex;
    gap: 12px;
}

.banner-social-icons .social-icon {
    font-size: 18px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px); /* subtle blur for glass effect */
}


.banner-social-icons .social-icon:hover {
    background-color: #E80202;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(232, 2, 2, 0.6);
}

/* Scrolling News Bar — Beautiful & Modern */
.scrolling-news {
    background-color: #FFC52D;
    border-top: 3px solid #0E2B86;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #0E2B86;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 0; /* You can set 10px if you want rounded */
}

.scrolling-text-wrapper {
    overflow: hidden;
    position: relative;
    flex-grow: 1;
}

/* Scrolling Text Animation */
.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 25s linear infinite;
    font-weight: 600;
    color: #0E2B86;
}


.latest-news-label {
    background-color: #0E2B86;
    color: #FFC52D;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.5px;
}




@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* Blue hoverable links */
.scrolling-news a {
    color: #3F4398;
    text-decoration: none;
    font-weight: 600;
    margin-right: 20px;
}

.scrolling-news a:hover {
    color: #E80202;
    text-decoration: underline;
}

/* Responsive adjustment */
@media (max-width: 767.98px) {
    .scrolling-news {
        font-size: 14px;
        padding: 10px 14px;
    }
}
/* Smooth scroll */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}



/* ============================= */
/*         RESPONSIVE FIXES      */
/* ============================= */

@media (max-width: 767.98px) {
    .college-logo {
        max-height: 60px;
    }

    .banner-img {
        height: 250px;
        border-radius: 12px;
    }

    .carousel-inner::after {
        border-radius: 12px;
    }
}

/* ============================= */
/*   PRINCIPAL'S DESK MODERN     */
/* ============================= */

.principal-desk-modern {
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* Section Title */
.principal-desk-modern .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #0E2B86;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid #FFC52D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Principal Photo - Circle */
.principal-photo-wrapper {
    display: inline-block;
    border: 6px solid #0E2B86;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.principal-photo-modern {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.principal-photo-modern:hover {
    transform: scale(1.05);
}

/* Principal Message - Blockquote */
.principal-quote {
    max-width: 800px;
    background: #ffffff;
    padding: 20px 30px;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    position: relative;
    border-left: 5px solid #FFC52D;
    margin-top: 30px;
    margin-bottom: 20px;
    font-style: italic;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.principal-quote .quote-icon {
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 48px;
    color: #0E2B86;
    opacity: 0.2;
}

/* Principal Name & Title */
.principal-name {
    font-size: 20px;
    font-weight: 700;
    color: #0E2B86;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.principal-title {
    font-size: 16px;
    color: #666;
    font-style: italic;
}


/* ============================= */
/*   ABOUT & WHY MODERN SECTION  */
/* ============================= */

.about-why-modern-section {
    background: linear-gradient(to bottom, #fdfdfd, #f7faff);
    padding-top: 60px;
    padding-bottom: 60px;
}

.about-why-modern-section .section-title {
    font-size: 34px;
    font-weight: 800;
    color: #0E2B86;
    border-bottom: 3px solid #FFC52D;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ABOUT LEFT */
.about-modern-left .about-main-title {
    font-size: 26px;
    font-weight: 700;
    color: #0E2B86;
}

.about-modern-left .about-main-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* MISSION & VISION CARDS */
.mission-vision-cards .mission-vision-card {
    background: #fff;
    border-left: 5px solid #FFC52D;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.mission-vision-cards .mission-vision-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.mission-vision-cards .icon-style {
    font-size: 32px;
}

/* WHY CHOOSE US */
.why-choose-modern h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #3F4398;
}

.why-feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    transition: all 0.4s ease;
    border-top: 4px solid #FFC52D;
    padding: 20px 15px;
}

.why-feature-card:hover {
    background-color: #0E2B86;
    color: #FFC52D;
    transform: translateY(-6px) scale(1.03);
}

.why-feature-card:hover .why-feature-icon i {
    color: #FFC52D;
    transform: scale(1.3);
}

.why-feature-icon {
    height: 60px;
    width: 60px;
    background-color: rgba(63, 67, 152, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #3F4398;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.why-feature-card h5 {
    color: #3F4398;
}

.why-feature-card:hover h5 {
    color: #ffffff;
}

.mission-vision-heading {
    color: #0E2B86;
    font-weight: 800;
    font-size: 18px;
    position: relative;
    padding-bottom: 4px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mission-vision-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #FFC52D;
    border-radius: 2px;
}

.section-sub-heading {
    color: #0E2B86;
    font-weight: 800;
    font-size: 24px;
    position: relative;
    padding-bottom: 6px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.section-sub-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #FFC52D;
    border-radius: 2px;
}

/* ============================= */
/*    NOTICE SECTION MODERN      */
/* ============================= */

.notice-section-modern {
    background: linear-gradient(to bottom, #fdfdfd, #f7faff);
    padding-top: 60px;
    padding-bottom: 60px;
}

.notice-modern-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.notice-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.notice-card-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Scroll area */
.notice-modern-scroll {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom scrollbar */
.notice-modern-scroll::-webkit-scrollbar {
    width: 6px;
}

.notice-modern-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.notice-modern-scroll::-webkit-scrollbar-thumb {
    background: #0E2B86;
    border-radius: 6px;
}

.notice-modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-modern-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
    transition: background-color 0.3s ease;
}

.notice-modern-list li:last-child {
    border-bottom: none;
}

.notice-modern-list li a {
    text-decoration: none;
    color: #0E2B86;
    font-size: 15px;
    font-weight: 600;
    display: block;
    transition: color 0.3s, transform 0.3s;
}

.notice-modern-list li a:hover {
    color: #E80202;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 767.98px) {
    .notice-card-header {
        justify-content: center;
        text-align: center;
    }

    .notice-modern-scroll {
        max-height: 200px;
    }
}

/* ============================= */
/*       OUR MENTORS MODERN      */
/* ============================= */

/* ============================= */
/*       OUR MENTORS MODERN      */
/*        LIST LAYOUT STYLE      */
/* ============================= */

.mentors-section-modern {
    background: linear-gradient(to bottom, #fdfdfd, #f1f4ff);
    padding-top: 60px;
    padding-bottom: 60px;
}

.mentors-section-modern .section-sub-heading {
    font-size: 32px;
    font-weight: 800;
    color: #0E2B86;
    border-bottom: 3px solid #FFC52D;
    display: inline-block;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mentor List Wrapper */
.mentor-list-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Mentor List Item */
.mentor-list-item {
    background-color: #ffffff;
    border-radius: 12px;
    transition: all 0.4s ease;
    border-left: 5px solid #0E2B86;
    padding: 15px 20px;
}

.mentor-list-item:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Mentor Photo (List style) */
.mentor-list-photo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #FFC52D;
    transition: transform 0.4s ease;
}

.mentor-list-photo img:hover {
    transform: scale(1.05);
}

/* Mentor Name */
.mentor-name-modern {
    font-size: 20px;
    font-weight: 700;
    color: #0E2B86;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mentor Title */
.mentor-title-modern {
    font-size: 15px;
    color: #555;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 767.98px) {
    .mentor-list-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .mentor-list-photo {
        margin-bottom: 12px;
    }
}


/* ============================= */
/*     GALLERY SECTION MODERN    */
/* ============================= */

.gallery-section-modern {
    background: linear-gradient(to bottom, #fdfdfd, #f1f4ff);
    padding-top: 60px;
    padding-bottom: 60px;
}

.gallery-section-modern .section-sub-heading {
    font-size: 32px;
    font-weight: 800;
    color: #0E2B86;
    border-bottom: 3px solid #FFC52D;
    display: inline-block;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Masonry Grid */
.gallery-grid {
    column-count: 3;
    column-gap: 16px;
}

@media (max-width: 992px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        column-count: 1;
    }
}

/* Gallery Item */
.gallery-item-modern {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 15px;
    margin-bottom: 16px;
    display: inline-block;
    width: 100%;
    transition: all 0.3s ease;
}

.gallery-img-modern {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item-modern:hover .gallery-img-modern {
    transform: scale(1.05);
}

/* Overlay Modern */
.overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(14,43,134,0.4), rgba(255,197,45,0.6));
    width: 100%;
    height: 100%;
    opacity: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.gallery-item-modern:hover .overlay-modern {
    opacity: 1;
}

/* View More Button */
.view-more-btn-modern {
    background: linear-gradient(to right, #FFC52D, #0E2B86);
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    text-decoration: none;
    transition: all 0.4s ease;
}

.view-more-btn-modern:hover {
    background: linear-gradient(to right, #0E2B86, #FFC52D);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* ============================= */
/*      CONTACT SECTION MODERN   */
/* ============================= */

.contact-section-modern {
    background: linear-gradient(to bottom, #fdfdfd, #f1f4ff);
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-section-modern .section-sub-heading {
    font-size: 32px;
    font-weight: 800;
    color: #0E2B86;
    border-bottom: 3px solid #FFC52D;
    display: inline-block;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Form Card */
.contact-modern-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border-left: 5px solid #0E2B86;
    transition: all 0.4s ease;
}

.contact-modern-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

/* Form Inputs */
.contact-modern-card .form-control {
    border-radius: 10px;
    font-size: 15px;
    box-shadow: none;
    border: 1px solid #ccc;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-modern-card .form-control:focus {
    border-color: #0E2B86;
    box-shadow: 0 0 0 3px rgba(14,43,134,0.1);
}

/* Submit Button */
.contact-submit-btn-modern {
    background: linear-gradient(to right, #FFC52D, #0E2B86);
    color: #ffffff;
    font-weight: 700;
    padding: 12px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

.contact-submit-btn-modern:hover {
    background: linear-gradient(to right, #0E2B86, #FFC52D);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Map Panel */
.map-modern-container {
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #FFC52D;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}

.map-modern-container:hover {
    transform: translateY(-3px);
}


/* ============================= */
/*         FOOTER MODERN         */
/* ============================= */

.footer-section-modern {
    background: linear-gradient(to right, #0E2B86, #3F4398);
    color: #ffffff;
    font-size: 14.5px;
    line-height: 1.8;
    padding-top: 60px;
    padding-bottom: 30px;
}

.footer-logo {
    max-height: 60px;
}

.footer-about-text {
    font-size: 14px;
    color: #dddddd;
}

.footer-heading-modern {
    font-size: 16px;
    font-weight: 700;
    color: #FFC52D;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FFC52D;
}

.footer-contact i {
    color: #FFC52D;
    font-size: 16px;
    vertical-align: middle;
}

/* Social Icons */
.social-icons-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 18px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons-modern a:hover {
    background-color: #FFC52D;
    color: #0E2B86;
}

/* Footer Bottom */
.footer-bottom-modern {
    font-size: 13.5px;
    color: #cccccc;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.visitor-count-modern {
    color: #FFC52D;
    font-weight: 600;
}


/* ============================= */
/*           PRELOADER           */
/* ============================= */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0E2B86;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner-wrapper {
    text-align: center;
    color: #ffffff;
}

.preloader-logo {
    max-width: 80px;
    animation: pulse 1.5s infinite;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ffffff;
    border-top: 4px solid #FFC52D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

/* ============================= */
/*     NOTIFICATION POPUP MODERN */
/* ============================= */

.notification-popup-modern {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border-left: 6px solid #FFC52D;
    z-index: 1050;
    display: none;
    animation: popupSlideIn 0.6s ease forwards;
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    overflow: hidden;
    padding: 20px;
}

/* Inner Content */
.popup-content-modern {
    position: relative;
    font-size: 14.5px;
    color: #333;
}

/* Close Button */
.popup-close-modern {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(232, 2, 2, 0.1);
    border: none;
    font-size: 18px;
    color: #E80202;
    cursor: pointer;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.popup-close-modern:hover {
    background: rgba(232, 2, 2, 0.2);
}

/* Icon */
.popup-icon-modern {
    font-size: 32px;
    color: #0E2B86;
    text-align: center;
}

/* Title */
.popup-title-modern {
    color: #0E2B86;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Message Text */
.popup-text-modern {
    font-size: 14.5px;
    line-height: 1.7;
    color: #555;
    text-align: center;
    margin-bottom: 10px;
}

/* Link Button */
.popup-link-btn-modern {
    background: linear-gradient(to right, #FFC52D, #0E2B86);
    color: #ffffff;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.popup-link-btn-modern:hover {
    background: linear-gradient(to right, #0E2B86, #FFC52D);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Slide in Animation */
@keyframes popupSlideIn {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}


/* ============================= */
/*       SCROLL TO TOP MODERN    */
/* ============================= */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #FFC52D;
    border: 2px solid #FFC52D;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.4s ease;
    animation: scrollBtnFadeIn 0.6s ease forwards;
}

.scroll-top-btn:hover {
    background: linear-gradient(to right, #FFC52D, #0E2B86);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* Entrance animation */
@keyframes scrollBtnFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ============================= */
/*      Contact Us page          */
/* ============================= */

.contact-page-section {
    background-color: #f8faff;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #0E2B86;
    border-bottom: 2px solid #FFC52D;
    display: inline-block;
    padding-bottom: 6px;
}

.contact-form-card {
    background-color: #ffffff;
    border-radius: 12px;
    border-left: 5px solid #0E2B86;
}

.contact-form-card .form-control {
    border-radius: 8px;
    font-size: 14.5px;
    box-shadow: none;
}

.contact-submit-btn {
    background-color: #0E2B86;
    color: #ffffff;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
}

.contact-submit-btn:hover {
    background-color: #FFC52D;
}

.info-map-card {
    border-left: 5px solid #0E2B86;
    border-radius: 12px;
}

.map-container {
    height: 100%;
    min-height: 360px;
    border: 5px solid #0E2B86;
    border-radius: 12px;
    overflow: hidden;
}

/* ============================= */
/*     PRIVACY POLICY PAGE       */
/* ============================= */

.privacy-policy-section {
    background-color: #f9f9f9;
    font-size: 15px;
    line-height: 1.8;
}

.policy-card h2,
.policy-card h4 {
    font-weight: 700;
    color: #0E2B86;
}

.policy-card ul {
    padding-left: 20px;
}

.policy-card ul li {
    margin-bottom: 8px;
}

.page-header {
    background: linear-gradient(135deg, #0E2B86, #4a50a8);
    color: #ffffff;
}

/* ============================= */
/*     Staff Page Styles         */
/* ============================= */

.staff-header {
    background: linear-gradient(135deg, #3F4398, #0E2B86);
    color: white;
}

.staff-header h1 {
    font-size: 3rem;
    letter-spacing: 0.5px;
}

.staff-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Category Title */
.staff-category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0E2B86;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-divider {
    width: 60px;
    height: 4px;
    margin: 0 auto;
    background-color: #FFC52D;
    border-radius: 10px;
}

/* Staff Card */
.staff-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.staff-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.staff-card:hover .staff-img {
    transform: scale(1.05);
}

.staff-name {
    font-size: 1rem;
    font-weight: 600;
    color: #0E2B86;
    margin-bottom: 5px;
}

.staff-title {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.cv-btn {
    background-color: #FFC52D;
    color: white;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cv-btn:hover {
    background-color: #FFC52D;
}