.main-slider-section .slider-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.main-slider-section .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-slider-section .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: linear-gradient(46deg, rgba(13, 69, 58, 1) 15%, rgba(217, 217, 217, 0.1) 80%);
    z-index: 1;
}

.main-slider-section .slider-content {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10vw;
    z-index: 2;
    color: #fff;
    max-width: 60%;
}

.main-slider-section .slider-main-heading {
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
    color: #fff;
}

.main-slider-section .slider-sub-heading {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 32px;
    color: #ffffff;
    line-height: 1.6;
}

.main-slider-section .slider-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.main-slider-section .slider-first-button,
.main-slider-section .slider-second-button {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    outline: none;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.main-slider-section .slider-first-button {
    background: #c5fcf7;
    color: #06262d;
}

.main-slider-section .slider-first-button:hover {
    background: #c5fcf7;
    color: #06262d;
}

.main-slider-section .slider-second-button {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid #fff;
}

.main-slider-section .slider-second-button:hover {
    background: #fff;
    color: #06262d;
}

/* middle slider  */

.middle-slider-section .slider-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.middle-slider-section .slider-image {
    width: 100%;
    height: auto;
    object-fit: inherit;
    border-radius: 12px;
    display: block;
}

.middle-slider-section .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
}

.middle-slider-section .slider-content {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    padding: 2vw;
    z-index: 2;
    color: #fff;
}

.middle-slider-section .slider-main-heading {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
    color: #fff;
}

.middle-slider-section .slider-sub-heading {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 32px;
    color: #ffffff;
    line-height: 1.6;
}

.middle-slider-section .slider-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.middle-slider-section .slider-first-button,
.middle-slider-section .slider-second-button {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    outline: none;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.middle-slider-section .slider-first-button {
    background: #c5fcf7;
    color: #06262d;
}

.middle-slider-section .slider-first-button:hover {
    background: #c5fcf7;
    color: #06262d;
}

.middle-slider-section .slider-second-button {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid #fff;
}

.middle-slider-section .slider-second-button:hover {
    background: #fff;
    color: #06262d;
}



.bottom-slider-section .slider-item {
    position: relative;
    display: flex;
    gap: 30px;
    align-items: stretch;
    overflow: hidden;
    border-radius: 12px;
}

.bottom-slider-section .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bottom-slider-section .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: linear-gradient(46deg, rgba(13, 69, 58, 1) 15%, rgba(217, 217, 217, 0.1) 80%);
    z-index: 1;
}

.bottom-slider-section .slider-content {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    padding: 5vw;
    z-index: 2;
    color: #fff;
}

.bottom-slider-section .slider-main-heading {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
    color: #fff;
}

.bottom-slider-section .slider-sub-heading {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 32px;
    color: #ffffff;
    line-height: 1.6;
}

.bottom-slider-section .slider-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.bottom-slider-section .slider-first-button,
.bottom-slider-section .slider-second-button {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    outline: none;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.bottom-slider-section .slider-first-button {
    background: #c5fcf7;
    color: #06262d;
}

.bottom-slider-section .slider-first-button:hover {
    background: #c5fcf7;
    color: #06262d;
}

.bottom-slider-section .slider-second-button {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid #fff;
}

.bottom-slider-section .slider-second-button:hover {
    background: #fff;
    color: #06262d;
}


@media (max-width: 991px) {
    .main-slider-section .slider-content {
        max-width: 70%;
        padding: 0 50px;
    }

    .main-slider-section .slider-main-heading {
        font-size: 23px;
    }

    .main-slider-section .slider-sub-heading {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .main-slider-section .slider-first-button,
    .main-slider-section .slider-second-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .bottom-slider-section .slider-content {
        max-width: 100%;
        padding: 0 30px;
    }

    .bottom-slider-section .slider-main-heading {
        font-size: 23px;
        margin-bottom: 10px;
    }

    .bottom-slider-section .slider-sub-heading {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .bottom-slider-section .slider-first-button,
    .bottom-slider-section .slider-second-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .bottom-slider-logo img {
        height: 40px !important;
    }

    .bottom-slider-section .slider-content {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .main-slider-section .slider-content {
        max-width: 100%;
        padding: 0 12px;
        top: 30px;
        align-items: center;
        text-align: center;
        height: auto;
    }

    .main-slider-section .slider-main-heading {
        font-size: 27px;
    }

    .main-slider-section .slider-sub-heading {
        font-size: 14px;
        font-weight: 500;
    }

    .main-slider-section .slider-first-button,
    .main-slider-section .slider-second-button {
        padding: 8px 16px;
        font-size: 14px;
    }


    .main-slider-section .slider-overlay {

        background: linear-gradient(179deg, rgba(13, 69, 58, 0.9) 35%, rgba(217, 217, 217, 0.1) 65%);
    }

    /* Middle slider  */
    .middle-slider-section .slider-content {
        max-width: 100%;
        padding: 10px;
    }

    .middle-slider-section .slider-main-heading {
        font-size: 17px;

    }

    .middle-slider-section .slider-sub-heading {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .middle-slider-section .slider-image {
        object-fit: scale-down;
    }



    .middle-slider-section .slider-first-button,
    .middle-slider-section .slider-second-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .middle-slider-section .slider-buttons {
        gap: 5px;
    }

    .bottom-slider-section .slider-content {

        max-width: 100%;
        padding: 0 12px;
        top: 30px;
        align-items: center;
        text-align: center;
        height: auto;
    }

    .bottom-slider-section .slider-main-heading {
        font-size: 23px;
    }

    .bottom-slider-section .slider-sub-heading {
        margin-bottom: 10px;
    }

    .bottom-slider-section .slider-first-button,
    .bottom-slider-section .slider-second-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .bottom-slider-section .slider-overlay {
        background: linear-gradient(179deg, rgba(13, 69, 58, 0.9) 35%, rgba(217, 217, 217, 0.1) 65%);
    }

    .bottom-slider-section .slider-buttons {
        gap: 5px;
        margin-bottom: 10px;
    }
}

.testimonial-wrapper {
    position: relative;
}

.quote-card {
    background-color: #ffffff;
    border: 1.5px solid #d4d4ea;
    border-radius: 20px;
    padding: 32px 28px 28px 28px;
    position: relative;
    z-index: 1;
}

.quote-card::after {
    content: '';
    position: absolute;
    left: -1px;
    bottom: -1.5px;
    width: 250px;
    height: 70px;
    background: #e9e7fe;
    border-radius: 0 30px 0 0;
    border-top: 4px solid #d4d4ea;
    border-right: 3px solid #d4d4ea;
    z-index: 2;
}

.quote-icon {
    font-size: 100px;
    color: #c4c4de;
    font-weight: bold;
    display: block;
    margin: 20px 0 0 0;
    text-align: left;
}

.testimonial-text {
    font-size: 15px;
    color: #18181B;
    line-height: 1.6;
    margin-bottom: 80px;
    text-align: start;
    height: 80px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    margin-top: -60px;
    background: transparent;
    border: none;
    position: relative;
    z-index: 3;
}

.avatar-wrapper img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50%;
    object-fit: fill;
    display: block;
}

.author-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 3px 0;
    text-align: left;
}

.author-role {
    font-size: 13px;
    color: #8888aa;
    margin: 0;
}