/* Enhanced Solutions Dropdown Styles with #10A2FD Color Scheme */

/* Main dropdown container */
.solutions-dropdown {
    position: relative;
}

/* Create invisible bridge to prevent gap issues */
.solutions-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 999;
}

/* Dropdown toggle button */
.solutions-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.solutions-toggle:hover {
    color: #10A2FD !important;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Dropdown arrow */
.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.solutions-dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown menu */
.solutions-menu {
    min-width: 350px;
    padding: 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(16, 162, 253, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin-top: 0;
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.solutions-dropdown:hover .solutions-menu,
.solutions-dropdown.show .solutions-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Slide down animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown header */
.dropdown-header {
    background: linear-gradient(135deg, #10A2FD 0%, #0d8ce8 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.dropdown-header h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
    font-size: 16px;
}

.dropdown-header p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

/* Dropdown divider */
.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
    margin: 0;
}

/* Dropdown items */
.solutions-item {
    padding: 0;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.solutions-item:hover {
    text-decoration: none;
    color: inherit;
}

/* Left border accent */
.solutions-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #10A2FD 0%, #0d8ce8 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.solutions-item:hover::before {
    transform: scaleY(1);
}

.solutions-item:hover {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    transform: translateX(5px);
}

/* Item content layout */
.item-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
}

/* Item icons */
.item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10A2FD 0%, #0d8ce8 100%);
    color: white;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.solutions-item:hover .item-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(16, 162, 253, 0.3);
}

/* Item text container */
.item-text {
    flex: 1;
}

/* Item title */
.item-title {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 2px;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

/* Item description */
.item-desc {
    display: block;
    color: #6c757d;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.solutions-item:hover .item-title {
    color: #10A2FD;
}

.solutions-item:hover .item-desc {
    color: #495057;
}

/* Click animation */
.solutions-item.clicked {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Focus states for accessibility */
.solutions-toggle:focus,
.solutions-item:focus {
    outline: 2px solid #10A2FD;
    outline-offset: 2px;
}

/* Loading state */
.solutions-menu.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Enhanced visual feedback */
.solutions-item:active {
    transform: translateX(3px) scale(0.98);
}

/* Subtle shadow on hover for depth */
.solutions-menu:hover {
    box-shadow: 0 15px 50px rgba(16, 162, 253, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .solutions-menu {
        min-width: 280px;
        margin-top: 5px;
    }
    
    .item-content {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .item-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .item-title {
        font-size: 13px;
    }
    
    .item-desc {
        font-size: 11px;
    }
}

/* Enhanced mobile dropdown */
@media (max-width: 991px) {
    .solutions-menu {
        position: fixed !important;
        top: 60px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90vw !important;
        max-width: 350px !important;
        z-index: 9999 !important;
    }
}

/* Dark mode compatibility */
.dark-mode .solutions-menu {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dark-mode .solutions-item:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.dark-mode .item-title {
    color: #ecf0f1;
}

.dark-mode .item-desc {
    color: #bdc3c7;
}

.dark-mode .solutions-item:hover .item-title {
    color: #10A2FD;
}

.dark-mode .solutions-item:hover .item-desc {
    color: #ecf0f1;
}

/* Smooth transitions for all interactive elements */
.solutions-dropdown * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix for Bootstrap dropdown conflicts */
.solutions-dropdown .dropdown-menu {
    display: none;
}

.solutions-dropdown:hover .dropdown-menu,
.solutions-dropdown.show .dropdown-menu {
    display: block;
}

/* Ensure proper z-index */
.solutions-dropdown {
    z-index: 99999999999999;
}

/* Fix hover state persistence */
.solutions-dropdown:hover .solutions-toggle {
    color: #10A2FD !important;
}

/* Additional hover improvements - removed duplicate rules */
