html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: hidden;
    backface-visibility: hidden;
}

@font-face {
    font-family: "MyriadPro";
    src: url(./font/myriad_pro.ttf);
}

@font-face {
    font-family: "farsi";
    src: url(font/vazir/Vazir-Light-FD.ttf);
}

/* * :not(.fa) {
    font-family: "farsi";
} */


body {
    overflow-x: hidden;
    overflow-y: hidden;
    /* background-image:url(' https://xanmia.github.io/Light-Speed-Ready/images/starb.png'); */
    /* background: linear-gradient(174deg, #49bd96c3 100%, rgba(74, 179, 168, 0.8687850140056023) 72%, rgba(73, 189, 150, 0.7651435574229692) 100%); */
    margin: 0px;
    height: 100vh;
    font-size: 1rem;
    background-size: cover;
    background-repeat: no-repeat;
}


/*----nav--------------------- */

.nav-item {
    padding-left: 30px;
    padding-right: 30px;
    width: max-content;
    cursor: pointer;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: black!important;
    font-weight: bold;
}

.navbar {
    /* padding-bottom: 2rem !important; */
    direction: rtl;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    /* color: #011a20; */
}

.nav-link:hover {
    color: red !important;
}

.bg-dark {
    background-color: hsla(0, 4%, 63%, 0.5) !important;
}

.logo {
    /* position: fixed;
    top: 3px;
    left: 90px; */
    width: 25px;
}
.active{
    color: red;
}

.navbar-expand-md .navbar-collapse{
    justify-content: space-between!important;
}
.header{
    min-height: 7vh;
    position: absolute;
    z-index: 1;
    width: 100%;
    /* border-bottom: 2px solid black; */
    border-top: 2px  solid black;
}


/*-----------------main-------------------*/

.main{
    height: 95vh;
    /* background-color: red; */
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
}

.subMenu{
    position: absolute;
    width: 100%;
    height: 20vh;
    position: absolute;
    bottom: 0;
    left: 0;
    border-top: 2px solid black;
    background-color: hsla(356, 94%, 45%, 0.5);

}
.service-description{
    position: absolute;
    top: 13vh;
    left: 10vh;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 20px;
    height: 45vh;
    border-radius: 15px;
    text-align: justify;
    overflow-y: auto;
}
.about{
    margin-top: 10vh;
    text-align: justify;
}
.contact{
    margin: 20vh;
}
.service-name{
    margin: 8px 0;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;

}
.service-icon{
    width: 70px;
    cursor: pointer;
    transition:1s;
}
.service-icon:hover{
    transform: scale(1.08); 
    transition: 1s;

}
.pointer{
    cursor: pointer;
}
.title{
    position: absolute;
    top:20px;
    left: 50%;
    transform: translate(-50%, 0);
    color: #fff;
    font-size: 1em;
}
.icon{
    background-color: hsla(356, 94%, 45%, 0.37);
    border-radius: 50%;
    padding: 30px;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.requestBtn{
    width: 70%;
    color: #fff;
    background-color: hsla(356, 94%, 45%, 0.37);
    border-radius: 8px;
    padding: 5px 30px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    border: none;
}
.mainBtn{
    width: 70%;
    color: #fff;
    background-color: hsla(356, 94%, 45%, 0.37);
    border-radius: 8px;
    padding: 5px 30px;
    position: absolute;
    /* float: left; */
    left: 15px;
    bottom: 20px;
    border: none;
}

.requestBtn:hover,
.requestBtn:focus,
.maintBtn:hover,
.mainBtn:focus {
    box-shadow: inset 0 -3.25em 0 0 hsla(356, 94%, 45%, 0.6);
    color:black;
    outline: none;
}

table tr td {
    padding: 30px 0;
    text-align: justify;
}
.paddinBt{
    padding-bottom: 0;
    padding-top: 6vh;
}
.paddingTop{
    padding-top: 1.5rem;
}
/*-----------footer-------------------------*/
.footer{
    min-height: 5vh;
    background-color: black;
    color: #fff;
}
.at{
    width: 15px;
}
/* ---------modal------ */
.modal-header {
    background-color: hsla(356, 94%, 45%, 0.8);
    border-bottom: 3px solid black;
}
.submitBtn{
    width: max-content;
    color: #fff;
    background-color: hsla(356, 94%, 45%, 0.8);
    border-radius: 8px;
    padding: 5px 30px;
    border: none;
}
.submitBtn:hover,
.submitBtn:focus {
    box-shadow: inset 0 -3.25em 0 0 hsla(356, 94%, 45%, 0.8);
    color:black;
    outline: none;
}
.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem;
}
.modal-logo{
    max-width: 55px;
    margin: 0 20px;
}
.modal-content{
    text-align: justify;
}

