﻿.nice-select {
    line-height: 25px !important;
}

.faq-list {
    margin-right: 20px;
    margin-top: 10px;
}

.faq-list li {
    margin-bottom: 8px;
    padding-right: 5px;
    position: relative;
}

    .faq-list li:before {
        content: "•";
        color: #2d55ff;
        font-weight: bold;
        margin-left: 8px;
    }

/* برای بلوک تماس */
.faq-contact-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #eaeaea;
}

.contact-box {
    text-align: center;
    padding: 15px;
}

    .contact-box i {
        font-size: 36px;
        color: #2d55ff;
        margin-bottom: 15px;
    }

    .contact-box h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .contact-box p {
        color: #666;
        margin-bottom: 10px;
    }

    .contact-box a {
        color: #2d55ff;
        font-weight: 600;
        font-size: 16px;
    }

        .contact-box a:hover {
            color: #1a3fd8;
        }

.brand-title {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.single-counter {
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    margin-bottom: 20px;
}

    .single-counter h3 {
        font-size: 36px;
        font-weight: 700;
        color: #2d55ff;
        margin-bottom: 5px;
    }

    .single-counter p {
        color: #666;
        font-size: 16px;
    }

.project-desc {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    line-height: 1.5;
}

/* برای بخش نظرات */
.client-img h3 {
    margin-top: 15px;
    margin-bottom: 5px;
}

.client-img span {
    color: #777;
    font-size: 14px;
}

.cta-section {
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
        background-size: cover;
        opacity: 0.1;
    }

.cta-badge {
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.feature-stat {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .feature-stat h3 {
        font-size: 2rem;
        font-weight: 700;
    }

.cta-form {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.trust-logo {
    transition: transform 0.3s ease;
}

    .trust-logo:hover {
        transform: translateY(-5px);
    }


    .btn-primary:hover {
        background: linear-gradient(45deg, #0d47a1, #2196f3);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
    }

.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #2196f3;
        box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    }

.process-section {
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    position: relative;
    min-width: 60px;
    text-align: center;
}

    .step-number span {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        background: linear-gradient(45deg, #2196f3, #0d47a1);
        color: white;
        border-radius: 50%;
        font-weight: bold;
        font-size: 1.2rem;
        position: relative;
        z-index: 2;
    }

.step-line {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, #2196f3, #e0e0e0);
    z-index: 1;
}

    .step-line.last {
        display: none;
    }

.step-content {
    flex: 1;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

    .step-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }

.step-icon {
    float: right;
    margin-left: 1rem;
    color: #2196f3;
}

.step-content h4 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-details {
    clear: both;
}

    .step-details ul {
        list-style: none;
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .step-details li {
        padding: 0.3rem 0;
        position: relative;
        padding-right: 1.5rem;
    }

        .step-details li:before {
            content: "✓";
            position: absolute;
            right: 0;
            color: #4caf50;
            font-weight: bold;
        }

.duration-badge, .success-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 20px;
    font-size: 0.9rem;
}

.success-badge {
    background: #e8f5e9;
    color: #2e7d32;
}

.server-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.option-card {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .option-card:hover {
        border-color: #2196f3;
        transform: translateY(-3px);
    }

.option-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.process-cta {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

    .process-cta .btn-lg {
        padding: 0.8rem 2rem;
        font-weight: 600;
    }

@media (min-width: 992px) {
    .process-timeline {
        max-width: 100%;
    }

    .process-step {
        width: 100%;
        align-items: stretch;
    }

    .step-layout {
        display: grid;
        grid-template-columns: 1fr 280px;
        gap: 1.5rem;
        align-items: stretch;
        width: 100%;
    }

    .step-content {
        height: 100%;
    }

    .step-visual {
        align-items: stretch;
        justify-content: center;
    }

    .visual-card {
        background: white;
        border-radius: 18px;
        padding: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        border: 1px solid #eef2f7;
        min-width: 240px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .visual-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
        }

    .visual-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        margin: 0 auto;
        color: #0d47a1;
    }

    .visual-card p {
        color: #455a64;
    }

    .visual-card.accent-1 .visual-icon { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
    .visual-card.accent-2 .visual-icon { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
    .visual-card.accent-3 .visual-icon { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
    .visual-card.accent-4 .visual-icon { background: linear-gradient(135deg, #ede7f6, #d1c4e9); }
    .visual-card.accent-5 .visual-icon { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
    .visual-card.accent-6 .visual-icon { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-visual {
        display: none !important;
    }

    .step-content {
        margin-right: 0;
        margin-top: 1rem;
    }

    .step-icon {
        float: none;
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .server-options {
        flex-direction: column;
    }

    .step-line {
        left: 30px;
    }
}


.language-switcher {
    position: relative;
    z-index: 1000;
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 5px;
    vertical-align: middle;
}

.lang-btn.active {
    background-color: #0d6efd;
    color: white;
}


.cta-form {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: sticky;
    top: 20px;
}

    .cta-form:hover {
        border-color: var(--tblr-primary);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .cta-form h4 {
        color: var(--tblr-primary);
        font-weight: 600;
        position: relative;
        padding-bottom: 10px;
    }

        .cta-form h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--tblr-primary), var(--tblr-blue));
            border-radius: 3px;
        }

    .cta-form .form-control {
        padding: 12px 15px;
        border-radius: 8px;
        border: 1px solid #dee2e6;
        transition: all 0.3s ease;
    }

        .cta-form .form-control:focus {
            border-color: var(--tblr-primary);
            box-shadow: 0 0 0 3px rgba(var(--tblr-primary-rgb), 0.1);
            transform: translateY(-1px);
        }

    .cta-form .form-select {
        padding: 12px 15px;
        border-radius: 8px;
        cursor: pointer;
    }

    .cta-form .btn-primary {
        padding: 12px;
        font-weight: 600;
        border-radius: 8px;
       
        border: none;
        transition: all 0.3s ease;
    }

        .cta-form .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(var(--tblr-primary-rgb), 0.3);
        }

        .cta-form .btn-primary:active {
            transform: translateY(0);
        }

/* انیمیشن برای فرم */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-form {
    animation: fadeInUp 0.6s ease-out;
}

/* استایل برای وضعیت موفقیت */
.alert-success {
    border-left: 4px solid var(--tblr-success);
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* اعتبارسنجی */
.invalid-feedback {
    font-size: 0.875rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ریسپانسیو */
@media (max-width: 991px) {
    .cta-form {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .cta-form {
        padding: 1.5rem !important;
    }

        .cta-form h4 {
            font-size: 1.25rem;
        }

    .cta-form .form-control,
    .cta-form .form-select,
    .cta-form textarea {
        pointer-events: auto;
        opacity: 1;
    }
}

/* تم تاریک */
[data-bs-theme="dark"] {
    .cta-form {
        background-color: var(--tblr-bg-surface-dark);
        border-color: var(--tblr-border-color-dark);
    }

        .cta-form .form-control,
        .cta-form .form-select {
            background-color: var(--tblr-bg-surface-dark);
            border-color: var(--tblr-border-color-dark);
            color: var(--tblr-body-color-dark);
        }

        .cta-form .text-muted {
            color: var(--tblr-body-color-secondary-dark) !important;
        }

        .cta-form .alert {
            border-radius: 8px;
            border: none;
        }

        .cta-form .alert-success {
            background-color: rgba(25, 135, 84, 0.1);
            border-left: 4px solid #198754;
        }

        .cta-form .alert-danger {
            background-color: rgba(220, 53, 69, 0.1);
            border-left: 4px solid #dc3545;
        }

        .cta-form .form-control.is-invalid {
            border-color: #dc3545;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right calc(0.375em + 0.1875rem) center;
            background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
        }

        .cta-form .invalid-feedback {
            display: none;
            font-size: 0.875rem;
            margin-top: 0.25rem;
        }

    .success-icon {
        animation: bounce 1s infinite alternate;
    }

    @keyframes bounce {
        from {
            transform: translateY(0);
        }

        to {
            transform: translateY(-10px);
        }
    }

    .btn-loading {
        position: relative;
        color: transparent !important;
    }

        .btn-loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }
    /* wwwroot/css/cta-form.css */
    .cta-form {
        position: sticky;
        top: 20px;
        transition: all 0.3s ease;
        animation: slideInUp 0.5s ease-out;
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cta-form:hover {
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }


        .cta-form .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
        }

        .cta-form .btn-primary:active {
            transform: translateY(0);
        }

        .cta-form .btn-primary::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .cta-form .btn-primary:hover::after {
            left: 100%;
        }
    /* انیمیشن برای موفقیت */
    @keyframes successPulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.1);
        }

        100% {
            transform: scale(1);
        }
    }

    .text-success {
        animation: successPulse 2s infinite;
    }