/* Hero */

.hero {
    margin: 40px 0 140px;
}

@media (max-width: 1280.98px) {
    .hero {
        margin-bottom: 100px;
    }
}

@media (max-width: 487.98px) {
    .hero {
        margin-bottom: 80px;
    }
}

.hero__content {
    border-radius: var(--Large-BG) var(--Large-BG) 0 0;
    background-color: var(--Main-Blue-800);
    display: flex;
    padding: 80px 140px 140px 140px;
    flex-direction: column;
    align-items: flex-start;
    background-image: url("../assets/images/ai-seo-services/hero-bg.png");
    background-position: right top;
    background-repeat: no-repeat;
}

@media (max-width: 1280.98px) {
    .hero__content {
        padding: 80px 60px 100px 60px;
        border-radius: var(--Large) var(--Large) 0 0;
        background-image: url("../assets/images/ai-seo-services/hero-bg-tablet.png");
    }
}

@media (max-width: 767.98px) {
    .hero__content {
        padding: 80px 20px 100px 20px;
        border-radius: var(--Middle) var(--Middle) 0 0;
        background-image: none;
    }
}

.hero__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.hero__title {
    color: var(--White);
    font-size: 72px;
    font-weight: 700;
    line-height: 1.08em;
}

@media (max-width: 767.98px) {
    .hero__title {
        font-size: 34px;
        line-height: 118%;
        /* 40.12px */
    }
}

.hero__text {
    color: var(--Gray-400);
    font-size: 24px;
    line-height: 1.6em;
    max-width: 612px;
}

@media (max-width: 767.98px) {
    .hero__text {
        flex-direction: column;
        display: flex;
        gap: 18px;
        font-size: 19px;
        line-height: 140%;
        /* 26.6px */
    }
}

@media (max-width: 1280.98px) {
    .hero__button-wrapper-ds {
        display: none !important;
    }
}

.hero__button-wrapper-mb {
    display: none !important;
}

@media (max-width: 1280.98px) {
    .hero__button-wrapper-mb {
        display: flex !important;
        margin-top: 40px;
        margin-right: auto;
    }
}

.hero__button-wrapper-mb .button-wrapper {
    height: 52px !important;
}

.hero__button-wrapper-mb .button {
    height: 52px;
    max-width: -moz-fit-content;
    max-width: fit-content;
    padding: 10px 8px !important;
    height: 52px;
    gap: 8px;
}

.hero__button-wrapper-mb .button span {
    font-size: 22px !important;
}

.hero__button-wrapper-mb .button:active {
    height: 48px;
    padding: 6px 4px !important;
}

.hero__button-wrapper-mb .button__arrow {
    display: block !important;
}

.hero-bottom {
    border-radius: var(--Large-BG);
    background-color: var(--White);
    margin-top: -70px;
    padding: 90px 120px;
    background-image: url("../assets/images/ai-seo-services/hero-second-bg.png");
    background-repeat: no-repeat;
    background-position: top center;
}

@media (max-width: 1280.98px) {
    .hero-bottom {
        margin-top: -33px;
        border-radius: var(--Large);
        padding: 60px;
        background-position: left top;
        background-image: url("../assets/images/ai-seo-services/hero-second-bg-tablet.png");
    }
}

@media (max-width: 767.98px) {
    .hero-bottom {
        padding: 30px 20px;
        background-image: url("../assets/images/ai-seo-services/hero-second-bg-mobile.png");
        margin-top: -41px;
    }
}

.hero-bottom__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 1536.98px) {
    .hero-bottom__cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero-bottom__cards {
        gap: 14px;
    }
}

.hero-bottom__card {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    gap: 36px;
    border-radius: var(--Middle, 24px);
    background: var(--Main-Blue-900);
    flex: 1 0 0;
    transition: all 0.3s ease-in;
}

@media (max-width: 1280.98px) {
    .hero-bottom__card {
        border-radius: var(--Middle);
        background: var(--Main-Blue-600);
    }
}

@media (min-width: 767.98px) {
    .hero-bottom__card {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .hero-bottom__card {
        padding: 40px 20px;
        flex-direction: column-reverse;
    }
}

@media (min-width: 1280.98px) {
    .hero-bottom__card:hover {
        background: var(--Main-Blue-600);
    }

    .hero-bottom__card:hover .hero-bottom__button-wrapper {
        opacity: 1;
        visibility: visible;
    }

    .hero-bottom__card:hover .hero-bottom__image img:nth-child(1) {
        visibility: visible;
        opacity: 1;
    }

    .hero-bottom__card:hover .hero-bottom__image img:nth-child(2) {
        visibility: hidden;
        opacity: 0;
    }
}

.hero-bottom__left {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 767.98px) {
    .hero-bottom__left {
        gap: 36px;
    }
}

.hero-bottom__title {
    color: #FFF;
    /* Headings/H6 */
    font-family: "League Spartan";
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: 118%;
    /* 40.12px */
}

@media (max-width: 767.98px) {
    .hero-bottom__title {
        height: 72px;
        font-size: 26px;
        line-height: 140%;
        /* 36.4px */
        display: flex;
        align-items: center;
    }
}

.hero-bottom__button-wrapper {
    display: flex;
}

@media (min-width: 1280.98px) {
    .hero-bottom__button-wrapper {
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in;
    }
}

@media (max-width: 767.98px) {
    .hero-bottom__button-wrapper {
        width: 100% !important;
        max-width: 100%;
        min-width: 100% !important;
    }

    .hero-bottom__button-wrapper .button {
        width: 100% !important;
        max-width: 340px !important;
    }
}

.hero-bottom__image {
    width: 229px;
    height: 146px !important;
    position: relative;
    min-height: 146px;
    display: block;
}

.hero-bottom__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    transition: all 0.3s ease-in;
}

