body {
    font-family: var(--gift-font-heebo);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.page-template-home-page-new-design .container {
    max-width: 93.75vw;
    padding-top: 0;
    padding-bottom: 0;
    justify-content: space-between;
    gap: 25px;
}

@media (min-width: 1680px) {
    .page-template-home-page-new-design .container {
        max-width: 1640px;
    }
}

.page-template-home-page-new-design .btn {
    border-radius: 10px;
}

.btn-orange-new {
    background: var(--nd-color-orange);
    padding: 13px 18px;
}

.btn-yellow {
    background-color: var(--nd-color-yellow);
    color: #191716;
}

.btn-yellow:hover {
    background-color: #F4B942;
}

.btn-blue {
    background: var(--nd-color-blue);
    color: #191716;
}

.btn-blue:hover {
    background: #529DE8;
}

.main-slider-image > div {
    position: relative;
    width: 100%;
    padding-bottom: 105.56%;
}

.main-slider-image > div > img,
.home-block-video a img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-position: center;
    object-fit: cover;
}

.main-slider-image-desktop {
    display: none;
}

.main-slider-data {
    position: absolute;
    left: 0;
    top: 24px;
    width: 100%;
}

.slider-data-wrap {
    max-width: 280px;
}

.slider-data-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.slider-data-text {
    margin-bottom: 20px;
    text-wrap: balance;
}

.main-slider .swiper-pagination {
    text-align: left;
    padding-left: 24px;
}

@media (min-width: 576px) {
    .main-slider-image > div {
        padding-bottom: 90%;
    }

    .slider-data-wrap {
        max-width: 450px;
    }

    .slider-data-title {
        font-size: 56px;
    }
}

@media (min-width: 992px) {
    .main-slider-image > div {
        padding-bottom: 32.58%;
    }

    .main-slider-image-desktop {
        display: block;
    }

    .main-slider-image-mobile {
        display: none;
    }

    .main-slider-data {
        top: 46%;
        transform: translateY(-50%);
    }

    .slider-data-wrap {
        max-width: 600px;
    }

    .slider-data-title {
        font-size: clamp(3rem, 1.931rem + 1.7241vw, 4rem);
        margin-bottom: 20px;
    }

    .slider-data-text {
        font-size: 28px;
        line-height: 1.45;
    }

    .slider-data-link a {
        width: 100%;
        max-width: 334px;
        font-size: clamp(1rem, 0.119rem + 0.9524vw, 1.25rem) !important;
    }
}

@media (min-width: 992px) {
    .main-slider .swiper-pagination {
        padding-left: calc(3.125vw + 12px);
    }
}

@media (min-width: 1680px) {
    .main-slider .swiper-pagination {
        padding-left: calc((100vw - 1624px) / 2);
    }
}

/* greeting-groups */
.greeting-groups {
    position: relative;
    background: #F2F5F7;
    padding: 70px 0;
    overflow: hidden;
}

.greeting-groups::before,
.greeting-groups::after,
.block-special::before,
.block-special::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #F25F18;
    opacity: 0.1;
}

.greeting-groups::before,
.greeting-groups::after {
    opacity: 0.2;
    width: 157px;
    height: 157px;
}


.greeting-groups::before {
    left: -58px;
    top: -44px;
}
.greeting-groups::after {
    right: -38px;
    bottom: -99px;
}

.greeting-groups-text {
    text-align: center;
    max-width: calc(100% - 40px);
    font-size: 18px;
    margin: 0 auto;
}

.greeting-groups-list {
    margin-top: 25px;
}

.greeting-groups-tabs {
    max-width: 100%;
    overflow-y: auto;
    padding-bottom: 10px;
}

.greeting-groups-tabs-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.greeting-group-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #DADFF7;
    font-size: 16px;
    min-width: 150px;
    width: 13.96%;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.25s;
}

.greeting-group-tab:hover {
    background-color: #C0C9F0;
}

