﻿
:root {
    --mud-typography-default-family: 'Yekan', Tahoma, sans-serif !important;
}

body, .mud-typography {
    font-family: var(--mud-typography-default-family) !important;
    direction: rtl;

}

/*.navbar .nav-link {
    font-size: 0.95rem;
    color: #333;
}*/

.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-8 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.ant-message {
    top: 20% !important;
    transform: translateY(-20%);
}

.navbar-logo {
    height: 36px;
    width: auto;
    display: block;
}
.navbar .nav-link.active {
    color: #0d6efd;
    font-weight: 600;
}

/* حالت اولیه منو روی اسلایدر */
.navbar-transparent {
    background-color: transparent !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .navbar-transparent .nav-link,
    .navbar-transparent .navbar-brand,
    .navbar-transparent .btn {
        color: black !important; /* متن همیشه سفید روی اسلایدر */
    }

/* وقتی اسکرول شد */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.85) !important; /* سفید با شفافیت 85% */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand,
.navbar-scrolled .btn {
    color: black !important; /* متن مشکی بعد از اسکرول */
}

@media (max-width: 991.98px) {

    .navbar .navbar-collapse.show {
        background-color: rgba(255, 255, 255, 0.85) !important; /* سفید با شفافیت 85% */
        padding: 1rem;
        border-radius: 0 0 12px 12px;
    }

    .navbar .navbar-collapse.show .nav-link,
    .navbar .navbar-collapse.show .navbar-brand {
        color: #000 !important;
    }
}
@media (max-width: 991.98px) {

    .navbar .navbar-collapse.collapsing,
    .navbar .navbar-collapse.show {
        background-color: rgba(255, 255, 255, 0.85) !important;
        padding: 1rem;
        border-radius: 0 0 12px 12px;
    }

        .navbar .navbar-collapse.collapsing .nav-link,
        .navbar .navbar-collapse.show .nav-link {
            color: #000 !important;
        }
}

@media (min-width: 639px) and (max-width: 991.98px)   {
    .navbar-nav {
        flex-direction: row;
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .navbar-toggler {
        display: none;
    }
}

.custom-toggler {
    border: none;
    font-size: 26px;
    color: #FACC15; /* زرد طلایی */
    background: #99F6E4;
}

.custom-toggler:focus {
    box-shadow: none;
}
.nav-link {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.nav-item:first-of-type {
     padding-top: unset !important; 
}
.navbar-collapse {
    transform: none !important;
}


.auth-menu {
    list-style: none;
}

.auth-menu-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* هماهنگ با navbar-transparent */
.navbar-transparent .auth-menu-link {
    color: black !important;
}

/* وقتی اسکرول شد */
.navbar-scrolled .auth-menu-link {
    color: black !important;
}

/* آیکون */
.auth-menu-link .anticon {
    font-size: 18px;
}



footer a:hover {
    color: #fff !important;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important; /* گرد شدن */
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    margin: 0 4px !important;
}

.carousel-indicators .active {
    background-color: #fff; /* رنگ فعال */
}
#heroSlider {
    transition: background-color 0.3s ease !important;
}

#heroSlider {
    height: 80vh; /* ارتفاع کل اسلایدر */
}

    #heroSlider .carousel-item {
        height: 100%;
        /*display: flex;
    align-items: flex-start;  متن بالای اسلاید*/
        justify-content: center;
      
        /*  transition: background-color 0.5s ease;*/
        overflow: hidden;
    }
@media (max-width: 768px) {
    #heroSlider {
        height: auto; /* آزاد شود */
        min-height: 100vh; /* حداقل تمام صفحه */
    }

        #heroSlider .carousel-item {
            padding-top: 120px;
            padding-bottom: 60px;
        }
}
.slider-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .slider-image img {
        max-width: 80%; /* کوچکتر در موبایل */
    }
}
#heroSlider .carousel-inner {
    height: 100%;
}



/* Tabs */
.feature-tabs .nav-link {
    color: #334155;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .feature-tabs .nav-link.active {
        background-color: #0ea5e9;
        color: #fff;
    }

/* Content */
.feature-tab {
    min-height: 300px;
}

/* Fade animation */
.fade-in {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .feature-tab {
        text-align: center;
    }

        .feature-tab img {
            margin-top: 2rem;
        }
}


.how-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .how-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

.how-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin: 0 auto;
}


.partners-section {
    background-color: #F8FAFC;
}

.partner-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .partner-card img {
        max-height: 60px;
        margin-bottom: 0.75rem;
        filter: grayscale(100%);
        transition: all 0.3s ease;
    }

.partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

    .partner-card:hover img {
        filter: grayscale(0%);
    }



