.case-study-component {
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1900px;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    margin: 40px auto;
    background: #fff;
}
/* … rest of your CSS … */

    /*   body {

            margin: 0;
            padding: 0;
            background: #f8f9fb;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }*/



        /* LEFT CONTENT */
        .case-study-component__content {
            flex: 1;
            margin-right: 40px;
        }

        .case-study-component__content h2 {
            font-size: 28px;
            color: #007bff;
            margin-bottom: 20px;
        }

        .case-study-component__tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 20px;
        }

        .case-study-component__tab {
            padding: 6px 14px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            transition: 0.3s;
            user-select: none;
        }
        .case-study-component__tab:hover {
            color: #52C1EC;
        }

        .case-study-component__tab.active {
            background: #52C1EC;
            color: white;
            border-color: #52C1EC;
        }

        .case-study-component__content p {
            margin-bottom: 20px;
            color: #555;
            line-height: 1.6;
        }

        .case-study-component__button {
            display: inline-block;
            padding: 10px 20px;
            background: #52C1EC;
            color: white;
            border-radius: 6px;
            text-decoration: none;
            font-size: 14px;
            transition: 0.3s;
        }

        .case-study-component__button:hover {
            background: #DE80B5;
        }

        /* SLIDER */
        .case-study-component__slider {
            flex: 1.2;
            overflow: hidden;
            border-radius: 12px;
            position: relative;
            cursor: grab;
        }

        .case-study-component__slides {
            display: flex;
            transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .case-study-component__slide {
            min-width: 80%; /* less than 100% to show peek of next slide */
            margin-right: 20px; /* spacing between slides */
            position: relative;
            user-select: none;
        }

        .case-study-component__slide img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            border-radius: 12px;
            pointer-events: none;
        }

        .case-study-component__slide-title {
            position: absolute;
            bottom: 15px;
            left: 20px;
            background: rgba(0,0,0,0.5);
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 14px;
        }

        @media(max-width: 765px){
            .case-study-component {
                display: flex;
                flex-direction: column-reverse;
                justify-content: center;
                align-items: center;
                width: 90%;
                gap:40px;
            }
        }
