/* Apply font globally */
body {
    font-family: Georgia, 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: #1568c2;
    color: #ffffff;
    border: none;
}

.contact-btn:hover {
    background-color: #1568c2;
    color: #1568c2;
}

/* Top Header Menu Link */
.top-header-link {
    background-color: transparent;
    color: #1568c2;
    border: 1px solid #1568c2;
}

.top-header-link:hover {
    background-color: #1568c2;
    color: #1568c2;
}

/* 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: #1568c2;
    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: #1568c2 !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-navbar .nav-link.active {
    background-color: #FFF !important;
    color: #1568c2 !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: #1568c2;
    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: #1568c2;
    border-top: 3px solid #FF4B4B;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #FFF;
    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: #1568c2;
}


.latest-news-label {
    background-color: #FF4B4B;
    color: #fff;
    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: #FFF;
    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;
    }
}

/* =================================== */
/*     Redesigned - PRINCIPAL DESK    */
/* =================================== */

.principal-desk-modern {
    background: linear-gradient(135deg, #f1f4f9, #ffffff);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Section Title */
.principal-desk-modern .section-title {
    font-size: 36px;
    font-weight: 900;
    color: #2d3436;
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
}

.principal-desk-modern .section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 80px;
    height: 4px;
    background-color: #1568c2;
    border-radius: 2px;
}

/* Principal Photo - Modern Circle Frame */
.principal-photo-wrapper {
    display: inline-block;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e0e0e0, #ffffff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.principal-photo-wrapper:hover {
    transform: scale(1.05);
}

.principal-photo-modern {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1568c2;
}

/* Principal Message */
.principal-quote {
    max-width: 900px;
    margin: 40px auto 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    padding: 30px 40px;
    border-left: 5px solid #1568c2;
    border-radius: 12px;
    font-size: 1.05rem;
    color: #2f2f2f;
    line-height: 1.9;
    position: relative;
    font-style: italic;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.principal-quote:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

.principal-quote .quote-icon {
    position: absolute;
    top: -15px;
    left: -25px;
    font-size: 60px;
    color: #00cec9;
    opacity: 0.15;
}

/* Principal Name & Title */
.principal-name {
    font-size: 22px;
    font-weight: 800;
    color: #1568c2;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.principal-title {
    font-size: 16px;
    color: #636e72;
    font-style: italic;
}



/* ========================================= */
/*      Redesigned - ABOUT & WHY SECTION     */
/* ========================================= */

.about-why-modern-section {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    padding: 80px 0;
    position: relative;
}

.about-why-modern-section .section-title {
    font-size: 36px;
    font-weight: 900;
    color: #252b42;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    position: relative;
}

.about-why-modern-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #1568c2;
    border-radius: 2px;
}

/* ABOUT SECTION */
.about-modern-left .about-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #1568c2;
    margin-bottom: 15px;
}

.about-modern-left .about-main-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.9;
}

/* MISSION/VISION */
.mission-vision-cards .mission-vision-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.mission-vision-cards .mission-vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mission-vision-cards .icon-style {
    font-size: 28px;
    color: #00cec9;
}

.mission-vision-heading {
    font-size: 20px;
    font-weight: 700;
    color: #252b42;
}

/* WHY CHOOSE US */
.why-choose-modern {
    margin-top: 60px;
}

.why-choose-modern h3.section-sub-heading {
    color: #1568c2;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}

.why-choose-modern .section-sub-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 60px;
    height: 4px;
    background-color: #00cec9;
    border-radius: 2px;
}

.why-feature-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.why-feature-card:hover {
    background-color: #1568c2;
    color: #fff;
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 184, 148, 0.2);
}

.why-feature-icon {
    height: 60px;
    width: 60px;
    background-color: #f1f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: #1568c2;
    transition: all 0.3s ease;
}

.why-feature-card:hover .why-feature-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.1);
}

.why-feature-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #252b42;
}

.why-feature-card:hover h5 {
    color: #fff;
}

.why-feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}


/* =================================== */
/*       Redesigned - Notice Section   */
/* =================================== */

.notice-section-modern {
    background: linear-gradient(120deg, #f5faff, #ffffff);
    padding: 80px 0;
}

/* Title */
.notice-section-modern .section-sub-heading {
    font-size: 32px;
    font-weight: 900;
    color: #2d3436;
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
}

.notice-section-modern .section-sub-heading::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #1568c2;
    border-radius: 2px;
}

/* Notice Cards */
.notice-modern-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
}

.notice-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

/* Card Header */
.notice-card-header {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    font-size: 18px;
}