.greeting-group-tab.active {
    background: #38369A;
    color: #ffffff;
}

.greeting-groups-content {
    margin-top: 5px;
}

.greeting-group-content .swiper-slide {
    padding: 10px;
    width: 250px;
    height: auto;
    align-self: stretch;
}


.greeting-group-content:not(.active) {
    display: none;
}

.greeting-groups-link {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.greeting-groups-link .btn {
    width: 100%;
    max-width: 304px;
}

.rtl .greeting-groups-link .btn {
    max-width: 320px;
}

@media (min-width: 992px) {
    .greeting-groups {
        padding: 111px 0;
    }

    .greeting-groups-text {
        font-size: 20px;
    }

    .greeting-groups-list {
        margin-top: 26px;
    }

    .greeting-groups-tabs-wrap {
        justify-content: center;
    }

    .greeting-group-tab {
        min-width: 220px;
    }

    .greeting-groups-content {
        margin-top: 10px;
    }
}

/* home blocks */
.home-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 70px 0;
}

.block-start {
    border-bottom: 5px solid #F2F5F7;
}

.home-block:not(.block-small) > * {
    max-width: 675px;
}

.block-title {
    font-size: clamp(1.75rem, 1.4828rem + 0.431vw, 2rem);
    text-align: center;
}

.block-text {
    font-size: clamp(1.125rem, 0.9914rem + 0.2155vw, 1.25rem);
    text-align: center;
}

.home-block-1-image img {
    object-fit: contain;
}

.home-block-video {
    width: 100%;
}
.home-block-video a {
    position: relative;
    display: block;
    width: 100%;
    max-width: 674px;
    padding-bottom: 56.23%;
    overflow: hidden;
    border-radius: 16px;
    color: #ffffff;
}

.home-block-video a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
}

.home-block-video svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.home-small-blocks {
    position: relative;
    background: #FFF1D5;
    z-index: 0;
}

.home-small-blocks > * {
    position: relative;
    z-index: 2;
}

.home-small-blocks::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 50%;
    height: 100%;
    background: #E1EFFD;
    z-index: 1;
}

.rtl .home-small-blocks::before {
    left: 0;
}

.home-block.block-small {
    padding: 40px 20px;
}

.block-small-icon svg {
    width: 70px;
    height: 70px;
}

.block-small .block-title {
    margin-bottom: 20px;
    font-weight: 400;
}

.block-small .block-text {
    font-size: 16px;
    text-align: center;
}

.block-small-1 {
    background: #FFF1D5;
}


.block-small-2 {
    background: #E1EFFD;
}

.block-small-button .btn {
    white-space: nowrap;
    min-height: auto;
}

