/* Industries Section - New Style */
.industries {
    padding: 6em 2em;
    background-color: var(--color-slot-bg);
}

.industries .section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 0.5em;
}

.industries .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 3em;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

/* Industry Item Card */
.industry-item {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border-radius: var(--card-radius);
    padding: 2em 1.5em;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Staggered Animation Delay */
.industry-item:nth-child(1) {
    animation-delay: 0.3s;
}

.industry-item:nth-child(2) {
    animation-delay: 0.5s;
}

.industry-item:nth-child(3) {
    animation-delay: 0.7s;
}

.industry-item:nth-child(4) {
    animation-delay: 0.9s;
}

.industry-item:nth-child(5) {
    animation-delay: 1.1s;
}

/* Hover Effect */
.industry-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, var(--color-accent), var(--color-slot-bg));
}

/* Icon Circle */
.industry-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1em;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.industry-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    /* white icons on dark circle */
}

/* Hover icon animation */
.industry-item:hover .industry-icon {
    transform: scale(1.15);
    background-color: var(--color-highlight);
}

/* Title */
.industry-item h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 0.5em;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .industries-grid {
        gap: 1.5em;
    }
}

@media screen and (max-width: 576px) {
    .industries .section-title {
        font-size: 2rem;
    }

    .industries .section-subtitle {
        font-size: 1rem;
    }

    .industry-item h3 {
        font-size: 1rem;
    }

    .industry-icon {
        width: 60px;
        height: 60px;
    }

    .industry-icon img {
        width: 30px;
        height: 30px;
    }
}