﻿@font-face {
    font-family: 'peyda';
    src: url('../font/peyda-black[@mimvid].ttf') format('truetype');
}

@font-face {
    font-family: 'Peyda-Medium';
    src: url('../font/Peyda-Medium.ttf') format('truetype');
}
:root {
    --navy-900: #020617;
    --navy-800: #0b1220;
    --navy-700: #0f172a;
    --navy-600: #1e293b;
    --navy-soft: #f1f5f9;
    --accent: #fbbf24;
    --accent-soft: rgba(251,191,36,0.06);
    --border: #e2e8f0;
    --radius-lg: 18px;
    --radius-xl: 22px;
    --shadow-card: 0 20px 45px rgba(15,23,42,0.09);
    --transition: 220ms ease;
}

body {
    font-family: peyda;
    color: #0f172a;
    line-height: 1.7;
}

.about-page {
    min-height: 100vh;
    padding: 40px 14px 60px;
}

.about-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
}

.about-inner {
    padding: 28px 20px 34px;
}

@media (min-width: 960px) {
    .about-inner {
        padding: 36px 40px 44px;
    }
}

/* ------------------ سکشن‌ها ------------------ */

.section {
    margin-bottom: 40px;
}

    .section:last-of-type {
        margin-bottom: 0;
    }

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.section-eyebrow {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .section-eyebrow span.icon {
        width: 26px;
        height: 26px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: var(--accent-soft);
        color: #f59e0b;
        font-size: 14px;
    }

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-700);
    margin-top: 4px;
}

@media (min-width: 960px) {
    .section-title {
        font-size: 22px;
    }
}

.section-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

/* ------------------ سکشن هِرو / درباره ما ------------------ */

.hero-card {
    background: #ffffff;
    border-radius: 26px;
    box-shadow: var(--shadow-card);
    padding: 18px 18px 24px;
    margin-bottom: 32px;
    border: 1px solid rgba(148,163,184,0.35);
}

.hero-photo-main {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 18px;
}

    .hero-photo-main img {
        width: 100%;
        display: block;
        object-fit: cover;
        max-height: 320px;
    }

.hero-bottom-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 3fr);
    gap: 16px;
    align-items: flex-start;
}

.hero-photo-small {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 35px rgba(15,23,42,0.2);
}

    .hero-photo-small img {
        width: 100%;
        display: block;
        object-fit: cover;
        height: 260px;
    }

.about-text-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-700);
}

.about-paragraph {
    font-size: 13.5px;
    color: #4b5563;
}

    .about-paragraph strong {
        color: var(--navy-700);
    }

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.about-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px dashed rgba(148,163,184,0.7);
    background: #f8fafc;
    color: #64748b;
}

@media (max-width: 720px) {
    .hero-bottom-row {
        grid-template-columns: 1fr;
    }

    .hero-photo-main img {
        max-height: 260px;
    }
}

/* ------------------ تجربه‌ها / خدمات ------------------ */

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.exp-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 16px 14px;
    box-shadow: 0 16px 34px rgba(15,23,42,0.08);
    border: 1px solid rgba(148,163,184,0.35);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exp-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: #f59e0b;
    font-size: 16px;
}

.exp-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-700);
}

.exp-text {
    font-size: 12.5px;
    color: #6b7280;
}

@media (max-width: 900px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------ تایم‌لاین سال شروع ------------------ */

.timeline-split {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 22px 18px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(148,163,184,0.4);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
    margin-top: 4px;
}

@media (max-width: 960px) {
    .timeline-split {
        grid-template-columns: 1.2fr minmax(0, 1.5fr);
        grid-template-rows: auto auto;
    }

    .timeline-col.center {
        grid-column: 1 / -1;
        order: -1;
        justify-self: center;
    }
}

@media (max-width: 720px) {
    .timeline-split {
        grid-template-columns: 1fr;
    }

    .timeline-col.center {
        order: -1;
    }
}

.timeline-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.timeline-badge {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid rgba(148,163,184,0.7);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-700);
    background: #f9fafb;
}

.timeline-item-body {
    font-size: 12.8px;
    color: #4b5563;
}

    .timeline-item-body .label {
        font-weight: 700;
        color: var(--navy-700);
        margin-bottom: 2px;
    }

.timeline-center-card {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15,23,42,0.3);
    position: relative;
}

    .timeline-center-card img {
        display: block;
        width: 100%;
        object-fit: cover;
        max-height: 260px;
    }

.timeline-center-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15,23,42,0.82);
    color: #e5e7eb;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .timeline-center-tag span.dot {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: var(--accent);
    }

/* ------------------ مسیر رشد / milestones ------------------ */

.milestones-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 20px 18px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(148,163,184,0.4);
}

.milestones-track {
    position: relative;
    margin-top: 10px;
    padding-top: 20px;
    padding-bottom: 4px;
    overflow-x: auto;
}

.milestones-line {
    position: relative;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0ea5e9, #facc15, #22c55e);
    margin-inline: 10px;
}

.milestones-list {
    display: flex;
    gap: 26px;
    padding-top: 18px;
    padding-bottom: 4px;
    min-width: max-content;
}

.milestone {
    min-width: 150px;
    max-width: 180px;
    position: relative;
}

.milestone-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 3px solid #f8fafc;
    background: #0f172a;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.4);
    position: absolute;
    top: -26px;
    right: 16px;
}

.milestone-year {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.milestone-title {
    font-size: 12.6px;
    color: #111827;
    margin-bottom: 2px;
}

.milestone-text {
    font-size: 11.6px;
    color: #6b7280;
}

/* ------------------ اعتماد شما / مدارک ------------------ */

.trust-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 20px 18px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(148,163,184,0.4);
}

.trust-subtitle {
    font-size: 12.8px;
    color: #6b7280;
    margin-bottom: 16px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.cert-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(148,163,184,0.7);
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    font-size: 11px;
    color: #4b5563;
    box-shadow: 0 10px 22px rgba(15,23,42,0.06);
}

    .cert-card span.label {
        font-weight: 600;
        color: #0f172a;
    }

.cert-logo {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.9);
    display: grid;
    place-items: center;
    font-size: 12px;
    margin-bottom: 3px;
    background: radial-gradient(circle at 0 0, rgba(251,191,36,0.2), transparent), #ffffff;
}

@media (max-width: 960px) {
    .cert-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.trust-footer {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148,163,184,0.7);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    font-size: 11.8px;
    color: #6b7280;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #92400e;
    font-size: 11.4px;
}

    .trust-badge span.dot {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #f97316;
    }

/* ------------------ انیمیشن اسکرول ------------------ */

[data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms var(--transition), transform 700ms var(--transition);
}

    [data-animate].in-view {
        opacity: 1;
        transform: translateY(0);
    }
