/* پالت رنگی قرمز */
:root {
    /* حالت روز - قرمز */
    --primary-day: #991b1b; /* قرمز تیره */
    --primary-light-day: #dc2626; /* قرمز متوسط */
    --primary-lighter-day: #ef4444; /* قرمز روشن */
    --secondary-day: #ea580c; /* نارنجی تیره */
    --accent-day: #f59e0b; /* نارنجی طلایی */
    --text-dark-day: #1e293b; /* مشکی متمایل به آبی */
    --text-medium-day: #475569; /* خاکستری آبی */
    --text-light-day: #64748b; /* خاکستری روشن */
    --bg-white-day: #ffffff; /* سفید */
    --bg-light-day: #fef2f2; /* قرمز بسیار روشن */
    --bg-dark-day: #450a0a; /* قرمز بسیار تیره */
    --border-light-day: #fecaca; /* مرز روشن */
    --glass-bg-day: rgba(255, 255, 255, 0.8);
    --glass-border-day: rgba(255, 255, 255, 0.3);
    --shadow-color-day: rgba(153, 27, 27, 0.1);
    /* حالت شب - قرمز تیره */
    --primary-night: #7f1d1d; /* قرمز تیره شب */
    --primary-light-night: #991b1b; /* قرمز متوسط شب */
    --primary-lighter-night: #dc2626; /* قرمز روشن شب */
    --secondary-night: #ea580c; /* نارنجی تیره */
    --accent-night: #f59e0b; /* نارنجی طلایی */
    --text-dark-night: #fef2f2; /* سفید متمایل به قرمز */
    --text-medium-night: #fecaca; /* قرمز روشن */
    --text-light-night: #fca5a5; /* قرمز کم رنگ */
    --bg-white-night: #450a0a; /* قرمز بسیار تیره */
    --bg-light-night: #7f1d1d; /* قرمز تیره */
    --bg-dark-night: #1c1917; /* مشکی مایل به قرمز */
    --border-light-night: #991b1b; /* مرز تیره */
    --glass-bg-night: rgba(126, 29, 29, 0.7);
    --glass-border-night: rgba(254, 202, 202, 0.1);
    --shadow-color-night: rgba(0, 0, 0, 0.3);
    /* متغیرهای فعال */
    --primary: var(--primary-day);
    --primary-light: var(--primary-light-day);
    --primary-lighter: var(--primary-lighter-day);
    --secondary: var(--secondary-day);
    --accent: var(--accent-day);
    --text-dark: var(--text-dark-day);
    --text-medium: var(--text-medium-day);
    --text-light: var(--text-light-day);
    --bg-white: var(--bg-white-day);
    --bg-light: var(--bg-light-day);
    --bg-dark: var(--bg-dark-day);
    --border-light: var(--border-light-day);
    --glass-bg: var(--glass-bg-day);
    --glass-border: var(--glass-border-day);
    --shadow-color: var(--shadow-color-day);
    /* انیمیشن‌ها */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    /* شعاع‌ها */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    /* سایه‌ها */
    --shadow-sm: 0 1px 3px var(--shadow-color);
    --shadow-md: 0 4px 6px -1px var(--shadow-color);
    --shadow-lg: 0 10px 15px -3px var(--shadow-color);
    --shadow-xl: 0 20px 25px -5px var(--shadow-color);
    --glass-shadow: 0 8px 32px var(--shadow-color);
}

/* حالت شب */
.dark-mode {
    --primary: var(--primary-night);
    --primary-light: var(--primary-light-night);
    --primary-lighter: var(--primary-lighter-night);
    --secondary: var(--secondary-night);
    --accent: var(--accent-night);
    --text-dark: var(--text-dark-night);
    --text-medium: var(--text-medium-night);
    --text-light: var(--text-light-night);
    --bg-white: var(--bg-white-night);
    --bg-light: var(--bg-light-night);
    --bg-dark: var(--bg-dark-night);
    --border-light: var(--border-light-night);
    --glass-bg: var(--glass-bg-night);
    --glass-border: var(--glass-border-night);
    --shadow-color: var(--shadow-color-night);
}

/* تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
    transition: background-color var(--transition-normal);
}

/* تایپوگرافی */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    transition: color var(--transition-normal);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    transition: color var(--transition-normal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* کلاس‌های ابزاری */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.fw-bold {
    font-weight: 700;
}

.fw-medium {
    font-weight: 500;
}

.fw-light {
    font-weight: 300;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 2rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* استایل‌های اسکلتون */
.skeleton-container {
    opacity: 0.7;
}

.skeleton {
    background: linear-gradient( 90deg, var(--bg-light) 25%, var(--border-light) 50%, var(--bg-light) 75% );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.skeleton-text-sm {
    height: 0.75rem;
    width: 70%;
}

.skeleton-text-xs {
    height: 0.5rem;
    width: 50%;
}

.skeleton-title {
    height: 1.75rem;
    width: 80%;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 200px;
    width: 100%;
    border-radius: var(--radius-md);
}

.skeleton-circle {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.skeleton-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* دکمه تغییر حالت */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

    .theme-toggle:hover {
        background: var(--primary);
        color: white;
        transform: rotate(30deg);
    }

    .theme-toggle i {
        transition: transform var(--transition-normal);
    }

.dark-mode .theme-toggle i.fa-sun {
    display: none;
}

.dark-mode .theme-toggle i.fa-moon {
    display: block;
}

.theme-toggle i.fa-sun {
    display: block;
}

.theme-toggle i.fa-moon {
    display: none;
}

/* نوار ناوبری - طراحی شیشه‌ای */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
}

    .navbar.scrolled {
        background: var(--glass-bg);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
    }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 992px) {
    .nav-container {
        flex-direction: row-reverse;
    }

    .about-image-col {
        display: none;
    }

    .about-features {
        margin-left: 1.5rem;
        margin-right: -1.5rem;
        width: calc(100% + 3rem) !important;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .logo img {
        height: 40px;
        width: auto;
    }

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* منوی دسکتاپ */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    position: relative;
}

    .nav-link:hover {
        background: var(--glass-bg);
        color: var(--primary);
        transform: translateY(-2px);
    }

    .nav-link i {
        font-size: 1.1rem;
    }

.auth-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-md);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

    .btn-outline:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
    }

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
}

    .btn-glass:hover {
        background: var(--glass-bg);
        border-color: var(--primary);
        transform: translateY(-2px);
    }

/* منوی موبایل */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

    .mobile-toggle:hover {
        background: var(--glass-bg);
    }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    z-index: 1001;
    padding: 2rem;
    transition: right var(--transition-normal);
    overflow-y: auto;
}

    .mobile-menu.active {
        right: 0;
    }

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .mobile-nav .nav-link {
        padding: 1rem;
        border-radius: var(--radius-md);
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
    }

.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

    .mobile-overlay.active {
        display: block;
    }

/* اسلایدر هیرو */
.hero-section {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

    .slide.active {
        opacity: 1;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.slide-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 3rem;
    color: white;
}

    .slide-content h2 {
        color: white;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .slide-content p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.125rem;
        opacity: 0.9;
        max-width: 600px;
    }

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

    .slider-btn:hover {
        background: var(--primary);
        transform: translateY(-2px);
    }

/* بخش رویدادها */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-header h2 {
        position: relative;
        display: inline-block;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            transform: translateX(50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 2px;
        }

    .section-header p {
        color: var(--text-medium);
        max-width: 600px;
        margin: 0 auto;
    }

/* کارت رویداد */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

    .event-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary);
    }

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 1;
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.event-description {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

    .event-meta i {
        margin-left: 0.25rem;
    }

.view-all {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* بخش مقالات */
.articles-section {
    background: var(--bg-light);
    transition: background-color var(--transition-normal);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

    .article-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-excerpt {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.article-date {
    color: var(--text-light);
}

.article-link {
    color: var(--primary);
    font-size: 1.25rem;
    transition: color var(--transition-fast);
}

    .article-link:hover {
        color: var(--primary-light);
    }

/* بخش آمار */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    position: relative;
    overflow: hidden;
}

    .stats-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="white" opacity="0.1" d="M0,0L1000,1000"/><path fill="white" opacity="0.1" d="M1000,0L0,1000"/></svg>');
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

    .stat-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
    }

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, white, #fecaca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .stat-label i {
        color: var(--accent);
    }

/* بخش درباره ما */
.about-section {
    background: var(--bg-light);
    transition: background-color var(--transition-normal);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin: 0;
}

.about-image {
    position: relative;
}

    .about-image img {
        width: 100%;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
    }

/* بخش سوالات متداول */
.faq-section {
    background: var(--bg-light);
    transition: background-color var(--transition-normal);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

    .faq-item:hover {
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
    }

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

    .faq-question:hover {
        background: var(--glass-bg);
    }

.faq-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .faq-icon i {
        font-size: 1.25rem;
        color: var(--primary);
        transition: transform var(--transition-fast);
    }

    .faq-icon .fa-minus {
        display: none;
    }

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-medium);
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon .fa-plus {
    display: none;
}

.faq-item.active .faq-icon .fa-minus {
    display: block;
}

.faq-item.active .faq-icon i {
    transform: rotate(180deg);
}

.show-more {
    text-align: center;
    margin-top: 2rem;
}

/* بخش تماس با ما */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

    .contact-item:hover {
        border-color: var(--primary);
        transform: translateY(-2px);
    }

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-details h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-medium);
    margin: 0;
}

