  @import url("fonts.css");

:root {
    --primary-color: #0f4959;
    --secondary-color: #fbad1b;
    --white-color: #ffffff;
    --dark-color: #333333;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-color);
    line-height: 1.8;
    color: var(--dark-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.btn-primary-1 {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    color:#fff;
    text-decoration:none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
}

.btn-outline-primary-1 {
    color: var(--primary-color);
    background-color: #fff;
    /*border:1px bold var(--primary-color);*/
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration:none;
}

.btn-outline-primary-1:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100px;
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-left: 10px;
}

.nav-link {
    font-weight: 700;
    font-size: 20px;
    padding: 10px 15px !important;
    position: relative;
}
.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 50%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s;
}
.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s;
}

.nav-link:hover:after {
    width: calc(100% - 30px);
}


  /* استایل برای منوی آبشاری */
        .sub-menu-container {
            position: relative;
        }
        
        .sub-menu {
            display: none;
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
            z-index: 10;
            padding: 15px;
            animation: fadeIn 0.3s ease;
        }
        
        .sub-menu.active {
            display: block;
        }
        
        .sub-menu-item {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            margin-top: 8px;
            background-color: #f8f9ff;
            border-radius: 8px;
            text-decoration: none;
            color: #495057;
            transition: all 0.2s ease;
        }
        
        .sub-menu-item:hover {
            background-color: #e6e9ff;
            color: #4e54c8;
            transform: translateX(-5px);
        }
        
        .sub-menu-icon {
            margin-left: 10px;
            font-size: 16px;
        }
        
        @keyframes fadeIn {
            from { 
                opacity: 0; 
                transform: translateY(-10px); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0); 
            }
        }
        
        .internet-banking.active {
            background-color: #f1f4ff;
            color: #4e54c8;
            z-index: 11;
        }
        
        .back-button {
            display: flex;
            align-items: center;
            color: #6c757d;
            font-size: 14px;
            margin-bottom: 30px;
            cursor: pointer;
            padding: 5px 0;
        }
        
        .back-button:hover {
            color: #4e54c8;
        }
        
        .menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: transparent;
            z-index: 5;
        }
        
        h1 {
            
            text-align: center;
            margin-bottom: 30px;
            font-weight: 700;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
        }
        
        .description {
            text-align: center;
            color: #6c757d;
            max-width: 600px;
            margin: 0 auto 40px auto;
            line-height: 1.6;
        }
