/* Apply font globally */
body {
    font-family: 'Poppins', sans-serif;
}

/* ============================= */
/*         TOP HEADER            */
/* ============================= */
.top-header {
    background: linear-gradient(90deg, #1E045D 0%, #F80000 50%, #282DC7 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid #E80202;
    backdrop-filter: blur(10px);
}

/* Social Icons (Modern White) */
.top-header .social-icon {
    font-size: 20px;
    color: #ffffff !important;
    margin-right: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
}
.top-header .social-icon:hover {
    transform: scale(1.2) rotate(5deg);
    color: #E80202 !important;
}

/* Language Dropdown */
.lang-selector {
    min-width: 80px;
    border-radius: 999px;
    font-size: 13px;
    border: none;
    background-color: #ffffff;
    color: #1E045D;
    font-weight: 600;
    transition: all 0.3s ease;
}
.lang-selector:focus {
    box-shadow: 0 0 0 3px rgba(232, 2, 2, 0.2);
}

/* Marquee-like scrolling text */
.scrolling-text-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}
.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
    color: #ffffff;
}
.scrolling-text-container:hover .scrolling-text {
    animation-play-state: paused;
}
@keyframes scroll-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .scrolling-text {
        animation: none !important;
    }
}

/* Marquee Links */
.scrolling-text a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500;
}
.scrolling-text a:hover {
    color: #E80202 !important;
    text-decoration: none !important;
}

/* Quick Links */
.quick-links {
    white-space: nowrap;
    font-size: 13.5px;
    flex-wrap: nowrap;
    flex-direction: row !important;
}
.quick-links a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}
.quick-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0%;
    height: 2px;
    background: #E80202;
    transition: width 0.3s ease;
}
.quick-links a:hover {
    color: #E80202;
}
.quick-links a:hover::after {
    width: 100%;
}

/* Admission Button */
.admission-btn {
    background-color: #E80202;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.admission-btn:hover {
    background-color: #c70000;
}

/* ============================= */
/*         MAIN HEADER           */
/* ============================= */
.main-header {
    background-color: #ffffff;
    border-bottom: 2px solid #E80202;
    text-align: center;
}

/* College Logo */
.college-logo {
    max-height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
@media (max-width: 576px) {
    .college-logo {
        max-height: 60px;
    }
}

/* Contact Us Button */
.contact-btn {
    background-color: #E80202;
    color: #ffffff;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.contact-btn:hover {
    background-color: #c70000;
}

/* ============================= */
/*        NAVIGATION BAR         */
/* ============================= */
.custom-navbar {
    background-color: #1D035C;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
/* Sticky behavior on scroll up/down */
.custom-navbar.sticky-visible {
    transform: translateY(0);
}
.custom-navbar.sticky-hidden {
    transform: translateY(-100%);
}

.custom-navbar .nav-link {
    color: #ffffff !important;
    padding: 12px 18px;
    margin: 0 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
}
.custom-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0%;
    height: 2px;
    background: #E80202;
    transition: width 0.3s ease;
}
.custom-navbar .nav-link:hover::after {
    width: 100%;
}
.custom-navbar .nav-link:hover,
.custom-navbar .dropdown-item:hover {
    color: #E80202 !important;
    background-color: rgba(255, 255, 255, 0.1);
}
.custom-navbar .nav-link.active {
    background-color: #E80202 !important;
    color: #ffffff !important;
}

/* Dropdown Menus */
.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: #1E045D;
    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");
}


/* ============================= */
/*        Slider Section         */
/* ============================= */

.banner-img {
    height: 600px;
    width: 100%;
    object-fit: cover;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    transition: transform 6s ease;
}

/* Zoom animation on active slide */
.carousel-item.active .banner-img {
    transform: scale(1.05);
}

