/* =========================
   WHO-WE-ARE.CSS – FULLY RESPONSIVE
   Purple background, two‑column layout (stacks on mobile)
   Text left (desktop) / centered (mobile), image right
========================= */

.who-we-are {
    width: 100%;
    padding: 80px 0;
    background: #1e1029;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
    box-sizing: border-box;
}

/* Two‑column grid – stacks on smaller screens */
.who-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ----- LEFT: TEXT CONTENT (responsive text) ----- */
.who-content {
    text-align: left;
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.section-tag hr {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #c084fc);
    border: none;
    margin: 0;
}

.section-tag h5 {
    color: #c084fc;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.who-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #e2d6f0;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.who-content p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #d1e0d6;
    line-height: 1.5;
    margin-bottom: 16px;
}

.who-content p:last-of-type {
    margin-bottom: 0;
}

/* ----- RIGHT: IMAGE (responsive, centered) ----- */
.who-image {
    display: flex;
    justify-content: center;
}

.who-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.who-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(192, 132, 252, 0.15);
    border-color: rgba(74, 222, 128, 0.5);
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet (≤ 900px): reduce gap, shrink padding slightly */
@media (max-width: 900px) {
    .who-wrapper {
        gap: 40px;
    }
    .who-content h2 {
        margin-bottom: 16px;
    }
}

/* Mobile (≤ 768px): stack columns, center text, image above text */
@media (max-width: 768px) {
    .who-wrapper {
        grid-template-columns: 1fr;      /* single column */
        gap: 40px;
    }
    .who-content {
        text-align: center;              /* center text on mobile */
    }
    .section-tag {
        justify-content: center;         /* center the hr + h5 */
    }
    .who-content h2 {
        margin-bottom: 16px;
    }
    .who-content p {
        margin-bottom: 14px;
    }
    .who-image {
        order: -1;                       /* image above text */
        margin-bottom: 0;
    }
}

/* Small phones (≤ 480px): reduce vertical padding, tighter spacing */
@media (max-width: 480px) {
    .who-we-are {
        padding: 60px 0;
    }
    .who-wrapper {
        gap: 30px;
    }
    .section-tag {
        margin-bottom: 16px;
    }
    .who-content h2 {
        margin-bottom: 12px;
    }
    .who-content p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
}

/* Very narrow (≤ 360px) */
@media (max-width: 360px) {
    .who-content h2 {
        font-size: 1.6rem;
    }
    .who-content p {
        font-size: 0.85rem;
    }
}