.industries-section {
    background-color: #f8f9fa;
    min-height: 500px;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #003451;
    margin-bottom: 0;
}

.carousel-nav-buttons .btn {
    box-shadow: none !important;
    outline: none !important;
    background: transparent;
    border: none;
}

.industry-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 0 10px;
}

.card-image-wrapper {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industry-card:hover img {
    transform: scale(1.05);
}

.card-title {
    font-size: 1rem;
    color: #003451;
    line-height: 1.3;
}

.learn-more-link {
    font-size: 0.9rem;
    color: #265ee0;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.learn-more-link:hover {
    color: #0056b3;
}

.learn-more-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.learn-more-link:hover::after {
    width: 100%;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.cards-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.industry-card {
    min-width: 350px;
    flex: 0 0 calc(25% - 20px);
}

.cards-wrapper .first-card {
    margin-left: 0;
}

/* Hide default carousel indicators and controls */
.carousel-indicators,
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

.indicator-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    border: none;
    margin: 0 6px;
    padding: 0;
}

.indicator-btn.active {
    background-color: #007bff;
}

/* Media Queries */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .industry-card {
        flex: 0 0 calc(100% - 20px);
    }

    .cards-wrapper .first-card {
        margin-left: 10px;
    }

    .card-image-wrapper {
        height: 200px;
    }

    /* Mobile navigation arrows at bottom */
    .mobile-nav-arrows {
        display: flex;
        justify-content: center;
        margin-top: 30px;
        gap: 20px;
    }

    .mobile-nav-arrows .btn {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .mobile-nav-arrows .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
}

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

    .industry-card {
        flex: 0 0 calc(50% - 20px);
    }

    .mobile-nav-arrows {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-nav-arrows {
        display: none;
    }
}
