/* Enhanced Footer Styles with Navy Blue and White Theme */

.footer-modern {
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 50%, #0F0F0F 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(27, 54, 93, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44, 82, 130, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 197, 176, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.footer-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.footer-brand {
    position: relative;
    z-index: 2;
}

.footer-title {
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-title i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(27, 54, 93, 0.3));
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 400;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.2), rgba(27, 54, 93, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(27, 54, 93, 0.3);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(27, 54, 93, 0.4);
    border-color: var(--primary-color);
}

.social-link:hover i {
    color: white;
}

.footer-links {
    position: relative;
    z-index: 2;
}

.footer-links-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.8rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0.3rem 0;
    font-weight: 500;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

.footer-link:hover::before {
    width: 100%;
}

.footer-contact {
    position: relative;
    z-index: 2;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    font-weight: 500;
}

.contact-item:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    margin-right: 0.8rem;
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(27, 54, 93, 0.3));
}

.footer-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(27, 54, 93, 0.3),
        rgba(27, 54, 93, 0.6),
        rgba(27, 54, 93, 0.3),
        transparent);
    margin: 3rem 0 2rem;
    border-radius: 2px;
}

.footer-copyright {
    position: relative;
    z-index: 2;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-badges {
    display: flex;
    justify-content: flex-end;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.15), rgba(27, 54, 93, 0.08));
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(27, 54, 93, 0.25);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.footer-badge:hover {
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.25), rgba(27, 54, 93, 0.15));
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 54, 93, 0.3);
}

.footer-badge i {
    color: var(--primary-color);
    font-size: 1rem;
    filter: drop-shadow(0 2px 4px rgba(27, 54, 93, 0.3));
}

/* Enhanced Navbar Styles */
.navbar.scrolling-navbar {
    transition: all 0.4s ease;
    backdrop-filter: blur(25px);
}

.navbar.scrolling-navbar.top-nav-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(27, 54, 93, 0.15);
    border-bottom: 2px solid rgba(27, 54, 93, 0.2);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-brand:hover {
    transform: scale(1.08);
}

.nav-link {
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 85%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.6rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.2);
}

.navbar-toggler.active {
    transform: rotate(90deg);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.navbar-toggler-icon i {
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 0.8rem 0;
    backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(27, 54, 93, 0.1);
}

.dropdown-item {
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0 0.8rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.1), rgba(27, 54, 93, 0.05));
    color: var(--primary-color);
    transform: translateX(5px);
}

.notifications-dropdown .dropdown-menu {
    min-width: 320px;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(27, 54, 93, 0.4);
}

.notification-item {
    border-bottom: 1px solid rgba(27, 54, 93, 0.1);
    padding: 1.2rem 1.5rem;
    transition: all 0.3s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.05), rgba(27, 54, 93, 0.02));
    border-left: 3px solid var(--primary-color);
}

.notification-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-badges {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 4rem 0 2rem;
    }

    .footer-title {
        font-size: 1.4rem;
        justify-content: center;
        text-align: center;
    }

    .footer-description {
        text-align: center;
        margin: 0 auto 2rem;
    }

    .footer-links-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact-info {
        align-items: center;
    }

    .contact-item:hover {
        transform: none;
    }

    .footer-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .footer-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .footer-modern {
        padding: 3rem 0 1.5rem;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .footer-links-title {
        font-size: 1.1rem;
    }

    .footer-link {
        font-size: 0.9rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .footer-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Additional Professional Enhancements */
.footer-modern .container {
    position: relative;
    z-index: 2;
}

.footer-section-divider {
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    margin: 0 2rem;
}

@media (max-width: 768px) {
    .footer-section-divider {
        display: none;
    }
}

/* Scroll to top button enhancement */
.scroll-to-top {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    border: 2px solid rgba(27, 54, 93, 0.3);
    box-shadow: 0 6px 25px rgba(27, 54, 93, 0.4) !important;
}

.scroll-to-top:hover {
    transform: translateY(-6px) scale(1.1) !important;
    box-shadow: 0 10px 35px rgba(27, 54, 93, 0.5) !important;
}

/* Progress bar enhancement */
.scroll-progress-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    box-shadow: 0 2px 8px rgba(27, 54, 93, 0.3);
}