:root {
    --main-color: #ee4137;
    --main-grey: #e6e6e64d;
    --description: #eedefd;
    --mx: null;
    --my: null;
    --default-font: null;
    --default-direction: null;
    --default-scalex: null;
    --default-text-align: null;
}

@font-face {
    font-family: 'inter';
    src: url("assets/inter.ttf");
}

@font-face {
    font-family: 'iran-sans';
    src: url("assets/iransans.ttf");
}

@keyframes spin {
    0% {
        transform: rotate(0deg); /* Starting rotation */
    }
    100% {
        transform: rotate(360deg); /* Ending rotation (one full turn clockwise) */
    }
}

* {
    margin: 0;
    /*user-select: none;*/
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    width: 100%;
    background-color: black;
}

h1, h2, h3, h4, p, span, a {
    font-family: var(--default-font);
    direction: var(--default-direction);
}

a {
    color: white;
    text-decoration: none;
}

.hidden {
    opacity: 0;
    transition: opacity 1s linear;
}

.shown {
    opacity: 1;
!important;
}

#header {
    z-index: 2;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100%;
    background-color: black;
    border-bottom: 2px solid var(--main-grey);
    transition: border-bottom-color linear 0.25s;
}

.on-top {
    border-bottom-color: black !important;
}

.header-content {
    max-width: 1440px;
    width: 85%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content .logo img {
    width: 100%;
}

.logo {
    display: inline-block;
}

.navigation-bar {
    display: flex;
    gap: 24px;
}

.navigation-bar .item a {
    color: white;
    font-size: 14px;
    transition: color linear 0.25s, border-color linear 0.25s;
}

.navigation-bar #fa {
    font-family: iran-sans;
}

.navigation-bar .item a:hover {
    color: var(--main-color);
    border-color: var(--main-color);
}

.contact-us a {
    padding: 12px 36px;
    border: var(--main-grey) solid 2px;
    border-radius: 25px;
}

.language-switcher {
    color: white;
}

.language-switcher a {
    cursor: pointer;
}

.image {
    height: 88px;
}

.all {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 100px;
    margin-bottom: 40px;
}

.all-center {
    position: relative;
    width: 85%;
    max-width: 1440px;
}

