/* ======================================================
   EW Services — "About The Founder" section
   Ported from the Melanie Movers template, re-themed to
   Voyago's dark palette. Loaded on index.html only.
   NOTE: founder name, photo and bio are placeholder content.
====================================================== */

.founder-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 24px;
}

.founder-image {
    flex: 1;
    position: relative;
    display: flex;
}

/* photo switcher: stacked images that cross-fade via the Next button */
.founder-photos {
    position: relative;
    width: 380px;
    max-width: 100%;
    aspect-ratio: 380 / 560;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--color-main);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.founder-image .founder-photos img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: top center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.founder-image .founder-photos img.is-active {
    opacity: 1;
}

.founder-next {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: var(--color-main);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.55);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.founder-next:hover {
    background-color: #ffff;
    color: black;
    transform: scale(1.08);
}

.founder-next i {
    transition: transform 0.3s ease;
}

.founder-next:hover i {
    transform: translateX(3px);
}

.founder-content {
    flex: 1;
}

.founder-content h3 {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.founder-role {
    display: inline-block;
    color: var(--color-main);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.founder-content p {
    margin-top: 16px;
}

.founder-content p i {
    color: var(--color-primary);
}

@media (max-width: 991px) {
    .founder-wrapper {
        flex-direction: column;
        gap: 34px;
        text-align: center;
    }

    .founder-image {
        width: 100%;
        justify-content: center;
    }

    .founder-photos {
        width: 340px;
        aspect-ratio: 340 / 470;
    }
}
