﻿/* ============================================
           ABOUT — صفحه درباره ما
           ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    direction: rtl;
    padding: 20px;
    min-height: 100vh;
}

/* ============================================
           BREADCRUMB
           ============================================ */
.breadcrumb-section {
    background: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

    .breadcrumb-section a {
        color: #003366;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .breadcrumb-section a:hover {
            color: #F4B400;
        }

    .breadcrumb-section .separator {
        color: #d1d5db;
    }

    .breadcrumb-section .current {
        color: #6b7280;
        font-size: 0.9rem;
    }

/* ============================================
           ABOUT HEADER
           ============================================ */
.about-header {
    text-align: center;
    padding: 40px 20px 30px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

    .about-header .header-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #003366, #0a4d8c);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #F4B400;
        font-size: 2rem;
        margin: 0 auto 16px;
        box-shadow: 0 8px 30px rgba(0, 51, 102, 0.2);
    }

    .about-header h1 {
        font-weight: 800;
        font-size: 2rem;
        color: #003366;
        margin-bottom: 6px;
    }

        .about-header h1 span {
            color: #F4B400;
        }

    .about-header p {
        color: #6b7280;
        font-size: 1.05rem;
        max-width: 600px;
        margin: 0 auto;
    }

/* ============================================
           ABOUT STORY
           ============================================ */
.about-story {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 40px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

    .about-story .story-text {
        flex: 1.5;
        min-width: 300px;
    }

        .about-story .story-text .story-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 16px;
            border-radius: 50px;
            background: rgba(244, 180, 0, 0.12);
            color: #F4B400;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .about-story .story-text h2 {
            font-weight: 800;
            font-size: 1.8rem;
            color: #003366;
            margin-bottom: 12px;
        }

            .about-story .story-text h2 span {
                color: #F4B400;
            }

        .about-story .story-text p {
            color: #6b7280;
            font-size: 1rem;
            line-height: 1.9;
            margin-bottom: 14px;
        }

        .about-story .story-text .signature {
            font-size: 0.9rem;
            color: #003366;
            font-weight: 600;
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .about-story .story-text .signature i {
                color: #F4B400;
            }

    .about-story .story-image {
        flex: 1;
        min-width: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .about-story .story-image img {
            width: 100%;
            max-height: 350px;
            border-radius: 12px;
            object-fit: cover;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        }

/* ============================================
           VALUES
           ============================================ */
.values-section {
    margin-bottom: 30px;
}

    .values-section .section-title {
        text-align: center;
        margin-bottom: 24px;
    }

        .values-section .section-title h2 {
            font-weight: 800;
            font-size: 1.8rem;
            color: #003366;
        }

            .values-section .section-title h2 span {
                color: #F4B400;
            }

        .values-section .section-title p {
            color: #6b7280;
            font-size: 0.95rem;
        }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.value-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 22px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.5s cubic-bezier(.34, 1.56, .64, 1);
}

    .value-card:hover {
        transform: translateY(-8px);
        border-color: #F4B400;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    }

    .value-card .value-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        background: rgba(244, 180, 0, 0.1);
        color: #F4B400;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        margin: 0 auto 14px;
        transition: all 0.5s ease;
    }

    .value-card:hover .value-icon {
        background: linear-gradient(135deg, #F4B400, #d49d00);
        color: #003366;
        transform: scale(1.05) rotate(-4deg);
    }

    .value-card h4 {
        font-weight: 700;
        color: #003366;
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .value-card p {
        color: #6b7280;
        font-size: 0.9rem;
        line-height: 1.7;
    }

/* ============================================
           TIMELINE
           ============================================ */
.timeline-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 36px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

    .timeline-section .section-title {
        text-align: center;
        margin-bottom: 28px;
    }

        .timeline-section .section-title h2 {
            font-weight: 800;
            font-size: 1.8rem;
            color: #003366;
        }

            .timeline-section .section-title h2 span {
                color: #F4B400;
            }

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-right: 30px;
}

    .timeline::before {
        content: '';
        position: absolute;
        right: 8px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #e5e7eb;
        border-radius: 3px;
    }

.timeline-item {
    position: relative;
    padding-bottom: 28px;
    padding-right: 28px;
}

    .timeline-item:last-child {
        padding-bottom: 0;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        right: -22px;
        top: 6px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #ffffff;
        border: 3px solid #F4B400;
        box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.1);
        transition: all 0.3s ease;
    }

    .timeline-item:hover::before {
        background: #F4B400;
        box-shadow: 0 0 0 6px rgba(244, 180, 0, 0.15);
    }

    .timeline-item .tl-year {
        font-weight: 800;
        color: #F4B400;
        font-size: 1.1rem;
        margin-bottom: 2px;
    }

    .timeline-item .tl-title {
        font-weight: 700;
        color: #003366;
        font-size: 1rem;
    }

    .timeline-item .tl-desc {
        color: #6b7280;
        font-size: 0.9rem;
        line-height: 1.7;
    }

/* ============================================
           TEAM
           ============================================ */
.team-section {
    margin-bottom: 30px;
}

    .team-section .section-title {
        text-align: center;
        margin-bottom: 24px;
    }

        .team-section .section-title h2 {
            font-weight: 800;
            font-size: 1.8rem;
            color: #003366;
        }

            .team-section .section-title h2 span {
                color: #F4B400;
            }

        .team-section .section-title p {
            color: #6b7280;
            font-size: 0.95rem;
        }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.team-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 18px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.5s cubic-bezier(.34, 1.56, .64, 1);
}

    .team-card:hover {
        transform: translateY(-6px);
        border-color: #F4B400;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    }

    .team-card .team-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, #003366, #0a4d8c);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 2rem;
        margin: 0 auto 12px;
        border: 3px solid #F4B400;
    }

    .team-card .team-name {
        font-weight: 700;
        color: #003366;
        font-size: 1.05rem;
    }

    .team-card .team-role {
        color: #9ca3af;
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .team-card .team-social {
        display: flex;
        justify-content: center;
        gap: 8px;
    }

        .team-card .team-social a {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #f0f2f5;
            color: #6b7280;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

            .team-card .team-social a:hover {
                background: #003366;
                color: #fff;
                transform: scale(1.05);
            }

/* ============================================
           STATS
           ============================================ */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.stat-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 16px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.5s cubic-bezier(.34, 1.56, .64, 1);
}

    .stat-item:hover {
        transform: translateY(-4px);
        border-color: #F4B400;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    .stat-item .stat-number {
        font-size: 1.5rem;
        font-weight: 900;
        color: #003366;
        line-height: 1.2;
    }

        .stat-item .stat-number span {
            color: #F4B400;
        }

    .stat-item .stat-label {
        color: #6b7280;
        font-size: 0.8rem;
        margin-top: 2px;
    }

/* ============================================
           CTA
           ============================================ */
.cta-section {
    background: linear-gradient(135deg, #003366, #0a4d8c);
    border-radius: 16px;
    padding: 40px 45px;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 25px rgba(0, 51, 102, 0.2);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -20%;
        width: 50%;
        height: 200%;
        background: radial-gradient(circle, rgba(244, 180, 0, 0.06), transparent 60%);
        pointer-events: none;
    }

    .cta-section h2 {
        font-weight: 800;
        font-size: 1.8rem;
        margin-bottom: 4px;
        position: relative;
        z-index: 2;
    }

        .cta-section h2 span {
            color: #F4B400;
        }

    .cta-section p {
        opacity: 0.8;
        font-size: 1rem;
        margin-bottom: 20px;
        position: relative;
        z-index: 2;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-section .cta-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        position: relative;
        z-index: 2;
    }

        .cta-section .cta-buttons a {
            padding: 12px 32px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.95rem;
            font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .cta-section .cta-buttons .btn-gold {
            background: linear-gradient(135deg, #F4B400, #d49d00);
            color: #003366;
            box-shadow: 0 4px 20px rgba(244, 180, 0, 0.25);
        }

            .cta-section .cta-buttons .btn-gold:hover {
                transform: translateY(-3px);
                box-shadow: 0 8px 30px rgba(244, 180, 0, 0.35);
            }

        .cta-section .cta-buttons .btn-outline {
            background: transparent;
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

            .cta-section .cta-buttons .btn-outline:hover {
                border-color: #F4B400;
                color: #F4B400;
                transform: translateY(-3px);
            }

/* ============================================
           RESPONSIVE
           ============================================ */
@media (max-width: 992px) {
    .about-story {
        flex-direction: column;
        padding: 28px 30px;
    }

        .about-story .story-image img {
            max-height: 250px;
        }

    .timeline-section {
        padding: 24px 28px;
    }

    .stats-section {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .about-header {
        padding: 30px 16px 24px;
    }

        .about-header h1 {
            font-size: 1.5rem;
        }

        .about-header p {
            font-size: 0.95rem;
        }

    .about-story {
        padding: 20px 22px;
    }

        .about-story .story-text h2 {
            font-size: 1.3rem;
        }

        .about-story .story-text p {
            font-size: 0.9rem;
        }

    .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .timeline-section {
        padding: 18px 20px;
    }

        .timeline-section .section-title h2 {
            font-size: 1.3rem;
        }

    .stats-section {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }

    .stat-item .stat-number {
        font-size: 1.6rem;
    }

    .cta-section {
        padding: 30px 24px;
    }

        .cta-section h2 {
            font-size: 1.3rem;
        }

        .cta-section .cta-buttons a {
            width: 100%;
            justify-content: center;
        }

    .breadcrumb-section {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .about-header h1 {
        font-size: 1.2rem;
    }

    .about-header .header-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .about-story {
        padding: 14px 16px;
    }

        .about-story .story-text h2 {
            font-size: 1.1rem;
        }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .value-card {
        padding: 16px 14px;
    }

        .value-card .value-icon {
            width: 48px;
            height: 48px;
            font-size: 1.2rem;
        }

        .value-card h4 {
            font-size: 0.9rem;
        }

        .value-card p {
            font-size: 0.8rem;
        }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .team-card {
        padding: 16px 12px;
    }

        .team-card .team-avatar {
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
        }

        .team-card .team-name {
            font-size: 0.9rem;
        }

        .team-card .team-role {
            font-size: 0.75rem;
        }

    .timeline-section {
        padding: 14px 16px;
    }

    .timeline {
        padding-right: 20px;
    }

    .timeline-item {
        padding-right: 20px;
        padding-bottom: 20px;
    }

        .timeline-item::before {
            right: -16px;
            width: 12px;
            height: 12px;
        }

    .timeline::before {
        right: 4px;
    }

    .timeline-item .tl-year {
        font-size: 0.95rem;
    }

    .timeline-item .tl-title {
        font-size: 0.9rem;
    }

    .timeline-item .tl-desc {
        font-size: 0.85rem;
    }

    .stats-section {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-item {
        padding: 16px 12px;
    }

        .stat-item .stat-number {
            font-size: 1.3rem;
        }

        .stat-item .stat-label {
            font-size: 0.8rem;
        }

    .cta-section {
        padding: 24px 16px;
    }

        .cta-section h2 {
            font-size: 1.1rem;
        }

        .cta-section p {
            font-size: 0.85rem;
        }

        .cta-section .cta-buttons a {
            font-size: 0.85rem;
            padding: 10px 20px;
        }

    .breadcrumb-section {
        font-size: 0.7rem;
        padding: 8px 12px;
        gap: 6px;
    }

        .breadcrumb-section .separator {
            display: none;
        }

    .values-section .section-title h2 {
        font-size: 1.3rem;
    }

    .team-section .section-title h2 {
        font-size: 1.3rem;
    }

    .timeline-section .section-title h2 {
        font-size: 1.3rem;
    }
}

/* ============================================
           SCROLLBAR
           ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f2f5;
}

::-webkit-scrollbar-thumb {
    background: #F4B400;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #d49d00;
    }
