/*
=====================================================
Project Name: About Page Styling
Version: 1.0
Author: Bashar Kherz
Copyright © 2025. All rights reserved.

Colors Used:
- #F7F7F7 (Light Gray) → Page background
- #FFFFFF (White) → Section background
- #2E2E2E (Dark Gray) → Body text
- #2A2F99 (Indigo) → Headings
- rgba(0, 0, 0, 0.05) → Soft shadows



=====================================================

SECTION STRUCTURE
=====================================================
1. GLOBAL ---------------------------- Body & Defaults
2. ABOUT COLUMNS --------------------- Main container
3. ABOUT BLOCK ----------------------- Layout & Styles
4. ABOUT IMAGE ----------------------- Image wrapper
5. ABOUT TEXT ------------------------ Headings & Paragraphs
6. RESPONSIVE ------------------------ Mobile adjustments
=====================================================
*/


/* ============================== */
/* 1. GLOBAL                      */
/* ============================== */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #F7F7F7;
    color: #2E2E2E;
}


/* ============================== */
/* 2. ABOUT COLUMNS               */
/* ============================== */
.about-columns {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}


/* ============================== */
/* 3. ABOUT BLOCK                 */
/* ============================== */
.about-block {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 40px;
}

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


/* ============================== */
/* 4. ABOUT IMAGE                 */
/* ============================== */
.about-image {
    flex: 1;
    min-height: 250px;
    max-height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

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


/* ============================== */
/* 5. ABOUT TEXT                  */
/* ============================== */
.about-text {
    flex: 1;
}

.about-text h2 {
    color: #2A2F99;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
}


/* ============================== */
/* 6. RESPONSIVE                  */
/* ============================== */
@media (max-width: 768px) {
    .about-block,
    .about-block.reverse {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .about-image img {
        height: auto;
    }

    .about-text {
        margin-top: 20px;
    }

    .about-text h2 {
        font-size: 1.4rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}
