﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --apple-gray: #f5f5f7;
    --apple-blue: #0071e3;
    --apple-dark: #1d1d1f;
    --apple-light: #f5f5f7;
}

.carousel-container {
   /* max-width: 1024px;*/
    margin: 0 auto;
    padding: 40px 24px;
}

.carousel-section-heading {
    text-align: center;
    margin-bottom: 60px;
}

    .carousel-section-heading h2 {
        font-size: 48px;
        font-weight: 600;
        letter-spacing: -0.015em;
        margin-bottom: 12px;
        background: linear-gradient(120deg, #2c3e50, #4ca1af);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .carousel-section-heading p {
        font-size: 20px;
        line-height: 1.5;
        font-weight: 400;
        color: #6e6e73;
        max-width: 680px;
        margin: 0 auto;
    }

.splide {
    margin: 0 auto;
}

.carousel-industry-slide {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

    .carousel-industry-slide:hover {
        transform: scale(1.02);
    }

.carousel-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    color: white;
    text-align: left;
}

    .carousel-slide-content h3 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 12px;
        letter-spacing: -0.02em;
    }

    .carousel-slide-content p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
        font-weight: 400;
        opacity: 0.9;
    }

.carousel-cta-button {
    display: inline-block;
    background-color: var(--apple-blue);
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .carousel-cta-button:hover {
        background-color: #0062cc;
        transform: translateY(-2px);
    }

.splide__arrow {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

    .splide__arrow:hover {
        opacity: 1;
        background: white;
    }

.splide__pagination__page {
    background: #d2d2d7;
    opacity: 0.5;
    width: 8px;
    height: 8px;
    margin: 0 6px;
}

    .splide__pagination__page.is-active {
        background: var(--apple-blue);
        transform: scale(1.3);
        opacity: 1;
    }

@media (max-width: 768px) {
    .carousel-section-heading h2 {
        font-size: 36px;
    }

    .carousel-section-heading p {
        font-size: 18px;
    }

    .carousel-industry-slide {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .carousel-section-heading h2 {
        font-size: 28px;
    }

    .carousel-section-heading p {
        font-size: 16px;
    }

    .carousel-industry-slide {
        height: 240px;
    }
}
