/* =========================
   ABOUT-FOUNDER.CSS – FULLY RESPONSIVE
   Green background (alternates with the purple "Who We Are" section above),
   two-column layout (stacks on mobile), text left / image right.
   Adapted from careers/founder-message.css for the About page audience.
========================= */

.about-founder {
    width: 100%;
    padding: 80px 0;
    background: #0a1f1a;
}

.about-founder-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Explicit ordering so the image is unambiguously on the left,
   regardless of source order, on all screens down to tablet width. */
.about-founder-content {
    order: 2;
}
.about-founder-image {
    order: 1;
}

/* ----- LEFT: TEXT CONTENT ----- */
.about-founder-content {
    text-align: left;
}

.about-founder .section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.about-founder .section-tag hr {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #c084fc);
    border: none;
    margin: 0;
}

.about-founder .section-tag h5 {
    color: #c084fc;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.about-founder-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-founder-content p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #d1e0d6;
    line-height: 1.5;
    margin-bottom: 16px;
}

.about-founder-content p:last-of-type {
    margin-bottom: 0;
}

/* ----- RIGHT: IMAGE ----- */
.about-founder-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-founder-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 1 / 1.2;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 24px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-founder-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(74, 222, 128, 0.15);
    border-color: rgba(192, 132, 252, 0.5);
}

.founder-photo-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 24px;
    border: 2px dashed rgba(74, 222, 128, 0.35);
    background: rgba(255, 255, 255, 0.03);
    color: #7a8c82;
    text-align: center;
    padding: 24px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.founder-photo-placeholder:hover {
    border-color: rgba(192, 132, 252, 0.5);
    transform: translateY(-5px);
}

.founder-photo-placeholder i {
    font-size: clamp(3rem, 10vw, 4.5rem);
    color: rgba(74, 222, 128, 0.4);
}

.founder-photo-placeholder span {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    max-width: 220px;
    line-height: 1.4;
}

.about-founder-image::before {
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    max-width: 430px;
    height: calc(100% - 10px);
    border: 2px solid rgba(192, 132, 252, 0.15);
    border-radius: 28px;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: -1;
}

.about-founder-image:hover::before {
    width: calc(100% - 10px);
    max-width: 440px;
    border-color: rgba(74, 222, 128, 0.25);
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

@media (max-width: 900px) {
    .about-founder-wrapper {
        gap: 40px;
    }
    .about-founder-content h2 {
        margin-bottom: 16px;
    }
    .about-founder-image img,
    .founder-photo-placeholder {
        max-width: 380px;
    }
    .about-founder-image::before {
        max-width: 360px;
    }
    .about-founder-image:hover::before {
        max-width: 370px;
    }
}

@media (max-width: 768px) {
    .about-founder-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-founder-content {
        text-align: center;
    }
    .about-founder .section-tag {
        justify-content: center;
    }
    .about-founder-content h2 {
        margin-bottom: 16px;
    }
    .about-founder-content p {
        margin-bottom: 14px;
    }
    .about-founder-image {
        order: -1;
        margin-bottom: 0;
    }
    .about-founder-image img,
    .founder-photo-placeholder {
        max-width: 320px;
    }
    .about-founder-image::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .about-founder {
        padding: 60px 0;
    }
    .about-founder-wrapper {
        gap: 30px;
    }
    .about-founder .section-tag {
        margin-bottom: 16px;
    }
    .about-founder-content h2 {
        margin-bottom: 12px;
    }
    .about-founder-content p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    .about-founder-image img,
    .founder-photo-placeholder {
        max-width: 280px;
    }
}

@media (max-width: 360px) {
    .about-founder-content h2 {
        font-size: 1.6rem;
    }
    .about-founder-content p {
        font-size: 0.85rem;
    }
    .about-founder-image img,
    .founder-photo-placeholder {
        max-width: 240px;
    }
}
