/* --- Default Reset --- */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

/* --- Global --- */
html{
    max-width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

*{
    box-sizing: border-box;
    &&::after, &&::before{
        pointer-events: none;
        user-select: none;
    }
}

body{
    max-width: 100%;
    overflow-x: hidden;
}

.logo{
    width: 70px;
    height: 70px;
    background-color: var(--bg);
}

img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            justify-self: center;
            align-self: center;
        }

/* --- Palette --- */
:root{
    /*BG*/
            --bg: #001825;
            --innerBg: #0f1846;
            --innerBlackBg: #111630;
            --innerBlackLighterBg: #033049;

            /*ACCENT*/
            --accent: #e65f06;
            --accentHover: #fa4e1a;

            /*TEXT*/
            --textMain: #fadbc7;
            --textP: #fadbc7;
            --textPLighter: #fadbc7;
}

/* --- Style --- */
:root{
    --brad: 32px;
    --sectionPadding: 3rem;
    --transitionMain: all .4s cubic-bezier(.075, .82, .165, 1);
}

html{
    font-size: 18px;
}

body{
    font-family: 'Poppins', sans-serif;
    color: var(--textMain)
}

h1{
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

h2{
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.2;
}

h3{
    font-size: 28px;
    margin-bottom: 16px;
}

span, b{
    font-size: 24px;
}

a, p{
    font-size: 18px;
}

p{
    margin-bottom: 1.8rem;
}

body{
    background: var(--bg);
    line-height: 150%;
}

.wrapper, section:not(.noWrap){
    width: 100%;
    max-width: 1340px;
    margin: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.noWrap, .wrapper, section:not(.noWrap){
    margin-bottom: 75px;
}

.mainBtn{
    align-self: center;
    justify-self: center;
    margin: 1rem auto;
    padding: 1.4rem 1.5rem;
    background: var(--accent);
    border-radius: var(--brad);
    transition: var(--transitionMain);
    display: block;
    text-align: center;
}
.mainBtn:hover{
    transform: scale(1.04);
    cursor: pointer;
    box-shadow: 0px 0px 12px 5px var(--accentHover);
}

a{
    color: unset;
    text-decoration: none;
}

@media(max-width: 768px){
    .wrapper, section:not(.noWrap){
        max-width: 95%;
    }

    .mainBtn{
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 768px){

:root{
    --sectionPadding: 1.5rem;
}

h1{
    font-size: 40px;
    font-weight: 700;
}

h2{
    font-size: 30px;
    font-weight: 500;
    text-align: center;
}

h3{
    font-size: 26px;
    text-align: center;
}

span, b{
    font-size: 22px;
}

p{
    font-size: 18px;
    text-align: center;
}
}

.logo{
    transition: all;
    transition: all .4s cubic-bezier(.075, .82, .165, 1);
}
.logo:hover{
    scale: 1.04;
}


/* --- header.css --- */
header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-bottom: 0!important;
}

/*test*/
header>nav>a {
    display: none!important
}

header>nav>ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 39px
}

.header__nav{
    margin-left: auto;
}

header>nav>ul a {
    width: max-content;
    transition: var(--transitionMain)
}

header>nav>ul a::after {
    content: none
}

header>nav>ul a:hover {
    color: var(--accent)!important
}

header>a {
    max-width: 186px;
    z-index: 80;
    margin-left: 0!important;
    margin-right: 0!important;
}

header img, footer img{
    border-radius: 0;
}

@media (max-width: 1024px) {
    header {
        padding:16px 0
    }

    header>a:last-child {
        display: none
    }

    header>nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(21,21,22,.9);
        backdrop-filter: blur(8px);
        z-index: 50;
        transform: translateX(-120%) translateY(0);
        transition: var(--transitionMain);
        display: flex;
        flex-direction: column
    }

    header>nav>ul {
        margin-top: 124px;
        margin-left: 24px;
        flex-direction: column;
        align-items: start;
        gap: 40px;
        height: 80vh;
        overflow-y: auto;
        overflow-x: hidden
    }

    header>nav>ul a {
        color: var(--textMain)!important;
        /* font-size: 16px!important */
    }

    header>nav>a {
        display: inline-block!important;
        margin-top: auto;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
        z-index: 90;
        max-width: 90%;
        color: var(--textBtn)!important
    }

    .navOpen {
        transform: translateX(0%) translateY(0)
    }
}

