/* ==========================================================================
   Ideal Candidate Profile Section
   ========================================================================== */

.profile-section {
    background-color: #fffefe;
    padding: 5rem 4rem;
}

.profile-section__inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

/* ---------- Image block ---------- */

.profile-section__image-block {
    position: relative;
    width: 90%;
    border-radius: 8px;
    overflow: hidden;
}

.profile-section__photo {
    width: 100%;
    height: 425px;
    object-fit: cover;
    display: block;
}

/* Coral overlay */
.profile-section__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(253, 149, 129, 0.8);
}

/* Text content on top of the overlay */
.profile-section__image-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    z-index: 1;
}

.profile-section__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
    margin: 0 0 0.5rem;
}

.profile-section__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2rem;
}

.profile-section__statement {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

/* ---------- White info box (overlaps image, lower-right) ---------- */

.profile-section__info-box {
    position: absolute;
    bottom: 3rem;
    right: 0;
    width: 43%;
    background-color: #fff;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    z-index: 2;
    box-sizing: border-box;
}

.profile-section__info-text {
    font-size: 0.875rem;
    line-height: 2;
    color: #333;
    margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .profile-section {
        padding: 4rem 2rem;
    }

    .profile-section__image-block {
        width: 80%;
    }

    .profile-section__info-box {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .profile-section__image-block {
        width: 100%;
    }

    .profile-section__info-box {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: -2rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .profile-section__photo {
        height: 300px;
    }

    .profile-section__image-content {
        padding: 2rem;
    }
}
