/* ===================================================================
   صفحه درباره ما - هماهنگ با تم اصلی سایت (Green Mind)
=================================================================== */

/* ---------- هیرو (اصلاح لایه‌بندی و ارتفاع) ---------- */
.ab-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1B1B1B; /* رنگ مشکی برند به عنوان پشتیبان */
}

.ab-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* عکس در لایه بالا */
}

.ab-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* لایه تاریک کننده برای خوانایی متن */
.ab-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 35, 64, 0.75); /* سرمه‌ای با شفافیت */
    z-index: 2; /* اورلی بالای عکس */
}

.ab-hero .container {
    position: relative;
    z-index: 3; /* متن بالاتر از همه */
    text-align: center;
    padding: 2rem;
}

.ab-hero-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ab-hero-summary {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ---------- بلاک‌های متنی ---------- */
.ab-container-narrow {
    max-width: 860px;
    margin: 0 auto;
}

.ab-lead {
    font-size: 1.15rem;
    line-height: 2.2;
    color: #333;
    text-align: justify;
}

.ab-section-head {
    text-align: right;
    margin-bottom: 2rem;
}

.ab-section-head-center {
    text-align: center;
}

.ab-paragraph {
    font-size: 1.05rem;
    line-height: 2;
    color: #555;
    text-align: justify;
}

.ab-paragraph-center {
    text-align: center;
}

/* ---------- ویدئو (ارتفاع استاندارد و باکس مناسب) ---------- */
.ab-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* نسبت تصویر استاندارد سینمایی */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

.ab-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* پر کردن کامل کادر */
    display: block;
}

/* ---------- ردیف لوگوی برندها (بزرگ‌تر و باکلاس) ---------- */
.ab-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 3rem 0;
}

.ab-brand-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.ab-brand-row img {
    height: 80px; /* سایز بزرگتر و واضح‌تر */
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ab-brand-row a:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.ab-brand-row a:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ---------- دعوت پایانی ---------- */
.ab-invite {
    background-color: #005578; /* رنگ سرمه‌ای برند */
    padding: 4rem 0;
}

.ab-invite .sec-title,
.ab-invite .eyebrow {
    color: #ffffff;
}

.ab-invite .ab-paragraph {
    color: rgba(255, 255, 255, 0.85);
}

.ab-cta-row {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.ab-cta-row .btn {
    background-color: #00AEA5;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s;
}
.ab-cta-row .btn:hover {
    background-color: #008D86;
}

/* ---------- موبایل ---------- */
@media (max-width: 767px) {
    .ab-hero {
        min-height: 300px;
    }

    .ab-hero-title {
        font-size: 2rem;
    }

    .ab-hero-summary {
        font-size: 1rem;
    }

    .ab-lead,
    .ab-paragraph {
        font-size: 1rem;
        line-height: 1.9;
        text-align: right;
    }

    .ab-brand-row {
        gap: 2rem;
    }

    .ab-brand-row a {
        padding: 0.8rem 1.2rem;
    }

    .ab-brand-row img {
        height: 50px;
    }
}