.mobile__menu {
    display: none;
    z-index: 61
}

.burger {
    width: 60px;
    height: 60px;
    transition-duration: .5s;
    position: relative;
    scale: 0.4
}

.open>.icon-left {
    background: 0 0
}

.open>.icon-left::before {
    transform: rotateZ(45deg) scaleX(1.4) translate(4px,4px)
}

.open>.icon-left::after {
    transform: rotateZ(-45deg) scaleX(1.4) translate(4px,-4px)
}

.open>.icon-right {
    background: 0 0
}

.open>.icon-right::before {
    transform: rotateZ(-45deg) scaleX(1.4) translate(-4px,4px)
}

.open>.icon-right::after {
    transform: rotateZ(45deg) scaleX(1.4) translate(-4px,-4px)
}

.icon-left {
    transition-duration: .5s;
    position: absolute;
    height: 8px;
    width: 50%;
    top: 30px;
    background-color: #fff
}

.icon-left::before {
    transition-duration: .5s;
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #fff;
    content: "";
    top: -20px
}

.icon-left::after {
    transition-duration: .5s;
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #fff;
    content: "";
    top: 20px
}

.icon-left:hover {
    cursor: pointer
}

.icon-right {
    transition-duration: .5s;
    position: absolute;
    height: 8px;
    width: 50%;
    top: 30px;
    background-color: #fff;
    left: 30px
}

.icon-right::before {
    transition-duration: .5s;
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #fff;
    content: "";
    top: -20px
}

.icon-right::after {
    transition-duration: .5s;
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #fff;
    content: "";
    top: 20px
}

@media (max-width: 1024px) {
    .mobile__menu {
        display:block;
        justify-self: flex-end;
        margin-left: auto;
    }

    header .mainBtn{
        display: none;
    }
}

.fadeInDown,header {
    animation-delay: .5s!important
}

/* --- hero.css --- */
.heroGrid {
    display: grid;
    grid-template-rows: 1.7fr 1fr 0.4fr;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 1% 0;
    && .heroInfo{
        position: relative;
        display: grid;
        grid-template-rows: 1fr auto auto;
        gap: 32px;
        grid-row: 2;
        grid-column: 1/3;
        && span{
            color: var(--accent);
        }
        && p {
            max-height: fit-content;
            margin-bottom: 0;
            max-width: 80%;
            justify-self: center;
            text-align: center;
        }
        && .mainBtn{
            min-width: 40%;
            text-align: center;
            margin: 0;
            margin-right: 0 auto;
        }
        && h1{
            margin-top: auto;
            max-width: fit-content;
            justify-self: center;
            text-align: center;
        }
        && span, b{
            font-size: inherit;
        }
        && b{
            text-shadow: -2px -2px 1px var(--accentHover),
            2px 2px 10px var(--accent);
        }
        && .heroGradient{
            position: absolute;
            background-color: var(--bg);
            left: 7.5%;
            top: -20%;
            height: 140%;
            width: 85%;
            z-index: -1;
            filter: blur(20px);
            opacity: 0.5;
        }
    }
    && .heroSwiper{
        width: 100%;
        grid-column: 1/3;
        grid-row: 1;
        cursor: grab;
        background-color: var(--innerBlackLighterBg);
        border-radius: var(--brad);
        padding: 1.5rem;
        position: relative;
        max-height: 500px;
        border: var(--accent) 4px dotted;
        && .swiper-slide{
            border-radius: var(--brad);
            overflow: hidden;
            display: flex;
            flex-direction: row;
            aspect-ratio: 1/1;
            && img{
                max-width: 100%;  
                object-position: top;
                user-select: none;
            }
        }
        &&:active{
            cursor: grabbing;
        }
        && .heroGradient{
            top: -12.5%;
            width: 100%;
        }
    }

    && .heroarrow{
        position: absolute;
        height: 64px;
        width: 64px;
        background-color: var(--bg);
        border: var(--innerBlackLighterBg) 4px solid;
        top: calc(50% - 32px);
        left: 8px;
        z-index: 2;
        transition: var(--transitionMain);
        border-radius: 50%;
        &&.right{
            right: 8px;
            left: unset;
        }
        &&.left img{
            transform: scaleX(-1);
        }
        &&:hover{
            scale: 1.04;
            cursor: pointer;
            box-shadow: 0px 0px 12px 5px var(--accentHover);
        }
        &&:active{
            scale: 0.96;
            box-shadow: 0px 0px 12px 12px var(--accentHover);
        }
    }
}

