/* ==================== استایل‌های صفحه درباره ما ==================== */

/* کانتینر اصلی صفحه */
.about-page {
    direction: rtl;
    text-align: right;
    font-family: 'yekanbakh', 'IRANSans', 'Vazir', Tahoma, sans-serif;
}

/* ==================== انیمیشن‌های عمومی ==================== */
.about-page .animate__tpfadeUp {
    animation-name: about-tpfadeUp;
}

@keyframes about-tpfadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes about-pulse-slow {
    0%, 100% { 
        opacity: 0.5; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05); 
    }
}

.about-page .animate__pulse-slow {
    animation: about-pulse-slow 3s ease-in-out infinite;
}

@keyframes about-fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.about-page .animate__fadeInLeft {
    animation-name: about-fadeInLeft;
}

@keyframes about-fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.about-page .animate__fadeInRight {
    animation-name: about-fadeInRight;
}

@keyframes about-fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.about-page .animate__fadeInUp {
    animation-name: about-fadeInUp;
}

/* اسکرول صاف */
html {
    scroll-behavior: smooth;
}

/* ==================== بک‌گراند‌های داینامیک ==================== */
.about-page .bg-blur-top {
    width: 300px;
    height: 200px;
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    filter: blur(200px);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

@media (min-width: 1024px) {
    .about-page .bg-blur-top {
        width: 500px;
        height: 400px;
    }
}

.about-page .bg-blur-bottom {
    width: 300px;
    height: 200px;
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    bottom: 0;
    right: 0;
    filter: blur(200px);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(249, 115, 22, 0.08) 100%);
}

@media (min-width: 1024px) {
    .about-page .bg-blur-bottom {
        width: 500px;
        height: 400px;
    }
}

/* ==================== استایل هدر ==================== */
.about-page .about-header {
    background: linear-gradient(135deg, #eab308 0%, #f97316 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

@media (min-width: 1024px) {
    .about-page .about-header {
        padding: 4rem 0;
    }
}

.about-page .about-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: about-header-shine 3s ease-in-out infinite;
}

@keyframes about-header-shine {
    0%, 100% { 
        transform: translate(-30%, -30%); 
    }
    50% { 
        transform: translate(-20%, -20%); 
    }
}

.about-page .about-header-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .about-page .about-header-title {
        font-size: 2.25rem;
    }
}

.about-page .about-header-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 36rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-page .about-header-divider {
    width: 6rem;
    height: 0.25rem;
    background: rgba(255, 255, 255, 0.5);
    margin: 1.5rem auto 0;
    border-radius: 9999px;
}

/* ==================== استایل بخش هدر ==================== */
.about-page .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-page .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .about-page .section-title {
        font-size: 2.5rem;
    }
}

.about-page .section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.about-page .section-divider {
    width: 6rem;
    height: 0.25rem;
    margin: 1rem auto 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #eab308 0%, #f97316 100%);
}

/* ==================== استایل آمارها ==================== */
.about-page .stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .about-page .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.about-page .stat-item {
    text-align: center;
}

.about-page .stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    color: #eab308;
}

@media (min-width: 768px) {
    .about-page .stat-number {
        font-size: 2.5rem;
    }
}

.about-page .stat-item:hover .stat-number {
    transform: scale(1.1);
}

.about-page .stat-label {
    color: #64748b;
    font-size: 0.9375rem;
}

/* ==================== استایل تصویر هیرو ==================== */
.about-page .hero-image-wrapper {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    height: 400px;
    border: 4px solid white;
    transition: all 0.3s ease;
}

.about-page .hero-image-wrapper:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .about-page .hero-image-wrapper {
        height: 500px;
    }
}

.about-page .hero-image-container {
    width: 100%;
    height: 100%;
}

.about-page .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-page .hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

/* ==================== استایل کارت‌های مأموریت و چشم‌انداز ==================== */
.about-page .mission-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.about-page .mission-card:hover {
    box-shadow: 0 25px 30px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.about-page .card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

.about-page .card-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #eab308;
}

.about-page .mission-card:hover .card-icon {
    transform: scale(1.1);
}

.about-page .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.about-page .card-description {
    color: #64748b;
    line-height: 1.625;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.about-page .card-image {
    border-radius: 0.75rem;
    height: 12rem;
    overflow: hidden;
}

.about-page .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-page .mission-card:hover .card-image img {
    transform: scale(1.05);
}

/* ==================== استایل کارت‌های ارزش‌ها ==================== */
.about-page .value-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-align: center;
}

.about-page .value-card:hover {
    box-shadow: 0 25px 30px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.about-page .value-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

.about-page .value-icon svg {
    width: 2rem;
    height: 2rem;
    color: #eab308;
}

.about-page .value-card:hover .value-icon {
    transform: scale(1.1);
}

.about-page .value-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.about-page .value-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.625;
}