/* Carousel container styling */
.carousel-inner {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Gradient overlay (optional) */
.carousel-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* Caption Style (if used) */
.carousel-caption {
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Controls (modern blur + glow) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    padding: 12px;
    background-size: 60% 60%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Hide arrows on mobile */
@media (max-width: 767.98px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .banner-img {
        height: 400px;
    }
}
@media (max-width: 576px) {
    .banner-img {
        height: 280px;
    }
}


/* ============================= */
/*         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 STYLE    */
/* ============================= */

.principal-desk {
    background: linear-gradient(to bottom right, #f1f4ff, #ffffff);
}

.principal-photo-wrapper {
    padding: 6px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1E045D, #E80202);
    display: inline-block;
}

.principal-photo {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1E045D;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 25px;
    border-bottom: 3px solid #E80202;
}

.principal-message {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    position: relative;
}

.principal-message p {
    margin-bottom: 1rem;
}

.quote-icon {
    font-size: 3rem;
    position: absolute;
    top: -15px;
    left: -15px;
    color: #E80202;
    opacity: 0.2;
}

.principal-name {
    font-size: 18px;
    font-weight: 600;
    color: #1E045D;
    line-height: 1.4;
}

/* Fade-in animation from JS */
.principal-desk .row {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.principal-desk .row.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glowing effect for quote icon */
.quote-icon.glow {
    color: #E80202;
    text-shadow: 0 0 10px #E80202, 0 0 20px #E80202;
}

.designation {
    font-size: 16px;
    font-weight: 500;
    color: #888;
}

.typed-name {
    display: inline-block;
    min-height: 22px; /* Keeps layout stable while typing */
}

/* ============================= */
/*         ABOUT SECTION         */
/* ============================= */

.about-section {
    background-color: #FDFFF9;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1E045D;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #F00203;
    border-radius: 2px;
}

.about-card {
    background: #ffffff;
    border-radius: 18px;
    border-left: 5px solid #1E045D;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.icon-style {
    font-size: 36px;
    flex-shrink: 0;
}

.about-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1E045D;
    text-transform: capitalize;
}

.about-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    text-align: justify;
    margin: 0;
}

/* Scroll Animation */
.animate-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.enhanced-notice-card {
    border-left: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #f7f8ff);
    box-shadow: 0 0 20px rgba(63, 67, 152, 0.1);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.enhanced-notice-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(63,67,152,0.2), transparent);
    animation: glow-pulse 5s linear infinite;
    z-index: 0;
}

.notice-title {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px dashed #1E045D;
    padding-bottom: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #1E045D;
}

.notice-scroll {
    max-height: 220px;
    overflow: hidden;
    position: relative;
}

.notice-list {
    will-change: transform;
    transition: transform 0.2s linear;
}

.notice-list li {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px dashed #bbb;
    transition: background 0.3s ease;
}

.notice-list li:hover {
    background: #f1f1f9;
    border-radius: 6px;
}

.notice-list li a {
    text-decoration: none;
    color: #3a3a3a;
    display: block;
    transition: all 0.3s ease;
}

.notice-list li a:hover {
    color: #E80202;
    font-weight: 500;
}

@keyframes glow-pulse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ============================= */
/*       WHY CHOOSE US STYLES   */
/* ============================= */

.why-choose-us {
    background: linear-gradient(135deg, #fdfff9 0%, #f1f1f1 100%);
    position: relative;
}

.why-choose-us .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1E045D;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    border-bottom: 3px solid #F00203;
    animation: slideInDown 1s ease;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 16px;
    transition: all 0.4s ease;
    border-top: 5px solid #1E045D;
    padding: 30px 20px;
}

.feature-card:hover {
    background-color: #1E045D;
    color: #ffffff;
    transform: translateY(-8px) scale(1.02);
}

.feature-card:hover .feature-icon {
    color: #F00203;
    transform: rotate(10deg);
}

.feature-icon {
    font-size: 40px;
    color: #1E045D;
    transition: all 0.3s ease;
}

.feature-card h5 {
    color: #1E045D;
    font-size: 20px;
}

.feature-card:hover h5 {
    color: #ffffff;
}

.invisible {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================= */
/*        OUR MENTORS           */
/* ============================= */

.mentors-section {
    background: linear-gradient(145deg, #f1f4ff, #ffffff);
    position: relative;
}

.mentors-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1E045D;
    border-bottom: 3px solid #F00203;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

.mentor-card {
    background: #fff;
    border-radius: 20px;
    transition: all 0.3s ease;
    border-top: 4px solid #1E045D;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.mentor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.15);
}

.mentor-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #1E045D;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mentor-img:hover {
    transform: scale(1.05);
}

.mentor-name {
    font-size: 18px;
    font-weight: 700;
    color: #1E045D;
    margin-bottom: 6px;
}

.mentor-title {
    font-size: 14px;
    color: #555;
}

/* Image Modal */
.mentor-img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}

.mentor-img-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 500px;
    width: 80%;
    border-radius: 12px;
}

.mentor-img-modal .close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Fade-in on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================= */
/*       GALLERY SECTION         */
/* ============================= */

