@font-face {
    font-family: 'IranSans';
    src: url(../fonts/IRANSansXFaNum-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: 'IranSans';
    src: url(../fonts/IRANSansXFaNum-Bold.ttf) format('truetype');
    font-weight: 700;
    font-style: normal
}



* {
    margin: 0;
    padding: 0;
    font-family: 'IranSans';
    box-sizing: border-box;
    /*overflow-x: clip;*/
    overflow-y: visible;
    /* scroll-snap-type: y proximity; */

}

h1,
h2 {
    color: #1c2435;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow-x: clip;
    /*overflow-x: hidden;*/

}



nav {
    position: fixed;
    display: flex;
    top: 50px;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 0px 5%;
    width: 100%;
    z-index: 100;
    border-radius: 30px;
    transform: translate(-50%, -50%);
    left: 50%;
    background-color: white;
}

.menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.menu-list img {
    margin-left: 20px;
    width: 80px;

}

.menu-ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    cursor: pointer;
}

nav li {
    margin-inline: 20px;
}

nav li:hover {
    color: #0087b1;
}

nav svg {
    display: none;
}

section {
    /* height: 100vh; */
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
}

.first-section {
    height: 100vh;
}


.description {
    flex: 0 0 70%;

}

.animated-grids {
    /*background-color: #022861;*/
    z-index: -10;
    position: absolute;
}

.img-grids-ctn {

    width: 100vw;
    /* grid-template-columns: 100px 100px; */
    align-items: center;
    justify-items: center;
    justify-content: center;
    align-content: center;
    /* transform: translate(10px, -30vh); */
    /* gap: 20px 200px; */
}

.img-grids-ctn:nth-child(odd) {
    transform: rotate(45deg);
}

.img-grids-ctn:nth-child(even) {
    transform: rotate(-45deg);
}

.grid-items {
    width: 80px;
    /* margin: 40px 140px; */
    height: 80px;
    position: absolute;
    top: 50%;

    /* left: 0; */
    /* transform: translate(50%, -50%); */

}

.grid-items>img {

    border-radius: 50%;
    overflow: clip;

}



.row-box {
    display: flex;
    align-items: center;
    background-image: linear-gradient(to left, #E3E4E4 40%, white);
    width: 90%;
    justify-content: center;

}

.box-image1 {
    flex: 0 0 31%;
}

.box-image1 img {
    right: 0;
    width: 40vw;
}

.box-image2 {
    flex: 0 0 31%;
}

.box-image2 img {
    width: 30vw;
}



.title-ctn1 {
    flex: 0 0 49%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
}

.title-ctn2 {
    flex: 0 0 39%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
}


.title-1 {
    position: relative;
    font-size: clamp(0.5rem, 3vw, 2.3rem);
    margin: 20px 0;

}

.title-2 {
    position: relative;
    margin: 20px 0;
    /* right: -102px; */
    top: -27px;
}

h1 {
    font-size: 1.5rem;
    text-align: center;
}

.title-divider {
    height: .5px;
    width: 90%;
    background-color: #555555f2;
    margin: 8px auto 16px auto;
}

.title-ctn h4 {
    margin: 10px 0;
    font-weight: 400;
    font-size: 16px;
}

.title-blue {
    color: #5DB2FE;

}

.title-ctn p {
    margin: 10px 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
}

button {
    background-color: #02B1AF;
    border: none;
    border-radius: 5px;
    color: white;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}

.row-box2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
}

.third-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* justify-content: flex-start; */
    background-color: #ffffff;
    z-index: 1;
    filter: drop-shadow(0px -20px 20px white);
    scale: 0.95;



}

.sec-title {
    margin-top: 40px;
    margin-bottom: 60px;
    opacity: 1;
    text-align: center;
    position: absolute;
    top: 40px;
    z-index: -10;
}

.images-section {
    align-items: flex-start;
    height: 110vh;
    background-color: #FAFCFE;

}