@media (max-width: 768px) {
    .heroGrid{
        grid-template-rows: auto;
        grid-template-columns: 1fr;
        && .heroarrow{
            height: 48px;
            width: 48px;
            top: calc(50% - 24px);
        }
        && .heroInfo{
            grid-row: 2;
            grid-column: 1;
            justify-content: center;
            grid-template-rows: auto;
            && h1{
                margin: 0 auto;
                max-width: fit-content;
                text-align: center;
            }
        && .mainBtn{
            margin: 0 auto;
        }
        } 
        && .heroSwiper{
            grid-row: 1;
            grid-column: 1;
        } 
        && .heroGradient{
            left: -50%;
            width: 200%;
            opacity: 0.4;
        }
        
    }
}

.hero{
    position: relative;
    left: 0;
    top: 0;
    box-shadow: 0px 0px 28px 27px var(--bg) inset;
    && .heroBg{
    position: absolute;
    z-index: -1;
    max-height: 100%;
    width: 100%;
    opacity: 0.5;
}
}

/* --- toc.css --- */
.toc{
    background-color: var(--bg);
    border-radius: var(--brad);
    margin-top: 75px!important;
}

.toc a{
    transition: var(--transitionMain);
    &&:hover{
        color: var(--accent);
        cursor: pointer;
    }
}

.toc__container>ul li {
    min-width: max-content;
    max-width: max-content
}

.toc__container>ul a {
    padding-left: 24px;
    padding-right: 24px;
}

/* Custom scrollbar for TOC container */
.toc__container {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.toc__container::-webkit-scrollbar {
    height: 8px;
}

.toc__container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

/* Swiper scrollbar styles */
.toc__container .swiper-scrollbar,
.toc .toc__container .swiper-scrollbar,
section.toc .toc__container .swiper-scrollbar {
    position: relative !important;
    background: transparent !important;
    border-radius: 6px !important;
    height: 6px !important;
    margin-top: 10px !important;
    min-width: 100% !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
    left: 0;
    right: 0;
}

.toc__container .swiper-scrollbar-drag {
    background-color: var(--accent);
    border-radius: 6px;
    height: 100%;
    position: relative;
    cursor: default;
}

/* Hide scrollbar after first interaction */
.toc__container.swiper-scrollbar-hidden .swiper-scrollbar {
    opacity: 0;
}

/* Show scrollbar on hover */
.toc__container:hover .swiper-scrollbar {
    opacity: 1;
}

/* --- afterheader.css --- */
.about_us {
	display: flex;
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, var(--bg) 20%, var(--innerBg) 40%, var(--innerBg) 60%, var(--bg) 80%);   
}

.about_us .text{
    padding: var(--sectionPadding);
    text-align: center;
    border-left: var(--bg) 8px solid;
    border-right: var(--bg) 8px solid;
}

.about_us .inner {
	width: 150%;
	font-family: sans-serif;
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
}

.about_us .inner:first-child {
	transform-origin: right;
	transform: perspective(500px) rotateY(-15deg);
}

.about_us .inner:last-child {
	transform-origin: left;
	transform: perspective(500px) rotateY(15deg);
}

.about_us .inner span {
	position: absolute;
    height: 100%;
    width: 100%;
	animation: marquee 5s linear infinite;
    && img{
        aspect-ratio: 1/1;
        object-position: top;
    }
}

.about_us .inner:first-child span {
	animation-delay: 2.5s;
	left: -100%;
    bottom: 0;
    top: 0;
}

@keyframes marquee {
	from {
		left: 100%;
	}

	to {
		left: -100%;
	}
}

@media (max-width: 768px){
    .about_us .inner{
        display: none;
    }
    .about_us{
        background: linear-gradient(90deg, var(--bg) 0%, var(--innerBg) 10%, var(--innerBg) 90%, var(--bg) 100%); 
    }
}

