﻿/* ==========================
   About Us Modern Reset
========================== */
@font-face {
    font-family: IRANSansWebFaNum;
    src: url('../fonts/IRANSansWeb(FaNum).ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

.aboutus-modern-wrapper * {
    box-sizing: border-box;
    font-family: IRANSansWebFaNum, sans-serif !important;
}

/* ==========================
   Hero Section با پارالکس
========================== */
.aboutus-modern-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.aboutus-modern-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    z-index: 1;
}

.aboutus-modern-hero-title {
    font-size: 3rem;
    font-weight: 800;
    z-index: 2;
    text-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* ==========================
   Content Section با انیمیشن Scroll
========================== */
.aboutus-modern-section {
    max-width: 1200px;
    margin: -120px auto 60px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.aboutus-modern-content-card {
    display: flex;
    flex-wrap: wrap-reverse;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

    .aboutus-modern-content-card.appear {
        opacity: 1;
        transform: translateY(0);
    }

.aboutus-modern-content {
    flex: 1 1 450px;
    padding: 50px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .aboutus-modern-content h2 {
        font-size: 2.2rem;
        color: #007BFF;
        margin-bottom: 25px;
    }

    .aboutus-modern-content p {
        font-size: 1.15rem;
        color: #555;
        line-height: 1.8;
    }

/* ==========================
   Image Section با افکت Hover
========================== */
.aboutus-modern-image-section {
    flex: 1 1 450px;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s ease;
}

    .aboutus-modern-image-section img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 0;
        transition: transform 0.6s ease, filter 0.6s ease;
    }

    .aboutus-modern-image-section:hover img {
        transform: scale(1.12) rotate(1deg);
        filter: brightness(1.1);
    }

    .aboutus-modern-image-section figcaption {
        text-align: center;
        font-size: 0.95rem;
        color: #777;
        margin-top: 10px;
    }

/* ==========================
   Footer
========================== */
.aboutus-modern-footer {
    background: linear-gradient(90deg, #007BFF, #00C6FF);
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    border-radius: 18px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

    .aboutus-modern-footer p {
        margin-bottom: 12px;
        opacity: 0.95;
    }

    .aboutus-modern-footer a {
        color: #fff;
        font-weight: 600;
        text-decoration: none;
    }

        .aboutus-modern-footer a:hover {
            color: #dcdcdc;
            opacity: 0.85;
        }

/* ==========================
   Responsive
========================== */
@media (max-width: 992px) {
    .aboutus-modern-content-card {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .aboutus-modern-content {
        text-align: center;
        padding: 35px 25px;
    }
}

@media (max-width: 576px) {
    .aboutus-modern-hero-title {
        font-size: 2rem;
        padding: 0 15px;
    }

    .aboutus-modern-section {
        margin: -80px auto 40px auto;
        gap: 35px;
    }

    .aboutus-modern-content {
        padding: 25px 15px;
    }
}
