/* ========== صفحه تماس با ما ========== */

/* بنر بالای صفحه */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #0052D4, #4364F7, #6FB1FC);
    border-radius: 32px;
    padding: 40px 20px;
    margin-bottom: 24px;
    text-align: center;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path fill="white" d="M10,10 L20,5 L30,10 L25,20 L15,20 Z M50,50 L60,45 L70,50 L65,60 L55,60 Z M80,30 L90,25 L95,35 L85,40 Z"/></svg>');
    background-repeat: repeat;
    background-size: 40px;
    opacity: 0.15;
}

.contact-hero-icon i {
    font-size: 48px;
    color: white;
    margin-bottom: 16px;
    display: inline-block;
}

.contact-hero h1 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.contact-hero p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

/* اطلاعات تماس سریع */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px 12px;
    text-align: center;
    border: 1px solid rgba(0, 82, 212, 0.1);
}

body.dark .contact-info-card {
    background: rgba(20, 25, 45, 0.9);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.contact-info-icon i {
    font-size: 22px;
    color: white;
}

.contact-info-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1e293b;
}

body.dark .contact-info-card h3 {
    color: #f1f5f9;
}

.contact-info-card p {
    font-size: 12px;
    font-weight: 600;
    color: #0052D4;
    margin-bottom: 4px;
}

.contact-info-card span {
    font-size: 10px;
    color: #64748b;
}

/* فرم تماس و نقشه */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 24px 20px;
    border: 1px solid rgba(0, 82, 212, 0.1);
}

body.dark .contact-form-container {
    background: rgba(20, 25, 45, 0.9);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 24px;
}

.contact-form-header i {
    font-size: 36px;
    color: #0052D4;
    margin-bottom: 8px;
}

.contact-form-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1e293b;
}

body.dark .contact-form-header h2 {
    color: #f1f5f9;
}

.contact-form-header p {
    font-size: 12px;
    color: #64748b;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1e293b;
}

body.dark .form-group label {
    color: #e2e8f0;
}

.form-group label i {
    color: #0052D4;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    transition: all 0.3s;
    font-family: inherit;
}

body.dark .form-group input,
body.dark .form-group select,
body.dark .form-group textarea {
    background: rgba(30, 41, 59, 0.8);
    border-color: #334155;
    color: #e2e8f0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0052D4;
    box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.1);
}

.contact-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border: none;
    padding: 14px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-submit-btn:active {
    transform: scale(0.97);
}

/* نقشه */
.contact-map-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 20px;
    border: 1px solid rgba(0, 82, 212, 0.1);
}

body.dark .contact-map-container {
    background: rgba(20, 25, 45, 0.9);
}

.contact-map-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.contact-map-header i {
    font-size: 20px;
    color: #0052D4;
}

.contact-map-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

body.dark .contact-map-header h3 {
    color: #f1f5f9;
}

.contact-map-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 11px;
    color: #64748b;
}

/* شبکه‌های اجتماعی */
.contact-social {
    margin-bottom: 32px;
}

.contact-social-header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-social-header i {
    font-size: 28px;
    color: #0052D4;
    margin-bottom: 8px;
}

.contact-social-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

body.dark .contact-social-header h3 {
    color: #f1f5f9;
}

.contact-social-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-circle i {
    width: 48px;
    height: 48px;
    background: rgba(0, 82, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s;
}

.social-circle span {
    font-size: 11px;
    color: #64748b;
}

.social-circle:hover {
    transform: translateY(-4px);
}

.social-circle.instagram i {
    color: #E4405F;
}

.social-circle.telegram i {
    color: #26A5E4;
}

.social-circle.linkedin i {
    color: #0077B5;
}

.social-circle.twitter i {
    color: #1DA1F2;
}

.social-circle.whatsapp i {
    color: #25D366;
}

.social-circle:hover i {
    background: linear-gradient(135deg, #0052D4, #4364F7);
    color: white;
}

/* سوالات متداول */
.contact-faq {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 24px 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 82, 212, 0.1);
}

body.dark .contact-faq {
    background: rgba(20, 25, 45, 0.9);
}

.contact-faq-header {
    text-align: center;
    margin-bottom: 24px;
}

.contact-faq-header i {
    font-size: 32px;
    color: #0052D4;
    margin-bottom: 8px;
}

.contact-faq-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1e293b;
}

body.dark .contact-faq-header h3 {
    color: #f1f5f9;
}

.contact-faq-header p {
    font-size: 12px;
    color: #64748b;
}

.faq-item {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.3s;
}

body.dark .faq-question {
    color: #e2e8f0;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    padding-right: 0;
}

.faq-question.active+.faq-answer {
    max-height: 200px;
    padding-bottom: 14px;
}

/* ریسپانسیو */
@media (max-width: 500px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-social-grid {
        gap: 12px;
    }

    .social-circle i {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}