/* ============================================
   تماس با ما - استایل اختصاصی
   ============================================ */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #eef2ff;
    --bg: #f8fafc;
    --white: #ffffff;
    --text: #1e1e2e;
    --text-soft: #64748b;
    --border: #e2e8f0;
    --radius: 24px;
    --radius-sm: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================
   Hero Section
   ====================== */
.contact-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    color: var(--white);
    text-align: center;
    padding: 48px 20px;
    position: relative;
    overflow: hidden;
}



.contact-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-hero__title span {
    color: #facc15;
}

.contact-hero__desc {
    opacity: 0.8;
    font-size: 0.95rem;
    color:whitesmoke;
}

/* ======================
   Container
   ====================== */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ======================
   Main Contact Card
   ====================== */
.contact-main {
    border-radius: var(--radius);
    margin-top: -20px;
    position: relative;
    z-index: 1;
}

.contact-main__info {
    text-align: center;
    margin-bottom: 20px;
    background:white;
    border:solid 2px blue;
    border-radius:20px;
    padding:20px 0px;
}

.contact-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 12px;
}

.contact-main__name {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-main__role {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 16px;
}

/* ======================
   Phone Box
   ====================== */
.contact-main__phones {
    display: flex;
    justify-content: center;
}

.phone-box {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 2px solid #c7d2fe;
    border-radius: 20px;
    padding: 6px;
    transition: var(--transition);
}

.phone-box:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.phone-box__icon {
    padding: 10px 14px;
    background: crimson;
    border-radius: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-box__icon svg {
    width: 24px;
    height: 24px;
    color: gold; /* اینو عوض کن - رنگ خود آیکن */
}

.phone-box__numbers {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.phone-box__number {
    text-decoration: none;
    color: crimson;
    font-size: 1rem;
    padding: 0px 12px;
    border-radius: 12px;
    transition: var(--transition);
    direction: ltr;
    unicode-bidi: embed;
    white-space: nowrap;
}

.phone-box__number:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-dark);
}

.phone-box__divider {
    width: 2px;
    height: 28px;
    background: #c7d2fe;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ======================
   Social Section
   ====================== */
.contact-socials__title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-right: 4px;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-item:hover {
    transform: translateX(-4px);
}

.social-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-item__icon svg {
    width: 22px;
    height: 22px;
}

.social-item__content {
    flex: 1;
}

.social-item__name {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 2px;
}


.social-item__arrow {
    font-size: 1.2rem;
    opacity: 0;
    transition: var(--transition);
}

.social-item:hover .social-item__arrow {
    opacity: 1;
}

/* واتساپ */
.social-item--whatsapp {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.social-item--whatsapp:hover {
    background: #dcfce7;
    border-color: #22c55e;
}
.social-item--whatsapp .social-item__icon {
    background: #22c55e;
    color: var(--white);
}
.social-item--whatsapp .social-item__name {
    color: #166534;
}

/* اینستاگرام */
.social-item--instagram {
    background: #fdf2f8;
    border-color: #fbcfe8;
}
.social-item--instagram:hover {
    background: #fce7f3;
    border-color: #ec4899;
}
.social-item--instagram .social-item__icon {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    color: var(--white);
}
.social-item--instagram .social-item__name {
    color: #9d174d;
}

/* آپارات */
.social-item--aparat {
    background: #fef2f2;
    border-color: #fecaca;
}
.social-item--aparat:hover {
    background: #fee2e2;
    border-color: #ef4444;
}
.social-item--aparat .social-item__icon {
    background: #ef4444;
    color: var(--white);
}
.social-item--aparat .social-item__name {
    color: #991b1b;
}

/* بله */
.social-item--bale {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.social-item--bale:hover {
    background: #dbeafe;
    border-color: #3b82f6;
}
.social-item--bale .social-item__icon {
    background: #3b82f6;
    color: var(--white);
}
.social-item--bale .social-item__name {
    color: #1e3a5f;
}

/* ======================
   Quick Cards
   ====================== */
.contact-quick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.quick-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.quick-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.quick-card__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.quick-card__title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
}

.quick-card__desc {
    font-size: 0.78rem;
    color: var(--text-soft);
    margin: 0;
}

.quick-card--support { border: 2px solid #8b5cf6; }
.quick-card--hours { border: 2px solid #0ea5e9; }
.quick-card--email { border: 2px solid #f59e0b; }

/* ======================
   Responsive
   ====================== */
@media (max-width: 640px) {
    .contact-hero {
        padding: 36px 16px;
    }

    .contact-hero__title {
        font-size: 1.3rem;
    }

    .contact-main {
        padding: 24px 0px;
    }

    .phone-box__numbers {
        flex-direction: column;
        gap: 2px;
    }

    .phone-box__divider {
        width: 28px;
        height: 2px;
    }

    .social-item {
        padding: 14px;
    }

    .social-item__icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .social-item__icon svg {
        width: 18px;
        height: 18px;
    }
}