/* ==========================================================
   ABOUT PAGE — MOSQUE-ARCH STYLE (matches surah-index/show)
   Quran Project
========================================================== */

.about-page {
    padding: 50px 0 100px;
}

/*==============================
Hero Panel
==============================*/

.about-hero-panel {
    position: relative;
    background: linear-gradient(180deg, #FFFDF6 0%, #F6EEDA 100%);
    border: 1.5px solid #145C42;
    border-radius: 16px;
    padding: 54px 40px 38px;
    margin-bottom: 40px;
    text-align: center;

    box-shadow:
        0 1px 0 rgba(255,255,255,.9) inset,
        0 22px 40px -18px rgba(20,45,35,.35),
        0 8px 16px -8px rgba(20,45,35,.25);
}

.surah-panel-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 1.5px solid #C9A227;
}

.surah-panel-corner.tl { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.surah-panel-corner.tr { top: 8px; left: 8px;  border-right: none; border-bottom: none; }
.surah-panel-corner.bl { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.surah-panel-corner.br { bottom: 8px; left: 8px;  border-right: none; border-top: none; }

.about-hero-panel h1 {
    font-size: 36px;
    font-weight: 900;
    color: #0F4A32;
    margin-bottom: 12px;
}

.about-hero-panel p {
    font-size: 16px;
    color: #6B7A6E;
    margin-bottom: 20px;
}

/*==============================
Divider
==============================*/

.about-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.about-divider span {
    width: 60px;
    height: 1px;
    background: rgba(201,162,39,.5);
}

.about-divider svg {
    width: 16px;
    height: 16px;
    color: #C9A227;
    flex-shrink: 0;
}

/*==============================
Section Row (تصویر + متن)
==============================*/

.about-row {
    display: flex;
    align-items: center;
    gap: 48px;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
    min-width: 0;
}

.about-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(20,92,66,.25);
    box-shadow:
        0 1px 0 rgba(255,255,255,.6) inset,
        0 18px 30px -16px rgba(20,45,35,.35);
}

.about-content {
    flex: 1;
    min-width: 0;
}

.about-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0F4A32;
    margin-bottom: 16px;
}

.about-content p {
    font-size: 15.5px;
    line-height: 2;
    color: #4B5A50;
    margin-bottom: 14px;
}

/*==============================
Full Width Card
==============================*/

.about-card-full {
    position: relative;
    background: linear-gradient(180deg, #FFFDF7 0%, #F5EDD9 100%);
    border: 1px solid rgba(20,92,66,.28);
    border-radius: 16px;
    padding: 40px 44px;

    box-shadow:
        0 1px 0 rgba(255,255,255,.85) inset,
        0 16px 28px -16px rgba(20,45,35,.3),
        0 5px 10px -5px rgba(20,45,35,.18);
}

.about-card-full h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0F4A32;
    text-align: center;
    margin-bottom: 20px;
}

.about-card-full p {
    font-size: 15.5px;
    line-height: 2;
    color: #4B5A50;
    max-width: 780px;
    margin: 0 auto 14px;
}

.about-card-full strong {
    color: #145C42;
}

.about-developer {
    text-align: center;
}

/*==============================
Feature Grid
==============================*/

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    text-align: center;
    background: #fff;
    border: 1px solid rgba(20,92,66,.2);
    border-radius: 14px;
    padding: 28px 18px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    box-shadow: 0 6px 14px -8px rgba(20,45,35,.2);
}

.feature-box:hover {
    transform: translateY(-4px);
    border-color: #C9A227;
    box-shadow: 0 14px 24px -12px rgba(20,45,35,.28);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(201,162,39,.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 26px;
    height: 26px;
}

.feature-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #145C42;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 13px;
    line-height: 1.8;
    color: #7A8A84;
}

/*==========================================================
Responsive
==========================================================*/

@media (max-width: 860px) {

    .about-row,
    .about-row.reverse {
        flex-direction: column;
    }

    .about-image img {
        height: 240px;
    }

}

@media (max-width: 560px) {

    .about-hero-panel {
        padding: 36px 22px 28px;
    }

    .about-hero-panel h1 {
        font-size: 26px;
    }

    .about-card-full {
        padding: 28px 22px;
    }

    .about-content h2,
    .about-card-full h2 {
        font-size: 21px;
    }

}