/* --- features.css --- */
 /* Models Section */
            .models__cards_container {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 16px;
            }
            .models__cards_container > div {
                background-color: var(--innerBg);
                border-radius: var(--brad);
                overflow: hidden;
                display: flex;
                flex-direction: column;
            }
            .models__cards_container .img-placeholder {
                background-color: var(--innerBlackBg);
                color: white;
                display: flex;
                align-items: center;
                justify-content: center;
                
                font-family: inherit;
                min-height: 150px;
            }

            .img-placeholder img{
                max-height: 80px;
                max-width: 80px;
            }
             .models__cards_container .img-placeholder.dark {
                background-color: var(--innerBlackLighterBg);
             }
            .models__cards_container > div > div:last-child {
                padding: 30px;
                display: flex;
                flex-direction: column;
                flex-grow: 1;
            }
            .models__cards_container h3 { text-align: left; margin-bottom: 15px; }
            .models__cards_container p { text-align: left; margin-bottom: 20px; }
            .models__cards_container .btn { 
                margin-top: auto; 
                max-width: 180px; 
                transition: var(--transitionMain);
                &&:hover{
                    color: var(--accent);
                }
            }

/* --- partner.css --- */
.partner:not(:first-child){
    margin-top: 1.5rem;
    background: var(--bg);
    
}

.partnersContainer{
    display: grid;
    grid-template-rows: auto auto;
    border-radius: var(--brad, 16px);
    max-width: 960px;
    justify-self: center;
}

.partnersContainer h3{
    max-height: min-content;
    align-self: center;
}

.partnersContainer .imgContainer{
    border-radius: var(--brad, 16px);
    /* padding: 1rem; */
    background: var(--innerBlackBg);
}

.partnerHeading{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    vertical-align: middle;
    padding: 1% 2.5%;
    background: var(--innerBlackBg, blue);
    border-radius: var(--brad, 16px) var(--brad, 16px) 0 0;
}

.mainInfo{
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 32px;
}