/* ==================== استایل کارت تیم ==================== */
.about-page .team-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.about-page .team-card:hover {
    box-shadow: 0 25px 30px -12px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.about-page .team-image {
    height: 20rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .about-page .team-image {
        height: 24rem;
    }
}

.about-page .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-page .team-card:hover .team-image img {
    transform: scale(1.05);
}

.about-page .team-info {
    padding: 2rem;
    text-align: center;
}

.about-page .team-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.about-page .team-role {
    font-size: 1.125rem;
    font-weight: 500;
    color: #eab308;
    margin-bottom: 1rem;
}

.about-page .team-description {
    color: #64748b;
    line-height: 1.625;
    font-size: 0.9375rem;
}

/* ==================== استایل تایم‌لاین ==================== */
.about-page .timeline-container {
    max-width: 56rem;
    margin: 0 auto;
}

.about-page .timeline-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .about-page .timeline-item {
        flex-direction: row;
        gap: 2rem;
    }
}

.about-page .timeline-year {
    flex: 1;
    text-align: right;
}

@media (min-width: 768px) {
    .about-page .timeline-year {
        text-align: left;
    }
}

.about-page .year-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    color: #eab308;
    transition: all 0.3s ease;
}

.about-page .year-badge:hover {
    transform: scale(1.05);
}

.about-page .timeline-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
}

.about-page .timeline-content {
    flex: 2;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.about-page .timeline-content:hover {
    box-shadow: 0 25px 30px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.about-page .timeline-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.625;
    font-size: 0.9375rem;
}

.about-page .timeline-icon {
    border-radius: 0.75rem;
    height: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
    border: 1px solid rgba(234, 179, 8, 0.1);
    transition: all 0.3s ease;
}

.about-page .timeline-icon:hover {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

.about-page .timeline-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: rgba(234, 179, 8, 0.4);
    margin-bottom: 0.75rem;
}

.about-page .timeline-icon-text {
    color: #64748b;
    font-size: 0.875rem;
}

/* ==================== استایل CTA ==================== */
.about-page .cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #eab308 0%, #f97316 100%);
    position: relative;
    overflow: hidden;
}

.about-page .cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: about-cta-shine 4s ease-in-out infinite;
}

@keyframes about-cta-shine {
    0%, 100% { 
        transform: translate(-30%, -30%); 
    }
    50% { 
        transform: translate(-20%, -20%); 
    }
}

@media (min-width: 768px) {
    .about-page .cta-section {
        padding: 6rem 0;
    }
}

.about-page .cta-content {
    position: relative;
    z-index: 1;
}

.about-page .cta-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
}

@media (min-width: 768px) {
    .about-page .cta-title {
        font-size: 2.25rem;
    }
}

.about-page .cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.about-page .cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: white;
    color: #eab308;
    font-weight: bold;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    gap: 0.5rem;
    font-size: 1rem;
}

.about-page .cta-btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    color: #eab308;
    text-decoration: none;
}

.about-page .cta-btn-primary:active {
    transform: scale(0.98);
}

.about-page .cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 0.5rem;
    font-size: 1rem;
}

.about-page .cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.about-page .cta-btn-secondary:active {
    transform: scale(0.98);
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .about-page .about-header {
        padding: 2rem 0;
    }

    .about-page .about-header-title {
        font-size: 1.5rem;
    }

    .about-page .section-header {
        margin-bottom: 2.5rem;
    }

    .about-page .section-title {
        font-size: 1.5rem;
    }

    .about-page .hero-image-wrapper {
        height: 300px;
    }

    .about-page .mission-card {
        padding: 1.5rem;
    }

    .about-page .card-title {
        font-size: 1.25rem;
    }

    .about-page .team-image {
        height: 15rem;
    }

    .about-page .team-info {
        padding: 1.5rem;
    }

    .about-page .cta-section {
        padding: 3rem 0;
    }

    .about-page .cta-title {
        font-size: 1.5rem;
    }

    .about-page .timeline-item {
        gap: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about-page .hero-image-wrapper {
        height: 400px;
    }
}

/* ==================== Print Styles ==================== */
@media print {
    .about-page .about-header,
    .about-page .cta-section,
    .about-page .bg-blur-top,
    .about-page .bg-blur-bottom {
        display: none;
    }

    .about-page .mission-card,
    .about-page .value-card,
    .about-page .team-card,
    .about-page .timeline-content {
        box-shadow: none;
        border: 1px solid #e2e8f0;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .about-page .hero-image-wrapper {
        box-shadow: none;
        border: 2px solid #e2e8f0;
    }

    body {
        background: white;
    }
}

/* ==================== Accessibility ==================== */
.about-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.about-page *:focus-visible {
    outline: 2px solid #eab308;
    outline-offset: 2px;
}

/* ==================== End of About Page Styles ==================== */