.background1 {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.background1 img {
    width: 100%;
}

.background1-1 {
    width: 100%;
    max-width: 1080px;
    /*animation: spin infinite linear;*/
    /*animation-duration: 3s;*/
}

.title2 {
    margin-top: 300px;
    text-align: center;
}

.section1 {
    position: relative;
    flex-direction: column;
    margin-top: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.section1 .t2 {
    text-shadow: 2px 2px 4px black;
    margin: 0;
    color: white;
    font-size: 64px;
    line-height: 4rem;
    font-weight: 400;
    font-family: 'inter';
}

.section1 .d1 {
    text-align: center;
    color: var(--description);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75rem;
    font-family: 'inter';
}

.section1 .t3 {
    text-align: center;
    font-size: 48px;
    color: white;
    line-height: 3.625rem;
    font-weight: 400;
}

.section1 .title2 .gradient {
    font-size: 48px;
    background: linear-gradient(90deg, rgb(237, 65, 54), rgb(162, 41, 185));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section1 .d2 {
    text-align: center;
    color: var(--description);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75rem;
}

.section2 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    gap: 48px;
    margin-top: 140px;
}

.left {
    position: sticky;
    top: 180px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.left .t1 {
    color: var(--main-color);
    font-size: 12px;
    font-weight: 700;
    line-height: 1rem;
    letter-spacing: 0.15rem;
}

.left .t2 {
    font-size: 48px;
    color: white;
    font-weight: 400;
}

.left .d1 {
    font-size: 16px;
    font-weight: 400;
    color: var(--description);
    line-height: 1.75rem;
}

.right {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-end;
}

.right .image-list {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.right .image-list li {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    padding: 2px;
    background-image: linear-gradient(to bottom, #eedefd4d, transparent);
}

.image-list li .background {
    height: 100%;
    border-radius: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 36px;
    position: relative;
    left: 1px;
    top: 1px;
    z-index: 1;
}

.image-list li .background::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-size: contain;
    background-repeat: no-repeat;
    transform: scaleX(var(--default-scalex));
    border-radius: 10px;
    z-index: -1;
}

.image-list .first .background::after {
    background-image: url("assets/list1.jpg");
}

.image-list .second .background::after {
    background-image: url("assets/list2.jpg");
}

.image-list .third .background::after {
    background-image: url("assets/list3.jpg");
}

.image-list li .background .t1 {
    color: white;
    font-weight: 300;
    font-size: 32px;
    margin-bottom: 12px;
    text-align: var(--default-text-align);
}

.image-list li .background .d1 {
    color: var(--description);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75rem;
    text-align: var(--default-text-align);
}

.spacer {
    margin-bottom: 2000px;
}


/* intentgpt */
.intentgpt2 {
    justify-content: center;
    text-align: center;
    margin-bottom: 12%;
}

.intentgpt2 h2 {
    margin-bottom: 20px;
    margin-top: 0;
    padding-top: 1%;
    color: white;
    font-size: 3rem;
    line-height: 3.25rem;
    font-weight: 400;
}

#shahrooz {
    display: none;
}

.intentgpt2 p {
    margin-top: 0;
    padding-top: 0;
    color: rgba(238, 222, 253, 0.956);
    font-size: 1.0625rem;
    line-height: 1.75rem;
    font-weight: 400;
}

/* intentgpt */

/* caroousel */
.carousel {
    padding-left: 6%;
    display: flex;
    gap: 5.5rem;
}

.carousel h2 {
    color: white;
    font-size: 2.8rem;
    line-height: 3.25rem;
    font-weight: 400;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
    display: block;
}

#progressContainer {
    margin-top: 40px;
    width: 450px;
    height: 2px;
    background-color: #000000;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
}

#progressBar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgb(213, 21, 59), rgb(174, 13, 174));
}

.slide-controler {
    display: flex;
}

.control-button {
    background-color: rgb(0, 0, 0);
    color: rgb(213, 13, 13);
    border-radius: 50%;
    border: 2px solid rgb(62, 55, 55);
    margin-top: 1.25rem;
    width: 3rem;
    height: 3rem;
    transition: border-color 0.8s ease;
    cursor: pointer;
}

.control-button:hover {
    border-color: white;
}

.control-button:active {
    border-color: red;
}

.flash {
    width: 0.625rem;
    height: 0.625rem;
    font-size: 30px;
    user-select: none;
}

.slide-number {
    color: white;
    margin-top: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 1rem;
    margin-right: 1rem;
}

.owl-carousel {
    position: relative;
    overflow: hidden;
    width: 700px;
    height: 550px;
    z-index: 1;
}

.owl-carousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-top: 1px solid rgba(128, 128, 128, 0.679);
    border-left: 1px solid rgb(55, 49, 49);
    border-right: 1px solid rgb(47, 45, 45);
    border-radius: 3%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease;
}

.lang-in {
    margin-right: 100px;
}

.lang-fa {
    margin-right: 100px;
}

.slide h1, .slide h4 {
    color: rgba(255, 255, 255, 0.904);
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: 330;
    padding: 0;
    border-radius: 5px;
    margin-left: 20px;
    margin-right: 80px;
}

.slide h1 {
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1;
    margin-top: 340px;
}

.slide h4 {
    color: rgba(185, 168, 180, 0.875);
    margin-bottom: 60px;
    font-size: 15px;
    line-height: 1.75;
}

/* carousel */

/* intentgpt */
.intentgpt {
    justify-content: center;
}

.intentgpt .title6 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.intentgpt p, .intentgpt .title6 span {
    margin-bottom: 50px;
    font-size: 45px;
    text-align: center;
    color: rgba(255, 255, 255, 0.901);
    margin-top: 100px;
}

