/* =========================
   FOUNDER-MESSAGE.CSS – FULLY RESPONSIVE
   Purple background, two‑column layout (stacks on mobile)
   Text left (desktop) / centered (mobile), image right
   Matches who-we-are styling EXACTLY
========================= */

.founder-message {
    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 */
.founder-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ----- LEFT: TEXT CONTENT (responsive text) ----- */
.founder-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;
}

.founder-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;
}

.founder-content p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #d1e0d6;
    line-height: 1.5;
    margin-bottom: 16px;
}

.founder-content p:last-of-type {
    margin-bottom: 0;
}

/* ----- RIGHT: IMAGE (larger, better proportioned) ----- */
.founder-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 1 / 1.2;  /* Portrait ratio - adjust as needed */
    object-fit: cover;
    object-position: center 25%;
    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;
}

.founder-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);
}

/* Optional: Add a subtle frame for the image */
.founder-image {
    position: relative;
}

.founder-image::before {
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    max-width: 430px;
    height: calc(100% - 10px);
    border: 2px solid rgba(74, 222, 128, 0.1);
    border-radius: 28px;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: -1;
}

.founder-image:hover::before {
    width: calc(100% - 10px);
    max-width: 440px;
    border-color: rgba(192, 132, 252, 0.2);
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet (≤ 900px) */
@media (max-width: 900px) {
    .founder-wrapper {
        gap: 40px;
    }
    .founder-content h2 {
        margin-bottom: 16px;
    }
    .founder-image img {
        max-width: 380px;
    }
    .founder-image::before {
        max-width: 360px;
    }
    .founder-image:hover::before {
        max-width: 370px;
    }
}

/* Mobile (≤ 768px): stack columns, center text, image above text */
@media (max-width: 768px) {
    .founder-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .founder-content {
        text-align: center;
    }
    .section-tag {
        justify-content: center;
    }
    .founder-content h2 {
        margin-bottom: 16px;
    }
    .founder-content p {
        margin-bottom: 14px;
    }
    .founder-image {
        order: -1;
        margin-bottom: 0;
    }
    .founder-image img {
        max-width: 320px;
    }
    .founder-image::before {
        display: none;
    }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
    .founder-message {
        padding: 60px 0;
    }
    .founder-wrapper {
        gap: 30px;
    }
    .section-tag {
        margin-bottom: 16px;
    }
    .founder-content h2 {
        margin-bottom: 12px;
    }
    .founder-content p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    .founder-image img {
        max-width: 280px;
    }
}

/* Very narrow (≤ 360px) */
@media (max-width: 360px) {
    .founder-content h2 {
        font-size: 1.6rem;
    }
    .founder-content p {
        font-size: 0.85rem;
    }
    .founder-image img {
        max-width: 240px;
    }
}