.our-people-section {
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.our-people-slider {
    margin-bottom: 0px;
}

.our-people-titles .title {
   
    margin-bottom: 26px;
}

.our-people-titles .subtitle {
    color: #000;
    text-align: center;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; 
    margin-bottom: 32px;
}

.our-people-slider-wrapper {
    position: relative;
}

.our-people-slider .slick-list {
    overflow: visible; 
}

.slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.slick-slide {
    height: inherit !important;
}

.slick-slide > div {
    height: 100%;
}

.slide-content {
    display: flex !important;
    align-items: center;
    gap: 24px;
    background-color: #f9f9f9;
    border-radius: 12px;
    transition: opacity 0.3s ease;
    opacity: 0.5;
    position: relative;
    min-height: 300px;
    height: 100%; 
    overflow: hidden;
    box-sizing: border-box;
}

.slide-content .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: none;
}

.slide-content .slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slick-center .slide-content {
    opacity: 1;
    background-color: transparent;
}

.slick-center .slide-content .slide-bg {
    display: block;
}

.testimonial-image {
    width: 100%;
    /* height: 100%; */
    overflow: visible;
    position: relative;
    display: flex;
    align-items: end;
    align-self: end;
}

.testimonial-text {
    text-align: left;
    padding: 25px 40px 25px 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-content: end;
}

/* .testimonial-image::after {
    content: '';
    position: absolute;
    top: 22px;
    right: 0px;
    width: 145px;
    height: 100px;
    background-image: url("https://d1k5qim9574h9e.cloudfront.net/wp-content/uploads/2026/04/careers-Quote.png");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
} */

.slick-center img {
    transform: none;
}

.testimonial-quote {
    color: #000;
    font-size: 19px;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 16px;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 4px;
}

.author-name {
    color: #544FF8;
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; 
}

.linkedin-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("https://d1k5qim9574h9e.cloudfront.net/wp-content/uploads/2026/04/linkedln_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.author-designation {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%; 
}

/* --- Navigation --- */
.our-people-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-arrow.next-arrow {
    position: absolute;
    top: 46%;
    right: 15%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.slider-arrow.prev-arrow {
    position: absolute;
    top: 46%;
    left: 15%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow.next-arrow:hover {
    background-image: url("https://d1k5qim9574h9e.cloudfront.net/wp-content/uploads/2026/04/CarouselArrows_right_active_34.svg");
}

.slider-arrow.prev-arrow:hover {
    background-image: url("https://d1k5qim9574h9e.cloudfront.net/wp-content/uploads/2026/04/Carousel_Arrows_left_active_34.svg");
}

.prev-arrow {
    background-image: url("https://d1k5qim9574h9e.cloudfront.net/wp-content/uploads/2026/04/Carousel_Arrows_left_34.svg");
}

.next-arrow {
    background-image: url("https://d1k5qim9574h9e.cloudfront.net/wp-content/uploads/2026/04/Carousel_Arrows_right_34.svg");
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots button,
.slick-dots .slick-active button {
   border: none !important;
}

.slider-dots .slick-dots li {
    margin: 0;
}

.slider-dots .slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(28, 28, 28, 0.30);
    border: none;
    padding: 0;
    cursor: pointer;
}

.slick-dots li {
    width: 0;
}

.slick-dots {
    margin: 0 !important;
}

.slider-dots .slick-dots li.slick-active button {
    width: 10px !important;
    height: 10px !important;
    background-color: #1C1C1C;
}

/* --- Conditional Arrow/Dot Visibility --- */
.slide-count-1 .our-people-slider-nav {
    display: none;
}

.slide-count-2 .prev-arrow {
    display: none;
}

.slick-dotted.slick-slider {
    margin: 0;
}

/* ============================================
   TABLET (768px – 1199px)
   ============================================ */
@media (max-width: 1199.98px) {
    .our-people-section {
        padding: 80px 0;
    }

    .testimonial-quote {
        font-size: 18px;
        margin-bottom: 44px;
    }

    .author-name {
        font-size: 22px;
    }

    .author-designation {
        font-size: 15px;
    }
    .testimonial-image img{
        margin-left: -25px;
    }
}

@media (max-width: 991.98px) and (min-width: 767.98px) {
    .slider-arrow.next-arrow {
        right: 5%;
    }

    .slider-arrow.prev-arrow {
        left: 5%;
    }

   
    .slick-slide > div {
        height: 100%;
    }

    .slide-content {
        height: 100%;
        min-height: 280px;
    }
}

/* ============================================
   MOBILE (max 767px) — equal height NOT needed,
   each slide shown full width, reset to auto
   ============================================ */
@media (max-width: 767.98px) {
    .our-people-slider .slick-list {
        overflow: hidden;
    }

    .slick-slide > div {
        height: 100%;
    }

    .slide-content {
        flex-direction: column;
        text-align: center;
        padding: 14px 15px 0;
        min-height: unset;
        background: transparent !important;
        opacity: 1 !important;
        transform: none !important;
        overflow: hidden;
        border-radius: 12px;
        gap: 32px;
        box-sizing: border-box;
    }

    .testimonial-text {
        padding: 0 17px 32px 17px;
        border-radius: 0 0 12px 12px;
        text-align: center;
    }

    .testimonial-author {
        justify-content: center;
        margin-bottom: 8px;
    }

    .our-people-section {
        padding: 60px 0;
    }

    .our-people-titles .title {
        font-size: 32px;
    }

    .our-people-titles .subtitle {
        font-size: 20px;
    }

    .slide-content .slide-bg {
        border-radius: 12px;
        display: block;
        z-index: -1;
    }

    .slick-dots li button {
        width: 10px !important;
        height: 10px !important;
    }

    .slider-dots .slick-dots li {
        margin: 0 8px !important;
    }

    .slick-dots {
        bottom: 4px;
    }

    .testimonial-image {
        justify-content: center;
        top: 0;
        left: 0;
        margin-bottom: 0;
    }

    .testimonial-image img {
        border-radius: 12px 12px 0 0;
    }

    .testimonial-image::after {
        right: 0px;
        width: 153px;
        height: 115px;
    }

    .testimonial-quote {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .author-name {
        font-size: 22px;
    }
    .testimonial-des{
        margin: auto;
    }

    .author-designation {
        font-size: 16px;
    }

    .slider-arrow.next-arrow {
        position: absolute;
        top: auto;
        bottom: 0px;
        right: 15px;
        transform: none;
        display: block !important;
        z-index: 10;
    }

    .slider-arrow.prev-arrow {
        position: absolute;
        top: auto;
        bottom: 0px;
        left: 15px;
        transform: none;
        display: block !important;
        z-index: 10;
    }

    .our-people-slider-nav {
        margin-top: 20px;
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        width: 100%;
        min-height: 34px;
    }

    .slider-dots {
        margin: 0 auto;
    }
}