
/* ==========================================
   AL ZAINAB QURAN ACADEMY
   ABOUT PAGE STYLESHEET
========================================== */


/* ==========================================
   ABOUT HERO SECTION
========================================== */

.about-hero {
    background:
        radial-gradient(circle at 80% 40%, rgba(197, 164, 93, 0.15), transparent 35%),
        linear-gradient(120deg, #0B2B24, #164B3D);

    padding: 85px 7%;
    color: #FFFFFF;
}

.about-hero-container {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;
    gap: 65px;
}

.about-label {
    color: #E3C981;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
}

.about-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(43px, 5vw, 65px);
    line-height: 1.2;
    color: #FFFFFF;
    margin: 22px 0;
}

.about-hero-content h1 span {
    display: block;
    color: #E3C981;
}

.about-hero-content p {
    color: #F5F3ED;
    font-size: 19px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-hero-intro {
    font-weight: 600;
}

.about-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 28px;
}


/* HERO IMAGE */

.about-hero-image {
    height: 510px;
    overflow: hidden;

    border: 2px solid #C5A45D;
    border-radius: 12px;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================
   WHO WE ARE
========================================== */

.who-we-are {
    background: #FBF9F4;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;
    gap: 65px;
}

.about-image-column {
    height: 540px;
    position: relative;
    overflow: hidden;

    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.about-image-column > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 35px 25px 22px;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.88)
    );
}

.image-caption span {
    color: #E3C981;
    font-size: 22px;
    font-weight: 700;
}

.image-caption p {
    color: #FFFFFF;
    font-size: 16px;
    margin: 5px 0 0;
}

.about-text-column h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 43px);
    line-height: 1.35;
    color: #0B2B24;
    margin: 18px 0;
}

.about-text-column p {
    color: #303830;
    font-size: 18px;
    line-height: 1.9;
}


/* ==========================================
   EDUCATIONAL PHILOSOPHY
========================================== */

.education-philosophy {
    background: #F5F0E6;
}

.philosophy-container {
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;
    gap: 60px;
}

.philosophy-image {
    height: 530px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.philosophy-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding-bottom: 20px;
    border-bottom: 1px solid #DDD2BC;
}

.philosophy-icon {
    color: #8A6B2D;
    font-size: 30px;
    flex-shrink: 0;
}

.philosophy-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #0B2B24;
    margin-bottom: 8px;
}

.philosophy-item p {
    color: #303830;
    font-size: 17px;
    margin: 0;
}


/* ==========================================
   MISSION SECTION
========================================== */

.about-mission {
    background: #FBF9F4;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;
    gap: 65px;
}

.mission-image {
    height: 530px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 43px);
    line-height: 1.35;
    color: #0B2B24;
    margin: 18px 0;
}

.mission-content p {
    color: #303830;
    font-size: 18px;
    line-height: 1.9;
}


/* ==========================================
   VISION SECTION
========================================== */

.about-vision {
    background: #F5F0E6;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;
    gap: 65px;
}

.vision-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 43px);
    line-height: 1.35;
    color: #0B2B24;
    margin: 18px 0;
}

.vision-content p {
    color: #303830;
    font-size: 18px;
    line-height: 1.9;
}

.vision-image {
    height: 530px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================
   CORE VALUES
========================================== */

.values-section {
    background: #FBF9F4;
}

.values-grid {
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    background: #FFFFFF;
    padding: 32px;

    border-radius: 9px;
    border-bottom: 4px solid #C5A45D;

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);

    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.12);
}

.value-card > span {
    color: #8A6B2D;
    font-size: 36px;
}

.value-card h3 {
    color: #0B2B24;
    font-size: 24px;
    margin: 12px 0;
}

.value-card p {
    color: #303830;
    font-size: 17px;
    margin: 0;
}


/* ==========================================
   SHIA EDUCATION SECTION
========================================== */

.shia-education {
    background: #F5F0E6;
}

.shia-education-container {
    max-width: 1300px;
    margin: auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;
    gap: 65px;
}

.shia-education-image {
    height: 570px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.shia-education-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shia-education-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.35;
    color: #0B2B24;
    margin: 18px 0;
}

.shia-education-content p {
    color: #303830;
    font-size: 18px;
    line-height: 1.9;
}


/* ==========================================
   GLOBAL COMMUNITY
========================================== */

.global-community {
    background: #FBF9F4;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;
    gap: 65px;
}

.global-community-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 43px);
    line-height: 1.35;
    color: #0B2B24;
    margin: 18px 0;
}

.global-community-content p {
    color: #303830;
    font-size: 18px;
    line-height: 1.9;
}