.gallery-section {
    background: linear-gradient(to right, #fdfbfb, #ebedee);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 16px;
    height: 230px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 16px;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.07);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(63, 67, 152, 0.6);
    width: 100%;
    height: 100%;
    opacity: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.view-more-btn {
    background: linear-gradient(45deg, #1E045D, #E80202);
    color: #fff;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-more-btn:hover {
    background: linear-gradient(45deg, #E80202, #1E045D);
}


/* ============================= */
/*         CONTACT SECTION       */
/* ============================= */
/* CONTACT SECTION */
.contact-section {
    background: linear-gradient(145deg, #f0f4ff, #ffffff);
}

.contact-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1E045D;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    border: none;
}

.contact-section .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 80px;
    background: #E80202;
    border-radius: 10px;
}

.contact-form-card {
    background-color: #ffffff;
    border-radius: 16px;
    border-left: 6px solid #1E045D;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-form-card:hover {
    transform: translateY(-5px);
}

.contact-form-card .form-control {
    border-radius: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    padding: 12px 15px;
    transition: border-color 0.3s;
}

.contact-form-card .form-control:focus {
    border-color: #1E045D;
    box-shadow: 0 0 0 2px rgba(63,67,152,0.2);
}

.contact-submit-btn {
    background: linear-gradient(to right, #1E045D, #E80202);
    color: #fff;
    font-weight: bold;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background: #2f307e;
}

.map-container {
    height: 100%;
    min-height: 360px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/* ============================= */
/*           FOOTER             */
/* ============================= */

.footer-section {
    background-color: #1E045D;
    color: #ffffff;
    font-size: 14.5px;
    line-height: 1.8;
    position: relative;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    border-bottom: 2px solid #E80202;
    display: inline-block;
    padding-bottom: 6px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #E80202;
    padding-left: 4px;
}

.footer-contact i {
    color: #E80202;
}

.social-icons a {
    display: inline-block;
    color: #ffffff;
    font-size: 20px;
    margin-right: 14px;
    transition: all 0.3s ease;
    transform: scale(1);
}

.social-icons a:hover {
    color: #E80202;
    transform: scale(1.2);
}

.footer-bottom {
    font-size: 13px;
    padding-bottom: 10px;
    color: #dddddd;
    position: relative;
}

.visitor-count {
    color: #ffffff;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.scroll-top-footer {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #ffffff;
    background: #E80202;
    padding: 5px 12px;
    border-radius: 20px;
    transition: background 0.3s;
    text-decoration: none;
}

.scroll-top-footer:hover {
    background: #ffffff;
    color: #E80202;
}

/* ============================= */
/*           PRELOADER           */
/* ============================= */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1E045D;
    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 #E80202;
    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; }
}

/* ============================= */
/*    MODERN NOTIFICATION POPUP */
/* ============================= */

.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1049;
}

.notification-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 12px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    z-index: 1050;
    display: block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.4s ease-in-out;
}

.notification-popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.popup-content {
    padding: 25px 20px 20px;
    position: relative;
    font-size: 15px;
    color: #444;
    text-align: center;
}

.popup-title {
    color: #1E045D;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: #E80202;
    cursor: pointer;
    font-weight: bold;
}


/* ============================= */
/*       SCROLL TO TOP BTN       */
/* ============================= */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #1E045D;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: #E80202;
}

/* ============================= */
/*      Contact Us page          */
/* ============================= */

.contact-page-section {
    background-color: #f8faff;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1E045D;
    border-bottom: 2px solid #E80202;
    display: inline-block;
    padding-bottom: 6px;
}

.contact-form-card {
    background-color: #ffffff;
    border-radius: 12px;
    border-left: 5px solid #1E045D;
}

.contact-form-card .form-control {
    border-radius: 8px;
    font-size: 14.5px;
    box-shadow: none;
}

.contact-submit-btn {
    background-color: #1E045D;
    color: #ffffff;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
}

.contact-submit-btn:hover {
    background-color: #E80202;
}

.info-map-card {
    border-left: 5px solid #1E045D;
    border-radius: 12px;
}

.map-container {
    height: 100%;
    min-height: 360px;
    border: 5px solid #1E045D;
    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: #1E045D;
}

.policy-card ul {
    padding-left: 20px;
}

.policy-card ul li {
    margin-bottom: 8px;
}

.page-header {
    background: linear-gradient(135deg, #1E045D, #4a50a8);
    color: #ffffff;
}

/* ============================= */
/*     Staff Page Styles         */
/* ============================= */

.staff-header {
    background: linear-gradient(135deg, #1E045D, #1c1f70);
    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: #1E045D;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-divider {
    width: 60px;
    height: 4px;
    margin: 0 auto;
    background-color: #E80202;
    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: #1E045D;
    margin-bottom: 5px;
}

.staff-title {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.cv-btn {
    background-color: #E80202;
    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: #c40000;
}