/* Scroll Area */
.notice-modern-scroll {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 8px;
    scroll-behavior: smooth;
}

/* Native scroll (top to bottom) */
.notice-modern-scroll::-webkit-scrollbar {
    width: 6px;
}

.notice-modern-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.notice-modern-scroll::-webkit-scrollbar-thumb {
    background: #1568c2;
    border-radius: 6px;
}

/* Notice List */
.notice-modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-modern-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #dcdcdc;
    transition: background-color 0.3s ease;
}

.notice-modern-list li:last-child {
    border-bottom: none;
}

.notice-modern-list li a {
    text-decoration: none;
    color: #2d3436;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.notice-modern-list li a:hover {
    color: #1568c2;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 767.98px) {
    .notice-card-header {
        justify-content: center;
        text-align: center;
    }

    .notice-modern-scroll {
        max-height: 220px;
    }
}




/* =================================== */
/*     Redesigned - OUR MENTORS       */
/* =================================== */

.mentors-section-modern {
    background: linear-gradient(135deg, #f5faff, #ffffff);
    padding: 90px 0;
}

.mentors-section-modern .section-sub-heading {
    font-size: 34px;
    font-weight: 900;
    color: #2d3436;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.mentors-section-modern .section-sub-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #1568c2;
    border-radius: 2px;
}

/* Mentor Grid */
.mentor-list-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Mentor Card */
.mentor-list-item {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #eaeaea;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    position: relative;
}

.mentor-list-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
    border-color: #1568c2;
}

/* Mentor Photo */
.mentor-list-photo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1568c2;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.mentor-list-photo img:hover {
    transform: scale(1.08);
}

/* Mentor Name */
.mentor-name-modern {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
}

/* Mentor Designation */
.mentor-title-modern {
    font-size: 14px;
    color: #636e72;
    font-style: italic;
}



/* ============================= */
/*     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: #1568c2;
    border-bottom: 3px solid #1568c2;
    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, #1568c2, #403768);
    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,#403768, #1568c2);
    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: #1568c2;
    border-bottom: 3px solid #1568c2;
    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 #1568c2;
    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: #00cec9;
    box-shadow: 0 0 0 3px rgba(14,43,134,0.1);
}

/* Submit Button */
.contact-submit-btn-modern {
    background: linear-gradient(to right, #1568c2, #403768);
    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,#403768, #1568c2);
    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 #1568c2;
    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, #050509, #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: #FFF;
    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: #1568c2;
}

.footer-contact i {
      color: #FFF;
    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: #1568c2;
    color: #1568c2;
}

/* 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: #FFF;
    font-weight: 600;
}


/* ============================= */
/*           PRELOADER           */
/* ============================= */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1568c2;
    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 #1568c2;
    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 #1568c2;
    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: #1568c2;
    text-align: center;
}

/* Title */
.popup-title-modern {
    color: #1568c2;
    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, #1568c2, #00b894);
    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, #00b894, #1568c2);
    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: #1568c2;
    border: 2px solid #1568c2;
    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, #1568c2, #00b894);
    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: #1568c2;
    border-bottom: 2px solid #1568c2;
    display: inline-block;
    padding-bottom: 6px;
}

.contact-form-card {
    background-color: #ffffff;
    border-radius: 12px;
    border-left: 5px solid #1568c2;
}

.contact-form-card .form-control {
    border-radius: 8px;
    font-size: 14.5px;
    box-shadow: none;
}

.contact-submit-btn {
    background-color: #1568c2;
    color: #ffffff;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
}

.contact-submit-btn:hover {
    background-color: #1568c2;
}

.info-map-card {
    border-left: 5px solid #1568c2;
    border-radius: 12px;
}

.map-container {
    height: 100%;
    min-height: 360px;
    border: 5px solid #1568c2;
    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: #1568c2;
}

.policy-card ul {
    padding-left: 20px;
}

.policy-card ul li {
    margin-bottom: 8px;
}

.page-header {
    background: linear-gradient(135deg, #00b894, #4a50a8);
    color: #ffffff;
}

/* ============================= */
/*     Staff Page Styles         */
/* ============================= */

.staff-header {
    background: linear-gradient(135deg, #3F4398, #00b894);
    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: #1568c2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-divider {
    width: 60px;
    height: 4px;
    margin: 0 auto;
    background-color: #1568c2;
    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: #1568c2;
    margin-bottom: 5px;
}

.staff-title {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.cv-btn {
    background-color: #1568c2;
    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: #1568c2;
}