/* =========================
   WRAPPER
========================= */
.about-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* =========================
   SECTION BASE
========================= */
.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/*  دسکتاپ: عکس همیشه سمت چپ */
.about-section {
    flex-direction: row;
}

/* =========================
   TEXT
========================= */
.about-text {
    flex: 1;
    min-width: 0;
}

.about-text h2 {
    font-size: var(--fs-h2);
    margin-bottom: 16px;
    color: #0A4B6B;
}

.content {
    line-height: 1.9;
    font-size: 15px;
    color: #333;
}

/* =========================
   IMAGE
========================= */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 14px;
    object-fit: cover;
}

/* =========================
   DIVIDER
========================= */
.about-divider {
    width: 100%;
    height: 1px;
    margin: 60px 0;
    background: linear-gradient(
            to right,
            transparent,
            #e5e7eb,
            transparent
    );
}

/* =========================
   SOCIALS
========================= */
.socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

}

.social-item {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 12px;
    border-radius: 10px;

    background: #f8fafc;
    border: 1px solid #e5e7eb;

    text-decoration: none;
    color: #111;

    transition: all 0.25s ease;
}

.social-item {
    flex-direction: row-reverse;
}

.social-item:hover {
    background: #eef6ff;
    border-color: #38bdf8;
}

.social-item img {
    width: 22px;
    height: 22px;
    transition: transform 0.25s ease;
}

.social-item:hover img {
    transform: scale(1.2);
}

.social-title {
    font-size: var(--fs-small);
    font-weight: 500;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .about-section {
        flex-direction: column; /* عکس بالا، متن پایین */
    }

    .about-image {
        order: -1; /* فقط موبایل */
    }

    .about-wrapper {
        padding: 30px 15px;
    }

    .about-image img {
        max-width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

@media (max-width: 300px) {

    .social-item {
        width: 100%;
        justify-content: center;
    }

}