﻿@font-face {
    font-family: 'Vazir';
    src: url('../assets/fonts/Vazir-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.title-message-container {
    width: 100%;
    background-color: #c5e69a;
    z-index: 100;
    position: relative;
    top: 0px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.title-message {
    position: relative;
    left: -100%; /* شروع از خارج صفحه */
    width: max-content;
    padding: 10px 20px;
    color: #495057;
    font-size: 15px;
    white-space: nowrap;
    z-index: 1000;
    animation: moveRight 10s linear infinite; /* حرکت بی‌پایان */
}

.title-message-container {
    width: 100%;
    background-color: #c5e69a;
    z-index: 100;
    position: relative;
    top: 0px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.title-message {
    position: relative;
    left: -100%; /* شروع از خارج صفحه */
    width: max-content;
    padding: 10px 20px;
    color: #495057;
    font-size: 15px;
    white-space: nowrap;
    z-index: 1000;
    animation: moveRight 10s linear infinite; /* حرکت بی‌پایان */
}

@keyframes moveRight {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* تغییرات برای نمایشگرهای کوچکتر از 992px */
@media (max-width: 992px) {
    .title-message {
        font-size: 14px;
        animation: moveRight 8s linear infinite; /* کاهش مدت انیمیشن */
    }
}

/* تغییرات برای نمایشگرهای کوچکتر از 578px */
@media (max-width: 578px) {
    .title-message {
        font-size: 13px;
        animation: moveRight 5s linear infinite; /* کاهش بیشتر مدت انیمیشن */
    }
}


@keyframes moveRight {
     0% {
         left: -100%; /* شروع از خارج صفحه */
     }

     100% {
         left: 100%; /* حرکت تا خارج از سمت راست صفحه */
     }
 }

* {
    font-family: 'Vazir', sans-serif !important;
}

a:focus,
a:active {
    color: inherit;
    outline: none;
}

a {
    color: inherit;
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: white;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #ff6a00;
    }

body {
    max-width: 1920px;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}




nav {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #87C66D;
    top: 0;
    padding: 20px 0;
    color: #000000;
    position: relative;
    width: 100%;
    min-height: 150px;
    box-shadow: 0 5px 0 0 #87C66D;

}








.nav-actions-container {
    display: flex;
    align-items: center;
    font-size: 40px;
    justify-content: start;
    position: relative;
    width: 10%
}


    .action {
        position: relative;
        margin: 0 10px;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        cursor: pointer;
        transition: transform 0.2s ease-in-out;
    }



    .action:hover {
        transform: scale(1.2);
    }

    .action img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        object-fit: cover;
        -webkit-user-drag: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }




.phone-container {
    position: relative;
}




#phone-text {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    font-size: 12px;
    top: 125%;
    z-index: 800000;
}



.tool-menu {
    display: none;
}

    .tool-menu a {
        display: none;
    }





.nav-logo-container {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 10%;
}

    .nav-logo-container a video {
        width: 160px;
        pointer-events: none;
        -webkit-user-drag: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .nav-logo-container a {
        -webkit-user-drag: none;
    }






.nav-menu {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 80%;
}

    .nav-menu ul {
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 50px;
        font-size: large;
        border: 8px solid rgba(0, 0, 0, 0.10);
        display: flex;
        background-color: white;
        border: none;
        padding: 10px 40px;
        flex-direction: row;
        list-style-type: none;
    }


        .nav-menu ul li {
            text-decoration: none;
            color: #495057;
            background-color: #fff;
            padding: 0 20px;
        }

            .nav-menu ul li a {
                text-decoration: none;
                color: inherit;
            }

                .nav-menu ul li a:hover {
                    color: #ff6a00;
                }



.dropdown {
    position: relative;
    display: inline-block;
}

.drop-btn {
    border: none;
    cursor: pointer;
}

.drop-btn small {
    font-size: 0.7rem;
    display: inline-block; 
    transition: transform 0.3s ease; 
}


.dropdown-content {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    position: absolute;
    background-color: white;
    min-width: 160px;
    z-index: 110;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-content {
    max-height: 1000px;
    opacity: 1;
}
.dropdown:hover .drop-btn small {
    transform: rotate(90deg);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

    .dropdown-content a:hover {
        background-color: #f1f1f1;
    }





.dropdown-content-language {
    display: none;
    position: absolute;
    z-index: 15;
    overflow: hidden;
    list-style-type: none;
    padding: 20px 10px;
    margin: 0px 0px;
    max-height: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

    .dropdown-content-language a {
        color: white;
        border-radius: 20px;
        font-size: 18px;
        background-color: rgba(0,0,0,0.4);
        text-decoration: none;
        display: block;
        text-align: center;
        margin: 4px 0;
        padding: 1px 25px;
    }

        .dropdown-content-language a:hover {
            background-color: white;
            color: black;
            opacity: 1;
            max-height: 1000px;
        }

.dropdown:hover .dropdown-content-language {
    opacity: 1;
    display: block;
    max-height: 1000px;
}







.active a {
    font-weight: bold;
    color: black !important;
}

.close-menu-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.close-menu {
    cursor: pointer;
    font-size: 3rem;
    transition: transform 0.3s ease;
    text-decoration: none;
    background: none;
    outline: none;
    display: none;
    margin: 0 10px;
}






.social-toolbar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background-color: #33333341;
    border-radius: 0 10px 10px 0;
    transition: left 0.3s ease;
    z-index: 500;
}



    .social-toolbar.closed {
        left: -45px;
    }

    .social-toolbar a {
        border: none;
        padding: 5px;
        cursor: pointer;
        border-radius: 10px 0 0 10px;
    }

        .social-toolbar a:hover {
            color: inherit;
            text-decoration: none;
        }


.social-toolbar-close {
    color: white !important;
    background-color: rgba(0, 0, 0, 0.4);
}

.social-links {
    display: flex;
    flex-direction: column;
    padding: 1px;
}

    .social-links a {
        margin: 3px;
    }

    .social-links img {
        width: 30px;
        height: 30px;
        display: block;
    }



.mobile-menu-logo {
    max-width: 100%;
    display: none;
    position: absolute;
    bottom: 0;
    padding: 20px;
}

    .mobile-menu-logo img {
        width: 100%;
        object-fit: cover;
    }



@media (max-width: 1100px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        width: 250px;
        background-color: #fff;
        padding-top: 10px;
        transition: left 0.3s ease-in-out;
        z-index: 10000;
        border: none;
        border-radius: 0;
        border-right: none;
        border-bottom: none;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5), 5px 0 15px rgba(0, 0, 0, 0.5);
        display: block;
    }

    .tool-menu,
    .tool-menu a {
        display: block;
    }


    .close-menu {
        display: block;
    }

    .nav-actions-container {
        width: 50%
    }

    .nav-logo-container {
        width: 50%;
    }




    .nav-menu.show {
        left: 0;
    }

    .nav-menu ul {
        box-shadow: none;
        padding: 0px 30px;
        display: flex;
        flex-direction: column;
        margin-top: 0;
        align-items: self-start;
    }

        .nav-menu ul li {
            margin: 10px 0;
            padding: 0px;
        }


    .dropdown-content {
        min-width: 160px;
        z-index: 1;
        border-radius: 0px;
        overflow: hidden;
    }



    .mobile-menu-logo {
        display: block;
    }
}


@media (max-width: 350px) {
    .nav-actions-container {
        width: 100%;
    }

    .nav-logo-container {
        display: none;
    }
}












footer {
    position: relative;
    background-color: #133971;
    height: auto;
    max-width: 100%;
    border-radius: 40px 40px 0 0;
    padding: 5px 20px;
    margin: 0;
    bottom: 0;
    direction: ltr;
    text-align: left;
    overflow: hidden;
}


.get-up {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

    .get-up a {
        margin: 10px auto;
        cursor: pointer;
    }

        .get-up a img {
            max-width: 100%;
            height: auto;
            object-fit: contain;
        }



.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    flex-wrap: wrap;
}


.footer-col-description {
    position: relative;
    color: white;
    width: 30%;
    padding: 0;
    margin: 0;
}



.footer-col-phone {
    position: relative;
    color: white;
    width: 30%;
    padding: 0 5px;
    padding-top: 30px;
    margin: 0;
    box-sizing: border-box;
}

    .footer-col-description h3,
    .footer-col-phone h5 {
        font-weight: bold;
        font-size: 40px;
        margin: 15px 0;

    }


.copyright {
    font-size: 15px;
    color: #fff;
    font-size: 12px;
    width: 100%;
    text-align: center;
}

@media (max-width: 992px) {
    .footer-content {
        text-align: center;
    }

    .footer-col-description {
        width: 100%;
        margin-bottom: 50px;
    }

    .footer-col-phone {
        width: 50%;
    }

        .footer-col-description h3,
        .footer-col-phone h5 {
            text-align: center;
        }

    .footer-col-phone {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {

    .footer-col-phone {
        width: 100%;
        margin-bottom: 20px;
    }

    .copyright {
        justify-content: center;
    }
}


@media (max-width: 480px) {
    .footer-col-description h3,
    .footer-col-phone h5,
    .social-footer h4 {
        font-size: 30px;
    }
}

@media (max-width: 360px) {
    .footer-col-description h3,
    .footer-col-phone h5 {
        font-size: 27px;
    }
}




.footer-col-phone img {
    width: 100%;
    margin-top: 0px;
}

.social-footer {
    padding: 0px;
    margin-top: 30px;
    justify-content: center;
}

    .social-footer a {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .social-footer h4 {
        font-size: 30px;
        align-items: center;
        margin: 5px 0px;
    }

        .social-footer h4 img {
            width: 30px;
            height: auto;
            vertical-align: middle;
            margin: 0 5px;
        }



.page-title {
    margin: 0px 0;
    color: white;
    text-align: center;
    font-size: 15px;
    padding: 50px 0;
}










@keyframes enter-animation {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.up-animation {
    opacity: 0;
    transform: translateY(50px);
    animation: enter-animation 1s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}






@keyframes slideInFromUp {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.down-animation {
    opacity: 0;
    transform: translateY(-50px);
}

    .down-animation.visible {
        animation: slideInFromUp 0.3s ease-out forwards;
    }


@media (max-width: 992px) {

    .down-animation {
        opacity: 1;
        transform: translateY(0px);
    }

        .down-animation.visible {
            animation: none;
        }
}


@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ltr-animation {
    opacity: 0;
    transform: translateX(-50px);
}

    .ltr-animation.visible {
        animation: slideInFromLeft 0.3s ease-out forwards;
    }



@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rtl-animation {
    opacity: 0;
    transform: translateX(50px);
}

    .rtl-animation.visible {
        animation: slideInFromRight 0.3s ease-out forwards;
    }
