
.industry-carousel-section {
    --ic-teal: #025b6b;
    --ic-teal-dark: #013e4a;
    --ic-teal-light: #e3f0f2;
    --ic-navy: #04123a;
    --ic-card-h: 560px;
    position: relative;
    max-width: 100%;
    margin-top: 40px;
}

.industry-carousel-viewport {
    overflow-x: hidden;
    overflow-y: visible;
    padding: 6px 2px 10px;
    touch-action: pan-y;
}

.industry-carousel-rail {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    will-change: transform;
    transition: none;
    cursor: grab;
}

.industry-carousel-viewport:active .industry-carousel-rail {
    cursor: grabbing;
}

.industry-card {
    position: relative;
    flex: 0 0 auto;
    width: 380px;
    height: var(--ic-card-h);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(4, 18, 58, 0.08);
    background: var(--ic-navy);
    transition: box-shadow 0.3s ease;
}

.industry-card:hover,
.industry-card:focus-within {
    box-shadow: 0 10px 28px rgba(4, 18, 58, 0.14);
}

.industry-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-card-image,
.industry-card:focus-within .industry-card-image {
    transform: scale(1.05);
}

.industry-card-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 18, 58, 0) 0%, rgba(4, 18, 58, 0.22) 55%, rgba(2, 8, 22, 0.82) 100%);
    pointer-events: none;
    transition: background 0.3s ease;
}

.industry-card:hover .industry-card-scrim,
.industry-card:focus-within .industry-card-scrim {
    background: linear-gradient(180deg, rgba(4, 18, 58, 0.05) 0%, rgba(4, 18, 58, 0.4) 45%, rgba(2, 8, 22, 0.92) 100%);
}

.industry-card-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px 24px 24px;
}

.industry-card-title {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.32;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 4px 14px rgba(0, 0, 0, 0.7);
}

.industry-carousel-nav {
    position: absolute;
    top: 0;
    height: var(--ic-card-h);
    z-index: 5;
    display: flex;
    align-items: center;
}

.industry-carousel-nav-prev {
    left: 8px;
}

.industry-carousel-nav-next {
    right: 8px;
}

.industry-carousel-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e6e9ee;
    background: #ffffff;
    color: var(--ic-navy);
    box-shadow: 0 2px 10px rgba(4, 18, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.industry-carousel-nav-btn:hover,
.industry-carousel-nav-btn:focus-visible {
    background: var(--ic-teal);
    color: #ffffff;
    outline: none;
}

@media (max-width: 1024px) {
    .industry-carousel-section {
        --ic-card-h: 460px;
    }
    .industry-card {
        width: 320px;
    }
}

@media (max-width: 640px) {
    .industry-carousel-section {
        --ic-card-h: 400px;
    }
    .industry-card {
        width: min(88vw, 360px);
    }
    .industry-carousel-rail {
        gap: 14px;
    }
    .industry-carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
