/*-- Author Card
---------------------------------
*/
.authors-card-widget {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
}

.author-card-content {
    background-color: #fff;
    padding: 70px 35px 40px 35px;
    box-shadow: 0px 0px 9.4px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex: 1;
    /* Заповнює доступний простір усередині картки */
    flex-direction: column;
}

.author-card-content h3 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 160%;
    /* or 38px */
    color: #003366;
    margin-bottom: 0;
}

.author-card-content h4 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 160%;
    color: #2F4964;
    margin-top: 0;
}

.author-card-content p {
    /* Text/Regular/Normal */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    /* or 24px */
    text-align: center;
    color: #000000;
}

.author-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: -45px;
    max-height: 281px;
    z-index: 1;
}


.author-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-content: flex-end;
}

/*-- Author Card END
---------------------------------
*/

/*-- Service Card
---------------------------------
*/

.services-card-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 100px 36px;
}

.service-card {
    background-color: #fff;
    padding: 56px 37px 39px 37px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.service-icon {
    position: absolute;
    text-align: right;
    top: -65px;
    right: 30px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 160%;
    color: #003366;
    margin-top: 0;
    margin-bottom: 24px;
}

.service-card p {
    font-size: 16px;
    line-height: 150%;
    color: #000;
    margin-bottom: 20px;
}

.services-card-widget .service-button {
    margin-top: 80px;
    display: inline-block;
    padding: 12px 24px;
    background-color: #003366;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
}


.service-button:hover {
    background-color: #0033669C;
}


/*-- Service Card END
---------------------------------
*/

/*-- Carousel
---------------------------------
*/

.testimonials-container {
    max-width: 82.6%;
    margin-left: auto;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 50px 30px 30px 30px;
    text-align: left;
}

.testimonial-content p {

    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    /* or 27px */
    color: #000000;

    margin-bottom: 20px;

    height: 55px;
    overflow: hidden;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color:#000;
}

.testimonial-author h5 {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}



.swiper-button-prev::after {
    content: url('/wp-content/uploads/2025/01/arrow-left.png');
}

.swiper-button-next {
    display: none;
}

.swiper-button-prev {
    left: -100px;
    background-color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: background-color 0.3s linear;
}

.swiper-button-prev:hover {
    background-color: #d3dfed;
}

.testimonials-carousel {
    overflow: hidden;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-raiting {
    text-align: left;
    margin-bottom: 24px;
}

.testimonial-content-info {
    text-align: left;
}


/*-- Carousel ENS
---------------------------------
*/