.contact-map {
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .contact-map iframe {
        width: 100%;
        height: 300px;
        border: none;
    }

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }

    .form-control::placeholder {
        color: var(--text-light);
    }

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* فوتر */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(135deg, rgba(153, 27, 27, 0.1), rgba(234, 88, 12, 0.1));
    }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-column h5 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .footer-logo img {
        height: 40px;
    }

    .footer-logo span {
        font-size: 1.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, white, #fecaca);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

    .social-link:hover {
        background: var(--primary);
        transform: translateY(-3px);
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        transition: all var(--transition-fast);
        display: block;
        padding: 0.25rem 0;
    }

        .footer-links a:hover {
            color: var(--primary-lighter);
            padding-right: 0.5rem;
        }

.footer-contact {
    list-style: none;
}

    .footer-contact li {
        margin-bottom: 1rem;
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .footer-contact i {
        color: var(--primary-lighter);
        margin-top: 0.25rem;
    }

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
}

    .newsletter-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .newsletter-btn:hover {
        background: var(--primary-light);
        transform: translateY(-2px);
    }

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

    .footer-bottom-links a {
        color: rgba(255, 255, 255, 0.6);
        transition: color var(--transition-fast);
    }

        .footer-bottom-links a:hover {
            color: white;
        }

/* دکمه برگشت به بالا */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 99;
    box-shadow: var(--shadow-lg);
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top:hover {
        background: var(--primary-light);
        transform: translateY(-2px);
    }

/* اسکلتون های نمایشی */
.skeleton-events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skeleton-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* لودینگ صفحه */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .page-loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loader-content {
    text-align: center;
}

.loader-logo {
    margin-bottom: 2rem;
}

    .loader-logo img {
        height: 60px;
    }

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loader-text {
    color: var(--text-medium);
    font-size: 1.125rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .nav-menu,
    .auth-buttons {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .events-grid,
    .articles-grid,
    .skeleton-events,
    .skeleton-articles {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }

    .events-grid,
    .articles-grid,
    .skeleton-events,
    .skeleton-articles {
        grid-template-columns: 1fr;
    }

    .theme-toggle {
        bottom: 1rem;
        left: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero-slider {
        height: 300px;
    }

    .slide-content {
        padding: 1.5rem;
    }

        .slide-content h2 {
            font-size: 1.5rem;
        }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        width: 280px;
    }
}
/* نشانگرهای اسلایدر اضافه شده */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
    border: none;
}

    .indicator:hover {
        background: rgba(255, 255, 255, 0.5);
        transform: scale(1.2);
    }

    .indicator.active {
        background: var(--primary);
        transform: scale(1.3);
        box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3);
    }

/* انیمیشن محتوای اسلاید */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .slide-content {
    animation: slideInUp 0.8s ease-out 0.3s both;
}
/* استایل‌های بخش تماس (نسخه بهبود یافته) */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-fast);
}

    .contact-item:hover {
        padding-right: 0.5rem;
    }

    .contact-item:last-child {
        border-bottom: none;
    }

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-medium);
    margin: 0;
}