@media (max-width: 991px) {
    .page-template-home-page-new-design .home-small-blocks .container {
        max-width: 100vw;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .home-blocks-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .home-block {
        --home-padding-x: 12.05%;
        gap: 24px;
    }

    .home-block.block-small {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .home-block:not(.block-small) {
        padding-top: 120px;
        padding-bottom: 120px;
        --home-padding-x: 18%
    }

    body:not(.rtl) .home-block:nth-of-type(1) {
        padding-right: var(--home-padding-x);
    }

    body:not(.rtl)  .home-block:nth-of-type(2) {
        padding-left: var(--home-padding-x);
    }


    body.rtl .home-block:nth-of-type(1) {
        padding-left: var(--home-padding-x);
    }

    body.rtl .home-block:nth-of-type(2) {
        padding-right: var(--home-padding-x);
    }

    .block-start {
        border-bottom: none;
        border-right: 5px solid #F2F5F7;
    }

    .rtl .block-start {
        border-right: none;
        border-left: 5px solid #F2F5F7;
    }

    .block-start .btn {
        min-width: 240px;
    }

    .block-title {
        font-weight: 700;
    }

    .block-small .block-text {
        line-height: 1.35;
    }

    .home-block-video svg {
        width: 56px;
        height: 56px;
    }
}

@media (min-width: 1200px) {
    .home-block.block-small {
        --home-padding-x: 11%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .block-small .block-text,
    .block-small .block-title {
        text-align: left;
    }

    .rtl .block-small .block-text,
    .rtl .block-small .block-title {
        text-align: right;
    }
}

@media (min-width: 1480px) {
    .block-small-icon svg {
        width: 65px;
        height: 65px;
    }

    .block-small .block-title {
        font-size: clamp(1.625rem, 0.3636rem + 1.3636vw, 2rem);
        margin-bottom: 14px;
    }

    .page-template-home-page-new-design .block-small-icon .btn.btn-large {
        padding-left: clamp(2rem, -3.0455rem + 5.4545vw, 3.5rem);
        padding-right: clamp(2rem, -3.0455rem + 5.4545vw, 3.5rem);
    }
}

@media (min-width: 1680px) {
    .block-small-icon svg {
        width: 75px;
        height: 75px;
    }

    .block-small .block-title {
        margin-bottom: 14px;
    }
}


/* block-special */
.block-special {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
}

.block-special::before,
.block-special::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #F25F18;
    opacity: 0.1;
}

.block-special::before {
    left: -64px;
    top: -47px;
}

.block-special::after {
    right: -53px;
    bottom: -35px;
}

.block-title-h2 {
    text-align: center;
    margin-bottom: 16px;
    text-wrap: balance;
    line-height: 1.24;
    font-size: clamp(1.75rem, 1.0291rem + 1.1628vw, 2.25rem);
}

.block-special .swiper {
    margin-top: 16px;
}

.block-special .swiper-slide {
    width: 300px;
    height: auto;
    padding: 10px;
    align-self: stretch;
}

.block-special-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    padding: 35px 5px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 3px 10px 0 rgba(41, 38, 34, 0.1);
    width: 100%;
    height: 100%;
}

.block-special-item-icon {
    background: rgba(242, 95, 24, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.block-special-item-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    text-wrap: balance;
}

.block-special-item-text {
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

@media (min-width: 1280px) {
    .block-special {
        padding-top: 110px;
        padding-bottom: 110px;
    }

    .block-special-item {
        padding: 35px 22px;
    }

    .block-special .swiper-slide {
        width: 25%;
    }

    .block-special-item-title {
        font-size: 20px;
    }

    .block-special-item-text {
        font-size: 16px;
    }

}

.grid-images {
    background: #F2F5F7;
    padding: 112px 0;
}

.grid-images-text {
    font-size: 20px;
    text-align: center;
}

.grid-images-container {
    width: 100%;
    overflow-y: auto;
}

.grid-images-wrap {
    margin-top: 30px;
    display: grid;
    gap: 10px;
    grid-template-columns: 37.75% 24.1875% 16.3125% 18%;
    grid-template-rows: auto;
    width: 100%;
    min-width: 840px;
}

.grid-images-wrap .sub-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 34.5382% 63.42%;
    grid-template-rows: auto;
    width: 100%;
}

.grid-images-wrap .item-3 {
    grid-row: span 2;
}

.grid-images-wrap .item-5 {
    grid-column: span 2;
}

.grid-images-item-wrap {
    overflow: hidden;
    border-radius: 16px;
    height: 100%;
    width: 100%;
}

.grid-images-item-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.grid-images-button {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .grid-images-container {
        overflow-y: inherit;
    }

    .grid-images-wrap,
    .grid-images-wrap .sub-grid {
        gap: 20px;
    }
}

/* reviews */
.reviews {
    position: relative;
    padding: 70px 0;
    z-index: 0;
    overflow: hidden;
}

.reviews .container {
    position: relative;
    z-index: 2;
}

.reviews::before,
.reviews::after {
    content: "";
    position: absolute;
    z-index: 1;
}

.reviews::before {
    content: url("data:image/svg+xml,%3Csvg width='122' height='132' viewBox='0 0 122 132' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M256.898 -102.612C256.898 -102.612 25.4171 -135.895 0.0691143 129.726C54.0756 136.458 223.693 132.184 256.898 -102.612Z' fill='white'/%3E%3Cpath d='M256.898 -102.612C256.898 -102.612 25.4171 -135.895 0.0691143 129.726C54.0756 136.458 223.693 132.184 256.898 -102.612Z' fill='%23038000' fill-opacity='0.1'/%3E%3C/svg%3E%0A");
    top: -60px;
    right: -60px;
}

.reviews::after {
    content: url("data:image/svg+xml,%3Csvg width='105' height='162' viewBox='0 0 105 162' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M104.113 1.72769C104.113 1.72769 -127.368 -31.5555 -152.716 234.066C-98.7096 240.798 70.9083 236.524 104.113 1.72769Z' fill='white'/%3E%3Cpath d='M104.113 1.72769C104.113 1.72769 -127.368 -31.5555 -152.716 234.066C-98.7096 240.798 70.9083 236.524 104.113 1.72769Z' fill='%23038000' fill-opacity='0.1'/%3E%3C/svg%3E");
    bottom: -94px;
    left: -40px;
}

.reviews-swiper .swiper-slide {
    padding: 10px;
    width: 300px;
    height: auto;
    align-self: stretch;
}

.review-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    padding: 50px 5px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 3px 10px 0 rgba(41, 38, 34, 0.1);
    height: 100%;
    background: #ffffff;
}

.review-item::after {
    content: url("data:image/svg+xml,%3Csvg width='40' height='28' viewBox='0 0 40 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.0833 9.08776V10.0441C18.0833 18.9127 11.5176 26.1398 2.94319 27.1685C1.81613 27.3037 0.833313 26.3948 0.833313 25.2597C0.833313 24.2802 1.5735 23.476 2.54526 23.3536C5.56604 22.9731 8.27162 21.6022 10.2942 19.614C11.0125 18.9079 10.4963 17.7066 9.48902 17.7107C9.47946 17.7107 9.46989 17.7107 9.46033 17.7107C4.51766 17.7107 0.595964 13.6354 0.844509 8.63849C1.06182 4.26953 4.64209 0.689253 9.01106 0.471941C14.008 0.223394 18.0833 4.14509 18.0833 9.08776Z' fill='%23FFC759'/%3E%3Cpath d='M39.1667 9.27885L39.1667 10.0441C39.1667 18.9127 32.601 26.1398 24.0266 27.1685C22.8995 27.3037 21.9167 26.3948 21.9167 25.2597C21.9167 24.2803 22.6568 23.476 23.6285 23.3535C26.6475 22.9728 29.3538 21.6018 31.3754 19.6139C32.0935 18.9077 31.5773 17.7064 30.5702 17.7107C30.56 17.7107 30.5498 17.7107 30.5397 17.7107C25.75 17.7107 21.9167 13.8774 21.9167 9.08776C21.9167 4.20999 25.8857 0.326559 30.7926 0.464298C35.4894 0.596142 39.1667 4.58017 39.1667 9.27885Z' fill='%23FFC759'/%3E%3C/svg%3E");
    position: absolute;
    top: 29px;
    right: 23px
}

.review-item-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
}

.review-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.review-item-text {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.35;
}

.review-item-name {
    font-size: 14px;
    opacity: 0.6;
}

@media (max-width: 991px) {
    .reviews .container {
        padding: 0;
    }
}

@media (min-width: 992px) {
    .reviews {
        padding-top: 108px;
        padding-bottom: 108px;
    }

    .reviews::before {
        top: -4px;
        right: -7px;
    }

    .reviews::after {
        bottom: -5px;
        left: -5px;
    }

    .review-item {
        padding: 34px 26px;
    }
}