/* استایل‌های اصلی - بهبود یافته با امکانات جدید */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #10b981;
    --accent-dark: #059669;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --dark: #1e293b;
    --darker: #0f172a;
    --light: #f8fafc;
    --lighter: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 12px -1px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
}

/* Reset و پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    padding-top: 70px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.logo-loader {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

/* کانوس برای انیمیشن شبکه عصبی */
.neural-network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* هیرو سکشن */
.hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.95));
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    text-align: center;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
	    
        flex-direction: column;
        align-items: center;
  
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* آمار و ارقام */
.stats {
    background: var(--lighter);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--lighter);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* درباره ما */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-text {
    padding-left: 2rem;
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.progress-bars {
    margin-top: 2rem;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-header span:first-child {
    font-weight: 600;
    color: var(--dark);
}

.progress-header span:last-child {
    font-weight: 700;
    color: var(--primary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--lighter);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* محصولات */
.products {
    background: var(--light);
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--lighter);
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--lighter);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: scale(1);
}

.product-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.quick-view {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-view:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-specs i {
    color: var(--primary);
    width: 16px;
}

/* فرآیند تولید */
.process {
    background: var(--lighter);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* گالری */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 20px;
    background: var(--lighter);
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.gallery-overlay i {
    font-size: 1.5rem;
    align-self: flex-start;
}
/* استایل‌های جدید گالری حرفه‌ای */
.gallery {
    background: linear-gradient(135deg, var(--light) 0%, var(--lighter) 100%);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.title-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* فیلترهای پیشرفته */
.gallery-filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--lighter);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 24px;
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: var(--border-radius-lg);
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.filter-tab:not(.active):hover {
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.filter-tab.active .tab-indicator {
    transform: scaleX(1);
}

.filter-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.active-count {
    color: var(--primary);
    font-weight: 700;
}

.filter-divider {
    opacity: 0.5;
}

/* گالری مدرن */
.modern-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-card {
    position: relative;
    background: var(--lighter);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-light);
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(37, 99, 235, 0.1);
}

.gallery-card.featured {
    border: 2px solid var(--secondary);
    box-shadow: 
        0 15px 35px rgba(245, 158, 11, 0.2),
        var(--shadow);
}

.card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.9) 0%,
        rgba(30, 64, 175, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.overlay-content h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
}

.view-btn, .info-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.view-btn {
    background: rgba(255, 255, 255, 0.2);
}

.info-btn {
    background: rgba(255, 255, 255, 0.15);
}

.view-btn:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.info-btn:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--secondary), var(--warning));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* دکمه‌های عمل */
.gallery-actions {
    text-align: center;
}

.load-more {
    position: relative;
    overflow: hidden;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.load-more:hover .btn-shine {
    left: 100%;
}

/* مودال نمایش تصویر */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--lighter);
    border-radius: var(--border-radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalAppear 0.4s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--danger);
    transform: scale(1.1);
}

.modal-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 2rem;
    background: var(--lighter);
}

