.cases-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 40px;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.case-item {
    flex: none;
    width: 100%;
    transition: flex 0.5s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.case-item a {
    display: block;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.case-text {
    display: none;
    padding: 10px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
}

.case-title span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #09202E;
    display: block;
    margin-bottom: 2px;
}

.case-cat {
    display: block;
    position: static;
    opacity: 1 !important;
    transform: none !important;
    font-size: 12px;
    margin-top: 8px;
}

.case-text span {
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    word-break: break-word;
}

.case-item:hover .case-text {
    display: block;
}

.case-item:hover .case-cat {
    display: block;
}

.case-cat span {
    transition: transform 0.4s ease;
}

.case-item:hover .case-cat span {
    transform: translateY(0);
}

.cases-grid .case-item:hover {
    flex: none;
    z-index: auto;
}

.about-wrapper {
    background-color: #F2EBE7;
    padding: 40px;
}

.about-header {
    max-width: 1200px;
    margin: 0 auto 20px;
    text-align: center;
}

.about-header h2 {
    color: #091D28;
    display: inline-block;
    font-family: "Advercase", sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.6;
    text-transform: initial;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: start;
}

.about-left img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-section-item h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #091D28;
    margin-bottom: 6px;
}

.about-section-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #09202E;
    margin: 0;
    text-transform: none;
}

.hover-word {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-bottom: 1px solid #091D28;
    padding-bottom: 2px;
}

.hover-word .hover-img {
    position: absolute;
    left: 0;
    width: 60%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.hover-word:hover {
    border-bottom-color: transparent;
}

.hover-word:hover .hover-img {
    opacity: 1;
}

.hover-img img {
    width: 100%;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-values {
    display: flex;
    flex-flow: column;
    gap: 40px;
    margin: 0 auto;
    max-width: 1200px;
}

.about-values h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #091D28;
    margin-bottom: 6px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
}

.about-values-grid svg {
    height: auto;
    width: 100%;
}


.some-button-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 100px auto 0;
    max-width: 1200px;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-read-about-us {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #091D28;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    transition: all 0.3s ease;
}

.testimonials-section {
    background-color: #f2ebe4;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 80px;
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
}

.testimonial-slider .swiper-wrapper {
    display: flex;
    align-items: flex-start;
}

.testimonial-card {
    background: #ffffff;
    padding: 40px;
    text-align: left;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    height: auto;
}

.testimonial-company {
    font-weight: 700;
    margin-bottom: 16px;
}

.testimonial-body {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
    width: 100%;
}

.testimonial-name {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 4px;
}

.testimonial-job,
.testimonial-country {
    display: block;
    color: #888;
    font-size: 0.85rem;
}

.card-google-badge {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.card-google-badge img {
    width: 20px;
    height: 20px;
}

.testimonials-section .testimonial-slider .swiper-button-next::after,
.testimonials-section .testimonial-slider .swiper-button-prev::after {
    font-weight: 800;
    font-size: 24px;
    color: #000000;
}

@media (min-width: 768px) {

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 40px;
    }

    .about-wrapper {
        padding: 80px;
    }

    .about-header h2 {
        font-size: clamp(36px, 6vw, 64px);
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        margin: 0 auto 80px;
    }

    .about-left img {
        border-radius: 0;
    }

    .about-right {
        gap: 60px;
    }

    .about-section-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .about-section-item p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hover-word {
        border-bottom: 2px solid #091D28;
    }

    .hover-word .hover-img {
        width: 200px;
    }

    .about-values {
        gap: 60px;
    }

    .about-values h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .about-values-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }


    .some-button-row {
        justify-content: space-between;
        flex-direction: row;
        align-items: initial;
    }

    .btn-read-about-us {
        font-size: 14px;
        margin-top: 0;
    }
}

@media (max-width: 1024px) {
    .testimonial-slider {
        max-width: 100%;
        padding: 40px 0;
        overflow: visible;
        display: flex;
        justify-content: center;
    }

    .testimonial-card {
        width: 82%;
        max-width: 100%;
        margin: 0 auto;
        padding: 30px 20px;
    }

    .testimonial-body {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .swiper-button-prev,
    .swiper-button-next {
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
    }

    .swiper-button-prev {
        left: 2%;
    }

    .swiper-button-next {
        right: 2%;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        width: 78%;
    }
}

@media (min-width: 1200px) {
    .cases-grid {
        display: flex;
        grid-template-columns: none;
        padding: 80px;
    }

    .case-item {
        flex: 1;
    }

    .case-title span {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .case-text span {
        font-size: 13px;
        line-height: normal;
    }

    .case-cat {
        display: none;
        position: static;
        opacity: initial;
        transform: initial;
        font-size: initial;
        margin-top: 0;
    }

    .cases-grid .case-item:hover {
        flex: 2.2;
        z-index: 2;
    }

    .about-values-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: 1fr;
    }


}