/* فونت وزیر */
body {
    font-family: 'Vazir', 'Tahoma', sans-serif;
    direction: rtl;
    color: #333;
}

/* منوی ناوبری */
.nav-link {
    color: #4B5563;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.nav-link:hover {
    color: #8B5CF6;
}

.mobile-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #F3F4F6;
}

/* دکمه اصلی */
.cta-button {
    background-color: #8B5CF6;
    color: white;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    border: none;
    box-shadow: 0 4px 6px rgba(139, 92, 246, 0.25);
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(139, 92, 246, 0.3);
}

/* دکمه ثانویه */
.secondary-button {
    background-color: #E0E7FF;
    color: #4C1D95;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #C7D2FE;
}

.secondary-button:hover {
    background-color: #C7D2FE;
}

/* عنوان بخش‌ها */
.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #4C1D95;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: #8B5CF6;
    border-radius: 2px;
}

/* کارت تکنیک */
.technique-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.technique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.icon-container {
    margin-bottom: 1.5rem;
}

.technique-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4C1D95;
    margin-bottom: 1rem;
}

.technique-desc {
    color: #4B5563;
    line-height: 1.6;
}

/* کارت منابع */
.resource-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.resource-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #4C1D95;
    margin-bottom: 1rem;
    text-align: center;
}

.resource-desc {
    color: #4B5563;
    line-height: 1.6;
    text-align: center;
}

/* لیست مزایا */
.benefits-list li {
    transition: transform 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(-5px);
}

/* بخش تماس با ما */
.contact-info svg {
    flex-shrink: 0;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* کوکی بار */
#cookieConsent {
    z-index: 40;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

#acceptCookies:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.5);
}

/* مدال */
#policyModal {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#policyModal.show {
    opacity: 1;
}

#closeModal:focus {
    outline: none;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

/* پاسخگویی */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
    }
}