.partnersContainer .partnerHeading{
    /* border-radius: var(--brad, 16px); */
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.partnerHeading a{
    max-width: 200px;
    align-self: center;
    margin: auto 0;
    /* max-height: fit-content; */
    padding: 0.5rem!important;
}

.partnersContainer .partner:first-child{
    background: var(--innerBlackBg, lightgrey);
    border-radius: var(--brad, 16px);
}

.partnerInfo{
    padding: 1.5rem;
    list-style: circle;
    background: var(--innerBg);
    border-radius: 0 0 var(--brad, 16px) var(--brad, 16px);
}

.partnerInfo b{
    font-family: inherit;
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 500;
}
.partnerInfo ul{
    margin: 16px 0 32px;
}

.partnerInfo ul li{
    font-family: inherit;
    list-style: circle;
    margin-left: 1.1rem;
}

.partnerInfo ul li::marker{
    color: var(--accent, blue)
}

.paymentList{
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 16px;
}
.paymentList div{
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
    background-color: #fff;
    border-radius: 50%;
}

.imgContainer{
    display: flex;
    align-items: space-between;
    justify-content: center;
}

.imgContainer div{
    display: flex;
    height: 50px;
    min-width: 50px;
    aspect-ratio: 1/1;
    justify-self: center;
    margin: auto;
    border-radius: var(--brad, 16px);
    background: var(--accent, white);
    justify-content: center;;
}

.imgContainer .counter{
    margin: 0;
    justify-self: center;
    align-self: center;
    color: var(--bg);
    text-align: center;
    vertical-align: middle;
}

.mainInfo{
    display: flex;
    gap: 50px;
}

.mainInfo p{
    margin-bottom: 0;
}

@media (max-width: 768px){
    .mainInfo{
        gap: 0;
        padding-bottom: 24px;
    }
    
    .imgContainer div{
        max-width: 50%;
    }

    .imgContainer .img{
        height: 80%;
    }

    .partnerHeading{
        padding: 0;
    }

    .partnerInfo{
        padding: 1rem;
    }

    .partnerInfo ul{
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .partnerHeading a{
        display: none;
    }

    .partnerInfo b{
    font-size: 20px;
    }
}

/* --- info.css --- */
.modesContainer{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    && h3{
        padding: 10px;
        border-radius: var(--brad);
        margin-bottom: 16px;
        margin-top: 16px;
        border: var(--bg) 4px solid;
        background: var(--bg)
    }
    && p{
        text-align: center;
        margin-bottom: 16px;
    }
    && .modesCard{
        border-radius: var(--brad);
        padding: 16px;
        position: relative;
        z-index: 2;
        overflow: hidden;
        &&:nth-child(2n){
            background-color: var(--innerBlackBg);
        };
        &&:nth-child(2n-1){
            background-color: var(--innerBg)
        }
        && img{
            aspect-ratio: 1.2/1;
            object-position: 50% 0%;
            border-radius: var(--brad);
        }
        && h3{
            position: relative;
            text-align: center;
            &&::before{
            content: '';
            position: absolute;
            width: 400px;
            left: calc(50% - 200px);
            height: 4px;
            background: var(--bg);
            top: 50%;
            z-index: -1;
        }
        }
    }
    && .modesDescription{
        display: flex;
        flex-direction: column;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    @media(max-width: 768px){
        .modesCard{
        &&::before{
            top: 53.5%!important;
        }
    }
    }
}

/* --- pricing_plans.css --- */
.pricing__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 0.1fr 1fr 0.1fr;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    
}

.pricing__container .btnContainer{
    margin: 1rem 0;
    max-width: 60%;
    align-self: center;
    position: relative;
    z-index: 2;
}

.pricing__container .mainBtn{
    align-self: center;
    display: flex;
}

.pricing__container .btnContainer a{
     z-index: 2;
}

.pricing__container .btnContainer::before{
    content: '';
    left: -200%;
    top: 25%;
    width: 500%;
    height: 50%;
    position: absolute;
    background-color: var(--accent);
    transition: var(--transitionMain);
    z-index: 1;
    pointer-events: none;
    border: -10px var(--innerBg) solid;
}

.pricing__container .btnContainer:hover::before{
    transform: scaleX(0.205) scaleY(2.03) ;    
    background-color: var(--accentHover)!important;
    /* opacity: 0; */
    filter: blur(-5px);
    margin-top: 5rem;
}

.pricing__container .pricing__card:nth-child(2) .btnContainer::before{
    background-color: var(--innerBg);
}

.pricing__container .pricing__card:nth-child(2){
    grid-row: 1/4;
    grid-column: 2;
    background: var(--accent);
}

.pricing__container .pricing__card:not(:nth-child(2)){
    grid-row: 2/3;
}

.pricing__container .pricing__card:nth-child(2) .btnContainer {
    background: var(--innerBg);
}

.pricing__card a{
    color: white!important;
}

.pricing__card {
    display: flex;
    flex-direction: column;
    padding: 44px 42px;
    background-color: var(--innerBg);
    border-radius: var(--brad);
    text-align: left;
    height: 80%;
    padding-bottom: 80px;
    overflow: hidden;
    box-sizing: content-box;
}

.pricing__card p, .pricing__card span{
    margin-bottom: 0;
    justify-self: center;
    align-self: center;
    text-align: center;
}


.pricing__card h3{
    align-self: center;
}

.pricing__card_cost{
    align-self: center;
}

.pricing__card>p:first-child {
    /* font-size: 32px; */
    color: var(--accent)
}

.pricing__card_cost {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px
}

.pricing__card_cost span:first-child {
    font-size: 25px;
    line-height: 100%;
    font-weight: 700;
}

.pricing__card_features_title {
    margin-bottom: 14px!important
}

.pricing__card>a {
   margin: 24px 0;
}

.pricing__card:nth-child(3) {
    border-radius: 0 var(--brad) var(--brad) 0;
}

.pricing__card:nth-child(1){
    border-radius: var(--brad) 0 0 var(--brad);
}

.pricing__card ul li:not(:last-child) {
    margin-bottom: 20px
}

.pricing__card_features li::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    background: url(/assets/checkGreen.svg);
    background-repeat: no-repeat;
    object-fit: contain;
    background-position: left
}

.pricing__card_features li {
    /* margin-left: 34px */
    list-style: none;
    max-width: fit-content;
    justify-self: center;
    max-width: 88%;
}

.pricing__container .pricing__card:nth-child(2) .mainBtn{
    background-color: var(--innerBg);
}

@media (max-width: 768px) {
    .pricing__card {
        flex:1 1 50%;
        /* width: 100% */
    }

    .pricing__card:nth-child(odd) {
        min-height: max-content
    }

    .pricing__container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .pricing__container .pricing__card:not(:nth-child(2)){
        border-radius: var(--brad);
    }

    .pricing__card_cost p:first-child {
        font-size: 28px
    }

    .pricing__card_features li{
        max-width: 72%;
    }

    .pricing__card{
        text-align: center;
        min-width: 100%;
        box-sizing: border-box;
    }

    .pricing__card_cost{
        justify-content: center;
    }

    .pricing__card {
    padding: 30px 16px;
    }

}

/* --- gallery.css --- */
#users-uploads .wrapper:first-child {
    border-radius: var(--brad) var(--brad) 0 0;
    padding-bottom: 0
}

