@font-face {
    font-family: vazir;
    font-style: normal;
    font-weight: 100;
    src: url("fonts/Vazir-Thin.eot") format("eot"), url("fonts/Vazir-Thin.woff") format("woff"), url("fonts/Vazir-Thin.woff2") format("woff2"), url("fonts/Vazir-Thin.ttf") format("ttf");
}

a {
    text-decoration: none;
    color: white;
}

.navbarPhone {
    display: none;
}

.navbarReal {
    top: 0;
    width: 100%;
    display: flex;
    background-color: #141E30;
    box-sizing: border-box;
    padding: 5px;
    position: static;
}

.navbarReal .leftNav {
    display: flex;
    flex-direction: row;
    width: 20%;
    height: fit-content;
    align-self: center;
    align-items: center;
    box-sizing: border-box;
    background-color: #2B374B;
    border-radius: 15px;
    margin-left: 3%;
    /* FIXME: change this */
}

.navbarReal .leftNav .btnLeft {
    /* margin-right: 2% ; */
    padding: 3%;
    /* box-sizing: border-box; */
    border-radius: 15px;
    width: 50%;
    text-align: center;
    border: solid #2B374B;
    background-color: #2B374B;
    font-size: 20px;
    transition: all 300ms ease;
    font-weight: 400;
}

.navbarReal .leftNav .btnRight:hover {
    background-color: #d0ff0053;
    border: solid #d0ff00d3;
    color: #141E30;
    color: white;
}

.navbarReal .leftNav .btnRight {
    background-color: #CEFA00;
    padding: 3%;
    /* box-sizing: border-box; */
    width: 50%;
    border-radius: 15px;
    text-align: center;
    color: black;
    border: solid #CEFA00;
    font-size: 20px;
    font-weight: 400;
    transition: all 300ms ease;
}

.navbarReal .leftNav .btnLeft:hover {
    background-color: #3e5989;
    border: solid #2B374B;
    color: white;
}

.navbarReal .rightNav {
    display: flex;
    flex-direction: row;
    width: 95%;
    box-sizing: border-box;
    direction: rtl;
}

.navbarReal .rightNav .leftRightNav {
    width: 80%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.navbarReal .rightNav .leftRightNav .link {
    padding: 0.5vh;
    font-size: larger;
    box-sizing: border-box;
    align-items: center;
    display: flex;
    flex-direction: row;
    text-decoration: none;
    transition: 0.4s;
    transition-timing-function: ease;
}

.navbarReal .rightNav .leftRightNav .link:hover {
    color: rgb(255, 162, 0);
}

.navbarReal .rightNav .rightRightNav {
    width: 10%;
    padding: 1vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
}

.navbarReal .rightNav .rightRightNav .logo {
    width: 100%;
    display: inline-block;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #141E30 !important;
}

.modal-content {
    margin: 0 auto;
    /* padding: 20px; */
    width: 100%;
    height: 100%;
    /* border-radius: 20px; */
    text-align: right;
    direction: rtl;
    transition: all 2s ease-out !important;
    background-color: #141E30 !important;
}

.inerModal {
    margin: 10dvh auto;
    width: 100%;
    height: 150vh;
    /* transition: all 5.3s ease; */
}

.inerModal .navbarReal {
    display: block !important;
}

.inerModal .navbarReal .leftNav {
    margin: auto;
    width: 70%;
}

.inerModal .navbarReal .leftNav .btnLeft {
    margin-left: 2vh;
}

.inerModal .navbarReal .leftNav .btnLeft,
.inerModal .navbarReal .leftNav .btnRight {
    width: 50%;
}

.inerModal .navbarReal .rightNav {
    width: 100%;
}

.inerModal .navbarReal .rightNav .leftRightNav a {
    text-align: right;
    justify-content: right;
    padding: 20px;
    box-sizing: border-box;
    /* border-bottom: solid #DAD8D8; */
}

.inerModal .navbarReal .rightNav .leftRightNav a:hover {
    border-right: 5px solid #ffffff;
}

.inerModal .navbarReal .rightNav .leftRightNav a:last-child {
    border-bottom: none;
}

.inerModal .navbarReal .rightNav .leftRightNav {
    flex-direction: column !important;
    justify-content: left;
    margin: 5vh auto;
}

.close {
    /* margin: 1vh auto; */
    color: #535353;
    float: left;
    font-size: 38px;
    padding: 3vh;
    margin-left: 3vh;
    margin-top: 1vh;
    font-weight: bold;
    z-index: 1;
}

.close:hover,
.close:focus {
    color: black;
    cursor: pointer;
}

.btnSideBar {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.btnSideBar a {
    padding: 2vh;
    box-sizing: border-box;
    border: solid;
    border-color: #64E58A;
    border-radius: 20px;
    width: 80%;
    margin: 1vh auto;
    transition: background-color .5s;
}

.btnSideBar a.active {
    background-color: #64E58A;
    color: #434343;
}

.btnSideBar a:hover:not(.active) {
    background-color: #64e58b85;
}

.info-btn {
    background-color: transparent;
    border: none;
    padding: 2dvh;
    box-sizing: border-box;
}

@media screen and (max-width: 950px) {
    .navbarReal .rightNav .leftRightNav .link {
        font-size: 15px;
    }
    .btnLeft,
    .btnRight {
        font-size: 14px !important;
    }
    .rightRightNav {
        padding: 0% !important;
    }
}

@media screen and (max-width: 768px) {
    .navbarReal {
        display: none;
    }
    .navbarPhone {
        display: flex;
        direction: rtl;
    }
    .navbarPhone .rightPart {
        width: 50%;
        direction: ltr;
    }
    .navbarPhone .rightPart .logoContainer {
        padding: 1vh;
        margin-left: 15px;
        margin-top: 15px;
        box-sizing: border-box;
    }
    .navbarPhone .rightPart .logoContainer img {
        width: 25%;
    }
    .navbarPhone .leftPart {
        width: 50%;
        padding: 2vh;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 600px) {
    .navbarPhone .rightPart .logoContainer img {
        width: 35%;
    }
}

@media screen and (max-width: 440px) {
    .navbarPhone .rightPart .logoContainer img {
        width: 45%;
    }
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #141E30;
    z-index: 5000;
    transition: right 0.3s ease-in-out;
    padding: 1rem;
}

.mobile-sidebar.active {
    right: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 4999;
    display: none;
}

.overlay.active {
    display: block;
}


/* Mobile navbar styles */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4998;
    background: #1a2537;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .mobile-sidebar {
        display: none;
    }
    .mobile-nav {
        display: none;
    }
}


/* Adjust hero section margin for mobile */

@media (max-width: 767px) {
    .hero-section {
        margin-top: 4rem;
    }
}