﻿/* Founder Section Styling */
.founder-section {
    padding: 60px 10%;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

    .founder-section.alt-section {
        background: #eefaf1;
    }

.container-founder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

    .container-founder.reverse {
        flex-direction: row-reverse;
    }
.founder-image {
    flex: 1;
    text-align: center;
}

    .founder-image img {
        width: 100%;
        max-width: 420px; /* Adjust width of image */
        height: auto; /* Keep aspect ratio */
        border-radius: 16px; /* Rounded rectangle corners */
        object-fit: cover; /* Ensures clean scaling */
        box-shadow: 0px 10px 25px rgba(0,0,0,0.25);
        transition: transform 0.6s ease, box-shadow 0.6s ease;
    }

        .founder-image img:hover {
            transform: scale(1.05);
            box-shadow: 0px 15px 35px rgba(0,0,0,0.35);
        }


.founder-name {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.founder-message {
    flex: 2;
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

    .founder-message h2 {
        font-size: 28px;
        color: #2b8a3e;
        margin-bottom: 15px;
    }

    .founder-message p {
        font-size: 16px;
        color: #555;
        line-height: 1.8;
        margin-bottom: 15px;
    }

.intro-text {
    font-weight: 500;
    font-size: 18px;
    color: #333;
}

.mission-box {
    margin-top: 20px;
    padding: 20px;
    background: #eaf8ed;
    border-left: 6px solid #2b8a3e;
    border-radius: 12px;
    font-size: 16px;
    color: #444;
}

/* Animations */
.fade-in-left {
    animation: fadeInLeft 1.2s ease forwards;
    opacity: 0;
}

.fade-in-right {
    animation: fadeInRight 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .container-founder {
        flex-direction: column;
        text-align: center;
    }

        .container-founder.reverse {
            flex-direction: column;
        }
}