.wrapper {
    z-index: 5;
    top: 50%;
    min-width: 600px;
    text-align: center;
    position: relative;
    left: 88%;
}

.white-text {}

.img-ctn {
    width: 250px;
    height: 250px;
}

.logo {
    width: 250px;
    position: relative;
    left: 20%;
    top: 80%;
    filter: drop-shadow(-2px -2px 15px rgba(0, 0, 0, 0.144));
}

.logo img {
    width: 100%;
}


.img-ctn img {
    position: absolute;
    object-fit: cover;
}

.images-ref {
    top: 30%;
    /* font-size: 2.5rem; */
    width: 600px;
    /* text-align: center; */
    position: relative;
    left: 20%;
    margin: 0 auto;
}

.img1 {
    right: 450px;
}


.img2 {
    right: -450px;
}

.img3 {
    top: 300px;
    right: -385px;
}

.img4 {
    top: 300px;
    right: 350px;
}

.img5 {
    top: 400px;
}


.flip-box {
    display: flex;
    align-content: stretch;
    height: 280px;
    width: 280px;
    aspect-ratio: 1;
    flex-wrap: wrap;
    position: absolute;
    border: 10px solid transparent;
    padding: 0;
    border-top: 0;
    -webkit-perspective: 1000;
    perspective: 1000;

    &:hover {
        .back {
            transform: rotateY(0deg);
            z-index: 10;
        }

        .front {
            transform: rotateY(180deg);
            z-index: -1;
        }

    }

    .back,
    .front {
        position: relative;
        background-color: #1b2d61;
        color: white;
        display: flex;
        justify-content: center;
        align-content: center;
        flex: 0 0 100%;
        -webkit-transition: all 1s cubic-bezier(.5, 1, .5, 1);
        transition: all 1s ease-out;
        transform-style: preserve-3d;
        background-size: cover;
        background-position: center;
    }


    .back {
        background-color: #022861;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        z-index: -1;
        transform: rotateY(-180deg);
        padding: 0 16px;
        text-align: center;

        /* &:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;

            border: 15px solid transparent;
            border-bottom-color: white;
            border-left-color: white;
        } */
    }

    .front {
        z-index: 10;

        .content {
            font-size: 20px;
            width: 90%;
            position: absolute;
            bottom: 24px;
        }

        /* 

        &:after {
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;

            border: 15px solid #1b2d61;
            border-bottom-color: white;
            border-right-color: white;
        } */

        &:after {
            content: "";
            background-image: linear-gradient(to top, #324B84 0%, transparent 40%);
            width: 100%;
        }
    }

    .content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        -webkit-transform: translateZ(50px);
        transform: translateZ(50px);
        text-shadow: 1px 1px 10px black;

        text-align: center;


    }

}



.flip-rotate .front {
    transform: rotateY(180deg);
    z-index: -1;
}

.flip-rotate .back {
    transform: rotateY(0deg);
    z-index: 10;
}

.row-box3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    /* transform-style: preserve-3d; */
    perspective: 1000px;

}

.gap-v {
    height: 150px;
}

.porp-ctn {
    display: flex;
    height: 543px;
    width: 200px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2), -8px 0px 10px 0px rgba(0, 0, 0, 0.2);
    background-color: white;
    align-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

}

.porp-ctn:nth-child(1) {
    transform: rotateX(30deg);
}

.porp-ctn:nth-child(2) {
    transform: rotateX(50deg);
}

.porp-ctn:nth-child(3) {
    transform: rotateX(75deg);
}

.porp-ctn:nth-child(4) {
    transform: rotateX(90deg);
}

