.elementor-834192 .elementor-element.elementor-element-cc9e8b0{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-834192 .elementor-element.elementor-element-4147734 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}@media(min-width:768px){.elementor-834192 .elementor-element.elementor-element-cc9e8b0{--content-width:100%;}}/* Start custom CSS for container, class: .elementor-element-cc9e8b0 */.kazan-posle-3-abzacza-vnutri-kontenta {
    display: none !important;
}

.cont {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.wrap {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-self: flex-start;
}

.team {
    margin: 0;
    padding: 10px;
    display: flex;
    align-self: flex-start;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 24px;
    text-decoration: underline;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.team:hover {
    opacity: .7;
}

.wrap-container {
    margin: 0;
    padding: 15px 20px;
    height: 0;
    width: 0;
    opacity: 0;
    position: absolute;
    left: 10px;
    background-color: #00000097;
    transform: translateY(0);
    border-radius: 15px;
    border-bottom-left-radius: 0;
    z-index: 1000;
    overflow: hidden;
    transition: 
        opacity 0.5s ease-in-out, 
        transform 0.5s ease-in-out, 
        height 0.4s ease-in-out,
        width 0.4s ease-in-out;
    visibility: hidden;
}

.wrap-container_opened {
    display: flex;
    opacity: 1; 
    transform: translateY(-60px);
    visibility: visible;
    height: 180px;
    width: 500px;
}


.wrap-text {
    color: #fff;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 16px;
    user-select: none;
}

.wrap-text a {
    text-decoration: none;
    color: #fff;
}

.main-container {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    height: 120vh;
    background: rgb(22, 22, 22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main {
    padding: 55px 50px 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.main__box {
    position: relative;
    display: flex;
}

.main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.intro {
    max-width: 810px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 21px;
    z-index: 2;
}

.main-stack {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: Georgia, sans-serif;

}

.main__title {
    font-size: 52px;
    font-weight: 700;
    text-align: center;

    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease-in-out, transform .7s ease-in-out;
}

.main__subtitle {
    font-size: 32px;
    font-weight: 700;
    text-align: center;

    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease-in-out, transform .7s ease-in-out;
}

.main__text {
    font-size: 18px;
    font-weight: 400;
    line-height: -1px;
    letter-spacing: 0px;
    text-align: center;
    max-width: 560px;

    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Анимация текста при загрузке страницы */
  
.show {
    opacity: 1;
    transform: translateY(0);
}

/* ______________________ */

.card-list {
    margin: 400px 0 0;

    position: relative;
    width: 100%;
    z-index: 2;

}

.card__box {
    padding: 0;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    opacity: 0;
    transition: all 0.5s ease-in-out;
    transform-origin: 50% 100%; 
}

.card {
    margin: 0;
    padding: 35px 30px;
    position: relative;
    width: 196px;
    height: 268px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 25px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    transform-origin: 50% 100%;
}

.active {
    opacity: 1;
}  

.card__box1.active {
    transform: translate(-50%, -50%) translateX(-600px) translateY(-250px); /* Сдвиг влево и вверх */
}

.card__box2.active {
    transform: translate(-50%, -50%) translateX(-350px) translateY(20px); /* Сдвиг влево и вверх */
}

.card__box3.active {
    transform: translate(-50%, -50%) translateY(90px); /* Останавливается на месте */
}

.card__box4.active {
    transform: translate(-50%, -50%) translateX(350px) translateY(20px); /* Сдвиг вправо и вверх*/
}

.card__box5.active {
    transform: translate(-50%, -50%) translateX(600px) translateY(-250px); /* Сдвиг вправо и вверх */
}

.pagination  {
    display: none;
}

.card__background {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180.00deg,
        rgba(255, 255, 255, 0.09) -13.231%,
        rgba(0, 0, 0, 0.8) 100%
    );
    transition: 0.3s ease-in-out;
    border-radius: 25px;
}

.card:hover::after {
    background-color: #229799ad;
}

.card:active::after {
    background-color: #229799ad; 
}

.card:active .card__button::after {
    transform: translateX(0);
}

.card__title {
    color: #fff;
    font-family: Georgia;
    font-size: 24px;
    font-weight: 700;
    line-height: -1px;
    letter-spacing: 0px;
    text-align: center;
    text-transform: uppercase;
    z-index: 2;
}

.card__button {
    color: #fff;
    font-family: Georgia;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: center;
    box-sizing: border-box;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 25px;
    padding: 1px 18px;
    background-color: transparent;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.card__button::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #ffffff2c;
    transform: translateX(-200px);
    transition: 0.5s transform ease-in-out;
}

.card__button:hover::after {
    transform: translateX(0);
}


.popup {
    width: 100%;
    display: none;
    padding: 44px 50px 66px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
}

.popup1 {
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/2148950379-1-1.jpg');
}

.popup2 {
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/moneta-1.jpg');
}

.popup3 {
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/pexels-fotios-photos-1957477.jpg');
}

.popup4 {
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/pexels-fauxels-3183197.jpg');
}

.popup5 {
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/pexels-fauxels-3184317-1.jpg');
}

.popup::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(86.61% 81.44% at 2% 102%,rgba(34, 151, 153, 0.6),rgba(0, 0, 0, 0.6) 100%),radial-gradient(70.71% 62.80% at 100% 0%,rgba(34, 151, 153, 0.6),rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.popup_opened {
    display: flex;
}

.popup__container {
    max-width: 1342px;
    display: flex;
    flex-direction: column;
}

.box {
    display: flex;
    gap: 30px;
    justify-content: center;
    z-index: 4;
}

.box2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 4;
    gap: 40px;
}

.popup__section {
    max-width: 661px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popup__box {
    width: 661px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
    border-radius: 20px;
    background: radial-gradient(107.15% 110.02% at 2% 1%,rgba(255, 255, 255, 0.12),rgba(0, 0, 0, 0) 100%),radial-gradient(41.73% 46.10% at 100% 98%,rgba(255, 255, 255, 0.13),rgba(255, 255, 255, 0) 100%),rgba(34, 151, 153, 0.25);
    transition: .3s background ease-in-out;
}

.popup__box:hover {
    border-radius: 25px;
    background: rgba(34, 151, 153, 0.49);
}

.box-margin {
    margin-top: 40px;
}

.popup__title {
    color: #fff;
    font-family: Georgia;
    font-size: 72px;
    font-weight: 700;
    line-height: -1px;
    letter-spacing: 0px;
    text-align: left;
}

.popup__button {
    margin: 0;
    padding: 0;
    width: 34px;
    height: 18px;
    color: #fff;
    font-size: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 1;
    transition: .3s opacity ease-in-out;
    z-index: 4;
}

.popup__button img {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    z-index: 4;
}

.popup__button:hover {
    opacity: .7;
}

.popup__text {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: Georgia;
    font-size: 18px;
    font-weight: 400;
    line-height: -1px;
    letter-spacing: 0px;
    text-align: left;
}

.popup__text a {
    color: #fff;
}

.popup__subtitle {
    margin-bottom: 30px;
    color: rgb(255, 255, 255);
    font-family: Georgia;
    font-size: 24px;
    font-weight: 700;
    line-height: -1px;
    letter-spacing: 0px;
    text-align: left;
}

.popup__button-next {
    margin-top: 15px;
    padding: 2px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    font-size: 26px;
    align-self: end;
    cursor: pointer;
    opacity: 1;
    transition: .3s opacity ease-in-out;
    z-index: 4;
}

.popup5 .popup__button-next {
    margin-top: 15px;
    padding: 2px 5px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-size: 24px;
    font-family: Georgia, Sans-Serif;
    align-self: end;
    cursor: pointer;
    opacity: 1;
    transition: .3s opacity ease-in-out;
    z-index: 4;
}

.popup__button-next:hover {
    opacity: .7;
}

.quote {
    padding: 20px;
    width: 661px;
    display: flex;
    gap: 20px;
    font-style: italic;
    border-radius: 20px;
    background: radial-gradient(107.15% 110.02% at 2% 1%,rgba(255, 255, 255, 0.12),rgba(0, 0, 0, 0) 100%),radial-gradient(41.73% 46.10% at 100% 98%,rgba(255, 255, 255, 0.13),rgba(255, 255, 255, 0) 100%),rgba(34, 151, 153, 0.25);
    transition: .3s background ease-in-out;
    position: relative;
}

.quote1 {
    margin-top: 170px;
}

.quote2 {
    margin-top: 55px;
}

.quote3 {
    flex-direction: column;
    height: auto;
}

.quote:hover {
    border-radius: 25px;
    background: rgba(34, 151, 153, 0.49);
}


.quote__box:nth-of-type(2) {
    width: 257px ;
}

.block-outer {
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    gap: 30px;  
    /* align-items: center; */
    justify-content: center;
    align-items: stretch;
    /* justify-items: stretch; */

}

.block-inner {
    width: 661px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* изображения  */

/* общие стили для всех изображений бэкграундов */
.popup__image {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.popup__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(-1.13deg, rgba(72, 207, 203, 0.35) 20.466%,rgba(0, 0, 0, 0.22) 95.493%);
    opacity: 1;
    transition: .3s opacity ease-in-out;
    border-radius: 20px;
}

.popup__image:hover::after {
    opacity: 0;
}

/* ------------------------------------ */

.popup1__image {
    width: 661px;
    height: 828px;
    border-radius: 20px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/pexels-pixabay-273671.png');
}

.popup2__image {
    width: 661px;
    height: 828px;
    border-radius: 20px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/pexels-polina-tankilevitch-6927367.png');
}

.popup3__images {
    /* margin-top: 30px; */
    width: 661px;
    height: 414px;
    border-radius: 20px;
    overflow: hidden;
}

.popup3__image1 {
    width: 100%;
    height: 33%;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/cbqpmdkmevelqh2yintr.jpg');
}

.popup3__image2 {
    width: 100%;
    height: 33%;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/pldtwqdfsu6acpojwhym.jpg');
}

.popup3__image3 {
    width: 100%;
    height: 34%;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/3qncmwktp9bzvdb3ywwe-1060x600-886x500-1.jpg');
    opacity: 1;
    transition: .3s opacity ease-in-out;
}

.popup3__image4 {
    width: 661px;
    height: 549px;
    border-radius: 20px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/pexels-pixabay-327041.png');
    overflow: hidden;
}

.popup3__images2 {
    margin-top: 170px;
    width: 661px;
    height: 474px;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
}

.img1 {
    height: 100%;
    width: 33%;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/pexels-ivan-samkov-4240497.jpg');
    opacity: 1;
    transition: .3s opacity ease-in-out;
}

.img2 {
    height: 100%;
    width: 33%;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/pexels-emocionaligencia-1474993.jpg');
    opacity: 1;
    transition: .3s opacity ease-in-out;
}

.img3 {
    height: 100%;
    width: 34%;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/10/kamaz.jpg');
    opacity: 1;
    transition: .3s opacity ease-in-out;
}

.popup3__image5 {
    width: 661px;
    height: 674px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/10/kolbs.jpg');
    border-radius: 20px;
}

.popup4__image {
    width: 661px;
    height: 240px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/cd69b2d4-1.jpg');
    border-radius: 20px;
}

.popup4__image2 {
    width: 661px;
    height: 403px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/10/photo_2024-10-24_12-18-09.jpg');
    border-radius: 20px;
}

.popup4__image3 {
    width: 661px;
    height: 486px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/10/pexels-tirachard-kumtanom-112571-733856.jpg');
    border-radius: 20px;
}

.popup4__image4 {
    width: 661px;
    height: 497px;
    border-radius: 20px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/10/image_2024-10-24_12-18-22.png');
}

.popup4__image5 {
    width: 661px;
    height: 525px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/10/8dvqsfcreu.jpg');
    border-radius: 20px;
}

.popup5__image {
    width: 661px;
    height: 740px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/10/pexels-watorious-2381463.jpg');
    border-radius: 20px;
}

.popup5__image2 {
    margin-top: 55px;
    width: 661px;
    height: 328px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/10/1qzrcdlpcbo.jpg');
    border-radius: 20px;
}

.popup5__image3 {
    width: 661px;
    height: 263px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/lrg_fnr08522-1-886x500-1-1.png');
    border-radius: 20px;
}

.popup5__image4 {
    width: 661px;
    height: 570px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/nw0xz41bjla-886x500-1-1.png');
    border-radius: 20px;
}

/* ИЗОБРАЖЕНИЯ ЦИТАТ */

.quote__image {
    position: absolute;
    top: -180px;
    right: 20px;
    width: 320px;
    height: 312px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/10/2-4.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.quote__image2 {
    position: absolute;
    top: -80px;
    right: 0px;
    width: 242px;
    height: 208px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/maska.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.quote__image3 {
    position: absolute;
    top: -110px;
    right: 5px;
    width: 260px;
    height: 277px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/foto-nikolaev.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.quote__image4 {
    position: absolute;
    top: -90px;
    right: -15px;
    width: 250px;
    height: 257px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/mask-2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ИНФОГРАФИКА */

.popup1__infograph {
    height: 216px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/group-2-3-topaz-enhance.png');
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.popup2__infograph {
    height: 216px;
    background-image: url('https://kazanfirst.ru/wp-content/uploads/2024/12/group-2-4-topaz-enhance.png');
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* .popup5 .quote2:nth-child(2) {
    margin: 80px 0;
} */

.mt {
    margin-top: 40px;
}



@media screen and (max-width: 1412px) {
    .main {
        padding: 35px 50px 20px;
    }

    .intro {
        max-width: 690px;
    }

    .main__title {
        font-size: 36px;
    }

    .main__subtitle {
        font-size: 24px;
    }

    .main__text {
        font-size: 20px;
    }

    .card-list {
        margin-top: 450px;
    }

    .card {
        width: 150px;
        height: 200px;
        padding: 15px 10px;
    }

    .card__title {
        font-size: 20px;
    }

    .card__box1.active {
        transform: translate(-50%, -50%) translateX(-250px) translateY(-120px); /* Сдвиг влево и вверх */
    }
    
    .card__box2.active {
        transform: translate(-50%, -50%) translateX(0) translateY(-120px); /* Сдвиг влево и вверх */
    }
    
    .card__box3.active {
        transform: translate(-50%, -50%) translateX(250px) translateY(-120px); /* Останавливается на месте */
    }
    
    .card__box4.active {
        transform: translate(-50%, -50%) translateX(-150px) translateY(100px); /* Сдвиг вправо и вверх*/
    }
    
    .card__box5.active {
        transform: translate(-50%, -50%) translateX(150px) translateY(100px); /* Сдвиг вправо и вверх */
    }

    .box {
        flex-direction: column;
        align-items: center;
    }

    .box2 {
        gap: 30px;
    }

    .box-margin {
        margin: 0;
        gap: 40px;
    }

    .popup {
        padding: 20px 0;
    }

    .popup__button-next {
        align-self: center;
    }

    .popup__section {
        gap: 20px;
    }

    .block-outer {
        flex-direction: column;
    }

    .block-inner {
        gap: 30px;
    }

    .quote2 {
        margin-top: 60px;
    }

    .popup3__images {
        margin: 0;
    }

    .popup3__images2 {
        margin: 0;
    }


    .popup5__image2 {
        margin: 0;
    }

    .quote3 {
        margin: 0;
    }
}


@media screen and (max-width: 687px) {

     .main {
        padding: 30px 0 20px;
    }

    .intro {
        max-width: 320px;
    }

    .main__title {
        font-size: 24px;
    }

    .main__subtitle {
        font-size: 16px;
    }

    .main__text {
        font-size: 12px;
        font-weight: 400;
    }

    .card-list {
        position: relative;
        display: flex;
        overflow-x: auto;
        width: 265px;
        padding: 0;
        margin: 50px 0 0;
        gap: 50px;
    }

    .card-list::-webkit-scrollbar {
        display: none;
    }

    .card__box {
        position: relative;
        transform: translateX(0);
        bottom: 0;
        left: 0; 
        opacity: 1;
        transition: all 0.5s ease-in-out;
        transform-origin: 50% 100%;
    }

    .card {
        margin: 0;
        padding: 25px;
        display: flex;
        flex-shrink: 0;
        width: 265px;
        height: 368px;
        box-sizing: border-box;
    }
    
    .card, .pagination, .card__title, .card__button {
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -webkit-touch-callout: none;
        -webkit-user-drag: none;
    }


    .card__box1.active {
        opacity: 1;
        transform: translate(0, 0); 
    }

    .card__box2.active {
        opacity: 1;
        transform: translate(0, 0);
    }

    .card__box3.active {
        opacity: 1;
        transform: translate(0, 0);
    }

    .card__box4.active {
        opacity: 1;
        transform: translate(0, 0);
    }

    .card__box5.active {
        opacity: 1;
        transform: translate(0, 0);
    }

    .card__box1 {
        transform: translate(0, 50px);
    }

    .card__box2 {
        transform: translate(0, 50px);
    }

    .card__box3 {
        transform: translate(0, 50px);
    }

    .card__box4 {
        transform: translate(0, 50px);
    }

    .card__box5 {
        transform: translate(0, 50px);
    }
    
    .pagination {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
      
    .pagination-dot {
        padding: 0 !important;
        border: 1px solid red;
        background-color: #ddd;
        border: none;
        border-radius: 50%;
        width: 10px;
        height: 10px !important;
        margin: 0 5px;
        cursor: pointer;
    }
    
    .pagination-dot.active {
        background-color: #333;
    }

    .popup__section {
        align-items: center;
    }

    .popup__button {
        align-self: center;
        margin-bottom: 20px;
    }

    .popup__title {
        padding: 0 10px;
        text-align: center;
        font-size: 32px;
    }

    .popup1__image {
        width: 310px;
        height: 180px;
    }

    .popup__box {
        max-width: 310px;
        padding: 10px;
    }

    .popup__text {
        font-size: 16px;
        line-height: normal;
    }

    .popup__subtitle {
        margin-bottom: 10px;
        font-size: 16px;
        /* letter-spacing: .4px; */
    }

    .popup1__infograph, .popup2__infograph {
        width: 290px;
        height: 110px;
    }

    .popup2__image {
        width: 310px;
        height: 152px;
    }

    .popup3__images {
        width: 320px;
        height: 266px;
        border-radius: 20px;
        overflow: hidden;
    }

    .quote {
        margin-top: 110px;
        width: 310px;
        height: auto;
        flex-direction: column;
        gap: 0;
    }

    .quote2 {
        margin-top: 90px;
    }

    .quote__box {
        width: auto;
    }

    .quote__text {
        margin: 0;
        line-height: normal;
    }

    .quote__image {
        top: -130px;
        right: 0;
        width: 190px;
        height: 210px;
        background-position: left;
    }

    .quote__image2 {
        top: -110px;
        right: 10px;
        width: 150px;
        height: 150px;
    }


    .popup3__images2 {
        max-width: 310px;
        height: 266px;
    }

    .popup3__image4 {
        width: 310px;
        height: 226px;
    }

    .popup3__image5 {
        width: 310px;
        height: 226px;
    }

    .block-inner {
        align-items: center;
        width: 100%;
    }

    .popup4__image, .popup4__image3, .popup4__image2, .popup4__image4, .popup4__image5 {
        width: 310px;
        height: 214px;
    }

    .quote3 {
        margin: 0;
    }

    .popup5__image {
        width: 310px;
        height: 237px;
    }

    .quote__image3 {
        width: 180px;
        height: 180px;
        right: 0;
    }

    .popup5__image2 {
        width: 310px;
        height: 127px;
    }

    .quote__image4 {
        width: 210px;
        height: 210px;
        right: -20px;
        top: -130px;
    }

    .popup5__image3 {
        width: 310px;
        height: 112px;
    }

    .popup5__image4 {
        width: 310px;
        height: 230px;
    }

    .popup3 .block-outer:nth-child(4) {
        flex-direction: column-reverse;
    }
    
    .popup4 .block-outer:nth-child(2) {
        flex-direction: column-reverse;
    }
    .popup4 .block-outer:nth-child(4) {
        flex-direction: column-reverse;
    }
    
    .popup5 .popup__button-next {
        font-size: 12px;
    }
    
    .wrap {
        margin-top: 40px;
        align-self: center;
    }

    .team {
        font-size: 16px;
    }

    .wrap-container {
        border-radius: 15px;
        left: 50%;
        transform: translateX(-50%);
    }

    .wrap-container_opened {
        width: 310px;
        height: 150px;
        bottom: 40px;
    }

    .wrap-text {
        font-size: 12px;
    }
}/* End custom CSS */