/* Quran Style */
/* استایل‌های عمومی */
.quran-section {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* کارت خدمات */
.service-card {
    background: white;
    border: 1px solid rgba(15, 73, 89, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.service-icon-box {
    display: inline-flex;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(251, 173, 27, 0.1) 0%, rgba(251, 173, 27, 0.2) 100%);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.service-main-icon {
    font-size: 1.8rem;
    color: #fbad1b;
}

/* دکمه‌های خدمات */
.service-btn {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    text-decoration: none;
    color: #0f4959;
    font-weight: 500;
    border: 1px solid rgba(15, 73, 89, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    font-size: 18px;
    font-weight: 800;
}

.service-btn:hover {
    border-color: #fbad1b;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(251, 173, 27, 0.1);
}

.service-btn-icon {
    width: 40px;
    height: 40px;
    background: rgba(15, 73, 89, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: #fbad1b;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.service-btn:hover .service-btn-icon {
    background: rgba(251, 173, 27, 0.1);
    transform: scale(1.1);
}

.service-arrow {
    margin-right: auto;
    color: rgba(15, 73, 89, 0.4);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-btn:hover .service-arrow {
    color: #fbad1b;
    transform: translateX(-5px);
}

.loan-btn {
    background: linear-gradient(135deg, rgba(15, 73, 89, 0.05) 0%, rgba(15, 73, 89, 0.1) 100%);
    border: 1px dashed rgba(15, 73, 89, 0.2) !important;
}

.loan-btn:hover {
    background: linear-gradient(135deg, rgba(251, 173, 27, 0.05) 0%, rgba(251, 173, 27, 0.1) 100%);
    border: 1px dashed #fbad1b !important;
}

.quran-card {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    min-height: 400px; /* ارتفاع حداقلی برای موبایل */
}

.quran-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(15, 73, 89, 0.9) 0%, rgba(15, 73, 89, 0.95) 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230f4959"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.quran-content {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.quran-verse {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quran-ref {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: #fff;
    font-weight: 500;
}
.quran-ref-1 {
  text-shadow: 0 1px 0 #ccc, 
               0 2px 0 #bbb,
               0 3px 0 #aaa,
               0 4px 1px rgba(0,0,0,0.5);
}
.institute-name {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.institute-slogan {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    opacity: 0.9;
    font-style: italic;
}

/* دکوریشن‌ها */
.circle-decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.decor-1 {
    width: 200px;
    height: 200px;
    background: #fbad1b;
    top: -50px;
    right: -50px;
}

.decor-2 {
    width: 150px;
    height: 150px;
    background: #fbad1b;
    bottom: -30px;
    left: -30px;
}

.pattern-decor {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle, rgba(251, 173, 27, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}
     /* استایل بخش بانکداری - ترکیب طرح اول با محتوای دوم */
        .service-card {
            background: var(--white-color);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            border: none;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .service-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, #0d3d4a 100%);
            color: var(--white-color);
            padding: 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .service-header::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -30%;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle, rgba(251, 173, 27, 0.1) 0%, transparent 70%);
        }

        .service-icon-box {
            display: inline-flex;
            width: 70px;
            height: 70px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

        .service-main-icon {
            font-size: 1.8rem;
            color: var(--white-color);
        }

        .service-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            position: relative;
            z-index: 1;
        }

        .service-subtitle {
            font-size: 0.95rem;
            opacity: 0.9;
            position: relative;
            z-index: 1;
        }

        .service-body {
            padding: 2rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        /* استایل‌های دکمه‌ها مانند طرح اول */
        .service-btn {
            display: flex;
            align-items: center;
            padding: 15px;
            background-color: white;
            border-radius: 10px;
            text-decoration: none;
            color: var(--primary-color);
            font-weight: 500;
            border: 1px solid rgba(15, 73, 89, 0.1);
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
            overflow: hidden;
            font-size: 18px;
            font-weight: 800;
            margin-bottom: 0.75rem;
        }

        .service-btn:hover {
            border-color: var(--secondary-color);
            transform: translateX(-5px);
            box-shadow: 0 5px 15px rgba(251, 173, 27, 0.1);
            color: var(--primary-color);
        }

        .service-btn-icon {
            width: 40px;
            height: 40px;
            background: rgba(15, 73, 89, 0.05);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
            color: var(--secondary-color);
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        .service-btn:hover .service-btn-icon {
            background: rgba(251, 173, 27, 0.1);
            transform: scale(1.1);
        }

        .service-arrow {
            margin-right: auto;
            color: rgba(15, 73, 89, 0.4);
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .service-btn:hover .service-arrow {
            color: var(--secondary-color);
            transform: translateX(-5px);
        }

        /* استایل برای بخش اطلاعات بانکداری مدرن */
        .modern-banking-info {
            background: rgba(15, 73, 89, 0.03);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border-right: 3px solid var(--secondary-color);
        }

        .modern-banking-info .info-icon {
            font-size: 1.5rem;
            color: var(--primary-color);
            margin-left: 1rem;
            float: right;
        }

        .modern-banking-info .info-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .modern-banking-info .info-text {
            color: #5a6c7d;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* دکمه ویژه ورود به بانکداری مدرن */
        .modern-login-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary-color) 0%, #0d3d4a 100%);
            color: var(--white-color);
            padding: 1.2rem 2rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(15, 73, 89, 0.3);
            margin-bottom: 1.5rem;
        }

        .modern-login-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(15, 73, 89, 0.4);
            color: var(--white-color);
            background: linear-gradient(135deg, #0d3d4a 0%, var(--primary-color) 100%);
        }
        .highlight {
            color: var(--secondary-color);
            font-weight: 700;
            position: relative;
            display: inline-block;
        }
        /* دکوریشن‌های بخش خدمات */
        .service-decoration {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .service-decor {
            position: absolute;
            border-radius: 50%;
            opacity: 0.05;
        }

        .service-decor-1 {
            width: 80px;
            height: 80px;
            background: var(--primary-color);
            bottom: 10%;
            left: 10%;
        }

        .service-decor-2 {
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            top: 20%;
            right: 15%;
        }

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .quran-card {
        margin-bottom: 2rem;
        height: auto;
    }
    
    .quran-content {
        padding: 1.5rem;
    }
    
    .decor-1 {
        width: 150px;
        height: 150px;
        top: -30px;
        right: -30px;
    }
    
    .decor-2 {
        width: 100px;
        height: 100px;
        bottom: -20px;
        left: -20px;
    }
}

@media (max-width: 576px) {
    .quran-verse {
        line-height: 1.5;
    }
    
    .institute-info {
        margin-top: 1.5rem;
    }
}
/* استایل‌های سفارشی */
.mobile-banking-section {
    background-color: #f8f9fa;
    z-index: 1;
}

.bg-primary-soft {
    background-color: rgba(15, 73, 89, 0.1);
}

.text-primary {
    color: #0f4959 !important;
}

.phone-mockup {
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.phone-mockup img {
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.screen-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 87%;
    height: 90%;
    border-radius: 30px;
    overflow: hidden;
    background: white;
}

.screen-slider img {
    border-radius: 0;
    height: 100%;
    object-fit: cover;
}

.feature-icon {
    width: 24px;
    height: 54px;
    margin-left: 15px;
    color: #fbad1b;
}

.decor-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(251, 173, 27, 0.1);
    z-index: -1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

/* انیمیشن‌ها */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.phone-mockup {
    animation: float 6s ease-in-out infinite;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .phone-mockup {
        max-width: 250px;
    }
    
    .shape-1, .shape-2 {
        display: none;
    }
}

@media (max-width: 768px) {
    .download-buttons {
        justify-content: center;
    }
    
    .app-content {
        text-align: center;
        padding-right: 0 !important;
    }
    
    .features-list {
        text-align: right;
    }
}


/* About Section */
.about-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}
    
 .section-title {
    position: relative;
    display: inline-block;
    color: #0f4959;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 800;
}
.section-title::before {
    position: absolute;
    content: "";
    width: 180px;
    height: 5px;
    right: 0;
    bottom: 0;
    background:  #fbad1b;
    border-radius: 2px;
}
.section-title:after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section4-title-run 5s infinite linear;
    animation: section4-title-run 5s infinite linear;
}
@-webkit-keyframes section4-title-run {
    0% {right: 0; } 50% { right : 145px; } 100% { right: 0; }
}

@-webkit-keyframes section4-title-run-center {
    0% { right: 50%; margin-right: -75px; } 50% { right : 50%; margin-right: 45px; } 100% { right: 50%; margin-right: -75px; }
}

@-webkit-keyframes section4-title-run-sm {
    0% {right: 0; } 50% { right : 85px; } 100% { right: 0; }
}
@-webkit-keyframes footer-title-run {
    0% {right: 0; } 50% { right : 100px; } 100% { right: 0; }
}

@-webkit-keyframes footer-title-run-center {
    0% { right: 50%; margin-right: -75px; } 50% { right : 50%; margin-right: 45px; } 100% { right: 50%; margin-right: -75px; }
}

@-webkit-keyframes footer-title-run-sm {
    0% {right: 0; } 50% { right : 85px; } 100% { right: 0; }
}
.about-content .lead {
    color: #0f4959;
    font-weight: 500;
    margin-bottom: 25px;
}
    
.about-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.feature-item i {
    color: #fbad1b;
    margin-left: 10px;
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    padding: 20px;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}
    
    .experience-badge {
        position: absolute;
        top: 0;
        left: 0;
        background-color: #0f4959;
        color: white;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .experience-badge span {
        font-size: 2rem;
        font-weight: 700;
        line-height: 1;
    }
    
    .experience-badge small {
        font-size: 0.8rem;
    }
    
    .floating-element {
        position: absolute;
        width: 60px;
        height: 60px;
        background-color: #fbad1b;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        z-index: 3;
        animation: float 3s ease-in-out infinite;
    }
    
    .element-1 {
        top: 20%;
        left: -10px;
        animation-delay: 0.5s;
    }
    
    .element-2 {
        bottom: 20%;
        right: -10px;
        animation-delay: 1s;
    }
    
    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
        100% { transform: translateY(0px); }
    }
    
    @media (max-width: 768px) {
        .experience-badge {
            width: 80px;
            height: 80px;
        }
        
        .floating-element {
            width: 50px;
            height: 50px;
            font-size: 1.2rem;
        }
    }



/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0 0;
}
    
.footer-title {
   font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}
.footer-title::before {
    position: absolute;
    content: "";
    width: 100px;
    height: 5px;
    right: 0;
    bottom: 0;
    background:  #fbad1b;
    border-radius: 2px;
}
.footer-title:after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: footer-title-run 5s infinite linear;
    animation: footer-title-run 5s infinite linear;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
    display: none; /* ابتدا مخفی باشد */
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-top: 0;
  }
  
  .navbar-collapse.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
  }
  
  .navbar-toggler {
    z-index: 1001; /* بالاتر از منو باشد */
    position: relative;
  }
  
  .navbar-nav {
    width: 100%;
  }
  
  .nav-item {
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .nav-link {
    padding: 1rem;
    font-size: 1.2rem;
    color: #333 !important;
    border-bottom: 1px solid #f5f5f5;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
/* استایل‌های سفارشی */
.bank-accounts-section {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



.account-card {
    border: 1px solid rgba(15, 73, 89, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.account-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.bg-primary-soft {
    background-color: rgba(15, 73, 89, 0.1);
}

.text-primary {
    color: #0f4959 !important;
}

.account-title {
    font-size: 1.3rem;
    color: #0f4959;
}

.detail-item {
    position: relative;
    padding-right: 30px;
}

.detail-label {
    display: block;
    font-weight: 500;
    color: #666;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 600;
    color: #0f4959;
    word-break: break-all;
}

.btn-copy {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fbad1b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-copy:hover {
    color: #0f4959;
}

.notice-box {
    border-left: 4px solid #fbad1b !important;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .account-card {
        text-align: right;
    }
    
    .section-title:after {
        width: 40px;
        bottom: -8px;
    }
    
    .account-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .account-title {
        margin-top: 15px;
    }
}
/* استایل‌های سفارشی */
.faq-section {
    background-color: #f8f9fa;
}

.text-primary {
    color: #0f4959 !important;
}

.faq-info-card {
    border: 1px solid rgba(15, 73, 89, 0.1);
    position: sticky;
    top: 20px;
}

.contact-card {
    border: 1px dashed rgba(15, 73, 89, 0.3);
}

.accordion-button {
    background-color: white;
    color: #0f4959;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(15, 73, 89, 0.05);
    color: #0f4959;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(251, 173, 27, 0.25);
}

.accordion-body {
    background-color: white;
}



/* رسپانسیو */
@media (max-width: 992px) {
    .faq-info-card {
        position: static;
        margin-bottom: 30px;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
}


     .form-container {
            padding: 30px;
        }
        
        .form-section {
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }
        
        .section-title {
            display: flex;
            align-items: center;
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        .section-title i {
            margin-left: 10px;
            font-size: 1.2rem;
        }
        
        .form-label {
            font-weight: 500;
            margin-bottom: 8px;
            color: #495057;
        }
        
        .form-control {
            padding: 12px 15px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
           border-color: #fff;
            box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.2);
        }
        
        .input-group-text {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid #e2e8f0;
            border-right: none;
            border-radius: 8px 0px 0px 8px;
        }
        
        .input-group .form-control {
            border-left: none;
            border-radius:  0 8px 8px 0;
        }
        
        .amount-input {
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        .btn-submit {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border: none;
            color: white;
            padding: 15px 30px;
            font-weight: 600;
            font-size: 1.1rem;
            border-radius: 8px;
            width: 100%;
            transition: all 0.3s ease;
            margin-top: 10px;
        }
        
        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(78, 84, 200, 0.4);
        }
        
        .form-note {
            background-color: #f8f9fa;
            border-right: 4px solid var(--primary-color);
            padding: 15px;
            border-radius: 4px;
            margin-top: 20px;
            font-size: 0.9rem;
        }
        
        .account-preview {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 8px;
            padding: 15px;
            margin-top: 10px;
            border: 1px dashed #ced4da;
        }
        
        .account-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        
        .account-info:last-child {
            margin-bottom: 0;
        }
        
        .payment-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .payment-content {
            background: white;
            border-radius: var(--border-radius);
            width: 400px;
            max-width: 90%;
            padding: 25px;
            text-align: center;
            animation: fadeIn 0.3s ease;
        }
        
        .payment-loading {
            width: 80px;
            height: 80px;
            margin: 20px auto;
            border: 5px solid #f3f3f3;
            border-top: 5px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @media (max-width: 576px) {
            .form-container {
                padding: 20px;
            }
            
            .header h1 {
                font-size: 1.5rem;
            }
        }
        /* استایل هدر جدید */
        .payment-header {
            /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); */
            background: var(--primary-color);
            color: white;
            padding: 25px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .payment-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            transform: rotate(30deg);
        }
        
        .payment-header h1 {
            font-weight: 800;
            margin-bottom: 10px;
            font-size: 2.2rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
            position: relative;
        }
        
        .payment-header p {
            opacity: 0.9;
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
        }
        
        .header-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            width: 80px;
            height: 80px;
            line-height: 80px;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
         /* استایل مودال */
          .terms-link {
            color: var(--primary-color);
            cursor: pointer;
            text-decoration: underline;
            transition: all 0.3s ease;
        }
        
        .terms-link:hover {
            color: var(--secondary-color);
        }
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .modal-content {
            background: white;
            border-radius: var(--border-radius);
            width: 100%;
            max-width: 700px;
            max-height: 80vh;
            overflow-y: auto;
            animation: fadeIn 0.3s ease;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
        }
        
        .modal-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 20px;
            border-radius: 12px 12px 0 0;
            position: relative;
        }
        
        .modal-header h2 {
            margin: 0;
            font-weight: 700;
        }
        
        .modal-body {
            padding: 25px;
        }
        
        .modal-close {
            position: absolute;
            top: 15px;
            left: 20px;
            background: rgba(255, 255, 255, 0.2);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }
        
        .terms-section {
            margin-bottom: 25px;
        }
        
        .terms-section h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .terms-list {
            list-style-type: none;
            padding: 0;
        }
        
        .terms-list li {
            margin-bottom: 12px;
            padding-right: 20px;
            position: relative;
        }
        
        .terms-list li:before {
            content: '•';
            color: var(--primary-color);
            font-weight: bold;
            position: absolute;
            right: 0;
        }
        
        .agree-btn {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border: none;
            color: white;
            padding: 12px 25px;
            border-radius: 8px;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.3s ease;
            display: block;
            width: 100%;
        }
        
        .agree-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(78, 84, 200, 0.4);
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @media (max-width: 576px) {
            .modal-content {
                max-height: 85vh;
            }
            
            .modal-body {
                padding: 15px;
            }
        }
        .submit-button {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #0f4959 0%, #11707a 50%, #0d525d 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
         .error-message {
            color: #ff6b6b;
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }
        
        .alert-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1100;
            max-width: 400px;
        }
        
        .alert {
            padding: 15px;
            margin-bottom: 10px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            animation: slideIn 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .alert-error {
            background-color: #fff5f5;
            border-right: 4px solid #ff6b6b;
            color: #c53030;
        }
        
        .alert-success {
            background-color: #f0fff4;
            border-right: 4px solid #48bb78;
            color: #2f855a;
        }
        
        .alert-icon {
            margin-left: 10px;
            font-size: 1.2rem;
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(100%);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
                .container-bank {
            max-width: 800px;
            width: 100%;
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
            margin: auto;
        }
        
        .container-bank::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
          
        }
        .form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
        }
        input[type="text"],
        input[type="number"],
        input[type="file"],
        select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }
        .radio-group {
            display: flex;
            gap: 20px;
            margin-top: 10px;
        }
        .radio-option {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .required {
            color: red;
        }
        .btn {
            /*background-color: #1a73e8;*/
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            width: 100%;
            margin-top: 10px;
        }
        .btn:hover {
            background-color: #0d5bba;
        }
        .file-info {
            margin-top: 5px;
            font-size: 14px;
            color: #666;
        }
        @media (max-width: 600px) {
            .container {
                padding: 15px;
            }
            .radio-group {
                flex-direction: column;
                gap: 10px;
            }
        }
         .file-upload {
            margin-top: 10px;
            position: relative;
        }
        .file-upload-input {
            width: 100%;
            padding: 15px;
            border: 2px dashed #1a73e8;
            border-radius: 8px;
            background-color: #f8f9fa;
            color: #495057;
            font-size: 16px;
            cursor: pointer;
            text-align: center;
            transition: all 0.3s;
        }
        .file-upload-input:hover {
            background-color: #e8f0fe;
        }
        .file-info {
            margin-top: 10px;
            font-size: 14px;
            color: #666;
            text-align: center;
        }
        .file-list {
            margin-top: 15px;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background-color: #f8f9fa;
            display: none;
        }
        .file-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            border-bottom: 1px solid #eee;
        }
        .file-item:last-child {
            border-bottom: none;
        }
        .file-name {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .file-remove {
            color: #e53935;
            cursor: pointer;
            font-size: 18px;
        }
                /* استایل جدید برای بخش کارت */
        .card-input-container {
            display: none;
            margin-top: 15px;
        }
        .card-inputs {
            display: flex;
            gap: 10px;
            justify-content: space-between;
            margin-bottom:20px;
        }
        .card-part {
            flex: 1;
            text-align: center;
        }
        .card-part input {
            text-align: center;
            font-family: 'Courier New', monospace;
            font-size: 18px;
            font-weight: bold;
            padding: 12px 5px;
            direction: ltr;
        }
        .card-separator {
            display: flex;
            align-items: center;
            font-size: 24px;
            font-weight: bold;
            color: #888;
        }
        .shaba-prefix {
            display: flex;
            align-items: center;
            background: #e8f0fe;
            padding: 0 15px;
            border: 2px solid #ddd;
            border-radius: 8px 0 0 8px;
            border-right: none;
            font-weight: bold;
            color: #1a73e8;
        }
        .shaba-input-container {
            display: flex;
        }
        .shaba-input-container input {
            border-radius: 0 8px 8px 0;
        }
         .bank-select-container {
            display: none;
            margin-top: 15px;
        }
        @media (max-width: 600px) {
            .container {
                padding: 20px;
            }
            .radio-group {
                flex-direction: column;
                gap: 15px;
            }
            h1 {
                font-size: 24px;
            }
            .card-inputs {
                flex-wrap: wrap;
            }
            .card-separator {
                display: none;
            }
            .card-part {
                flex: 0 0 calc(25% - 10px);
            }
            .shaba-prefix {
                padding: 0 10px;
                font-size: 14px;
            }
        }


        .alert-success {
            color: #155724;
            background-color: #d4edda;
            border-color: #c3e6cb;
        }
        
        .close-alert {
            cursor: pointer;
            font-weight: bold;
            font-size: 18px;
        }
        
        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
          /* راهنمای شناور */
        .help-floating {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #0f4959 0%, #11707a 50%, #0d525d 100%);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            transition: all 0.3s;
        }
        
        .help-floating:hover {
            transform: scale(1.1);
        }
        
        /* مودال راهنما */
        .help-modal {
            display: none;
            position: fixed;
            /* top: 0; */
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1001;
            overflow-y: auto;
        }
        
        .help-content {
            background: white;
            margin: 50px auto;
            max-width: 800px;
            border-radius: 15px;
            overflow: hidden;
            animation: modalFade 0.3s;
        }
        
        @keyframes modalFade {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .help-header {
            /* background: linear-gradient(135deg, var(--primary-color) 0%, #2c4fd6 100%); */
            background :linear-gradient(135deg, #0f4959 0%, #11707a 50%, #0d525d 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .help-header h2 {
            margin: 0;
            font-size: 22px;
        }
        
        .close-help {
            font-size: 28px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .close-help:hover {
            transform: rotate(90deg);
        }
        
        .help-body {
            padding: 25px;
            max-height: 70vh;
            overflow-y: auto;
        }
        
        .help-section {
            margin-bottom: 30px;
        }
        
        .help-section h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 19px;
            display: flex;
            align-items: center;
        }
        
        .help-section h3 i {
            margin-left: 10px;
        }
        
        .help-step {
            background-color: var(--light-bg);
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            border-right: 4px solid var(--primary-color);
        }
        
        .help-step h4 {
            color: var(--primary-color);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        .help-step h4 .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            margin-left: 10px;
            font-size: 15px;
        }
        
        .help-note {
            background-color: #fff3cd;
            border-right: 4px solid var(--warning-color);
            padding: 12px;
            border-radius: 6px;
            margin: 12px 0;
            font-size: 14px;
        }
        
        .help-contact {
            background-color: #e7f3ff;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            margin-top: 20px;
        }
        
        @media (max-width: 768px) {
            .container-bank {
                border-radius: 10px;
            }
            
            .form-container {
                padding: 20px;
            }
            
            .radio-group {
                flex-direction: column;
                gap: 10px;
            }
            
            .help-content {
                margin: 20px;
                width: auto;
            }
            
            .help-floating {
                bottom: 20px;
                left: 20px;
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
        }
        /* استایل برای اسپینر لودینگ */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-spinner.active {
    display: flex;
}

.spinner-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* استایل برای دکمه غیرفعال */
.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}