.about-section {
    background-color: #000000;
    padding: 70px 0;
}

.about-section .about-flex {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== عنوان ثابت بالای متن ===== */
.about-section .about-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 24px;
}

/* ===== متن سمت چپ (از content.content) ===== */
.about-section .about-content p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 16px;
}

.about-section .about-content p strong {
    color: #fff;
    font-weight: 700;
}

.about-section .about-content p:last-child {
    margin-bottom: 0;
}

/* ===== عکس/ویدیو سمت راست ===== */
.about-section .about-media {
    width: 100%;
}

.about-section .about-media .about-media-img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.about-section .about-media .about-media-video {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.about-section .about-media .about-media-video iframe,
.about-section .about-media .about-media-video video {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    display: block;
}

/* ===== دسکتاپ (992px به بالا) ===== */
@media (min-width: 992px) {
    .about-section {
        padding: 110px 0;
    }

    .about-section .about-flex {
        flex-direction: row;
        align-items: center;
        gap: 70px;
    }

    .about-section .about-content {
        flex: 0 0 48%;
        max-width: 48%;
    }

    .about-section .about-title {
        font-family:"Playfair Display";
        font-size: 56px;
    }

    .about-section .about-content p {
        font-size: 14px;
    }

    .about-section .about-media {
        flex: 0 0 46%;
        max-width: 46%;
    }

    .about-section .about-media .about-media-img {
        max-height: 480px;
    }
}


.team-section {
    background-color: #000000;
    padding: 70px 0;
}

/* ===== عنوان بخش ===== */
.team-section .team-header {
    margin-bottom: 30px;
}

.team-section .team-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 37px;
    color: #fff;
    text-align: left;
    margin: 0;
}

/* ===== گرید اعضا ===== */
.team-section .team-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.team-section .team-member {
    display: flex;
    flex-direction: column;
}

/* ===== عکس + overlay ===== */
.team-section .team-member-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background-color: #111;
}

.team-section .team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.team-section .team-member:hover .team-member-img img {
    transform: scale(1.08);
}

.team-section .team-member-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.team-section .team-member:hover .team-member-overlay {
    opacity: 1;
}

.team-section .team-member-brief {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-section .team-member-social {
    display: flex;
    gap: 8px;
}

.team-section .team-member-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.team-section .team-member-social a:hover {
    background-color: #e69b3c;
}

/* ===== نام و نقش زیر عکس ===== */
.team-section .team-member-info {
    text-align: center;
    margin-top: 12px;
}

.team-section .team-member-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    margin: 0 0 4px 0;
}

.team-section .team-member-role {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

/* ===== تبلت (576px به بالا) ===== */
@media (min-width: 576px) {
    .team-section .team-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== دسکتاپ (992px به بالا) ===== */
@media (min-width: 992px) {
    .team-section {
        padding: 100px 0;
    }

    .team-section .team-title {
        font-size: 37px;
    }

    .team-section .team-list {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }

    .team-section .team-member-name {
        font-size: 16px;
    }
}
