/* ========== MODERN NAVBAR STYLES ========== */
.modern-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 38, 104, 0.1);
}

.modern-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 38, 104, 0.15);
    padding: 5px 0;
}

.modern-navbar .navbar-brand img {
    max-width: 140px;
    transition: transform 0.3s ease;
}

.modern-navbar .navbar-brand:hover img {
    transform: scale(1.05);
}

.modern-navbar .nav-link {
    color: #002668 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px !important;
    margin: 0 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #002668, #0066cc);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.modern-navbar .nav-link:hover {
    color: #0066cc !important;
    background: rgba(0, 38, 104, 0.05);
}

.modern-navbar .nav-link:hover::before {
    width: 60%;
}

.modern-navbar .nav-link.active-page {
    color: #0066cc !important;
}

.modern-navbar .nav-link.active-page::before {
    width: 60%;
}

.btn-plataforma {
    background: linear-gradient(135deg, #002668 0%, #0047ab 100%);
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 38, 104, 0.3);
    border: none;
    white-space: nowrap;
}

.btn-plataforma:hover {
    background: linear-gradient(135deg, #0047ab 0%, #0066cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 38, 104, 0.4);
    color: white !important;
}

/* .btn-plataforma::before {
    content: '';
    font-size: 1rem;
} */

.navbar-toggler {
    border: 2px solid #002668;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 38, 104, 0.2);
}

.navbar-toggler:hover {
    background: rgba(0, 38, 104, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23002668' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Styles */
.mobile-menu {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.mobile-menu .offcanvas-header {
    background: linear-gradient(135deg, #002668 0%, #0047ab 100%);
    padding: 20px 25px;
}

.mobile-menu .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.mobile-menu .mobile-nav-link {
    display: block;
    color: #002668;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 18px 25px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 38, 104, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu .mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #002668, #0066cc);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-menu .mobile-nav-link:hover {
    background: rgba(0, 38, 104, 0.05);
    color: #0066cc;
    padding-left: 35px;
}

.mobile-menu .mobile-nav-link:hover::before {
    transform: scaleY(1);
}

.mobile-menu .mobile-nav-link.active-page {
    background: rgba(0, 38, 104, 0.08);
    color: #0066cc;
}

.mobile-menu .mobile-nav-link.active-page::before {
    transform: scaleY(1);
}

.mobile-menu .mobile-cta {
    padding: 25px;
    text-align: center;
}

.mobile-menu .mobile-logo {
    padding: 30px 25px;
    text-align: center;
    border-top: 1px solid rgba(0, 38, 104, 0.1);
}

.mobile-menu .mobile-logo img {
    max-width: 150px;
    opacity: 0.9;
}