.map-column {
    height: 100%;
}

.map-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    height: 100%;
    overflow: hidden;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        min-height: 600px;
        border: none;
        border-radius: var(--radius-md);
    }
/* استایل‌های بخش درباره ما (نسخه بهبود یافته) */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
}

    .about-image-wrapper:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xxl);
    }

input[type="tel"] {
    text-align: right;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    /*background: linear-gradient(135deg, var(--primary), var(--primary-light));*/
    padding: 2rem;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
    text-align: center;
}

    .image-overlay span {
        font-size: 2rem;
        font-weight: 700;
        display: block;
        margin-bottom: 0.5rem;
    }

    .image-overlay small {
        font-size: 1rem;
        opacity: 0.9;
    }

.about-content-col {
    height: 100%;
}

.about-content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

    .about-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: 2px;
    }

.about-text {
    margin-bottom: 2rem;
    flex-grow: 1;
}

    .about-text .lead {
        font-size: 1.125rem;
        color: var(--text-dark);
        font-weight: 500;
        margin-bottom: 1.5rem;
        line-height: 1.8;
    }

    .about-text p {
        color: var(--text-medium);
        margin-bottom: 1.5rem;
        line-height: 1.8;
        text-align: justify;
    }

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text h5 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
}

.about-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

    .about-actions .btn {
        padding: 0.875rem 1.75rem;
        font-weight: 500;
    }

:root {
    /* ... سایر متغیرها ... */
    /* سایه‌ها */
    --shadow-sm: 0 1px 3px var(--shadow-color);
    --shadow-md: 0 4px 6px -1px var(--shadow-color);
    --shadow-lg: 0 10px 15px -3px var(--shadow-color);
    --shadow-xl: 0 20px 25px -5px var(--shadow-color);
    --shadow-xxl: 0 25px 50px -12px var(--shadow-color); /* اضافه شده */
    --glass-shadow: 0 8px 32px var(--shadow-color);
}
/* استایل‌های Swiper برای بخش رویدادها */
.main-event-slider {
    position: relative;
    margin-bottom: 3rem;
}

.main-event-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
    height: 100%;
}

    .main-event-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary);
    }

.event-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.event-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.event-content {
    padding: 2rem;
}

.event-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.event-description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.0625rem;
}

.event-actions {
    display: flex;
    gap: 1rem;
}

/* اسلایدر تامب‌نیل */
.thumbnail-slider {
    position: relative;
}

.thumbnail-swiper {
    padding: 1rem 0;
}

.thumbnail-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    height: 100%;
}

    .thumbnail-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }

    .thumbnail-card.swiper-slide-thumb-active {
        border-color: var(--primary);
        box-shadow: 0 0 0 2px var(--primary-light);
    }

.thumbnail-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.thumbnail-content {
    padding: 1rem;
}