.props-box {
    width: 266px;
    height: 204px;
    border-radius: 0px 30px 30px 0px;
    background-image: linear-gradient(to right, #8AA8A8, #324B84);
    display: flex;
    flex-direction: column;

}

.props-box-ex {
    width: 100px;
    height: 80px;
    position: relative;
    bottom: -163px;
    left: -162px;
    z-index: -1;
    background-color: #34415C;
    transform: rotate(316deg);
}

.spacer {
    height: 100px;
}

.props-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.props-row img {
    width: 34px;
    margin-inline: 10px;
}

.props-text {

    color: #f7f7f7 !important;
    font-size: 17px;
    text-align: center;
}

.num {
    font-size: 64px;
    font-weight: 700;

}

.divider {
    margin: 8px auto;

    height: 1px;
    width: 60%;
    background-color: #E3E4E4;
}

.props-att {
    padding: 36px 10px 0px 8px;

    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    width: 100%;
}

.base-img img {
    height: 70vh;
}

.base-img {
    /* transform-style: preserve-3d; */
    perspective: 1000px;
    transform: rotateY(90deg);
    position: absolute;
    opacity: 0;
}

.props-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.row-box3 {
    
}
.curve-img{
        bottom: 20%;
    position: absolute;
    transform: scaleY(0);
}

.props-ctn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E4EEFA;
    border-radius: 24px;
    padding: 24px 20px;
    font-size: 16px;
    opacity: 0;
}

.props-ctn img {
    width: 40px;
    padding: 6px;
    border-radius: 13px;
    object-fit: contain;
    color: deepskyblue;
    background-color: #d5d5d5;
    text-align: center;
    margin-right: 12px;

}

.fourth-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: flex-start;
    background-color: #FAFCFE;
    padding: 20px 20px;
}

.row-box4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    padding: 60px 0;
}

.title-ctn {
    flex: 0 0 40%;
    padding-inline: 12px;

}

.box-image4 img {
    left: 0;
}

.row4-btn {
    align-self: auto;
}

.grid-ctn {
    flex: 0 0 60%;
    background-image: linear-gradient(to left, #D9D9D9 40%, #FDFDFD 100%);
    display: grid;
    max-width: 50%;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    perspective: 1000px;
    transform-style: preserve-3d;
    transform-origin: right;

}

.grid-item {
    width: 200px;
    margin: 30px;

}

/* .grid-item:nth-child(1) {
    transform: rotateY(90deg);
}

.grid-item:nth-child(2) {
    transform: rotateY(90deg);
}

.grid-item:nth-child(3) {
    transform: rotateY(90deg);
}

.grid-item:nth-child(4) {
    transform: rotateY(90deg);
} */

.grid-item img {
    width: 100%;
}

.grid-item h2 {
    margin-top: 20px;
    font-size: 20px;

}

.grid-item p {
    margin-top: 10px;
    font-size: 16px;


}

.g-img1 {
    /* background-color: #DCEFF4; */
    width: 80px;
    height: 84px;
    /* padding: 8px; */
}

.g-img2 {
    /* background-color: #FFF4CC; */
    width: 80px;
    height: 84px;
}

.g-img3 {
    /* background-color: #D8EBF7; */
    width: 80px;
    height: 84px;
}

.g-img4 {
    /* background-color: #FCE7E4; */
    width: 80px;
    height: 84px;
}

footer {
    background: #2D2D2D;
    color: #d1d1d1;
    padding: 20px;
    margin-top: 30px;
    font-size: 24px
}

.footer-detail {
    display: flex;
    flex-direction: row;
    text-align: center;
    margin: 0 24px;
}

.footer-social {
    height: 58px
}

.footer-img {
    margin-left: 8px;
    height: 24px
}

.footer-logo {
    display: flex;
    margin: 8px auto;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
}

.footer-divider {
    display: none
}

.divider {
    height: .5px;
    width: 80%;
    background-color: #d1d1d16c;
    margin: 8px auto 16px auto;
    justify-content: center
}

.more-btn {
    align-self: flex-end;
}

#footer-logo {
    height: 40px;
    /* width: 60px; */
    margin-left: 20px
}

.footer-box {
    flex-wrap: wrap;
    justify-content: space-around
}

#map {
    width: 500px;
    height: 400px
}

.phones {
    display: flex;
    flex-direction: column
}

