/* ===== SERVICES DROPDOWN MENU ===== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    margin-top: 12px;
    padding: 8px;
}

body.dark-mode .dropdown-menu {
    background: #1e293b;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item:hover {
    background: rgba(79, 70, 229, 0.1);
    padding-left: 24px;
}

body.dark-mode .dropdown-item:hover {
    background: rgba(79, 70, 229, 0.2);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.dropdown-item:hover .dropdown-icon {
    transform: scale(1.1) rotate(5deg);
}

.dropdown-icon.tech {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.dropdown-icon.finance {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.dropdown-icon.marketing {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.dropdown-icon.ai {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
}

.dropdown-icon.mobile {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.dropdown-icon.fullstack {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
}

.dropdown-content {
    flex: 1;
}

.dropdown-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-main);
}

.dropdown-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Divider */
.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

body.dark-mode .dropdown-divider {
    background: #334155;
}

/* Mobile - Hide dropdown on small screens */
@media (max-width: 968px) {
    .dropdown-menu {
        display: none;
    }
}