/* -- Hero -- */
.hero {
    margin-top: var(--gap-2xl);
}

.hero_heading {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.hero_heading-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 120%;
}

.hero_heading-subtitle {
    line-height: 130%;
}

.hero_slider {
    margin-top: var(--gap-2xl);
}

.hero_slide {
    min-height: 360px;
    padding: var(--gap-xl) var(--gap-lg);
    display: flex;
    flex-direction: column;
    border-radius: var(--rounded-xl);
    background-image: linear-gradient(95.17deg, rgba(0, 0, 0, 0.7) 24.36%, rgba(0, 0, 0, 0) 100%), url('/static/hero-desktop.jpg');
}

.hero_slide-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white-clr);
    margin-bottom: 10px;
}

.hero_slide-list {
    font-weight: 500;
    line-height: 140%;
    color: var(--white-clr);
}

.hero_slide-button {
    font-weight: 500;
    color: var(--white-clr);

    height: 42px;
    max-width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border-radius: var(--rounded);
    background-color: var(--orange-accent-clr);
    transition: background-color 0.25s;
}

@media (hover: hover) {
    .hero_slide-button:hover {
        background-color: var(--orange-accent-hover-clr);
    }
}

/* -- Hero Advantages -- */
.hero_advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    margin-top: var(--gap-2xl);
}

.hero_advantage {
    display: flex;
    flex-direction: column;
    padding-left: 12px;
    border-left: 1px solid #D6E0EB;
}

.hero_advantage-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    color: var(--orange-accent-clr);
}

.hero_advantage-text {
    font-size: 14px;
    line-height: 120%;
}

/* -- Advantages -- */
.advantages {
    padding-bottom: calc(var(--section-margin-top) + var(--gap-xl));
    margin-top: var(--section-margin-top);
    background-image: linear-gradient(180deg, #F8F8F8 0%, #D6E0EB 100%);
}

.advantages_list {
    display: grid;
    row-gap: var(--gap-lg);
}

.advantages_card {
    padding: 16px;
    border-radius: var(--rounded-xl);
    border: 1px solid var(--border-clr);
    background-color: var(--white-clr);
}

.advantages_card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: var(--gap-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--rounded);
    background-color: var(--orange-accent-clr);
}

.advantages_card-icon svg {
    width: 24px;
    height: 24px;
}

.advantages_card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 10px;
}

/* About Us */
.aboutUs {
    padding-top: var(--section-margin-top);
    padding-bottom: var(--section-margin-top);
    border-radius: 32px 32px 0 0;
    background-color: var(--body-clr);
    margin-top: calc(var(--gap-xl) * -1);
}

.aboutUs_image {
    width: 100%;
    margin-bottom: var(--gap-lg);
}

.aboutUs_image picture {
    display: flex;
    width: 100%;
    height: 100%;
}

.aboutUs_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--rounded-xl);
}

.aboutUs_content p span {
    font-weight: 500;
    color: var(--orange-accent-clr)
}

/* Testimonials */
.testimonials {
    padding-block: var(--section-margin-top);
    border-radius: 32px 32px 0px 0px;
    background-image: linear-gradient(180deg, #406F9D 0%, #001A34 100%);
}

.testimonials_title {
    text-align: center;
}

.testimonials_list {
    display: grid;
    row-gap: var(--gap-lg);
}

.testimonials_card {
    padding: 16px;
    display: grid;
    row-gap: 10px;
    border-radius: var(--rounded-xl);
    border: 1px solid var(--border-clr);
    background-color: var(--white-clr);
    /* margin-bottom: 32px; */
}

.grid-sizer {
    display: none;
}

.testimonials_card-name {
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.testimonials_card-block {
    display: grid;
    row-gap: var(--gap-sm);
}

.testimonials_card-question {
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    color: var(--secondary-text-clr);
}

.testimonials_card-text {
    line-height: 140%;
}

@media (min-width: 576px) {
    .hero_slide-list {
        max-width: 315px;
    }

    .aboutUs_content {
        padding-inline: 8px;
    }
}

@media (min-width: 768px) {
    .hero_heading-title {
        font-size: 30px;
    }

    .hero_heading-subtitle {
        max-width: 80%;
    }

    .hero_advantage {
        padding-left: var(--gap-lg);
    }

    .hero_advantage-title {
        font-size: 28px;
    }

    .hero_advantage-text {
        font-size: 16px;
    }

    .advantages_list {
        grid-template-columns: 1fr 1fr;
        column-gap: var(--gap-lg);
    }

    .aboutUs_image {
        height: 440px;
    }

    .aboutUs_content {
        padding-inline: var(--gap-xl);
    }

    .testimonials {
        padding-bottom: calc(var(--section-margin-top) - var(--gap-lg));
    }

    .testimonials_list {
        display: block;
    }

    .grid-sizer {
        display: block;
    }

    .grid {
        width: 100%;
    }

    .grid-sizer,
    .grid-item {
        width: calc(50% - var(--gap-lg) / 2);
    }

    .testimonials_card {
        margin-bottom: var(--gap-lg);
    }
}

@media (min-width: 1024px) {
    .hero {
        margin-top: 40px;
    }

    .hero_heading {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: var(--gap-2xl);
    }

    .hero_heading-title {
        margin-bottom: 0;
    }

    .hero_heading-subtitle {
        max-width: 100%;
        padding-top: 3px;
    }

    .hero_slide {
        padding: 32px;
    }

    .hero_advantages {
        grid-template-columns: 0.9fr 0.9fr 0.9fr 1.3fr;
    }

    .aboutUs_inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        column-gap: var(--gap-xl)
    }

    .aboutUs_image {
        height: 416px;
        margin-bottom: 0;
    }
}

@media (min-width: 1280px) {
    .hero {
        padding-bottom: var(--section-margin-top);
    }

    .hero_heading {
        grid-template-columns: 508px 480px;
        justify-content: space-between;
    }

    .hero_heading-title {
        font-size: 40px;
        line-height: 44px;
    }

    .hero_heading-subtitle {
        font-size: 18px;
    }

    .hero_slide {
        padding: 60px;
    }

    .hero_slide-title {
        font-size: 28px;
    }

    .hero_slide-list {
        font-size: 18px;
        max-width: 392px;
    }

    .hero_slide-button {
        font-size: 18px;
        max-width: 210px;
        height: 48px;
    }

    .hero_advantage {
        padding-left: var(--gap-xl);
    }

    .hero_advantage-title {
        font-size: 40px;
    }

    .hero_advantage-text {
        font-size: 18px;
    }

    .advantages {
        margin-top: 40px;
    }

    .advantages_list {
        gap: var(--gap-2xl);
    }

    .advantages_card {
        padding: 24px;
    }

    .advantages_card-icon {
        width: 52px;
        height: 52px;
        margin-bottom: var(--gap-xl);
    }

    .advantages_card-icon svg {
        width: 32px;
        height: 32px;
    }

    .advantages_card-title {
        font-size: 20px;
    }

    .hero_advantage-text {
        font-size: 17px;
    }

    .aboutUs_content p {
        font-size: 17px;
    }

    .testimonials {
        padding-bottom: calc(var(--section-margin-top) - var(--gap-2xl));
    }

    .grid-sizer,
    .grid-item {
        width: calc((100% - var(--gap-2xl) * 2) / 3);
    }

    .testimonials_card {
        padding: 24px;
        margin-bottom: var(--gap-2xl);
    }

    .testimonials_card-name {
        font-size: 15px;
    }

    .testimonials_card-question {
        font-size: 14px;
    }

    .testimonials_card-text {
        font-size: 17px;
    }
}