/* Dropdown Navigation Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 1000;
    top: 100%;
    left: 0;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #007bff;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown {
        width: 100% !important;
        position: relative !important;
    }
    
    .dropdown-content {
        position: static !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
        padding: 0 !important;
        margin: 10px 15px !important;
        border-radius: 12px !important;
        width: calc(100% - 30px) !important;
        border: 1px solid rgba(9, 146, 194, 0.2) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .dropdown.active .dropdown-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: 500px !important;
        padding: 8px 0 !important;
        animation: slideDownFade 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .dropdown-content a {
        color: #0B2D72 !important;
        padding: 14px 20px !important;
        border-bottom: none !important;
        font-size: 0.95rem !important;
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
        position: relative !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        margin: 2px 8px !important;
        border-radius: 8px !important;
    }
    
    .dropdown-content a:hover {
        background: linear-gradient(135deg, #0992C2 0%, #0AC4E0 100%) !important;
        color: #ffffff !important;
        transform: translateX(5px) !important;
        box-shadow: 0 4px 8px rgba(9, 146, 194, 0.3) !important;
    }
    
    .dropdown-content a.active {
        background: linear-gradient(135deg, #0B2D72 0%, #0992C2 100%) !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 12px rgba(11, 45, 114, 0.4) !important;
    }
    
    @keyframes slideDownFade {
        from { 
            opacity: 0; 
            transform: translateY(-15px) scale(0.95);
        }
        to { 
            opacity: 1; 
            transform: translateY(0) scale(1);
        }
    }
    
    /* Dropdown arrow indicator */
    .dropdown > a {
        position: relative !important;
    }
    
    .dropdown > a::after {
        content: '▼' !important;
        font-size: 0.7rem !important;
        margin-left: auto !important;
        transition: transform 0.3s ease !important;
        display: inline-block !important;
        color: #ffffff !important;
        opacity: 0.8 !important;
    }
    
    .dropdown.active > a {
        background: rgba(255, 255, 255, 0.2) !important;
    }
    
    .dropdown.active > a::after {
        transform: rotate(180deg) !important;
        opacity: 1 !important;
    }
}