/* سکشن کلی */
.faq-section {
    background: linear-gradient(180deg, #ECFEFF, #ffffff);
}

/* عنوان */
.faq-title {
    color: #0D9488; /* فیروزه‌ای تیره */
}

/* آکاردئون */
.faq-accordion .accordion-item {
    border: none;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* دکمه آکاردئون */
.faq-accordion .accordion-button {
    background-color: #ffffff;
    color: #0F172A;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

    /* حالت باز */
    .faq-accordion .accordion-button:not(.collapsed) {
        background-color: #2DD4BF; /* فیروزه‌ای */
        color: #ffffff;
    }

    /* آیکن فلش */
    .faq-accordion .accordion-button::after {
        filter: brightness(0.2);
    }

    .faq-accordion .accordion-button:not(.collapsed)::after {
        filter: brightness(1);
    }

/* بدنه */
.faq-accordion .accordion-body {
    background-color: #ffffff;
    color: #334155;
    padding: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

/* دکمه مشاهده همه */
.btn-faq {
    background-color: #FACC15; /* زرد */
    color: #1F2937;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    border: none;
    transition: all 0.3s ease;
}

    .btn-faq:hover {
        background-color: #EAB308;
        color: #000;
    }

.zl-footer {
    background: linear-gradient(180deg, #0D9488, #022C22);
}

/* تیترها */
.footer-title {
    color: #FACC15;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* لینک‌ها */
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #D1FAE5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: #FACC15;
    }

/* شبکه‌های اجتماعی */
.footer-social a {
    display: inline-block;
    margin-left: 0.75rem;
    transition: transform 0.3s ease;
}

.footer-social img {
    height: 24px;
    filter: brightness(0) invert(1);
}

.footer-social a:hover {
    transform: translateY(-3px);
}

/* خط جداکننده */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

/* کپی‌رایت */
.footer-copy {
    color: #A7F3D0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 0.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #FACC15; /* زرد */
    font-size: 20px;
    transition: all 0.3s ease;
}

    .footer-social a:hover {
        background-color: #2DD4BF; /* فیروزه‌ای */
        color: #022C22;
        transform: translateY(-3px);
    }


.otp-box {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border: 2px solid #FFD700; /* زرد */
    border-radius: 0.5rem;
    transition: border-color 0.3s;
}

    .otp-box:focus {
        border-color: #FFA500; /* نارنجی متمایل به زرد */
        outline: none;
        box-shadow: 0 0 5px #FFD700;
    }

.btn-warning {
    background-color: #FFD700; /* زرد سازمانی */
    color: #000;
    font-weight: bold;
    border: none;
}

    .btn-warning:hover {
        background-color: #FFC300;
        color: #000;
    }
.bg-success {
    background-color: #00c9a7 !important;
}
/* فیروزه‌ای */
.bg-warning {
    background-color: #ffc107 !important;
}
/* زرد */


/* Container کلی صفحه */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%); /* پس‌زمینه فیروزه‌ای روشن */
    padding: 1rem;
}

/* کارت فرم */
.login-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    transition: transform 0.2s;
}

    .login-card:hover {
        transform: translateY(-4px);
    }

    /* تیتر فرم */
    .login-card h2 {
        color: #006064; /* فیروزه‌ای تیره برای تیتر */
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    /* ورودی‌ها */
    .login-card input.form-control {
        border: 1px solid #b2ebf2;
        border-radius: 8px;
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .login-card input.form-control:focus {
            border-color: #00acc1; /* فیروزه‌ای تیره‌تر هنگام فوکوس */
            box-shadow: 0 0 5px rgba(0, 172, 193, 0.5);
            outline: none;
        }

    /* خطای ورودی */
    .login-card small.text-danger {
        display: block;
        margin-top: 0.25rem;
        color: #f57f17; /* زرد تیره */
    }

    /* دکمه‌ها */
    .login-card .btn {
        border-radius: 8px;
        font-weight: 600;
        padding: 0.6rem;
        font-size: 1rem;
        transition: background-color 0.2s, transform 0.2s;
    }

    /* دکمه اصلی ورود (زرد) */
    .login-card .btn-warning {
        background-color: #fdd835; /* زرد سازمانی */
        border-color: #fdd835;
        color: #006064; /* متن فیروزه‌ای */
    }

        .login-card .btn-warning:hover {
            background-color: #fbc02d;
            border-color: #fbc02d;
            color: #004d40;
            transform: translateY(-2px);
        }

    /* دکمه ارسال مجدد کد (لینک زرد) */
    .login-card .btn-link.text-warning {
        color: #fdd835;
        font-weight: 600;
    }

        .login-card .btn-link.text-warning:hover {
            color: #fbc02d;
            text-decoration: underline;
        }

/* OTP Inputs */
.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

    .otp-inputs .otp-box {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        text-align: center;
        border: 1px solid #b2ebf2;
        border-radius: 8px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .otp-inputs .otp-box:focus {
            border-color: #00acc1;
            box-shadow: 0 0 5px rgba(0, 172, 193, 0.5);
            outline: none;
        }

/* متن ارسال مجدد */
.login-card span.text-dark {
    color: #006064;
    font-weight: 500;
    font-size: 0.9rem;
}

.Text-Right {
    text-align: right !important;
}


.datepicker-plot-area, jdp-container {
    z-index: 99999 !important;
}

