/* ==========================================
   INDUSTRIES WE SERVE CAROUSEL
   ========================================== */

.industries-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

/* --- Section Header --- */
.industries-header {
    text-align: center;
    margin-bottom: 50px;
}

.industries-tagline {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}

.industries-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

.industries-underline {
    height: 3px;
    background-color: var(--accent-orange);
    width: 60px;
    margin: 15px auto 0 auto;
}

/* --- Carousel Layout --- */
.industries-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 1240px;
    margin: 0 auto;
}

.industries-viewport {
    overflow: hidden;
    flex: 1;
    padding: 10px 0;
}

/* --- Track --- */
.industries-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    gap: 0;
}

/* --- Card --- */
.industries-card {
    flex: 0 0 calc(100% / 4);
    padding: 10px;
    box-sizing: border-box;
}

.industries-card-inner {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.industries-card-inner:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* --- Image --- */
.industries-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f8f8f8;
}

.industries-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
}

.industries-card-inner:hover .industries-image img {
    transform: scale(1.05);
}

/* --- Name --- */
.industries-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    padding: 16px 18px;
    text-align: center;
    line-height: 1.3;
    border-top: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industries-card-inner:hover .industries-name {
    color: var(--primary-color);
}

/* --- Nav Buttons --- */
.industries-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.industries-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 6px 16px rgba(11, 74, 131, 0.25);
}

.industries-btn svg {
    width: 20px;
    height: 20px;
}

.industries-btn-prev {
    margin-right: -24px;
}

.industries-btn-next {
    margin-left: -24px;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

@media (max-width: 1024px) {
    .industries-card {
        flex: 0 0 calc(100% / 3);
    }
    .industries-btn {
        width: 42px;
        height: 42px;
    }
    .industries-btn svg {
        width: 18px;
        height: 18px;
    }
    .industries-btn-prev {
        margin-right: -18px;
    }
    .industries-btn-next {
        margin-left: -18px;
    }
}

@media (max-width: 768px) {
    .industries-section {
        padding: 60px 0;
    }
    .industries-title {
        font-size: 28px;
    }
    .industries-header {
        margin-bottom: 36px;
    }
    .industries-card {
        flex: 0 0 calc(100% / 2);
    }
    .industries-name {
        font-size: 14px;
        padding: 14px 14px;
        min-height: 46px;
    }
    .industries-btn {
        width: 38px;
        height: 38px;
    }
    .industries-btn svg {
        width: 16px;
        height: 16px;
    }
    .industries-btn-prev {
        margin-right: -14px;
    }
    .industries-btn-next {
        margin-left: -14px;
    }
}

@media (max-width: 480px) {
    .industries-card {
        flex: 0 0 100%;
    }
    .industries-title {
        font-size: 24px;
    }
    .industries-name {
        font-size: 14px;
        padding: 14px 16px;
        min-height: auto;
    }
    .industries-btn {
        width: 36px;
        height: 36px;
    }
    .industries-btn svg {
        width: 14px;
        height: 14px;
    }
    .industries-btn-prev {
        margin-right: -10px;
    }
    .industries-btn-next {
        margin-left: -10px;
    }
}