.color-p {
    text-align: center;
    font-size: 45px;
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1;
    background: linear-gradient(to right, #f50031, #e5035a, #f40588, #cb12b8, #940bb9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-p {
    display: block;
    line-height: 1.5;
    font-size: 18px;
    text-align: center;
    justify-content: center;
    color: var(--description);
}

.cards {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.card {
    position: relative;
    width: 20%;
    height: 23rem;
    border-top: 1px solid rgba(255, 255, 255, 0.31);
    border-left: 1px solid rgba(255, 255, 255, 0.204);
    border-right: 1px solid rgba(255, 255, 255, 0.203);
    border-radius: 5%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 170px;
    object-fit: contain;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    background-color: black;
    background-blend-mode: screen;
    background-repeat: no-repeat;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 40% 20%, rgba(122, 43, 109, 0.504), transparent 130px),
    radial-gradient(circle at 10% 92%, rgba(248, 105, 132, 0.3), transparent 90px);
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 5%;
}

.card:hover::before {
    opacity: 0;
}

.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    background: radial-gradient(circle at calc(var(--mx) * 1px) calc(var(--my) * 1px), rgba(128, 0, 128, 0.59), transparent 70%);
    opacity: 0;
    border-radius: 5%;
}

.card:hover::after {
    opacity: 1;
}

.tmp {
    position: relative;
    width: 100%;
    height: 100%;
}

.cards p {
    font-size: 1.5rem;
    text-align: var(--default-text-align);
    padding-top: 6%;
    line-height: 1.3;
    margin: 0 10% 10%;
}

.cards .svgs {
    margin-top: 30%;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-left: 10%;
}

.cards1 {
    margin-top: 5%;
}

/* intentgpt */


/* footer */
#footer {
    background-color: black;
    height: 500px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    padding-left: 6%;
}

.color-line {
    width: 100%;
}

.logo {
    width: 16%;
    height: auto;
}