/*-------------------------*/
@media screen and (min-width: 1921px) {



}

/* -------------------------------- */
@media screen and (max-width: 1366px) and (min-width: 769px ) {

    .paddingTop{
        padding-top: 0;
    }
    .main{
        min-height: 83vh;
    }
    /* .mainBtn {
        position: relative;
        bottom: -9px;
        left: 90px;
        float: left;
        overflow-y: auto;
    }
    .service-description{
        overflow-y: auto;
        overflow-x: hidden;
    } */

}


@media screen and (max-width: 768px) {
    .bg-dark {
        z-index: 1;
        position: fixed;
        width: 100%;
        height: 5vh;
    }

    .collapse:not(.show) {
        display: block;
    }

    .logo {
        /* position: fixed;
        top: 6px;
        left: 13px; */
        width: 26px;
    }

    .navbar-nav {
        flex-direction: row;
        float: right;
        /* position: fixed; */
        padding-right: 0;
        top: 0;
        display: flex;
        width: 100%;
        flex-flow: row wrap;
    }

    .nav-item {
        margin-top: 0;
        padding-left: 5px;
        padding-right: 6px;
    }
    body{
        overflow-y: auto;
    }
    .header{
        height: 13vh;
    }
    .main{
        min-height: 80vh;
        padding-bottom: 30px;
    }
    .subMenu{
        min-height: 33vh;
    }
    .service-description{
        left: 0;
    }
    .service-name{
        font-size: 1em;
    }
    .service-icon{
        width: 40px;
    }
    .footer{
        min-height: 6vh;
        position: fixed;
        bottom: 0;
        width: 100%;
    }
    .mainBtn {
        position: relative;
        bottom: -22px;
        left: -80px;
        /* float: left; */
        left: 30%;
        transform: translate(-50%, -50%);
        overflow-y: auto;
    }

}

@media screen and (max-width: 540px) {
    .bg-dark {
        height: 12vh;
    }
    .navbar-brand {
        margin-right: 0;
    }
    .paddinBt{
        padding-bottom: 10vh;
    }
    .service-description{
        top: 14vh;
        height: 25;
        overflow-y: auto;
        overflow-x:hidden;
    }
    .header{
        height: 8vh;
    }
    .language{
        position: absolute;
        left: 0;
        width: 15%;
    }
    .service-name{
        margin: 0;
        font-size: 0.72em;
    }
    .paddingTop{
        padding-top: 0;
    }


}

@media screen and(width: 375px){
    .service-icon{
        margin-bottom: 8px;
    }
     table, .about{
        padding-bottom: 40px;
      }
    .about{
        margin-top: 0!important;  
    }
    .marginTop{
        margin-top: 40px;
    }   
    table tr td {
        padding: 24px 0;
    }
    
}

/*---------------------- hidden scroll-------------*/

::-webkit-scrollbar {
    width: 1px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px transparent;
    border-radius: 10px;
    height: 0;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    height: 0;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: transparent;
    height: 0;
}

/* -------------Captcha------------ */

/* .grecaptcha-badge{
    display: contents!important;
}
.grecaptcha-logo{
    text-align: left;
}
iframe{
    width: 356px;
}
.rc-anchor-light.rc-anchor-normal{
    border: 1px solid hsla(0, 0%, 83%, 0)!important;
}
.rc-anchor-normal .rc-anchor-pt {
    margin: 2px 61px 0 0!important;
} */

/* ---------------------------- */
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
  }
  
  /* Show the snackbar when clicking on a button (class added with JavaScript) */
  #snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  /* Animations to fade the snackbar in and out */
  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }