/* footer-styles */
/* ++++++++++++++++++++++++++++++++++++++++ */
    .custom-footer {
        background-color: #1D3066;
        border-radius: 60px 60px 20px 20px;
        padding: 20px;
        text-align: center;
        color: white;
        font-family: iran;
        padding-top: 80px;
        /* فاصله برای منحنی و لوگو */
        position: relative;
        margin: 10px;
    }

    .footer-curve {
        margin-top: -100px;
        border-radius: 500px 500px 0px 0px;
        position: absolute;
        /* بالای فوتر */
        left: 0;
        width: 100%;
        height: 80px;
        /* ارتفاع منحنی */
        background-color: #1D3066;
        display: flex;
        justify-content: center;
    }

    .logo-container {
        width: 0%;
        /* اندازه لوگو */
        height: auto;
        border-radius: 50%;
        /* اگر بخوای لوگو توی دایره باشه */
        background-color: white;
        /* یا transparent */
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -68px;
        /* تا گودی وسط باشه */
    }

    .logo-container img {
        max-width: 240px;
        max-height: 100px;
    }


/* حالت موبایل */

@media (max-width: 780px) {
    .logo-container img {
        max-width: 170px !important;
        max-height: 80px !important;
    }

    .logo-container {
        margin-top: -70px !important;
    }

    .footer-curve  {
    
        border-radius: 40px 40px 00px 00px;

    }

}

    

    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: row-reverse;
        /* این خط ترتیب را برعکس می‌کند */
    }

    /* هر ستون */
    .footer-col {
        flex: 1 1 18%;
        /* تقریبا 5 ستون مساوی */
        margin: 10px;
    }

    .footer-col.links ul {
        text-align: right;
        margin: 0 auto;

    }


    .map-and-images .map {
        margin-bottom: 10px;
    }

    .images-row {
        display: flex;
        gap: 10px;
    }

    .images-row img {
        width: 48%;
        border-radius: 10px;
    }


    .links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .links ul li {
        margin-bottom: 6px;
        font-family: iran;
    }

    .links ul li a {
        color: #ccc;
        text-decoration: none;
        font-family: iran;
    }

    .links ul li a:hover {
        text-decoration: underline;
    }


    .contacts div {
        margin-bottom: 10px;
    }


    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            align-items: center;

        }

        .footer-col {
            flex: 1 1 100%;
            margin: 10px 0;
            text-align: center;

            max-width: 100%;

        }

        .footer-col.map-and-images {
            order: 5;

        }

        .footer-col.links ul {
            text-align: right;
            margin: 0 auto;

        }

        .footer-col.links {
            order: 1;
        }

        .footer-col.contacts {
            order: 0 !important;
        }
    }

    

    .footer-col.links ul li {
        position: relative;
        padding-right: 15px;
        list-style: none;
        font-family: iran;
    }

    .footer-col.links ul li::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 7px;
        height: 7px;
        transform: translateY(-50%);
        background-color: #F9A749;
        border-radius: 50%;
    }

    .footer-col.links h3,
    .footer-col.contacts h3,
    .footer-col.map-and-images h3 {
        text-align: right;
        position: relative;
        padding-right: 12px;
        font-size: 18px;
        font-weight: bold;
        font-family: iran;
    }

    .footer-col.links h3::before,
    .footer-col.contacts h3::before,
    .footer-col.map-and-images h3::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 15px;
        border-radius: 3px;
        background: linear-gradient(170deg,
                #FF8A00 7.58%,
                rgba(255, 138, 0, 0) 103.25%);
    }



    .images-row {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

    .images-row .image-box {
        width: 100px;
        height: 100px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s;
    }

    .images-row .image-box:hover {
        transform: translateY(-3px);
    }

    .images-row .image-box img {
        max-width: 70%;
        max-height: 70%;
        object-fit: contain;
    }


    .contacts {
        color: #fff;
    }

    .contact-row {
        position: relative;
        margin-bottom: 15px;
    }

    .badge {
        position: absolute;
        top: -10px;
        left: 15px;
        border-radius: 12px;
        background: linear-gradient(170deg, #FF8A00 7.58%, #FC4502 103.25%);
        color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        font-family: iran;
    }

    .contact-box {
        padding-top: 10px;
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 16px 10px 6px 6px;
        gap: 10px;
        font-family: iran;
    }

    .icon-box {
        width: 35px;
        height: 35px;
        border-radius: 12px;
        background: linear-gradient(170deg, #FF8A00 7.58%, #FC4502 103.25%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 16px;
        flex-shrink: 0;
        font-family: iran;
    }

    .text-box {
        font-size: 16px;
        line-height: 1.2;
        color: #FFFFFF;
        font-family: iran;
        display: flex;
        align-items: center;
    }

    .copyright {
        color: rgba(255, 255, 255, 1);
        font-family: iran;
        font-size: 14px;
    }

    .footer-separator {
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        margin: 10px 0;
    }


    .social-icons {
        display: flex;
        gap: 10px;
        margin-top: 10px;
        justify-content: center;
    }

    .social-icons a {
        font-size: 16px;
        color: #FFFFFF;
        transition: color 0.3s ease;
    }

    .social-icons a:hover {
        color: #FF9501;

    }


    .footer-col .map {
        width: 100%;
        max-width: 230px;
        /* برابر با عرض iframe گوگل مپ */
        margin: 0 auto 10px;
        /* وسط چین و فاصله پایین */
    }

    .footer-col .images-row {
        display: flex;
        gap: 10px;
        /* فاصله بین دو تصویر */
        max-width: 230px;
        /* عرض کل تصاویر برابر با مپ */
        margin: 0 auto;
        /* وسط چین کردن ردیف */
    }

    .footer-col .images-row .image-box {
        flex: 1;
        /* هر تصویر نصف ردیف میشه */
    }

    .footer-col .images-row img {
        width: 100%;
        /* تصویر پر کنه فضای باکس */
        height: auto;
        display: block;
        border-radius: 6px;
    }



/* ++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* main_menu */
/* کل سایت */
/* کل سایت */
html {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #1D3066 #f7f7f7; /* Firefox: thumb color | track color */
}

/* Webkit Browsers: Chrome, Safari, Edge */
html::-webkit-scrollbar {
    width: 10px; /* عرض اسکرول */
    background-color: #f7f7f7; /* رنگ پس زمینه نوار اسکرول */
}

html::-webkit-scrollbar-thumb {
    background-color: #1D3066; /* رنگ خود نوار اسکرول */
    border-radius: 10px;       /* گرد کردن گوشه‌ها */
}

html::-webkit-scrollbar-track {
    background-color: #f7f7f7; /* رنگ زمینه مسیر اسکرول */
}


.goldenButton {
    border: 0px;
    border-radius: 12px;
    background: linear-gradient(111deg, #FC0 25%, #FAE60C 50%, #FC0 75%);
    padding: 10px;
    margin: 3px;
    background-size: 200% 200%;
    animation: shineEffect 4s linear infinite;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.goldenButton:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

@keyframes shineEffect {
    0% {
        background-position: 200% 0;
    }

    50% {
        background-position: 0 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== Blue gradient Button ===== */

.blueGradientButton {
    position: relative;
    overflow: hidden; /* برای اینکه pseudo-element بیرون نزنه */
    border-radius: 12px;
    padding: 10px 20px;
    background: linear-gradient(90deg,
            #1D3066 0%,
            #2a4185 50%,
            #1D3066 100%);
    margin: 3px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* لینک داخل دکمه */
.blueGradientButton a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2; /* همیشه بالای pseudo-element باشه */
}

/* پس‌زمینه سفید برای انیمیشن */
.blueGradientButton::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: top 0.4s ease;
    z-index: 1;
}

/* هاور → سفید از بالا به پایین پر بشه */
.blueGradientButton:hover::after {
    top: 0;
}

/* متن و آیکن داخل لینک تغییر رنگ پیدا کنن */
.blueGradientButton:hover a {
    color: #1D3066;
}

/* هاور افکت حرکت و سایه */
.blueGradientButton:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
    border: 2px solid #1D3066;
}


/* ===== white-Blue line gradient Button ===== */

.white-Blue {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 10px 20px;
    background: #ffffff;
    margin: 3px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border: 2px solid #1D3066;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* لینک داخل دکمه */
.white-Blue a {
    color: #1D3066;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

/* لایه گرادیانت آبی برای هاور */
.white-Blue::after {
    content: "";
    position: absolute;
    top: 100%; /* از پایین به بالا پر میشه */
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            #1D3066 0%,
            #2a4185 50%,
            #1D3066 100%);
    transition: top 0.4s ease;
    z-index: 1;
}

/* هاور → گرادیانت بیاد بالا و همه زمینه رو پر کنه */
.white-Blue:hover::after {
    top: 0;
}

/* متن سفید بشه */
.white-Blue:hover a {
    color: #ffffff;
}

/* افکت حرکت و سایه روی هاور */
.white-Blue:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
    border: 2px solid #ffffff;
}


/* ===== Blue Button ===== */

.blueButton {
    border-radius: 12px;
    padding: 10px;
    background: #1D3066;
    color: #ffffffff;
    margin: 3px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blueButton:hover {
    background: #FFB041;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
    color: #1D3066;
}

/* ===== Silver Button ===== */
.silverButton {
    border: none;
    border-radius: 12px;
    padding: 10px;
    background: #F2F2F2;
    margin: 3px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.silverButton:hover {
    background: #e6e6e6;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
}

.transparentButton {
    border-radius: 12px;
    padding: 10px;
    background: #ffffff;
    margin: 3px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.transparentButton:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
}

.boldBlueText {
    color: #1D3066 !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: normal;
}

.boldBigBlueText {
    color: #1D3066 !important;
    font-size: 30px !important;
    font-weight: 700;
    line-height: normal;
}

.boldBlueText-mobile {
    color: #1D3066 !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: normal;
}

.boldDarkText {
    color: #1d1d1d !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: normal;
}

.boldRedText {
    color: #e4001eff !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: normal;
}


.fade-blink {
    animation: fadeBlink 1.2s ease-in-out infinite;
    will-change: opacity;
}

@keyframes fadeBlink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}


.hide-on-mobile {
    display: block;

}

@media (max-width: 991.98px) {
    .hide-on-mobile {
        display: none !important;

    }
}


.hide-on-desktop {
    display: block;
}

@media (min-width: 991.98px) {
    .hide-on-desktop {
        display: none !important;
    }
}


.yellow-text {
    color: #FF9501;
}


.footer-col.links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col.links a:hover {
    text-decoration: none;
    color: #FF9501;
}

.main-menu {

    border-radius: 0px 0px 20px 20px;
}


/* footer-styles */
/* ++++++++++++++++++++++++++++++++++++++++ */
    .custom-footer {
        background-color: #1D3066;
        border-radius: 60px 60px 20px 20px;
        padding: 20px;
        text-align: center;
        color: white;
        font-family: iran;
        padding-top: 80px;
        /* فاصله برای منحنی و لوگو */
        position: relative;
        margin: 10px;
    }

    .footer-curve {
        margin-top: -100px;
        border-radius: 500px 500px 0px 0px;
        position: absolute;
        /* بالای فوتر */
        left: 0;
        width: 100%;
        height: 80px;
        /* ارتفاع منحنی */
        background-color: #1D3066;
        display: flex;
        justify-content: center;
    }

    .logo-container {
        width: 0%;
        /* اندازه لوگو */
        height: auto;
        border-radius: 50%;
        /* اگر بخوای لوگو توی دایره باشه */
        background-color: white;
        /* یا transparent */
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -68px;
        /* تا گودی وسط باشه */
    }

    .logo-container img {
        max-width: 240px;
        max-height: 100px;
    }


/* حالت موبایل */

@media (max-width: 780px) {
    .logo-container img {
        max-width: 170px !important;
        max-height: 80px !important;
    }

    .logo-container {
        margin-top: -70px !important;
    }

    .footer-curve  {
    
        border-radius: 40px 40px 00px 00px;

    }

}

    

    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: row-reverse;
        /* این خط ترتیب را برعکس می‌کند */
    }

    /* هر ستون */
    .footer-col {
        flex: 1 1 18%;
        /* تقریبا 5 ستون مساوی */
        margin: 10px;
    }

    .footer-col.links ul {
        text-align: right;
        margin: 0 auto;

    }


    .map-and-images .map {
        margin-bottom: 10px;
    }

    .images-row {
        display: flex;
        gap: 10px;
    }

    .images-row img {
        width: 48%;
        border-radius: 10px;
    }


    .links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .links ul li {
        margin-bottom: 6px;
        font-family: iran;
    }

    .links ul li a {
        color: #ccc;
        text-decoration: none;
        font-family: iran;
    }

    .links ul li a:hover {
        text-decoration: underline;
    }


    .contacts div {
        margin-bottom: 10px;
    }


    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            align-items: center;

        }

        .footer-col {
            flex: 1 1 100%;
            margin: 10px 0;
            text-align: center;

            max-width: 100%;

        }

        .footer-col.map-and-images {
            order: 5;

        }

        .footer-col.links ul {
            text-align: right;
            margin: 0 auto;

        }

        .footer-col.links {
            order: 1;
        }

        .footer-col.contacts {
            order: 0 !important;
        }
    }

    

    .footer-col.links ul li {
        position: relative;
        padding-right: 15px;
        list-style: none;
        font-family: iran;
    }

    .footer-col.links ul li::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 7px;
        height: 7px;
        transform: translateY(-50%);
        background-color: #F9A749;
        border-radius: 50%;
    }

    .footer-col.links h3,
    .footer-col.contacts h3,
    .footer-col.map-and-images h3 {
        text-align: right;
        position: relative;
        padding-right: 12px;
        font-size: 18px;
        font-weight: bold;
        font-family: iran;
    }

    .footer-col.links h3::before,
    .footer-col.contacts h3::before,
    .footer-col.map-and-images h3::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 15px;
        border-radius: 3px;
        background: linear-gradient(170deg,
                #FF8A00 7.58%,
                rgba(255, 138, 0, 0) 103.25%);
    }



    .images-row {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

    .images-row .image-box {
        width: 100px;
        height: 100px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s;
    }

    .images-row .image-box:hover {
        transform: translateY(-3px);
    }

    .images-row .image-box img {
        max-width: 70%;
        max-height: 70%;
        object-fit: contain;
    }


    .contacts {
        color: #fff;
    }

    .contact-row {
        position: relative;
        margin-bottom: 15px;
    }

    .badge {
        position: absolute;
        top: -10px;
        left: 15px;
        border-radius: 12px;
        background: linear-gradient(170deg, #FF8A00 7.58%, #FC4502 103.25%);
        color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        font-family: iran;
    }

    .contact-box {
        padding-top: 10px;
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 16px 10px 6px 6px;
        gap: 10px;
        font-family: iran;
    }

    .icon-box {
        width: 35px;
        height: 35px;
        border-radius: 12px;
        background: linear-gradient(170deg, #FF8A00 7.58%, #FC4502 103.25%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 16px;
        flex-shrink: 0;
        font-family: iran;
    }

    .text-box {
        font-size: 16px;
        line-height: 1.2;
        color: #FFFFFF;
        font-family: iran;
        display: flex;
        align-items: center;
    }

    .copyright {
        color: rgba(255, 255, 255, 1);
        font-family: iran;
        font-size: 14px;
    }

    .footer-separator {
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        margin: 10px 0;
    }


    .social-icons {
        display: flex;
        gap: 10px;
        margin-top: 10px;
        justify-content: center;
    }

    .social-icons a {
        font-size: 16px;
        color: #FFFFFF;
        transition: color 0.3s ease;
    }

    .social-icons a:hover {
        color: #FF9501;

    }


    .footer-col .map {
        width: 100%;
        max-width: 230px;
        /* برابر با عرض iframe گوگل مپ */
        margin: 0 auto 10px;
        /* وسط چین و فاصله پایین */
    }

    .footer-col .images-row {
        display: flex;
        gap: 10px;
        /* فاصله بین دو تصویر */
        max-width: 230px;
        /* عرض کل تصاویر برابر با مپ */
        margin: 0 auto;
        /* وسط چین کردن ردیف */
    }

    .footer-col .images-row .image-box {
        flex: 1;
        /* هر تصویر نصف ردیف میشه */
    }

    .footer-col .images-row img {
        width: 100%;
        /* تصویر پر کنه فضای باکس */
        height: auto;
        display: block;
        border-radius: 6px;
    }


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* main_menu */
/* کل سایت */
/* کل سایت */
html {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #1D3066 #f7f7f7; /* Firefox: thumb color | track color */
}

/* Webkit Browsers: Chrome, Safari, Edge */
html::-webkit-scrollbar {
    width: 10px; /* عرض اسکرول */
    background-color: #f7f7f7; /* رنگ پس زمینه نوار اسکرول */
}

html::-webkit-scrollbar-thumb {
    background-color: #1D3066; /* رنگ خود نوار اسکرول */
    border-radius: 10px;       /* گرد کردن گوشه‌ها */
}

html::-webkit-scrollbar-track {
    background-color: #f7f7f7; /* رنگ زمینه مسیر اسکرول */
}


.goldenButton {
    border: 0px;
    border-radius: 12px;
    background: linear-gradient(111deg, #FC0 25%, #FAE60C 50%, #FC0 75%);
    padding: 10px;
    margin: 3px;
    background-size: 200% 200%;
    animation: shineEffect 4s linear infinite;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.goldenButton:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

@keyframes shineEffect {
    0% {
        background-position: 200% 0;
    }

    50% {
        background-position: 0 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== Blue gradient Button ===== */

.blueGradientButton {
    position: relative;
    overflow: hidden; /* برای اینکه pseudo-element بیرون نزنه */
    border-radius: 12px;
    padding: 10px 20px;
    background: linear-gradient(90deg,
            #1D3066 0%,
            #2a4185 50%,
            #1D3066 100%);
    margin: 3px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* لینک داخل دکمه */
.blueGradientButton a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2; /* همیشه بالای pseudo-element باشه */
}

/* پس‌زمینه سفید برای انیمیشن */
.blueGradientButton::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: top 0.4s ease;
    z-index: 1;
}

/* هاور → سفید از بالا به پایین پر بشه */
.blueGradientButton:hover::after {
    top: 0;
}

/* متن و آیکن داخل لینک تغییر رنگ پیدا کنن */
.blueGradientButton:hover a {
    color: #1D3066;
}

/* هاور افکت حرکت و سایه */
.blueGradientButton:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
    border: 2px solid #1D3066;
}


/* ===== white-Blue line gradient Button ===== */

.white-Blue {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 10px 20px;
    background: #ffffff;
    margin: 3px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border: 2px solid #1D3066;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* لینک داخل دکمه */
.white-Blue a {
    color: #1D3066;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

/* لایه گرادیانت آبی برای هاور */
.white-Blue::after {
    content: "";
    position: absolute;
    top: 100%; /* از پایین به بالا پر میشه */
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            #1D3066 0%,
            #2a4185 50%,
            #1D3066 100%);
    transition: top 0.4s ease;
    z-index: 1;
}

/* هاور → گرادیانت بیاد بالا و همه زمینه رو پر کنه */
.white-Blue:hover::after {
    top: 0;
}

/* متن سفید بشه */
.white-Blue:hover a {
    color: #ffffff;
}

/* افکت حرکت و سایه روی هاور */
.white-Blue:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
    border: 2px solid #ffffff;
}


/* ===== Blue Button ===== */

.blueButton {
    border-radius: 12px;
    padding: 10px;
    background: #1D3066;
    color: #ffffffff;
    margin: 3px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blueButton:hover {
    background: #FFB041;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
    color: #1D3066;
}

/* ===== Silver Button ===== */
.silverButton {
    border: none;
    border-radius: 12px;
    padding: 10px;
    background: #F2F2F2;
    margin: 3px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.silverButton:hover {
    background: #e6e6e6;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
}

.transparentButton {
    border-radius: 12px;
    padding: 10px;
    background: #ffffff;
    margin: 3px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.transparentButton:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.7);
}

.boldBlueText {
    color: #1D3066 !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: normal;
}

.boldBigBlueText {
    color: #1D3066 !important;
    font-size: 30px !important;
    font-weight: 700;
    line-height: normal;
}

.boldBlueText-mobile {
    color: #1D3066 !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: normal;
}

.boldDarkText {
    color: #1d1d1d !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: normal;
}

.boldRedText {
    color: #e4001eff !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: normal;
}


.fade-blink {
    animation: fadeBlink 1.2s ease-in-out infinite;
    will-change: opacity;
}

@keyframes fadeBlink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}


.hide-on-mobile {
    display: block;

}

@media (max-width: 991.98px) {
    .hide-on-mobile {
        display: none !important;

    }
}


.hide-on-desktop {
    display: block;
}

@media (min-width: 991.98px) {
    .hide-on-desktop {
        display: none !important;
    }
}


.yellow-text {
    color: #FF9501;
}


.footer-col.links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col.links a:hover {
    text-decoration: none;
    color: #FF9501;
}

.main-menu {

    border-radius: 0px 0px 20px 20px;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++ */
/* main_menu_mobile */
/* +++++++++++++++++++++++++++++++++++++++++++++++++ */
    .ul_main_menu_mobile{
        border-radius: 20px 0px 00px 20px !important;
        direction: ltr;     
    }
    
/* +++++++++++++++++++++++++++++++++++++++++++++++++ */
/* page_index */
/* +++++++++++++++++++++++++++++++++++++++++++++++++ */

.lead {
    position: relative;
    z-index: 1;
    background: none;
    /* حذف مستقیم پس‌زمینه */
}


.lead::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #9bdeff, #fff, #81c1ff);
    background-size: 200% 200%;
    /* بزرگتر از المان برای حرکت روان */
    animation: floatGradient 8s ease-in-out infinite;
    opacity: 0.6;
    z-index: -1;
}

@keyframes floatGradient {
    0% {
        background-position: 100% 100%;
    }

    50% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}


.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.1);
    /* زوم ملایم تصویر */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.image-container:hover .overlay {
    opacity: 1;
}

.overlay-text h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 14px;
    line-height: 1.7;
}


.cta-section {
    width: 100%;
    padding: 40px 20px;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
}

.cta-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 1100px;
    width: 100%;
    padding: 30px;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-item {
    flex: 1 1 2;
    text-align: center;
}

.cta-icon img {
    max-width: 70px;
    height: auto;
}

.cta-text {
    text-align: right;
}

.cta-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 16px;
    color: #666;
}

.btn-cta {
    display: inline-block;
    background-color: #219187;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: #2ba399;
}

@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-text {
        text-align: center;
    }
}

/* FAQ */

/* کل کارت‌ها گرد و مرتب */
.accordion_index .card {
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

/* بخش سوال */
.accordion_index .card-header {
    background: linear-gradient(90deg, #1D3066 0%, #354C8D 48%, #1D3066 100%);
    cursor: pointer;
    border-radius: 20px;
    padding: 0;
    border: none;
    position: relative;
}

.accordion_index .card-header a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    font-weight: bold;
    padding: 15px 20px;
    text-decoration: none;
    text-align: right;
    gap: 10px;
    position: relative; /* برای فلش */
}

/* متن داخل سوال */
.accordion_index .card-header a span {
    flex: 1;
    max-width: calc(100% - 50px); /* جا برای فلش */
    word-wrap: break-word;
    white-space: normal;
}

/* فلش سمت چپ */

.accordion_index .card-header a::after {
    content: "\f107"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: #21346C;
    background: #FFB041;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 15px; /* فلش سمت چپ */
    transform: translateY(-50%) rotate(0deg); /* پیشفرض: پایین */
    transition: transform 0.3s ease;
}

/* وقتی باز شد فلش بچرخد به بالا */
.accordion_index .card-header a[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg); /* فلش بالا */
}



/* بخش پاسخ */
.accordion_index .card-body {
    background-color: #f7f7f7 !important; /* خاکستری روشن */
    border-radius: 0 !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2) !important;
    margin: 0 5px;
    padding: 20px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .accordion_index .card-body {
        flex-direction: column;
        text-align: center;
        font-size: 14px;
    }

    .accordion_index .card-header a {
        font-size: 14px;
    }
}


/* +++++++++++++++++++ */

    /* کانتینر Indicators */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
        position: relative;
        z-index: 100;
    }

    /* دکمه‌ها (li) حالت غیر فعال */
    .carousel-indicators li {
        width: 30px;
        /* طول مستطیل */
        height: 20px;
        /* ارتفاع مستطیل */
        border-radius: 4px;
        margin: 0 5px;
        transition: all 0.3s ease;
        position: relative;
    }
    /* رنگ پس‌زمینه کامل با ::before */
    .carousel-indicators li::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #666666ff;
        /* رنگ غیر فعال */
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* حالت فعال */
    .carousel-indicators .active::before {
        background-color: #1D3066;
        /* رنگ آبی برای فعال */
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.6);
        width: 100%;
        height: 100%;
    }

    .service-mini-card {
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .service-mini-card:hover {
        transform: translateY(-5px);
        /* کمی بالاتر رفتن */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        /* سایه */
    }


    .h_iframe-aparat_embed_frame {
        position: relative;
    }

    .h_iframe-aparat_embed_frame .ratio {
        display: block;
        width: 100%;
        height: auto;
    }

    .h_iframe-aparat_embed_frame iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


/* +++++++++++++++++++++++++++++++++++++++++++++++++ */
/* main_menu_mobile */
/* +++++++++++++++++++++++++++++++++++++++++++++++++ */
    .ul_main_menu_mobile{
        border-radius: 20px 0px 00px 20px !important;
        direction: ltr;     
    }
    
/* +++++++++++++++++++++++++++++++++++++++++++++++++ */
/* page_index */
/* +++++++++++++++++++++++++++++++++++++++++++++++++ */

.lead {
    position: relative;
    z-index: 1;
    background: none;
    /* حذف مستقیم پس‌زمینه */
}


.lead::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #9bdeff, #fff, #81c1ff);
    background-size: 200% 200%;
    /* بزرگتر از المان برای حرکت روان */
    animation: floatGradient 8s ease-in-out infinite;
    opacity: 0.6;
    z-index: -1;
}

@keyframes floatGradient {
    0% {
        background-position: 100% 100%;
    }

    50% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}




.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.1);
    /* زوم ملایم تصویر */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.image-container:hover .overlay {
    opacity: 1;
}

.overlay-text h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 14px;
    line-height: 1.7;
}


.cta-section {
    width: 100%;
    padding: 40px 20px;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
}

.cta-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 1100px;
    width: 100%;
    padding: 30px;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-item {
    flex: 1 1 2;
    text-align: center;
}

.cta-icon img {
    max-width: 70px;
    height: auto;
}

.cta-text {
    text-align: right;
}

.cta-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 16px;
    color: #666;
}