.footer-p {
    margin: 30px 0;
    font-size: 24px;
    line-height: 2;
    background: linear-gradient(to right, #ed0a38, #7a0e8e, #f40588, #e401bb, #9010b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
}

.icons {
    width: 22px;
    height: auto;
    padding-left: 0;
    margin-right: 4%;
    margin-bottom: 50px;
}

.iconsf {
    width: 17px;
    height: auto;
    padding-left: 0;
    margin-right: 4%;
    margin-bottom: 50px;
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 85%;
    padding-top: 30px;
    padding-left: 6%;
    color: white;
}

.contact a {
    transition: color linear 0.25s;
}

.contact a:hover {
    color: var(--main-color);
}

.contact div {
    text-align: var(--default-text-align);
}

.footer-p2 {
    color: gray;
    font-size: 12px;
    text-align: right;
    margin-right: 3%;
    margin-top: 15px;
}

/* footer */


@media (max-width: 750px) {

    body, html {
        overflow-x: hidden;
    }

    body {
        justify-content: center;
        width: 100%;
    }

    #header {
        z-index: 2;
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
        /*width: 30%;*/
        background-color: black;
        border-bottom: 2px solid var(--main-grey);
        transition: border-bottom-color linear 0.25s;
    }

    .logo {
        margin-top: 20px;
    }

    .header-content {
        width: 90%;
        flex-direction: row;
        gap: 12px;
    }

    .navigation-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .contact-us a {
        padding: 8px 16px;
        font-size: 12px;
    }

    .all-center {
        width: 95%;
    }

    .background1 {
        scale: 1.25;
        top: 50px;
    }

    .section1 .t2 {
        font-size: 4rem;
        line-height: 2.5rem;
    }

    #shahrooz {
        display: block;
    }

    .title2 {
        margin-top: 130px;
    }

    .section1 .t3, .section1 .title2 .gradient {
        font-size: 28px;
        text-align: center;
        font-weight: 400;
        line-height: 2rem;
    }

    .title2, .t3 {
        font-size: 12px;
        text-align: center;
    }

    .section1 .d1, .section1 .d2 {
        font-size: 15px;
        line-height: 1.5rem;
    }

    .section2 {
        flex-direction: column;
        gap: 24px;
        margin-top: 80px;
        align-items: center;
    }

    .left {
        position: relative;
        top: 0;
        align-items: center;
        text-align: center;
    }

    .left .t2 {
        font-size: 2rem;
    }

    .right {
        align-items: center;
    }

    .right .image-list {
        max-width: 88%;
        padding: 0;
    }

    .image-list li {
        /*height: 300px;*/
        padding: 12px;
        height: 160px !important;
        margin-bottom: 30px;
    }

    .image-list li .background {
        padding: 10px 15px 0 15px;
    }

    .image-list li .background .t1 {
        font-weight: 500;
        font-size: 20px;
    }

    .intentgpt2 h2 {
        margin-top: 20%;
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .intentgpt2 p {
        margin: 0 30px;
    }

    .intentgpt2 span {
        font-size: 0.9rem;
        line-height: 1.4rem;
    }

    .intentgpt p, .intentgpt .title6 span {
        font-size: 2rem;
    }

    .carousel {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        gap: 2rem;
        align-items: center;
        flex-direction: column;
    }

    .slide {
        border-radius: 2%;
        height: auto;
    }

    .owl-carousel {
        width: 100%;
        height: 300px;
    }

    .fixer {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .fixer-headers {
        align-items: center;
        /* margin-top: 5%; */
    }

    .fixer h2 {
        font-size: 1.5rem;
        margin-bottom: 50px;
        line-height: 1.5rem;
        font-weight: 400;
        text-align: center;
    }

    .slide h1 {
        text-align: center;
        font-size: 1.25rem;
        margin-top: 100px;
        margin-left: 0;
        padding-left: 0;
        margin-right: 0;
        padding-right: 0;
    }

    .slide h4 {
        text-align: center;
        font-size: 0.8rem;
        padding-bottom: 30px;
        margin-left: 0;
        padding-left: 0;
        margin-right: 0;
        padding-right: 0;
    }

    #progressContainer {
        width: 80%;
        margin: 20px auto;
    }

    .slide-controler {
        justify-content: center;
        padding-top: 0;
        margin-top: -2rem;
        gap: 1rem;
    }

    .control-button {
        width: 2.5rem;
        height: 2.5rem;
    }

    .lang-in {
        margin: 0;
    }

    .slide-number {
        font-size: 0.65rem;
        margin: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .cards {
        margin-left: 15%;
        margin-right: 15%;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .cards1, .cards2 {
        height: auto;
        margin-bottom: 60px;
    }

    .card {
        width: 90%;
        height: auto;
        margin: 0 auto 2rem;
    }

    .cards p {
        font-size: 14px;
        padding: 4% 6%;
    }

    .cards .svgs {
        margin-left: auto;
        margin-right: auto;
        margin-top: 20%;
    }

    .images p {
        font-size: 1.1rem;
        text-align: center;
        margin: 10px 0;
    }

    .intentgpt p, .color-p {
        font-size: 1.5rem;
    }

    .light-p {
        font-size: 1rem;
        padding: 0 15px;
    }

    #footer {
        height: auto;
        padding-bottom: 40px;
    }

    .footer {
        height: auto;
        padding: 30px 10px;
    }

    .footer-container {
        width: 100%;
        padding-left: 0;
        padding-top: 20px;
        align-items: center;
        text-align: center;
    }

    .logo {
        width: 35%;
        margin-bottom: 20px;
    }

    .footer-p {
        font-size: 18px;
        text-align: center;
    }

    .footer-p2 {
        text-align: center;
        font-size: 0.8rem;
        margin-right: 0;
    }

    .icons, .iconsf {
        width: 18px;
        margin-right: 2%;
        margin-bottom: 30px;
    }

    .contact {
        width: 100%;
        padding-left: 0;
        gap: 8px;
    }

    .contact div {
        text-align: center;
    }

    .lang-fa {
        margin-right: 0;
    }
}
