@font-face{
    font-family: 'fa';
    src: url('../Fonts/BYekan/BYekan.eot') format('eot');
    src: url('../Fonts/BYekan/BYekan.ttf') format('ttf');
    src: url('../Fonts/BYekan/BYekan.woff') format('woff');
}
*{
    font-family: 'fa';
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    direction: rtl;
    transition: all 0.2s ease;
}
*::selection{
    background-color: #c7284e;
    color: #fff;
}
#navbar{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
}
#navbar.scrolled{
    background-color: rgba(34, 34, 34, .6);
    backdrop-filter: blur(3px);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
    padding: 0 30px;
}
.fade-in{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible{
    opacity: 1;
    transform: none;
}
header nav{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
header nav a{
    color: #fff;
    text-decoration: none;
    font-size: 1.4em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
}
header nav a:hover{
    text-shadow: 1px 1px 6px #fff;
}
.burger-lines{
    height: 26px;
    width: 32px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}
.burger-lines .line{
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #fff;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
}
.burger-lines:hover{
    cursor: pointer;
}
.burger-lines .line1{
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}
.burger-lines .line2{
    transition: transform 0.2s ease-in-out;
}
.burger-lines .line3{
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}
.logo{
    width: 80px;
    height: 80px;
    left: 0;
}
.goTop{
    visibility: hidden;
    opacity: 0;
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: #fff;
    background-color: #c7284e;
    font-size: 2em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transform: translateY(70px);
    cursor: pointer;
    z-index: 999;
}
.goTop.vis{
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.goTop:hover{
    height: 70px;
    background-color: #a50e25;
    border-radius: 100px 100px 100px 100px;
}
.section_1{
    background-image: url('../Images/BG.png');
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .5);
}
.section_1::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: black;
    opacity: .3;
}
.section_1 h1, .section_1 h3{
    z-index: 1;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
}
.section_1 h1{
    font-size: 2.5em;
}
.section_1 h3{
    font-size: 1.5em;
    margin-top: 20px;
}
.section_2{
    text-align: center;
    padding: 50px 0;
}
.section_2 h1{
    margin-bottom: 70px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
}
.features{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
    align-items: center;
}
.features div{
    text-align: center;
}
.features div:hover{
    transform: translateY(-5px);
}
.features img{
    width: 100px;
    margin-bottom: 10px;
}
.features p{
    font-size: 20px;
}
.section_3{
    background-color: #001cbb;
    color: #fff;
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 8px 15px rgba(0, 0, 0, 0.4), inset 0 -8px 15px rgba(0, 0, 0, 0.4);
    padding: 50px 70px;
}
.section_3 p{
    font-size: 1.7em;
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
}
.section_4{
    text-align: center;
    padding: 50px 0 0;
}
.section_4 h1{
    margin-bottom: 50px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
}
.featuresBrand{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
}
.featuresBrand div{
    text-align: center;
}
.featuresBrand div:hover{
    transform: translateY(-5px);
}
.featuresBrand img{
    width: 150px;
    margin-bottom: 10px;
}
.section_5{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url('../Images/map.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 80px;
    box-shadow: inset 0 8px 15px rgba(0, 0, 0, 0.4), inset 0 -8px 15px rgba(0, 0, 0, 0.4);
    scroll-margin-top: 44px;
}
.section_5 h1{
    margin-bottom: 50px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
    color: #fff;
}
.contact{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.contact iframe{
    border-radius: 10px;
    width: 600px;
    height: 500px;
}
.contact-info{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
    font-size: 1.4em;
    text-align: justify;
}
.contact-info h3{
    margin-bottom: 40px;
}
.contact-info a{
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: #c7284e;
    border: 2px solid #a50e25;
    border-radius: 13px;
    padding: 5px;
}
.contact-info a:hover{
    transform: scale(1.03);
    background-color: #a50e25;
}
.section_6{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 60px 80px;
    background-color: #eee;
    scroll-margin-top: 88px;
}
.section_6 h1{
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
}
.about-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.about-item img {
    width: 45%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.about-text {
    width: 50%;
    text-align: justify;
    font-size: 1.4em;
    line-height: 1.7;
}
.about-item.reverse {
    flex-direction: row-reverse;
}
footer{
    background-color: #001275;
    text-align: center;
    padding: 10px;
    color: #fff;
    box-shadow: inset 0 8px 15px rgba(0, 0, 0, 0.4), inset 0 -8px 15px rgba(0, 0, 0, 0.4);
}
footer p{
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
    margin: 5px;
}
footer .tooltip{
    color: #c7284e;
    font-weight: bold;
    font-family: sans-serif;
    position: relative;
    cursor: pointer;
}
.tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: max-content;
    max-width: 200px;
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 8px 10px;
    border-radius: 8px;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9em;
    z-index: 1000;
    pointer-events: none;
}
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #222 transparent transparent transparent;
}
.tooltip:hover .tooltip-text, .tooltip:focus .tooltip-text {    
    visibility: visible;
    opacity: 1;
}
.username{
    direction: ltr;
    unicode-bidi: bidi-override;
}
/* parts page */
.someText{
    background-image: url('../Images/bgParts.png');
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .5);
}
.someText::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: black;
    opacity: .3;
}
.someText h1, .someText h3{
    z-index: 1;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
    color: #fff;
}
.someText h1{
    font-size: 2.5em;
}
.someText h3{
    font-size: 1.5em;
    margin-top: 20px;
}
.bg{
    background-color: #fcfcfc;
    scroll-margin-top: 88px;
}
.darkBg{
    background-color: #f5f5f5;
    scroll-margin-top: 88px;
}
.card{
    border: 2px solid #ddd;
    border-radius: 10px;
    width: 200px;
    height: 230px;
    background-color: #fff;
}
.card:hover{
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
}
@media screen and (max-width: 1400px){
    header nav{
        position: absolute;
        flex-direction: column;
        top: 100px;
        right: 20px;
        background-color: rgb(34, 34, 34);
        box-shadow: 1px 1px 8px rgba(0, 0, 0, .4);
        padding: 30px;
        font-size: .9em;
        border-radius: 7px;
        transform: translatex(250px);
        opacity: 0;
        visibility: hidden;
        align-items: start;
    }
    header nav.active{
        display: flex;
        transform: translatex(0);
        opacity: 1;
        visibility: visible;
    }
    header nav.scrolled1{
        top: 80px;
    }
    .burger-lines{
        display: flex;
    }
    .burger-lines.toggle .line1{
        transform: rotate(45deg);
    }
    .burger-lines.toggle .line2{
        transform: scaleY(0);
    }
    .burger-lines.toggle .line3{
        transform: rotate(-45deg);
    }
    .section_3 p{
        font-size: 1.5em;
    }
}
@media screen and (max-width: 768px){
    .section_1 h1{
        font-size: 2.2em;
    }
    .section_1 h3{
        font-size: 1.3em;
        padding: 0 30px;
        text-align: center;
        line-height: 1.6;
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .featuresBrand{
        grid-template-columns: repeat(2, 1fr);
    }
    .section_3{
        padding: 50px 20px;
    }
    .section_3 p{
        font-size: 1.3em;
        line-height: 1.6;
    }
    .section_5{
        padding: 30px 20px;
        scroll-margin-top: 88px;
        background-attachment: scroll;
    }
    .contact{
        flex-direction: column;
    }
    .contact iframe{
        width: 100%;
        height: 400px;
    }
    .contact-info{
        text-align: center;
        align-items: center;
        font-size: 1.2em;
    }
    .section_6 {
        padding: 30px 20px;
        gap: 40px;
    }
    .about-item {
        flex-direction: column;
    }
    .about-item.reverse {
        flex-direction: column;
    }
    .about-item img, .about-text {
        width: 100%;
    }
    .about-text {
        text-align: center;
        font-size: 1.2em;
    }
    .goTop{
        width: 40px;
        height: 40px;
    }
    .goTop i{
        font-size: .8em;
    }
    .goTop:hover{
        height: 60px;
    }
}