.btn-cta {
    display: inline-block;
    background-color: #219187;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: #2ba399;
}

@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-text {
        text-align: center;
    }
}


/* +++++++++++++++++++ */

    /* کانتینر Indicators */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
        position: relative;
        z-index: 100;
    }

    /* دکمه‌ها (li) حالت غیر فعال */
    .carousel-indicators li {
        width: 30px;
        /* طول مستطیل */
        height: 20px;
        /* ارتفاع مستطیل */
        border-radius: 4px;
        margin: 0 5px;
        transition: all 0.3s ease;
        position: relative;
    }
    /* رنگ پس‌زمینه کامل با ::before */
    .carousel-indicators li::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #666666ff;
        /* رنگ غیر فعال */
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* حالت فعال */
    .carousel-indicators .active::before {
        background-color: #1D3066;
        /* رنگ آبی برای فعال */
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.6);
        width: 100%;
        height: 100%;
    }

    .service-mini-card {
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .service-mini-card:hover {
        transform: translateY(-5px);
        /* کمی بالاتر رفتن */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        /* سایه */
    }


    .h_iframe-aparat_embed_frame {
        position: relative;
    }

    .h_iframe-aparat_embed_frame .ratio {
        display: block;
        width: 100%;
        height: auto;
    }

    .h_iframe-aparat_embed_frame iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