.tournament-type {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.thumbnail-card h6 {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.thumbnail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.status.live {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .status.live::before {
        content: '';
        width: 6px;
        height: 6px;
        background: #10b981;
        border-radius: 50%;
        display: inline-block;
        animation: pulse 1.5s infinite;
    }

.date {
    color: var(--text-light);
}

/* دکمه‌های ناوبری Swiper */
.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

    .main-swiper .swiper-button-next:hover,
    .main-swiper .swiper-button-prev:hover {
        background: var(--primary);
        color: white;
        transform: scale(1.1);
    }

    .main-swiper .swiper-button-next:after,
    .main-swiper .swiper-button-prev:after {
        font-size: 1.25rem;
    }
/* کلاس‌های ابزاری اضافی */
.opacity-75 {
    opacity: 0.75;
}

.opacity-75-hover:hover {
    opacity: 0.75;
}

.ms-1 {
    margin-right: 0.25rem;
}

.ms-2 {
    margin-right: 0.5rem;
}

.ms-3 {
    margin-right: 1rem;
}

.ms-4 {
    margin-right: 1.5rem;
}

.ms-5 {
    margin-right: 2rem;
}

.me-1 {
    margin-left: 0.25rem;
}

.me-2 {
    margin-left: 0.5rem;
}

.me-3 {
    margin-left: 1rem;
}

.me-4 {
    margin-left: 1.5rem;
}

.me-5 {
    margin-left: 2rem;
}

.rounded-2 {
    border-radius: var(--radius-sm);
}

.rounded-3 {
    border-radius: var(--radius-md);
}

.rounded-4 {
    border-radius: var(--radius-lg);
}

.rounded-5 {
    border-radius: var(--radius-xl);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.text-decoration-none {
    text-decoration: none;
}

.text-decoration-underline {
    text-decoration: underline;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.position-fixed {
    position: fixed;
}

.position-sticky {
    position: sticky;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-scroll {
    overflow: scroll;
}

.z-index-1 {
    z-index: 1;
}

.z-index-10 {
    z-index: 10;
}

.z-index-100 {
    z-index: 100;
}

.z-index-1000 {
    z-index: 1000;
}
/* انیمیشن‌های اضافی */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}
/* استایل‌های فرم بهبود یافته */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

    .contact-form .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }

    .contact-form .form-control::placeholder {
        color: var(--text-light);
    }

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

.mobile-menu {
    display: none;
    /* سایر استایل‌ها */
}

    .mobile-menu.active {
        display: block;
        /* نمایش منو */
    }

.mobile-overlay {
    display: none;
    /* سایر استایل‌ها */
}

    .mobile-overlay.active {
        display: block;
        /* نمایش پوشش */
    }

.partners-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-header {
    text-align: center;
    margin-bottom: 50px;
}

    .partners-header h2 {
        font-size: 2.5rem;
        color: #1e293b;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .partners-header p {
        font-size: 1.1rem;
        color: #64748b;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }

.marquee {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee__inner {
    position: relative;
    height: 100%;
}

.partner-item {
    position: absolute;
    top: 0;
    right: calc(200px * 8);
    width: 140px;
    height: 100%;
    padding: 15px 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollright 30s linear infinite;
}

    .partner-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .partner-item img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        opacity: 0.7;
        transition: all 0.3s ease;
        filter: grayscale(100%) sepia(15%) hue-rotate(-10deg) saturate(110%);
    }


    .partner-item:hover img {
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1.05);
    }

@keyframes scrollright {
    to {
        right: -200px;
    }
}

.item1 {
    animation-delay: calc(30s / 8 * (8 - 1) * -1);
}

.item2 {
    animation-delay: calc(30s / 8 * (8 - 2) * -1);
}

.item3 {
    animation-delay: calc(30s / 8 * (8 - 3) * -1);
}

.item4 {
    animation-delay: calc(30s / 8 * (8 - 4) * -1);
}

.item5 {
    animation-delay: calc(30s / 8 * (8 - 5) * -1);
}

.item6 {
    animation-delay: calc(30s / 8 * (8 - 6) * -1);
}

.item7 {
    animation-delay: calc(30s / 8 * (8 - 7) * -1);
}

.item8 {
    animation-delay: calc(30s / 8 * (8 - 8) * -1);
}

.marquee:hover .partner-item {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .partners-header h2 {
        font-size: 2rem;
    }

    .partners-header p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .marquee {
        height: 100px;
    }

    .partner-item {
        width: 110px;
        padding: 10px 15px;
    }

        .partner-item img {
            width: 60px;
            height: 60px;
        }
}

@media (max-width: 480px) {
    .partner-item {
        width: 90px;
    }

        .partner-item img {
            width: 50px;
            height: 50px;
        }
}
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* دو ستون برای تبلت‌ها */
@media (max-width: 992px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }
}

/* یک ستون برای موبایل‌ها */
@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
}
/* سه ستون برای دسکتاپ */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* دو ستون برای تبلت‌ها */
@media (max-width: 992px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }
}

/* یک ستون برای موبایل‌ها */
@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
}
.map-container iframe {
    width: 100%;
    min-height: 300px; /* کاهش ارتفاع در نمایش موبایل */
    height: 100%; /* تطبیق با اندازهٔ والد */
}

@media (max-width: 576px) {
    .map-container iframe {
        min-height: 250px;
    }
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}
