@font-face {
    font-family: vazirmatn;
    src: url(/assets/fonts/persianFonts/Vazirmatn/Vazirmatn-Regular.woff2);
}

html {
    font-size: 16px;
    scroll-padding-top: 15vh;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    text-align: center;
    background: #f5f5f5;
}

:root {
    --gold: rgb(243, 189, 64);
}


/* Header styles */
.headerWeb {
    border-radius: 20px;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    background-color: rgba(212, 212, 212, 0.55);
    padding: 20px;
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    margin: auto;
    width: calc(100% - 40px);
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

#logoLink {
    display: inline-flex;
}

/* Desktop navbar */
.compLogo {
    width: 10vw;
    margin-right: 20px;
    height: auto;
    display: inline;
}

.navbar {
    display: flex;
    align-items: center;
    direction: rtl;
    cursor: pointer;
    margin-right: 20px;
}

.navbarList {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbarList li {
    font-size: 1rem;
    font-family: vazirmatn;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.navbarList a {
    text-decoration: none;
    color: rgb(30, 30, 30);
    transition: all 0.3s ease;
}

.navbarList li:hover {
    font-size: 1.125rem;
}

.navbarList li:hover a {
    color: black;
    font-weight: bolder;
}

.navbarList a:focus {
    color: var(--gold);
}

/* Mobile hamburger button */
.hamburger {
    width: 25px;
    height: 18px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-right: 20px;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(12px);
}

.hamburger.active span:nth-child(2) {
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px) translateX(-1px);
}

/* Mobile nav menu */
.nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-radius: 20px;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    background-color: rgba(0, 0, 0, 0.95);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav ul {
    list-style: none;
}

.nav li {
    margin-right: 35px;
    text-align: right;
    padding: 15px 0;
    direction: rtl;
    font-family: vazirmatn;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.nav a:focus {
    font-weight: bolder;
    font-size: 1.25rem;
    margin-top: 2px;
    margin-bottom: 2px;
}

.nav.active {
    max-height: 80vh;
}

/* big services text */
.aboutBox {
    font-family: vazirmatn;
    direction: rtl;
    display: block;
    margin-top: 5vh;
    color: var(--gold);
}

.aboutBox h1 {
    font-size: 60px;
    margin: 15vh 0 30px 0;
}

/* entire features box */
.featureSection {
    margin-top: 20px;
    margin-bottom: 80px;
    color: black;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    gap: 150px;
}

/* each feature row */
.infoBoxOutterDiv {
    display: flex;
    align-items: center;
    gap: 20px;
}

.infoBoxOutterDiv p {
    margin: auto;
    width: 60%;
}

.infoBoxOutterDiv h2 {
    font-size: 2rem;
    margin: auto;
    margin-bottom: 20px;
    color: var(--gold);
    width: 80%;
}

.outterDivVar1 {
    flex-direction: row-reverse;
}

.outterDivVar2 {
    flex-direction: row;
}

.featureSection img {
    max-width: 85%;
    border-radius: 30px;
    box-shadow: 0 0 10px black;
}
.featureSection h3 {
    font-size: 16px;
    font-family: vazirmatn;
    direction: rtl;
}

.featureSection p {
    font-family: vazirmatn;
    direction: rtl;
}

/* each feature picture */
.featurePic {
    width: 50%;
}

.featureText {
    width: 50%;
    margin: auto;
}

/* footer styles */
footer {
    min-height: 20vh;
    background-color: rgb(226, 226, 226);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    font-family: vazirmatn;
}

footer img {
    display: inline-block;
    max-height: 10vh;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin: 10px 5px;
    transition: all 0.3s ease;
}

footer ul li:hover {
    transform: scale(1.2)
}

footer ul li a {
    text-decoration: none;
    margin: 0 3px;
    color: black;
}

.footerContact {
    display: flex;
    gap: 10px;
    align-items: center;
    direction: ltr;
}

.footerContact img {
    width: 40px;
}

.footerContact h6 {
    font-size: 16px;
}

@media screen and (max-width:710px) {
    .navbar {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .compLogo {
        width: 25vw;
    }

    footer {
        flex-direction: column;
        height: fit-content;
        padding: 20px 0;
    }

    footer ul {
        margin: 40px 0;
    }
}

@media screen and (max-width:1000px) {
    .infoBoxOutterDiv {
        display: inline-block;
        /* flex-wrap: wrap;
        justify-content: space-around; */
    }

    .featureText {
        width: 90%;
    }

    .featureText h1 {
        font-size: 25px;
    }

    .featurePic {
        text-align: center;
        width: 100%;
        margin: auto;
        margin-bottom: 30px;
    }

    .infoBoxOutterDiv p {
        margin: auto;
        width: 90%;
        padding: 0;
    }
}