#users-uploads .wrapper:nth-child(2) {
    border-radius: 0 0 var(--brad) var(--brad)
}

.results {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 4px
}

.results div {
    flex: 1 1 10%;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.results img{
    border-radius: var(--brad);
}

.results div:nth-child(2) img:first-child {
    height: 100%
}

.results div:nth-child(4) img:first-child {
    height: 100%
}

@media (max-width: 768px){
    .results div:nth-child(2n){
        display: none;
    }
}

/* --- reviews.css --- */

.reviews_item {
  background-color: var(--innerBlackBg);
  padding: 24px;
  border-radius: 24px;
  color: var(--textP);
  cursor: grab;
    &&:active{
        cursor: grabbing;
    }
}
.namereviewsWrapper{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  p{
    font-style: italic;
    margin: 0;
    white-space: nowrap;
  }
}

.wrapNameImage{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 40px;
  width: 40px;
  justify-content: flex-start;
  .avatarReview{
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }

}
.reviewer_item-name{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.4rem;
  /* width: 90%; */
}
.reviews_item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.reviews_item-body {
  font-size: 16px;
}
.reviews_item h4 {
  margin-bottom: 4px;
}
#reviews .swiper-wrapper {
  max-width: 360px;
}
#reviews .swiper-slide {
  height: unset;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reviewer_item-stars {
  display: flex;
  max-width: 50px;
  gap: 0px;
}
.reviewer_item-stars p {
  font-size: 24px;
  margin-bottom: 0;
}
.rev__card_rating_active {
  color: #ffc700;
}

@media(max-width: 768px){
  #reviews .swiper-wrapper {
  max-width: unset;
}
}

/* --- special_offer.css --- */
.special_offer {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    justify-content: space-between;
    border-radius: var(--brad);
    gap: 48px;
    padding: var(--sectionPadding);
    background: var(--innerBg);
}

.special_offer > div {
    flex: 1 1 50%;
}
.special_offer > div:first-child {
    flex: 1 1 50%;
    max-height: fit-content;
    margin: auto 0;
}
.special_offer > div:last-child {
    aspect-ratio: 1.5/1;
    border-radius: var(--brad);
}

.special_offer img{
    border-radius: var(--brad);
    overflow: hidden;
}
.special_offer > div:last-child img {
    /* object-position: 50% 20%; */
}
.special_offerRev {
    flex-direction: row-reverse;
}
.special_offerRev > div:first-child > div {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.special_offerImageContainer {
    border-radius: var(--brad);
    overflow: hidden;
    /* max-height: 640px; */
}
.special_offerImageContainer .swiper-slide {
    display: flex;
    flex-direction: row;
    gap: 6px;
    max-width: 100%;
}

.special_offerImageContainer .swiper-slide > * {
    flex: 1 1 50%;
}

@media (max-width: 1100px) {
    .refferal_img {
        display: none;
    }

    .special_offer > div:last-child{
        aspect-ratio: unset;
    }
}

@media (max-width: 768px) {
    .special_offer {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 0;
        gap: 0;
        max-width: 76%;
    }

    .special_offer p{
        margin-bottom: 0;
    }

    .special_offer > div {
        width: 100%;
        flex: 1 1 100% !important;
        padding: var(--sectionPadding);
        max-width: fit-content;
    }
    .special_offer > div:first-child {
        margin-top: 24px;
    }
    .special_offer > div:first-child > div {
        flex-direction: column;
    }
    .special_offer > div:first-child > a {
        max-width: 100%;
    }
}

/* --- faq.css --- */
.faq>div {
    border-radius: var(--brad)
}

#faq{
    background-color: var(--innerBg);
    border-radius: var(--brad);
    padding: var(--sectionPadding);

}

