﻿/* عناوین */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1d4ed8;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
}

/* کارت‌ها */
.form-card, .contact-info-card {
    transition: 0.3s;
    min-height: 600px;
}

    .form-card:hover, .contact-info-card:hover {
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

/* فرم */
.form-control {
    width: 100%;
    padding: 12px 45px 12px 20px; /* padding راست کافی برای آیکون */
    border-radius: 12px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    transition: 0.3s;
}

    .form-control:focus {
        border-color: #1d4ed8;
        box-shadow: 0 0 10px rgba(29,78,216,0.2);
    }

/* textarea */
textarea.form-control {
    height: auto;
    padding: 15px 20px;
    border-radius: 12px;
    resize: vertical;
}

/* آیکون کنار فیلد */
.form-group {
    position: relative;
}

.form-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 10;
}

/* دکمه */
.btn-gradient {
    background: linear-gradient(90deg, #6c63ff, #4a47d5); /* گرادیان بنفش */
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: 0.3s;
}

    .btn-gradient:hover {
        background: linear-gradient(90deg, #4a47d5, #6c63ff); /* تغییر جهت گرادیان هنگام هاور */
    }

/* کپچا */
.captcha-img {
    width: 100%;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ccc;
}

/* کارت اطلاعات تماس با عکس پس‌زمینه و overlay */
.contact-info-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: url('../../images/order-bg.jpg') no-repeat center/cover;
}

    .contact-info-card .bg-overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(255, 255, 255, 0.9); /* overlay سفید نیمه شفاف */
        z-index: 1;
    }

    .contact-info-card .content-overlay {
        position: relative;
        z-index: 2;
        padding: 20px;
    }

    .contact-info-card p {
        color: #000000;
        font-size: 1rem;
        line-height: 1.6;
    }

/* دکمه های فونت و متن bold */
.coninfo strong {
    color: #000000;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .form-card, .contact-info-card {
        min-height: auto;
        margin-bottom: 2rem;
    }

    .form-icon {
        right: 10px;
    }
}

.section-title{
    font-size:1.5rem;
}