.hero-bottom__image img:nth-child(1) {
    visibility: hidden;
    opacity: 0;
}

.hero-bottom__image img:nth-child(2) {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 1280.98px) {
    .hero-bottom__image img:nth-child(1) {
        opacity: 1;
        visibility: visible;
    }

    .hero-bottom__image img:nth-child(2) {
        display: none;
        opacity: 0;
        visibility: hidden;
    }
}

/******************************/
.ai-seo-why {
    margin-bottom: 140px;
}

@media (max-width: 1280.98px) {
    .ai-seo-why {
        margin-bottom: 120px;
    }
}

@media (max-width: 767.98px) {
    .ai-seo-why {
        margin-bottom: 80px;
    }
}

.ai-seo-why__container {
    display: flex;
    gap: 24px;
}

@media (max-width: 1536.98px) {
    .ai-seo-why__container {
        flex-direction: column;
    }
}

.ai-seo-why__left {
    padding: 40px 32px;
    border-radius: var(--Middle);
    background: var(--Main-Blue-800);
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 0 1 46.097561%;
}

@media (max-width: 767.98px) {
    .ai-seo-why__left {
        padding: 31.5px 32px;
    }
}

.ai-seo-why__right {
    flex: 0 1 48.536585%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ai-seo-why-left__image img {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .ai-seo-why-left__image {
        display: none;
    }
}

.ai-seo-why-left__title {
    color: var(--White);
    max-width: 431px;
    font-size: 60px;
    font-weight: 700;
    line-height: 116%;
    margin-bottom: 14px;
}

@media (max-width: 767.98px) {
    .ai-seo-why-left__title {
        font-size: 30px;
        line-height: 128%;
    }
}

.ai-seo-why-left__text {
    color: var(--Gray-400);
    max-width: 598px;
    font-size: 19px;
    line-height: 140%;
}

.ai-seo-why-right-card {
    display: flex;
    padding: 32px;
    border-radius: var(--Middle);
    background: var(--Secondary-Turquoise-300);
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    position: relative;
}

.ai-seo-why-right-card::after {
    content: url("../assets/images/ai-seo-services/decor-2.png");
    right: 75px;
    position: absolute;
    top: -29px;
}

@media (max-width: 1280.98px) {
    .ai-seo-why-right-card::after {
        right: 59px;
    }
}

@media (max-width: 767.98px) {
    .ai-seo-why-right-card::after {
        right: 18px;
    }
}

@media (max-width: 767.98px) {
    .ai-seo-why-right-card {
        padding: 32px 24px;
    }
}

.ai-seo-why-right-card__label {
    margin-bottom: 14px;
}

.ai-seo-why-right-card__text {
    color: var(--Gray-900);
    font-size: 19px;
    line-height: 140%;
}

/* Feedback Slider */

#clients_feedback {
    padding-top: 120px;
    margin-top: 0;
    border-radius: 60px;
}

/*******************************/
.ai-seo-services__faq {
    margin-bottom: 160px;
}

@media (max-width: 1280.98px) {
    .ai-seo-services__faq {
        margin-bottom: 140px;
    }
}

@media (max-width: 767.98px) {
    .ai-seo-services__faq {
        margin-bottom: 70px;
    }
}

.seo-services-faq__wrapper {
    display: inline-flex;
    align-self: stretch;
    gap: 24px;
}

@media (max-width: 1280.98px) {
    .seo-services-faq__wrapper {
        flex-direction: column-reverse;
    }
}

.seo-services-faq__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 0 1 57.743902%;
    /* 947/1640 */
}

.seo-services-faq__item {
    display: flex;
    padding: 40px 32px;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    border-radius: var(--Middle);
    background: var(--Main-Blue-800);
}

@media (max-width: 767.98px) {
    .seo-services-faq__item {
        flex-direction: column;
        padding: 40px 20px;
    }
}

.seo-services-faq__decor {
    width: 23px;
    height: 40px;
}

.seo-services-faq__decor img {
    aspect-ratio: 23/40;
}

.seo-services-faq__content {
    display: flex;
    flex-direction: column;
}

.seo-services-faq__title {
    color: var(--White);
    margin-bottom: 14px;
    font-size: 34px;
    font-weight: 700;
    line-height: 118%;
    /* 40.12px */
}

@media (max-width: 767.98px) {
    .seo-services-faq__title {
        font-size: 26px;
        line-height: 140%;
        /* 36.4px */
    }
}

.seo-services-faq__text {
    color: var(--Gray-400);
    font-size: 22px;
    line-height: 140%;
    /* 30.8px */
}

@media (max-width: 767.98px) {
    .seo-services-faq__text {
        font-size: 19px;
        line-height: 140%;
        /* 26.6px */
    }
}

.seo-services-faq__right {
    display: flex;
    overflow: hidden;
    flex: 0 1 40.792683%;
    /* 669/1640 */
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    border-radius: var(--Middle);
    background: var(--Secondary-Turquoise-500);
}

.bottom-cta__right-img {
    max-height: 513px;
}

.seo-services-faq__right img {
    max-width: 100%;
    width: 100%;
}

@media (max-width: 1280.98px) {
    .seo-services-faq__right {
        align-items: center;
        justify-content: center;
    }
}