/* ===== متغیرها ===== */
:root {
    --about-primary: #4D96FF;
    --about-primary-dark: #2563EB;
    --about-dark: #1e293b;
    --about-dark-light: #334155;
    --about-text: #475569;
    --about-text-light: #64748b;
    --about-bg: #f8fafc;
    --about-white: #ffffff;
    --about-border: #f1f5f9;
    --about-shadow: 0 10px 40px rgba(0,0,0,0.03);
    --about-shadow-hover: 0 20px 40px rgba(77,150,255,0.1);
}

/* ===== فونت ===== */
body {
    font-family: 'vazir', sans-serif !important;
}

/* ===== هدر ===== */
.about-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(77,150,255,0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.about-header::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(108,92,231,0.2) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    border-radius: 50%;
    animation: float 25s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.logo-circle i {
    font-size: 2rem;
    color: #4D96FF;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    color: #94a3b8;
    font-size: 0.9rem;
}

.back-home {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.back-home:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(-5px);
}

/* ===== محتوای اصلی ===== */
.about-content {
    padding: 60px 0;
    background: var(--about-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--about-dark);
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--about-primary);
    border-radius: 2px;
}

.about-text h2 span {
    color: var(--about-primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--about-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===== آمار ===== */
.stats-box {
    background: var(--about-white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--about-shadow);
    border: 1px solid var(--about-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--about-primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--about-text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== ویژگی‌ها ===== */
.features-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    color: var(--about-dark);
}

.section-title span {
    color: var(--about-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--about-white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--about-border);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--about-shadow-hover);
    border-color: var(--about-primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #eff6ff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--about-primary);
    font-size: 2rem;
    transition: all 0.4s;
}

.feature-card:hover .feature-icon {
    background: var(--about-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--about-dark);
}

.feature-card p {
    color: var(--about-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== تیم ===== */
.team-section {
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--about-white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--about-border);
    transition: all 0.4s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--about-shadow-hover);
}

.team-image {
    height: 200px;
    background: linear-gradient(135deg, var(--about-primary), #6C5CE7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.team-info {
    padding: 20px;
    text-align: center;
}
.team-info span { color: var(--primary); }
.team-info h4 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--about-dark);
}

.team-info p {
    color: var(--about-text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--about-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.team-social a:hover {
    background: var(--about-primary);
    color: white;
}

/* ===== تماس ===== */
.contact-section {
    background: var(--about-white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--about-shadow);
    border: 1px solid var(--about-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--about-dark);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--about-border);
    transition: 0.3s;
}

.contact-item:hover {
    background: #eff6ff;
    border-color: var(--about-primary);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--about-primary);
    font-size: 1.2rem;
}

.contact-item span {
    font-weight: 500;
    color: var(--about-dark);
}

.social-box {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    background: #f8fafc;
    color: var(--about-text-light);
    border: 1px solid var(--about-border);
}

.social-btn:hover {
    transform: translateY(-5px);
    color: white;
    border-color: transparent;
}

.telegram:hover { background: #229ED9; }
.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.whatsapp:hover { background: #25D366; }
.aparat:hover { background: #EA1D5D; }
.bale:hover { background: #30A66C; }
.rubika:hover { background: #71249C; }

.map-container {
    margin-top: 30px;
}

.map-frame {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--about-border);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== فوتر ===== */
.about-footer {
    background: var(--about-dark);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 900px) {
    .about-grid,
    .features-grid,
    .team-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-section {
        padding: 25px;
    }
}
/* اسکرول بار کل صفحه */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #4D96FF;
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* برای فایرفاکس */
* {
    scrollbar-width: thin;
    scrollbar-color: #4D96FF #f1f5f9;
}
/* اسکرول با رنگ‌های مختلف برای بخش‌های مختلف */
.dark-scroll::-webkit-scrollbar-thumb {
    background: #1e293b;
}

.gradient-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4D96FF, #6C5CE7);
}

/* اسکرول با گوشه‌های نرم‌تر */
.rounded-scroll::-webkit-scrollbar {
    width: 12px;
}

.rounded-scroll::-webkit-scrollbar-thumb {
    background: #4D96FF;
    border-radius: 20px;
    border: 3px solid #f1f5f9;
}