.section-case-study-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
}

.section-case-study-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.35) 100%),
        linear-gradient(90deg,
            #421A23 0%,
            #2b1f20 35%,
            #201d1e 50%,
            #1b1a1a 75%,
            #161616 100%);
    z-index: 1;
}

.section-case-study-hero__decorative-circles {
    position: absolute;
    top: 20px;
    right: 0;
    z-index: 2;
    mix-blend-mode: screen;
}

.section-case-study-hero__circle {
    position: absolute;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    background-image: url('../../../assets/images/circle-texture.png');
    background-size: cover;
    background-repeat: no-repeat;
    top: 100px;
    opacity: .2;
    right: 225px;
}

.section-case-study-hero__video-sphere {
    width: 400px;
}

.section-case-study-hero__container {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 80px;
    z-index: 3;
}

.section-case-study-hero__header {
    margin-bottom: 24px;
}

.section-case-study-hero__divider {
    height: 1px;
    background: #D8D2CB;
    margin: 0;
}

.section-case-study-hero__divider--top {
    margin-bottom: 40px;
}

.section-case-study-hero__divider--bottom {
    margin-top: 40px;
}

.section-case-study-hero__eyebrow {
    color: white;
    font-family: "Geist Mono", monospace;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-case-study-hero__heading {
    color: #FFF;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 98%;
    letter-spacing: -1.28px;
    max-width: 500px;
}

.section-case-study-hero__layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    align-items: center;
}

.section-case-study-hero__content {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.section-case-study-hero__slides {
    position: relative;
}

.section-case-study-hero__slide {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.section-case-study-hero__slide .primary-button {
    margin-bottom: 16px;
}
.section-case-study-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.section-case-study-hero__study-title {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    margin-bottom: 16px;
}

.section-case-study-hero__study-description {
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0.28px;
    margin-bottom: 40px;
}

.section-case-study-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-bottom: 40px;
    padding: 16px 16px 16px 24px;
    line-height: 130%;
    letter-spacing: .32px;
}

.section-case-study-hero__cta-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.section-case-study-hero__cta:hover .section-case-study-hero__cta-arrow {
    transform: translateX(4px);
}

.section-case-study-hero__progress {
    display: flex;
    gap: 5px;
    margin-bottom: 16px;
    width: 100%;
}

.section-case-study-hero__progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

.section-case-study-hero__logos {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.section-case-study-hero__logo-wrapper {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex: 1;
}

.section-case-study-hero__logo {
    max-width: 80px;
    margin: 0 auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.2;
}

.section-case-study-hero__logo-wrapper.is-active .section-case-study-hero__logo {
    opacity: 1;
}

.section-case-study-hero__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    border-radius: 8px;
}

.section-case-study-hero__media-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.section-case-study-hero__media-item.is-active {
    opacity: 1;
    visibility: visible;
}

.section-case-study-hero__video,
.section-case-study-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Styles */
/* Desktop (1200px - 1919px) */
@media (max-width: 1919px) and (min-width: 1200px) {
    .section-case-study-hero__container {
        padding: 0 60px 144px;
    }

    .section-case-study-hero__layout {
        gap: 60px;
    }

}

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .section-case-study-hero__container {
        padding: 50px 40px;
    }

    .section-case-study-hero__header {
        margin-bottom: 40px;
    }

    .section-case-study-hero__heading {
        font-size: 48px;
    }

    .section-case-study-hero__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-case-study-hero__study-title {
        font-size: 28px;
    }

    .section-case-study-hero__media {
        height: 400px;
        order: -1;
    }

    .section-case-study-hero__circle--1 {
        width: 200px;
    
    }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {

    .section-case-study-hero__decorative-circles {
        display: none;
    }

    .section-case-study-hero__container {
        padding: 0px 24px 80px;
    }

    .section-case-study-hero__header {
        margin-bottom: 32px;
    }

    .section-case-study-hero__divider--top {
        margin-bottom: 40px;
    }

    .section-case-study-hero__divider--bottom {
        margin-top: 40px;
    }

    .section-case-study-hero__eyebrow {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .section-case-study-hero__heading {
        font-size: 56px;
    }

    .section-case-study-hero__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-case-study-hero__slides {
        min-height: auto;
    }

    .section-case-study-hero__study-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .section-case-study-hero__study-description {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 40px;
        line-height: 130%;
        /* 15.6px */
        letter-spacing: 0.24px;
    }

    .section-case-study-hero__cta {
        padding: 12px 24px;
        font-size: 14px;
        margin-bottom: 40px;
    }

    .section-case-study-hero__progress {
        gap: 8px;
        margin-bottom: 24px;
    }

    .section-case-study-hero__logo {
        height: auto;
    }

    .section-case-study-hero__media {
        order: -1;
    }

}

/* Accessibility */
.section-case-study-hero__cta:focus,
.section-case-study-hero__progress-bar:focus,
.section-case-study-hero__logo-wrapper:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.section-case-study-hero__cta:focus:not(:focus-visible),
.section-case-study-hero__progress-bar:focus:not(:focus-visible),
.section-case-study-hero__logo-wrapper:focus:not(:focus-visible) {
    outline: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    .section-case-study-hero__slide,
    .section-case-study-hero__media-item,
    .section-case-study-hero__cta,
    .section-case-study-hero__cta-arrow {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .section-case-study-hero__background {
        background: #1a1419;
    }

    .section-case-study-hero__video {
        display: none;
    }

    .section-case-study-hero__progress {
        display: none;
    }
}