@font-face {
    font-family: "extra_bold";
    src: url("/static/font/pinar_extra_bold.ttf");
}

@font-face {
    font-family: "bold";
    src: url("/static/font/pinar_bold.ttf");
}

@font-face {
    font-family: "medium";
    src: url("/static/font/pinar_medium.ttf");
}

@font-face {
    font-family: "regular";
    src: url("/static/font/pinar_regular.ttf");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "regular", sans-serif;
}

body {
    direction: rtl;
}

header>.desktop {
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
    align-items: center;
    background-color: #111827;

}

header>.desktop>:first-child {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    line-height: 155%;
}

header>.desktop>:first-child img {
    width: 48px;
}

header>.desktop>:first-child h2 {
    font-family: "extra_bold", sans-serif;
    font-size: 16px;
    color: #FFFFFF;
}

header>.desktop>:first-child span {
    color: #6b7280;
    font-size: 12px;
}

header>.desktop>:nth-child(2) {
    display: flex;
    gap: 25px;
    align-items: center;
}

header>.desktop>:nth-child(2) a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin-right: 10px;
    color: #F3F4F6;
    text-decoration: none;
    font-family: "bold";
}

header>.desktop>:nth-child(2) img {
    width: 16px;
}

header>.desktop>:nth-child(3) {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

header>.desktop>:nth-child(3)>:first-child {
    position: relative;
}

header>.desktop>:nth-child(3)>:first-child span {
    position: absolute;
    top: -10px;
    right: -8px;
    background-color: #1438EE;
    padding: 5px;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
}

header>.desktop>:nth-child(3)> :last-child {
    background-color: #EECA14;
    padding: 10px 15px;
    font-size: 12px;
    text-decoration: none;
    color: #111827;
    font-family: "bold";
    border-radius: 10px;
}


footer {
    background-color: #111827;
}

footer>:first-child {
    display: flex;
    justify-content: space-evenly;
    padding: 50px;
}

.footer-info {
    width: 35%;
}

.footer-info>:first-child {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.footer-info>:first-child h3 {
    font-size: 14px;
    color: #fff;
    font-family: "bold";
}

.footer-info>:first-child img {
    width: 32px;
}

.footer-info p {
    font-family: "medium";
    font-size: 14px;
    color: #9CA3AF;
}

.social-footer {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

footer>div>div {
    text-align: right;
}

footer>div>div>h3 {
    font-family: "bold";
    font-size: 14px;
    color: #fff;
}

.quick-links ul {
    margin-top: 5px;
}

.quick-links ul li {
    list-style: none;
}

.quick-links ul li a {
    text-decoration: none;
    color: #9CA3AF;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.footer-contact-us h3 {
    margin-bottom: 20px;
}

.footer-contact-us>span {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.footer-contact-us>span a {
    text-decoration: none;
    color: #9CA3AF;
    font-size: 14px;
    display: inline-block;
}

footer>:last-child {
    text-align: center;
    border-top: 1px solid #374151;
    width: 80%;
    margin: 0 auto;
    padding: 20px 0 20px;
    color: #4B5563;
    font-size: 12px;
}

footer>:last-child a {
    color: #E5E7EB;
    font-size: 14px;
    font-family: "bold";
    text-decoration: none;
    margin-right: 5px;
}

.mobile {
    position: fixed;
    right: -100%;
    height: 100%;
    overflow: auto;
    display: flex;
    z-index: 1000;
    backdrop-filter: blur(2px);
    width: 100%;
    transition: right 0.5s ease-in-out;
}

.mobile.active {
    right: 0;
}

.parent-mobile-menu {
    padding: 20px;
    width: 70%;
    background-color: #F0F3FF;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}

.parent-mobile-menu>:first-child {
    display: flex;
    justify-content: start;
    gap: 10px;
    align-items: center;
    line-height: 155%;
    margin-top: 30px;
}

.parent-mobile-menu>:first-child img {
    width: 32px;
}

.close-mobile-menu {
    width: 30%;
    height: 100%;
}

.parent-mobile-menu>:nth-child(2) {
    display: flex;
    flex-direction: column;
    height: 50%;
    justify-content: space-evenly;
    margin-top: 10px;
}

.parent-mobile-menu>:nth-child(2) a {
    display: flex;
    align-items: center;
    justify-content: start;
    text-decoration: none;
    gap: 5px;
}

.parent-mobile-menu>:nth-child(2) a span {
    font-size: 14px;
    font-family: "bold";
    color: #6b7280;
    font-size: 14px;

}

.parent-mobile-menu>:nth-child(2) a img {
    width: 24px;
}

.parent-mobile-menu .login-menu-mobile {
    background-color: #EECA14;
    padding: 10px 15px;
    font-size: 14px;
    text-decoration: none;
    color: #111827;
    font-family: "bold";
    border-radius: 10px;
    display: block;
    text-align: center;
}

.card-menu-mobile {
    display: flex;
    justify-content: space-between;
    background-color: #1438EE;
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
    margin-top: 10px;
    align-items: center;
}

.card-menu-mobile>:first-child {
    margin-top: -10px;
}

.card-menu-mobile>span {
    position: relative;
    margin-top: 10px;
}

.card-menu-mobile>span span {
    position: absolute;
    top: -10px;
    right: -8px;
    color: #1438EE;
    padding: 5px;
    border-radius: 50%;
    background-color: #fff;
    font-size: 12px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
}

.mobile-top-menu {
    display: flex;
    padding: 20px 30px;
    justify-content: space-between;
    align-items: center;
    background-color: #111827;
}

.mobile-top-menu button {
    border: none;
    background-color: transparent;
    outline: none;
}

.mobile-top-menu h2 {
    font-family: "bold";
    font-size: 18px;
    color: #ffffff;
}



.title-h2 {
    line-height: 40px;
    text-align: center;
}

.title-h2>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-h2>div :last-child {
    transform: rotate(180deg);
}

.title-h2 h2 {
    font-family: "extra_bold", sans-serif;
    font-size: 24px;
    color: #111827;
    text-align: center;
}

.title-h2 p {
    font-size: 14px;
    color: #6B7280;
    text-align: center;
    margin-top: 10px;
}

@media screen and (min-width:768px) {
    .mobile {
        display: none;
    }

    .mobile-top-menu {
        display: none;
    }
}

@media screen and (max-width:768px) {
    header>.desktop {
        display: none;
    }


    footer>:first-child {
        flex-wrap: wrap;
    }

    .footer-info,
    .quick-links,
    .footer-certificate,
    .footer-contact-us {
        width: 100%;
        margin-top: 10px;
    }

    .title-h2 img {
        width: 45px;
    }
}