/* Industries Mega Menu Styles */
.industries-mega-menu {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 140px;
    width: 85vw;
    max-width: 1300px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When header is sticky */
.main-header.sticky .industries-mega-menu {
    top: 80px;
}

.industries-menu-details {
    flex: 1;
    flex-direction: column;
    padding-right: 1.5rem;
    max-height: 65vh;
    overflow-y: auto;
}

.industries-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.industries-header h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.industries-header p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.2rem;
    padding: 0.5rem 0;
}

.industry-item {
    padding: 0.4rem;
    transition: all 0.25s ease;
    background: transparent;
    border: none;
    box-shadow: none;
}

.industry-item:hover {
    background: rgba(0, 0, 0, 0.01);
    transform: translateY(-2px);
}

.industry-item a.industry-title {
    text-decoration: none;
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.2rem;
    transition: color 0.2s ease;
}

.industry-item a.industry-title:hover {
    color: #2e6ed6;
}

.industry-item p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
}

/* Scrollbar Styling - more minimal */
.industries-menu-details::-webkit-scrollbar {
    width: 3px;
}

.industries-menu-details::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 3px;
}

.industries-menu-details::-webkit-scrollbar-thumb {
    background: #dadada;
    border-radius: 3px;
}

.industries-menu-details::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .industries-mega-menu {
        width: 90vw;
        padding: 1.25rem;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .industries-mega-menu {
        width: 95vw;
        padding: 1rem 0.8rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(12, 1fr);
        gap: 0.8rem;
    }
} 