.accord__container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accord__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 32px 64px;
    background-color: var(--innerBlackLighterBg);
    border-radius: var(--brad);
}

.accord__item h3,.accord__item p {
    margin-bottom: 0;
}

.accord__item>div:first-child>p {
    font-weight: 400;
    color: var(--mainText)!important;
    font-size: 24px!important;
    margin-bottom: 0
}

.accord__item>div:first-child {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center
}

.accord__item>div:last-child {
    max-height: 0;
    visibility: hidden;
    transition: var(--transitionMain)
}

.accord__item>div:last-child p {
    color: #aaaab4!important;
    text-align: left;
}

/* .accord__item:first-child{
    border-radius: var(--brad) var(--brad) 0 0;
}

.accord__item:last-child{
    border-radius: 0 0 var(--brad) var(--brad);
} */
.show {
    visibility: visible!important
}

.accord__item div + div {
    transition: max-height 0.3s ease;
    overflow: hidden;
    /* padding: 20px; padding будет учтен в scrollHeight */
    box-sizing: border-box; /* важно! */
}

.accord__item div + div p {
    transition: margin-top 0.3s ease;
    visibility: hidden;
    margin: 0;
}

.accord__item div + div.show p {
    visibility: visible;
    opacity: 1;
    padding: 0 1rem;
}

div.show{
    margin-top: 28px;
}

@media (max-width: 768px){
    .accord__item{
        padding: 32px 16px;
    }
}

/* --- footer.css --- */
footer {
    background-color: var(--innerBlackBg);
    position: relative;
}

.footer__top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 36px;
    margin-bottom: 29px
}

.footer__top>div:first-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px
}

.footer__top>div>ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.footer__top>nav{
    width: 39%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.footer__top>div>ul a {
    display: inline-block;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer__top>div>ul img {
    height: 55%;
    object-fit: contain;
}

.footer__top>nav ul {
    margin-left: auto;
    max-width: 80%;
    display: flex;
    flex-direction: row;
    align-items: left;
    flex-wrap: wrap;
    row-gap: 20px;
    justify-content: left;
    flex-direction: column;
}

.footer__top>nav li a {
    width: max-content;
    text-decoration: none;
    transition: transform 150ms cubic-bezier(0.47, 0, 0.745, 0.715);
}


.footer__top>nav li a:hover{
    color: var(--accentHover);
    scale: 1.04;
}

.footer__bottom {
    padding: 16px 0;
    text-align: center;
    background-color: var(--innerBlackBg);
    border-top: 1px var(--innerBg) solid;
}

.footer__bottom p {
    justify-self: center;
    line-height: 150%;
}

@media (max-width: 768px) {
    .footer__top {
        flex-direction:column-reverse;
        align-items: start;
        gap: 24px
    }

    /* .footer__top>div:first-child>a {
        max-width: 153px
    } */

    /* .footer__top>div>ul {
        display: none
    } */

    @media (max-width: 768px) {
    .footer__top>nav ul {
        margin-left: 0;
        padding-left: 0;
        max-width: 80%;
        align-items: center;
        gap: 24px;
        row-gap: 12px;
        justify-content: center;
        text-align: center;
        list-style: none;
        min-width: fit-content;
        justify-self: center;
    }
}

    .footer__top>nav ul:not(:last-child){
        margin-bottom: 12px;
    }

    .footer__top>nav{
        width: min-content;
        grid-template-columns: 1fr;
        align-self: center;
        white-space: nowrap;
    }

    .footer__top>div>ul a{
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 768px) {
    .footer__top>div:first-child {
        flex-direction: column;
        align-self: center;
    }

    .footer__bottom{
        text-align: center;
    }

    .footer__top>div>ul{
        padding: 0;
    }
}

.logo, .footer__top div:first-child a{
    transition: var(--transitionMain);
    border-radius: var(--brad);
    padding: 2px;
}

.btnContainer:hover, .logo:hover, .footer__top div:first-child a:hover{
    scale: 1.05;
    background: var(--accentHover);
    box-shadow: 0px 0px 12px 5px var(--accentHover);
}