.modal-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.modal-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* رسپانسیو */
@media (max-width: 1024px) {
    .modern-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .gallery-filter-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .filter-tabs {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .filter-tab {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .gallery-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .modern-gallery {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-tab {
        width: 100%;
        justify-content: center;
    }
    
    .modal-info {
        padding: 1.5rem;
    }
}



/* مقالات */
.blog {
    background: var(--light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--lighter);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-category {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.blog-read-time {
    color: var(--text-light);
}

.blog-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.no-articles {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-articles i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--border);
}


/* افتخارات - انیمیشن‌های جذاب‌تر */
/* افتخارات - اندازه کوچک‌تر و چیدمان فشرده */
.achievements {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    color: white;
    position: relative;
    overflow: hidden;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.achievements .section-title h2,
.achievements .section-title p {
    color: white;
    position: relative;
    z-index: 1;
}

.achievements-slider {
    position: relative;
    overflow: hidden;
    padding: 40px 0; /* کاهش padding */
}

.achievements-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* کاهش فاصله بین کارت‌ها */
    flex-wrap: wrap;
}

/* کارت‌های کوچک‌تر و فشرده */
.achievement-card {
    flex: 0 0 220px; /* کاهش عرض کارت */
    text-align: center;
    padding: 2rem 1rem; /* کاهش padding داخلی */
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
    margin: 8px; /* کاهش margin */
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: cardFloat 4s ease-in-out infinite;
}

/* آیکون کوچک‌تر */
.achievement-icon {
    width: 70px; /* کاهش سایز آیکون */
    height: 70px;
    margin: 0 auto 1rem; /* کاهش margin */
    background: linear-gradient(135deg, var(--secondary), var(--warning));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* کاهش سایز فونت آیکون */
    color: white;
    box-shadow: 
        0 6px 15px rgba(245, 158, 11, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(245, 158, 11, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.achievement-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    animation: iconShine 4s linear infinite;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 
        0 10px 25px rgba(245, 158, 11, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 0 30px rgba(245, 158, 11, 0.4);
}

/* متن کوچک‌تر */
.achievement-card h3 {
    font-size: 1.1rem; /* کاهش سایز فونت عنوان */
    font-weight: 700;
    margin-bottom: 0.75rem; /* کاهش فاصله */
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.achievement-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.9rem; /* کاهش سایز فونت متن */
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0;
}

/* انیمیشن‌های بهینه‌شده */
@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-6px) rotate(0.5deg);
    }
    66% {
        transform: translateY(-3px) rotate(-0.5deg);
    }
}

@keyframes iconShine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px) scale(1.03) rotate(1deg); /* کاهش میزان حرکت */
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation-play-state: paused;
}

/* رسپانسیو برای موبایل */
@media (max-width: 1200px) {
    .achievement-card {
        flex: 0 0 200px;
        padding: 1.75rem 0.75rem;
    }
    
    .achievement-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .achievement-card h3 {
        font-size: 1rem;
    }
    
    .achievement-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .achievements-slider {
        padding: 30px 0;
    }
    
    .achievements-track {
        gap: 1rem;
    }
    
    .achievement-card {
        flex: 0 0 160px;
        padding: 1.5rem 0.5rem;
        margin: 5px;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .achievement-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .achievement-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .achievements-track {
        gap: 0.75rem;
    }
    
    .achievement-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: 160px;
        padding: 1.25rem 0.5rem;
    }
    
    .achievement-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .achievement-card h3 {
        font-size: 0.9rem;
    }
    
    .achievement-card p {
        font-size: 0.75rem;
    }
}

/* پشتیبانی از تم تاریک */
@media (prefers-color-scheme: dark) {
    .achievements {
        background: linear-gradient(135deg, #1e293b, #0f172a);
    }
    
    .achievement-card {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .achievement-card:hover {
        background: rgba(30, 41, 59, 0.9);
        border-color: rgba(255, 255, 255, 0.2);
    }
}




/* نظرات مشتریان */
/* سوالات متداول و نظرات مشتریان - چیدمان دو ستونه */
.faq-testimonials {
    background: linear-gradient(135deg, var(--light), var(--lighter));
    position: relative;
    overflow: hidden;
}

.faq-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.faq-testimonials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* استایل‌های سوالات متداول */
.faq-section {
    background: var(--lighter);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.faq-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.faq-section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.faq-section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.faq-items-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item-compact {
    background: var(--lighter);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item-compact.active {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.15);
}

.faq-question-compact {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--lighter);
}

.faq-question-compact:hover {
    background: var(--border-light);
}

.faq-question-compact h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    flex: 1;
    padding-left: 1rem;
}

.faq-question-compact i {
    color: var(--primary);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-item-compact.active .faq-question-compact i {
    transform: rotate(180deg);
    color: var(--primary-dark);
}

.faq-answer-compact {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--border-light);
}

.faq-item-compact.active .faq-answer-compact {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer-compact p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* استایل‌های نظرات مشتریان */
/* سوالات متداول و نظرات مشتریان - طراحی حرفه‌ای */
.faq-testimonials-combined {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.faq-testimonials-combined::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.combined-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.combined-header {
    text-align: center;
    margin-bottom: 60px;
}

.combined-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.combined-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.combined-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* استایل‌های سوالات متداول */
.faq-column {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.faq-column-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.faq-column-header i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.faq-column-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.faq-items-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item-compact {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.faq-item-compact.active {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.faq-question-compact {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question-compact:hover {
    background: rgba(37, 99, 235, 0.02);
}

.faq-question-compact h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
    padding-left: 15px;
    line-height: 1.5;
}

.faq-question-compact i {
    color: #2563eb;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-item-compact.active .faq-question-compact i {
    transform: rotate(180deg);
    color: #1e40af;
}

.faq-answer-compact {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item-compact.active .faq-answer-compact {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer-compact p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* استایل‌های نظرات مشتریان */
/* سوالات متداول و نظرات مشتریان - پشتیبانی کامل از تم تاریک و روشن */
/* سوالات متداول و نظرات مشتریان - طراحی هم‌اندازه */
.faq-testimonials-combined {
    background: linear-gradient(135deg, var(--light) 0%, var(--lighter) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    transition: all 0.3s ease;
}

/* تم تاریک */
@media (prefers-color-scheme: dark) {
    .faq-testimonials-combined {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
}

.combined-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.combined-header {
    text-align: center;
    margin-bottom: 60px;
}

.combined-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.combined-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* تم تاریک برای هدر */
@media (prefers-color-scheme: dark) {
    .combined-header h2 {
        background: linear-gradient(135deg, #60a5fa, #3b82f6);
        -webkit-background-clip: text;
        background-clip: text;
    }
    
    .combined-header p {
        color: #cbd5e1;
    }
}

.combined-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch; /* مهم: باعث کشیده شدن هر دو ستون به یک اندازه می‌شود */
}

/* استایل‌های مشترک برای هر دو ستون */
.faq-column,
.testimonials-column {
    background: var(--lighter);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 600px; /* ارتفاع حداقلی یکسان */
    height: 100%; /* پر کردن کامل فضای موجود */
}

/* تم تاریک برای ستون‌ها */
@media (prefers-color-scheme: dark) {
    .faq-column,
    .testimonials-column {
        background: rgba(30, 41, 59, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }
}

/* هدر ستون‌ها */
.faq-column-header,
.testimonials-column-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
    flex-shrink: 0; /* جلوگیری از تغییر سایز */
}

/* تم تاریک برای هدر ستون‌ها */
@media (prefers-color-scheme: dark) {
    .faq-column-header,
    .testimonials-column-header {
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }
}

.faq-column-header i,
.testimonials-column-header i {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-column-header i {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.testimonials-column-header i {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.faq-column-header h3,
.testimonials-column-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

/* تم تاریک برای متن هدر */
@media (prefers-color-scheme: dark) {
    .faq-column-header h3,
    .testimonials-column-header h3 {
        color: #f1f5f9;
    }
}

/* محتوای اصلی ستون‌ها */
.faq-content,
.testimonials-content {
    flex: 1; /* پر کردن فضای باقیمانده */
    display: flex;
    flex-direction: column;
    min-height: 0; /* اجازه فشرده شدن */
}

/* استایل‌های سوالات متداول */
.faq-items-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow: hidden;
}

.faq-item-compact {
    background: var(--light);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    flex-shrink: 0;
}

/* تم تاریک برای آیتم سوالات */
@media (prefers-color-scheme: dark) {
    .faq-item-compact {
        background: rgba(15, 23, 42, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
}

.faq-item-compact.active {
    background: var(--lighter);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

/* تم تاریک برای آیتم فعال */
@media (prefers-color-scheme: dark) {
    .faq-item-compact.active {
        background: rgba(30, 41, 59, 0.9);
        border-color: var(--primary-light);
        box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
    }
}

.faq-question-compact {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question-compact:hover {
    background: rgba(37, 99, 235, 0.02);
}

/* تم تاریک برای هاور سوالات */
@media (prefers-color-scheme: dark) {
    .faq-question-compact:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

.faq-question-compact h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    flex: 1;
    padding-left: 15px;
    line-height: 1.5;
}

/* تم تاریک برای متن سوالات */
@media (prefers-color-scheme: dark) {
    .faq-question-compact h4 {
        color: #e2e8f0;
    }
}

.faq-question-compact i {
    color: var(--primary);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-item-compact.active .faq-question-compact i {
    transform: rotate(180deg);
    color: var(--primary-dark);
}

/* تم تاریک برای آیکون */
@media (prefers-color-scheme: dark) {
    .faq-question-compact i {
        color: #60a5fa;
    }
    
    .faq-item-compact.active .faq-question-compact i {
        color: #3b82f6;
    }
}

.faq-answer-compact {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: var(--border-light);
}

/* تم تاریک برای پاسخ */
@media (prefers-color-scheme: dark) {
    .faq-answer-compact {
        background: rgba(15, 23, 42, 0.5);
    }
}

.faq-item-compact.active .faq-answer-compact {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer-compact p {
    color: var(--text);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* تم تاریک برای متن پاسخ */
@media (prefers-color-scheme: dark) {
    .faq-answer-compact p {
        color: #cbd5e1;
    }
}

/* استایل‌های نظرات مشتریان */
.testimonials-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    min-height: 400px; /* ارتفاع حداقلی برای اسکرول */
}

/* اسکرول بار سفارشی */
.testimonials-compact::-webkit-scrollbar {
    width: 6px;
}

.testimonials-compact::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 10px;
}

.testimonials-compact::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
}

/* تم تاریک برای اسکرول بار */
@media (prefers-color-scheme: dark) {
    .testimonials-compact::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .testimonials-compact::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #60a5fa, #3b82f6);
    }
}

.testimonial-card-compact {
    background: var(--light);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* تم تاریک برای کارت نظرات */
@media (prefers-color-scheme: dark) {
    .testimonial-card-compact {
        background: rgba(15, 23, 42, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
}

.testimonial-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card-compact:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    background: var(--lighter);
}

/* تم تاریک برای هاور کارت نظرات */
@media (prefers-color-scheme: dark) {
    .testimonial-card-compact:hover {
        background: rgba(30, 41, 59, 0.9);
        border-color: var(--primary-light);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
}

.testimonial-card-compact:hover::before {
    opacity: 1;
}

.testimonial-content-compact {
    margin-bottom: 20px;
    position: relative;
}

.rating-compact {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.rating-compact i {
    color: var(--secondary);
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.testimonial-content-compact p {
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    padding-right: 15px;
}

/* تم تاریک برای متن نظرات */
@media (prefers-color-scheme: dark) {
    .testimonial-content-compact p {
        color: #cbd5e1;
    }
}

.testimonial-content-compact p::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 3rem;
    color: var(--border);
    font-family: serif;
    line-height: 1;
}

/* تم تاریک برای علامت نقل قول */
@media (prefers-color-scheme: dark) {
    .testimonial-content-compact p::before {
        color: rgba(255, 255, 255, 0.2);
    }
}

.testimonial-author-compact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author-compact img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--lighter);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* تم تاریک برای عکس نویسنده */
@media (prefers-color-scheme: dark) {
    .testimonial-author-compact img {
        border: 3px solid rgba(30, 41, 59, 0.8);
    }
}

.testimonial-card-compact:hover .testimonial-author-compact img {
    transform: scale(1.1);
    border-color: var(--primary);
}

.author-info-compact h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

/* تم تاریک برای نام نویسنده */
@media (prefers-color-scheme: dark) {
    .author-info-compact h4 {
        color: #e2e8f0;
    }
}

.author-info-compact span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* تم تاریک برای شغل نویسنده */
@media (prefers-color-scheme: dark) {
    .author-info-compact span {
        color: #94a3b8;
    }
}

/* دکمه‌های مشاهده بیشتر */
.more-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

/* تم تاریک برای خط جداکننده */
@media (prefers-color-scheme: dark) {
    .more-links {
        border-top-color: rgba(255, 255, 255, 0.2);
    }
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.more-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: white;
    gap: 12px;
}

.more-link.secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.more-link.secondary:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

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

.faq-column,
.testimonials-column {
    animation: fadeInUp 0.6s ease-out;
}

.faq-column {
    animation-delay: 0.1s;
}

.testimonials-column {
    animation-delay: 0.2s;
}

/* رسپانسیو */
@media (max-width: 1024px) {
    .combined-grid {
        gap: 25px;
    }
    
    .faq-column,
    .testimonials-column {
        padding: 30px;
        min-height: 550px;
    }
}

@media (max-width: 768px) {
    .faq-testimonials-combined {
        padding: 60px 0;
    }
    
    .combined-header h2 {
        font-size: 2rem;
    }
    
    .combined-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .faq-column,
    .testimonials-column {
        padding: 25px;
        min-height: auto;
        height: auto;
    }
    
    .faq-column-header,
    .testimonials-column-header {
        margin-bottom: 25px;
    }
    
    .testimonials-compact {
        min-height: 300px;
    }
    
    .more-links {
        flex-direction: column;
        align-items: center;
    }
    
    .more-link {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .combined-container {
        padding: 0 15px;
    }
    
    .combined-header h2 {
        font-size: 1.8rem;
    }
    
    .combined-header p {
        font-size: 1rem;
    }
    
    .faq-column,
    .testimonials-column {
        padding: 20px;
        border-radius: 15px;
    }
    
    .faq-question-compact {
        padding: 15px;
    }
    
    .faq-question-compact h4 {
        font-size: 0.95rem;
        padding-left: 10px;
    }
    
    .testimonial-card-compact {
        padding: 20px;
    }
    
    .testimonial-author-compact {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}


/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* تماس */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--lighter);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--lighter);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--lighter);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 16px;
    padding-left: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* نقشه */
.map-section {
    height: 400px;
}

#map {
    width: 100%;
    height: 100%;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--lighter);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--border-light);
    color: var(--danger);
}

.modal-body {
    padding: 1.5rem;
}

/* دکمه‌ها */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 140px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* بخش‌ها */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    

    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding-left: 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .products-filter,
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn,
    .gallery-filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 1rem;
    }
}

/* بهبودهای ظاهری */
@media (min-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

/* پشتیبانی از حالت تاریک */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #0f172a;
        --lighter: #1e293b;
        --dark: #f8fafc;
        --darker: #e2e8f0;
        --text: #e2e8f0;
        --text-light: #94a3b8;
        --text-lighter: #64748b;
        --border: #334155;
        --border-light: #475569;
    }
}

/* انیمیشن‌های سفارشی */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-30px,0);
    }
    70% {
        transform: translate3d(0,-15px,0);
    }
    90% {
        transform: translate3d(0,-4px,0);
    }
}

/* کلاس‌های کمکی */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-accent { background: var(--accent); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-end { justify-content: flex-end; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* نمایش اسکلت برای لودینگ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loadingSkeleton 1.5s infinite;
    border-radius: var(--border-radius);
}

@keyframes loadingSkeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 2rem;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 200px;
    margin-bottom: 1rem;
}



/* استایل‌های جدید برای بخش درباره ما */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text {
    padding-right: 2rem;
}

.about-gallery {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.gallery-main {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 4/3;
}

.main-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main:hover .main-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-main:hover .image-overlay {
    opacity: 1;
}

.overlay-content h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumb-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumb-item.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

.thumb-item:hover {
    transform: scale(1.05);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumb-item:hover img {
    transform: scale(1.1);
}

/* استایل‌های موجود قبلی */
.about-subtitle {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.progress-bars {
    margin-top: 2rem;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-header span:first-child {
    font-weight: 600;
    color: var(--dark);
}

.progress-header span:last-child {
    font-weight: 700;
    color: var(--primary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--lighter);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* استایل‌های محصولات - پشتیبانی کامل از تم تاریک و روشن */
.products {
    background: linear-gradient(135deg, var(--light) 0%, var(--lighter) 100%);
    transition: all 0.3s ease;
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--lighter);
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* تم تاریک برای فیلترها */
@media (prefers-color-scheme: dark) {
    .filter-btn {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(255, 255, 255, 0.2);
        color: #e2e8f0;
    }
    
    .filter-btn:hover {
        border-color: var(--primary-light);
        background: rgba(30, 41, 59, 0.9);
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--lighter);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: scale(1);
    border: 1px solid var(--border-light);
}

/* تم تاریک برای کارت محصولات */
@media (prefers-color-scheme: dark) {
    .product-card {
        background: rgba(30, 41, 59, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    }
}

.product-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* تم تاریک برای هاور کارت */
@media (prefers-color-scheme: dark) {
    .product-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.25);
    }
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow);
}

.product-badge.featured {
    background: linear-gradient(135deg, var(--secondary), var(--warning));
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.quick-view {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-view:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* تم تاریک برای دسته‌بندی */
@media (prefers-color-scheme: dark) {
    .product-category {
        color: #60a5fa;
    }
}

.product-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

/* تم تاریک برای عنوان محصول */
@media (prefers-color-scheme: dark) {
    .product-content h3 {
        color: #f1f5f9;
    }
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* تم تاریک برای توضیحات محصول */
@media (prefers-color-scheme: dark) {
    .product-content p {
        color: #cbd5e1;
    }
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* تم تاریک برای مشخصات فنی */
@media (prefers-color-scheme: dark) {
    .product-specs span {
        color: #94a3b8;
    }
}

.product-specs i {
    color: var(--primary);
    width: 16px;
}

/* تم تاریک برای آیکون‌ها */
@media (prefers-color-scheme: dark) {
    .product-specs i {
        color: #60a5fa;
    }
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

/* تم تاریک برای بخش قیمت */
@media (prefers-color-scheme: dark) {
    .product-price {
        background: rgba(15, 23, 42, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
}

.price-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* تم تاریک برای برچسب قیمت */
@media (prefers-color-scheme: dark) {
    .price-label {
        color: #94a3b8;
    }
}

.price-value {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

/* تم تاریک برای مقدار قیمت */
@media (prefers-color-scheme: dark) {
    .price-value {
        color: #10b981;
    }
}

.product-actions {
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* پیام عدم وجود محصول */
.no-products {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--border);
}

.no-products h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.no-products p {
    color: var(--text-light);
}

/* تم تاریک برای پیام عدم وجود محصول */
@media (prefers-color-scheme: dark) {
    .no-products {
        color: #94a3b8;
    }
    
    .no-products i {
        color: rgba(255, 255, 255, 0.3);
    }
    
    .no-products h3 {
        color: #e2e8f0;
    }
    
    .no-products p {
        color: #94a3b8;
    }
}

/* رسپانسیو */
@media (max-width: 768px) {
    .products-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .products-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
}



.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: auto;
    width: auto;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* تم تاریک برای دکمه outline */
@media (prefers-color-scheme: dark) {
    .btn-outline {
        color: #60a5fa;
        border-color: #60a5fa;
    }
    
    .btn-outline:hover {
        background: #60a5fa;
        color: #1e293b;
    }
}





/*---------admin products------------*/

        .admin-header {
            background: #1e293b;
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .admin-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .admin-main {
            padding: 2rem 0;
            min-height: calc(100vh - 120px);
            background: #f8fafc;
        }
        
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .action-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .product-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            overflow: hidden;
            transition: transform 0.3s ease;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
        }
        
        .product-image {
            width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .product-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--secondary);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .product-content {
            padding: 1.5rem;
        }
        
        .product-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }
        
        .product-description {
            color: var(--text-light);
            margin-bottom: 1rem;
            line-height: 1.5;
        }
        
        .product-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }
        
        .product-price {
            font-weight: 600;
            color: var(--primary);
        }
        
        .product-category {
            background: #e2e8f0;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 0.8rem;
        }
        
        .product-actions {
            display: flex;
            gap: 0.5rem;
        }
        
        .btn-sm {
            padding: 6px 12px;
            font-size: 0.85rem;
            border-radius: 6px;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            background: white;
            border-radius: 12px;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .modal-header {
            padding: 1.5rem;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .modal-body {
            padding: 1.5rem;
        }
        
        .modal-footer {
            padding: 1rem 1.5rem;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 0.5rem;
            justify-content: flex-start;
        }
        
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        
        .image-preview {
            width: 100%;
            max-width: 200px;
            height: 150px;
            border: 2px dashed #e2e8f0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin-bottom: 1rem;
        }
        
        .image-preview img {
            max-width: 100%;
            max-height: 100%;
            object-fit: cover;
        }
        
        @media (max-width: 768px) {
            .page-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .products-grid {
                grid-template-columns: 1fr;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
        }
        
        
        
        
        



/* سکشن تیم و هیئت مدیره - نسخه سبک */
/* سکشن تیم و هیئت مدیره - نسخه جمع‌وجور و زیبا */
.team {
    background: linear-gradient(135deg, var(--lighter) 0%, var(--light) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* فیلترهای تیم */
.team-filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--lighter);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.filter-tab > * {
    position: relative;
    z-index: 2;
}

.filter-tab:hover {
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.filter-tab:hover::before {
    opacity: 1;
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.filter-tab.active::before {
    opacity: 1;
}

.filter-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.filter-divider {
    color: var(--border);
}

/* گرید کارت‌های تیم */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* کارت اعضا */
.team-card {
    height: 380px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    border-radius: var(--border-radius-xl);
}

.team-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

.card-front {
    background: var(--lighter);
    display: flex;
    flex-direction: column;
}

.card-back {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* تصویر عضو - بهبود یافته */
.member-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: brightness(0.95);
}

.team-card:hover .member-image img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1rem;
}

.team-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.team-card:hover .overlay-content {
    transform: translateY(0);
}

.experience-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.member-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--secondary), var(--warning));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    z-index: 10;
}

/* اطلاعات عضو */
.member-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.member-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

/* شبکه‌های اجتماعی */
.member-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.member-social .social-link {
    width: 36px;
    height: 36px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.member-social .social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

/* محتوای پشت کارت */
.back-content {
    text-align: right;
    width: 100%;
}

.back-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.back-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.back-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.back-content li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-content li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    font-size: 1rem;
}

/* آمار عضو */
.member-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.stat .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* دکمه‌های عمل */
.team-actions {
    text-align: center;
}

/* انیمیشن‌های سفارشی */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card {
    animation: fadeInUp 0.6s ease forwards;
}

.team-card:nth-child(2) {
    animation-delay: 0.1s;
}

.team-card:nth-child(3) {
    animation-delay: 0.2s;
}

.team-card:nth-child(4) {
    animation-delay: 0.3s;
}

.team-card:nth-child(5) {
    animation-delay: 0.4s;
}

.team-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* رسپانسیو */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }
    
    .team-filter-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .team-card {
        height: 360px;
    }
    
    .member-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .team {
        padding: 3rem 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        gap: 1.5rem;
    }
    
    .team-card {
        height: 340px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .member-image {
        height: 180px;
    }
    
    .member-info {
        padding: 1.25rem;
    }
    
    .back-content {
        padding: 1.25rem;
    }
    
    .member-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .team-filter-wrapper {
        padding: 1rem;
    }
    
    .filter-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-tab {
        width: 100%;
        justify-content: center;
    }
    
    .team-card {
        height: 320px;
    }
    
    .member-image {
        height: 160px;
    }
}

/* پشتیبانی از تم تاریک */
@media (prefers-color-scheme: dark) {
    .team {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    }
    
    .team-filter-wrapper {
        background: rgba(30, 41, 59, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .filter-tab {
        background: rgba(15, 23, 42, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #cbd5e1;
    }
    
    .card-front {
        background: rgba(30, 41, 59, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .member-info h3 {
        color: #f1f5f9;
    }
    
    .member-info p {
        color: #cbd5e1;
    }
    
    .member-social .social-link {
        background: rgba(15, 23, 42, 0.7);
        color: #60a5fa;
    }
    
    .member-social .social-link:hover {
        background: #60a5fa;
        color: #1e293b;
    }
    
    .experience-badge {
        background: rgba(15, 23, 42, 0.8);
        color: #60a5fa;
    }
}



/* بخش‌های اضافه شده برای مدیریت کاربران */

/* استایل‌های کلی برای تم تاریک */
body.dark-mode .card,
body.dark-mode .modal-content,
body.dark-mode .table-container {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode th,
body.dark-mode td {
    border-color: #334155 !important;
}

body.dark-mode .form-control {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .btn-light {
    background: #334155 !important;
    color: #e2e8f0 !important;
}

/* انیمیشن‌های اضافه */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* استایل برای آواتار کاربر */
.user-avatar-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* استایل برای وضعیت‌ها */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 5px;
}

.status-dot.active {
    background: #10b981;
}

.status-dot.inactive {
    background: #ef4444;
}

/* استایل برای جدول پیشرفته */
.table-hover tbody tr {
    transition: all 0.2s ease;
}

.table-hover tbody tr:hover {
    background: rgba(37, 99, 235, 0.05) !important;
}

/* استایل برای مودال‌ها */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* استایل برای فرم‌ها */
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

/* استایل برای دکمه‌ها */
.btn {
    transition: all 0.2s ease;
}

.btn:active {
    transform: scale(0.98);
}

/* استایل برای کارت‌ها */
.card-hover {
    transition: all 0.3s ease;
}

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