.global-community-content .primary-btn {
    margin-top: 12px;
}

.global-community-image {
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.global-community-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================
   ABOUT PAGE TEACHERS
========================================== */

.about-teachers {
    background: #F5F0E6;
}

.about-teachers-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-teacher-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.about-teacher-card:hover {
    transform: translateY(-5px);
}

.about-teacher-image {
    height: 350px;
    overflow: hidden;
    background: #E8E2D5;
}

.about-teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-teacher-info {
    padding: 25px;
    text-align: center;
}

.about-teacher-info h3 {
    font-family: 'Playfair Display', serif;
    color: #0B2B24;
    font-size: 25px;
}

.about-teacher-info span {
    color: #826127;
    font-size: 15px;
    font-weight: 700;
}

.about-teacher-info p {
    color: #303830;
    font-size: 16px;
    margin: 15px 0 0;
}

.about-teachers-button {
    text-align: center;
    margin-top: 45px;
}


/* ==========================================
   FINAL ENROLLMENT SECTION
========================================== */

.about-enrollment {
    background:
        radial-gradient(
            circle at center,
            rgba(197, 164, 93, 0.12),
            transparent 50%
        ),
        linear-gradient(120deg, #123D32, #0B2B24);

    padding: 90px 8%;
    text-align: center;
}

.about-enrollment-content {
    max-width: 900px;
    margin: auto;
}

.about-enrollment-content > span {
    color: #E3C981;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
}

.about-enrollment-content h2 {
    font-family: 'Playfair Display', serif;
    color: #FFFFFF;
    font-size: clamp(33px, 4vw, 46px);
    line-height: 1.35;
    margin: 20px 0;
}

.about-enrollment-content p {
    color: #F3F0E8;
    font-size: 19px;
    line-height: 1.9;
}

.about-enrollment-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}


/* ==========================================
   TABLET RESPONSIVE DESIGN
========================================== */

@media (max-width: 1050px) {

    .about-hero-container,
    .who-we-are,
    .philosophy-container,
    .about-mission,
    .about-vision,
    .shia-education-container,
    .global-community {
        gap: 35px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==========================================
   MOBILE RESPONSIVE DESIGN
========================================== */

@media (max-width: 850px) {

    .about-hero-container,
    .who-we-are,
    .philosophy-container,
    .about-mission,
    .about-vision,
    .shia-education-container,
    .global-community {
        grid-template-columns: 1fr;
    }

    .about-hero-container {
        text-align: center;
    }

    .about-hero-buttons {
        justify-content: center;
    }

    .about-hero-image {
        max-width: 700px;
        width: 100%;
        height: 420px;
        margin: auto;
    }

    .about-image-column,
    .philosophy-image,
    .mission-image,
    .vision-image,
    .shia-education-image,
    .global-community-image {
        height: 400px;
    }

    .about-teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==========================================
   SMALL MOBILE SCREENS
========================================== */

@media (max-width: 550px) {

    .about-hero {
        padding: 60px 7%;
    }

    .about-hero-content h1 {
    font-size: clamp(30px, 8vw, 38px);
    }

    .about-hero-content p {
        font-size: 17px;
    }

    .about-hero-buttons {
        flex-direction: column;
    }

    .about-hero-buttons a {
        width: 100%;
    }

    .about-hero-image {
        height: 310px;
    }

    .who-we-are,
    .education-philosophy,
    .about-mission,
    .about-vision,
    .values-section,
    .shia-education,
    .global-community,
    .about-teachers {
        padding: 65px 7%;
    }

    .about-image-column,
    .philosophy-image,
    .mission-image,
    .vision-image,
    .shia-education-image,
    .global-community-image {
        height: 310px;
    }

    .about-text-column h2,
    .mission-content h2,
    .vision-content h2,
    .shia-education-content h2,
    .global-community-content h2 {
        font-size: 31px;
    }

    .about-text-column p,
    .mission-content p,
    .vision-content p,
    .shia-education-content p,
    .global-community-content p {
        font-size: 17px;
        line-height: 1.85;
    }

    .philosophy-item h3 {
        font-size: 21px;
    }

    .philosophy-item p {
        font-size: 16px;
    }

    .values-grid,
    .about-teachers-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 27px;
    }

    .about-teacher-image {
        height: 330px;
    }

    .about-enrollment {
        padding: 65px 7%;
    }

    .about-enrollment-content h2 {
        font-size: 32px;
    }

    .about-enrollment-content p {
        font-size: 17px;
    }

    .about-enrollment-buttons {
        flex-direction: column;
    }

    .about-enrollment-buttons a {
        width: 100%;
    }

}
