/* ==================== RESET & BASE ==================== */
@font-face {
    font-family: "dana-fanum-regular";
    src: url('../font/dana-fanum-regular.woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "dana-fanum-regular", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fafafc;
    color: #1a1a1a;
    line-height: 1.6;
    scroll-behavior: smooth;
}

:root {
    --main-color-one: #f9ae13;
    --main-color-one-dark: #d18f00;
    --dark-bg: #101218;
    --dark-card: #1a1e26;
    --gray-border: #eef2f6;
    --text-muted: #6c7a8a;
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== هدر ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-top {
    background: #101218;
    color: #adb7c2;
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info i {
    color: var(--main-color-one);
    margin-left: 8px;
}

.contact-info .sep {
    margin: 0 10px;
    opacity: 0.3;
}

.header-main {
    padding: 15px 0;
}

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

/* ==================== صفحه درباره ما ==================== */
.about-page {
    margin-top: 145px;
}

/* بخش Hero */
.about-hero {
    background: linear-gradient(135deg, #101218 0%, #1a1f2e 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 174, 19, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 174, 19, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(249, 174, 19, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.about-hero-badge span {
    color: var(--main-color-one);
    font-size: 0.85rem;
    font-weight: 600;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero h1 span {
    color: var(--main-color-one);
}

.about-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* بخش داستان ما */
.story-section {
    padding: 80px 0;
    margin-top:6rem;
}

.story-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.03);
}

.story-image-badge {
    bottom: -20px;
    right: 30px;
    background: var(--main-color-one);
    color: #000;
    padding: 15px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(249, 174, 19, 0.3);
}

.story-image-badge .year {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.story-image-badge .text {
    font-size: 0.7rem;
    font-weight: 600;
}

.story-content .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-badge .line {
    width: 40px;
    height: 2px;
    background: var(--main-color-one);
}

.section-badge span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--main-color-one);
    letter-spacing: 1px;
}

.story-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.story-content h2 span {
    color: var(--main-color-one);
}

.story-content p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 25px;
    text-align: justify;
}

/* آمارها */
.stats-section {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 30px 20px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--main-color-one);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(249, 174, 19, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--main-color-one);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--main-color-one);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ارزش‌های ما */
.values-section {
    padding: 10px 0;
}

.section-header {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 50px !important;
}

.section-header .section-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.section-header h2 {
    font-size: 2rem !important;
    font-weight: 800 !important; 
    margin-bottom: 15px !important;
}

.section-header h2 span {
    color: var(--main-color-one) !important;
}

.section-header p {
    color: var(--text-muted) !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--main-color-one);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--main-color-one), var(--main-color-one-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 2rem;
    color: #000;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* تیم ما */
.team-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--main-color-one);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 50%;
    height: 75%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.team-info .position {
    color: var(--main-color-one);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-info .bio {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.6;
}

/* گواهینامه‌ها */
.certificates-section {
    padding: 60px 0;
    background: white;
}

.certificates-slider {
    overflow: hidden;
    padding: 20px 0;
}

.certificate-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fc;
    border-radius: 20px;
    border: 1px solid var(--gray-border);
}

.certificate-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.certificate-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

/* CTA بخش */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #101218 0%, #1a1f2e 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 174, 19, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--main-color-one);
    border-radius: 50px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--main-color-one-dark);
    gap: 14px;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--main-color-one);
    border-radius: 50px;
    font-weight: 700;
    color: var(--main-color-one);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--main-color-one);
    color: #000;
    gap: 14px;
    transform: translateY(-2px);
}

/* فوتر */
.footer-custom {
    background: var(--dark-bg);
    color: #adb7c2;
    padding: 60px 0 30px;
    border-radius: 40px 40px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
}

.social-icons {
    margin-top: 25px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    transition: 0.3s;
    color: white;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--main-color-one);
    color: black;
}

.footer-links a {
    color: #adb7c2;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--main-color-one);
    padding-right: 5px;
}

hr {
    margin: 40px 0 20px;
    opacity: 0.2;
}

.copyright {
    text-align: center;
    margin-top: 20px;
}

/* واکنش‌گرایی */
@media (max-width: 992px) {
    .story-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-page {
        margin-top: 120px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .stats-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .story-image img {
        height: 280px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .value-icon {
        width: 60px;
        height: 60px;
    }

    .value-icon i {
        font-size: 1.5rem;
    }
}