.elementor-2461 .elementor-element.elementor-element-4c6c792{--display:flex;}.elementor-2461 .elementor-element.elementor-element-e75ea01{--spacer-size:50px;}/* Start custom CSS for html, class: .elementor-element-3c70f7d *//* استایل صفحه تماس با ما - تشک پاتریس */
:root {
    --primary-color: #25344a;          /* رنگ اصلی برند - آبی تیره */
    --primary-light: #3a506b;          /* رنگ اصلی روشن‌تر */
    --primary-dark: #1a2536;           /* رنگ اصلی تیره‌تر */
    --secondary-color: #ffffff;        /* رنگ سفید */
    --accent-color: #e74c3c;           /* رنگ تأکید - قرمز */
    --accent-light: #ff6b6b;           /* رنگ تأکید روشن */
    --light-gray: #f8f9fa;             /* خاکستری بسیار روشن */
    --medium-gray: #e9ecef;            /* خاکستری روشن */
    --dark-gray: #6c757d;              /* خاکستری تیره */
    --text-color: #333333;             /* رنگ متن اصلی */
    --text-light: #666666;             /* رنگ متن روشن‌تر */
    --border-radius: 12px;             /* شعاع حاشیه */
    --box-shadow: 0 8px 25px rgba(37, 52, 74, 0.1); /* سایه */
    --box-shadow-hover: 0 15px 35px rgba(37, 52, 74, 0.15); /* سایه هنگام هاور */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* انیمیشن نرم */
}

/* ریست استایل‌ها و فونت */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Yekan Bakh Fanum', 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--secondary-color);
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* تایپوگرافی */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Yekan Bakh Fanum';
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* دکمه‌ها */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    font-family: 'Yekan Bakh Fanum', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-dark);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
     font-family: 'Yekan Bakh Fanum';
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
}

.btn-whatsapp::before {
    background-color: #128C7E;
}

.btn-phone {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-phone::before {
    background-color: #c0392b;
}

.btn-email {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-email::before {
    background-color: #2980b9;
}

/* هیرو سکشن */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--secondary-color);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* سکشن اطلاعات تماس */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
     font-family: 'Yekan Bakh Fanum';
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to left, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
         font-family: 'Yekan Bakh Fanum';
}

/* کارت‌های اطلاعات تماس */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: var(--secondary-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to left, var(--primary-color), var(--accent-color));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.contact-card:hover::before {
    transform: translateX(0);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
         font-family: 'Yekan Bakh Fanum';
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
         font-family: 'Yekan Bakh Fanum';
}

.contact-card strong {
    color: var(--primary-color);
    font-weight: 700;
         font-family: 'Yekan Bakh Fanum';
}

.contact-card .btn {
    margin-top: 25px;
    width: 100%;
}



/* سوالات متداول */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-gray);
         font-family: 'Yekan Bakh Fanum';
}

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1.1rem;
    background-color: var(--secondary-color);
         font-family: 'Yekan Bakh Fanum';
}

.faq-question:hover {
    background-color: rgba(37, 52, 74, 0.03);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 1.2rem;

}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.05rem;

}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.faq-item.active .faq-question {
    color: var(--accent-color);
}

/* شبکه‌های اجتماعی */
.social-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
         font-family: 'Yekan Bakh Fanum';
}

.social-section .section-title {
    color: var(--secondary-color);
}

.social-section .section-title::after {
    background: linear-gradient(to left, var(--accent-color), #ff9f43);
         font-family: 'Yekan Bakh Fanum';
}

.social-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
         font-family: 'Yekan Bakh Fanum';
}


.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.2) 100%);
    z-index: -1;
    
}

.social-link i {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    
}

.social-link span {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Yekan Bakh Fanum', sans-serif;
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-link.instagram {
    background: linear-gradient(135deg, #E4405F 0%, #833AB4 100%);
}

.social-link.phone {
    background: linear-gradient(135deg, var(--accent-color) 0%, #c0392b 100%);
}

.social-link:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.social-link:hover i {
    transform: scale(1.2);
}

/* رسپانسیو */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 900px;
        padding: 0 25px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .social-link {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-section {
        padding: 90px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-card {
        padding: 35px 25px;
    }
    
    .form-wrapper {
        padding: 35px 25px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .social-link {
        width: 120px;
        height: 120px;
    }
    
    .social-link i {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 70px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea {
        padding: 14px 18px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-placeholder {
        padding: 30px 20px;
    }
    
    .map-placeholder i {
        font-size: 3.5rem;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link {
        width: 110px;
        height: 110px;
    }
    
    .social-link i {
        font-size: 2.2rem;
    }
    
    .social-link span {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .contact-cards {
        gap: 20px;
    }
    
    .social-link {
        width: 100px;
        height: 100px;
    }
    
    .social-link i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .social-link span {
        font-size: 13px;
    }
}

/* انیمیشن‌های ظریف */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card,
.form-wrapper,
.faq-item,
.social-link {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* لودینگ اسپینر سفارشی */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* افکت‌های ویژه */
.highlight-text {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

/* استایل برای نمایش بهتر در موبایل */
@media (hover: none) {
    .btn:hover,
    .contact-card:hover,
    .social-link:hover {
        transform: none;
    }
    
    .btn:active,
    .contact-card:active,
    .social-link:active {
        transform: scale(0.98);
    }
}/* End custom CSS */