.phones a {
    text-decoration: none;
    color: #d1d1d1;
    font-size: 18px
}

.footer-address {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-between
}

.footer-location {
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
    font-family: "IranSans"
}

.footer-location>p {
    font-family: "IranSans"
}

footer p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #d1d1d1;
    text-align: right;
    font-family: 'IranSans'
}

.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center
}

.social-icons a {
    margin: 0 10px;
    color: #D4AF37;
    filter: grayscale(1);

    /* font-size: 2.5rem; */
    text-decoration: none
}

.address {
    text-align: right;
    /* padding-left: 30px */
}

.social-icons a:hover {
    color: #b2ff59
}

.map-container {
    width: 100%;
    height: 250px;
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden
}

.box-image-mobile {
    display: none;
}

.title-ctn-mob {
    display: none;
}

#footer-logo {
    margin-left: 0;
    filter: saturate(0.0) brightness(6);
}

.gap-h {
    height: 20px;
}

.footer-logo h2 {
    font-size: 14px;
    color: #f3f3f3;
    font-weight: 300;
    margin-top: 10px;
}

.title-h1-mob {
    display: none;
}

@media(max-width:768px) {


    .more-btn {
        align-self: center;
    }

    nav svg {
        display: flex;
    }

    section {
        scroll-snap-align: start;

    }

    .menu-ul {
        display: none;
    }


    .title-1 {

        font-size: clamp(0.5rem, 6vw, 2.3rem);

    }

    .row-box {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        flex-direction: column-reverse;

        text-align: center;
        background-image: linear-gradient(to top, #E3E4E4 40%, white);
    }

    .title-ctn1 {
        flex: 0 0 29%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: center;

        padding: 0 24px;
    }

    .title-ctn1 p {
        text-align: center;
        color: #000000;
        width: -webkit-fill-available;
    }

    .gap-h {
        height: 40px;
    }

    .box-image1 img {
        width: 100%;
    }

    button {
        align-self: center;

    }

    .row-box2 {
        height: 100vh;
        flex-direction: column-reverse;
        width: 100%;
        text-align: center;
    }

    .gap-v {
        display: none;
    }

    .box-image2 {
        display: none;
    }

    .box-image-mobile {
        display: block;
        overflow: clip;
        margin: 20px;

    }

    .box-image-mobile img {
        height: 20vh;
        width: 60vw;
        object-fit: cover;

    }

    .title-ctn2 {
        align-items: center;

    }

    .title-2 {
        font-size: 1.8rem;
    }

    .wrapper {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        min-width: unset;
        /* margin: 0 auto; */
        width: 100%;
    }

    .white-text {
        font-size: 1.5rem;
        padding-inline: 20px;

    }

    .logo {
        left: 0;
        margin: 0 auto;
        width: 100px;
    }

    .flip-box {
        position: relative;
        flex: 0 0 70%;
        scroll-snap-align: center;
        transform: scale(1.1);
        transition: 1s;
        filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.281));
        filter: blur(1px) saturate(50%);

    }

    .img-ctn {
        width: 100%;
        aspect-ratio: 1;
        height: 23vh;
    }

    .thumbs {
        display: flex;
        gap: 12px;
        flex-direction: row-reverse;
        position: absolute;
        text-align: center;
        justify-content: center;
        align-items: center;
        align-self: flex-end;
        margin-bottom: 27vh;
        width: 100vw;


    }

    .thumbs-li {
        background-color: #022861;
        height: 10px;
        width: 10px;
        border-radius: 50%;
        transition: 1s;
        bottom: 30vh;
        transform: scale(1);

    }

    .thumb-active {
        transform: scale(1.5);
        transform-origin: center;

    }

    .images-ref {
        /* top: 50%; */
        /* font-size: 2.5rem; */
        width: 100vw;
        /* text-align: center; */
        position: relative;
        left: 0;
        top: 16vh;
        margin: 0 auto;
        display: flex;
        flex-direction: row-reverse;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        height: 55vh;
        align-items: center;
        padding-inline: 50%;
        scrollbar-width: none;
        touch-action: pan-y;

    }

    .img1 {
        right: 0;
    }


    .img2 {
        right: 0;
    }

    .img3 {
        top: 0;
        right: 0;
    }

    .img4 {
        top: 0;
        right: 0;
    }

    .img5 {
        top: 0;
    }

    .active {
        z-index: 100;
        transform: translate(0, 40px) scale(1.3);
        filter: blur(0px) saturate(100%);
    }

    .flip-rotate .front {


        z-index: -10;
    }

    .flip-rotate .back {

        transform: rotateY(0deg);
        z-index: 100;
    }

    .porp-ctn {
        width: 162px;
        overflow: visible;
    }

    .props-box {
        width: 214px;
        height: 201px;
        border-radius: 0px 20px 20px 0px;
        background-image: linear-gradient(to right, #8AA8A8, #324B84);
        display: flex;
        flex-direction: column;
    }

    .props-box {
        padding-block: 20px;
    }

    .props-box-ex {
        width: 84px;
        height: 121px;
        position: absolute;
        bottom: 192px;
        left: 5px;
        z-index: -10;
        background-color: #34415C;
        transform: rotate(316deg);
    }

    .porp-ctn:nth-child(1) {
        transform: rotateX(0deg);
    }

    .porp-ctn:nth-child(2) {
        transform: rotateX(0deg);
    }

    .porp-ctn:nth-child(3) {
        transform: rotateX(0deg);
    }

    .porp-ctn:nth-child(4) {
        transform: rotateX(0deg);
    }

    .spacer {
        height: 75px;
    }

    .row-box3 {
        width: 100vw;
        /* text-align: center; */
        /* position: relative;
        right: 0;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        overflow-x: scroll;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        height: 80vh;
        align-items: center;
        padding-inline: 28px;
        scrollbar-width: none;
        justify-content: start;
        gap: 60px;
        will-change: transform; */

    }

    .bag {
        display: none;
    }

    nav {
        direction: ltr;
        position: fixed;
        background-color: rgb(250 251 251);
        ;
        border-radius: 0;
        margin: 0;

    }

    .fourth-section {
        background-color: #e3e4e45b;
        padding: 30px 20px;
    }

    .row-box4 {
        flex-direction: column;
        width: 100%;
        padding: 20px;
    }

    .title-ctn {
        display: none;
    }

    .grid-ctn {
        background-image: none;
        display: grid;
        max-width: 100vw;
        grid-auto-columns: 1fr;
        grid-area: auto;
        gap: 10px;
    }

    .title-ctn h1 {
        text-align: right;
    }

    .grid-item {
        width: 30vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0;
        transform-origin: inherit;
    }

    .grid-item h2 {
        text-align: center;
        font-size: 13px;

    }

    .g-img1,
    .g-img2,
    .g-img3,
    .g-img4 {
        width: 46px;
        height: 46px;
    }

    .grid-item p {
        margin-top: 8px;
        font-size: 10px;
    }

    .title-ctn-mob {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .title-ctn-mob h4 {
        font-size: 16px;
        font-weight: 400;

    }

    .title-ctn-mob h1 {
        display: none;

    }

    .title-h1-mob {
        display: flex;
    }

    .footer-logo {
        display: flex;
        margin: 8px 26px 16px 0px;
        justify-content: center;
        align-items: center;
        /* align-content: center; */
        flex-direction: column;
    }

    #footer-logo {
        margin-left: 0;
        filter: saturate(0.0) brightness(6);
    }

    .footer-logo {
        justify-content: center;

    }

    .social-icons {

        justify-content: center
    }

    .footer-logo h2 {
        font-size: 14px;
        color: #f3f3f3;
        font-weight: 300;
        margin-top: 10px;
    }

    .row-box {
        z-index: -10;
    }

    .animated-grids {
        display: none;
    }

    .menu-list img {
        margin-left: 0;
    }
}