﻿/* Founder Section Styling */
.founder-section {
    background: linear-gradient(135deg, #f9fff5, #f2f9f0);
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.container-founder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

/* Founder Image Container */
.founder-image {
    flex: 1;
    text-align: center;
}

/* Wrapper ensures fixed image ratio */
.image-wrapper {
    width: 280px; /* fixed max width */
    height: 320px; /* fixed height */
    margin: auto;
    overflow: hidden; /* cut extra parts */
    border-radius: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
    border: 5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* keeps proportions */
    }

/* Founder Name */
.founder-name {
    font-size: 18px;
    font-weight: bold;
    margin-top: 12px;
    color: #1b5e20;
    background: linear-gradient(90deg, #4caf50, #81c784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Founder Message Styling */
.founder-message {
    flex: 2;
    max-width: 700px;
}

    .founder-message h2 {
        font-size: 28px;
        color: #2e7d32;
        margin-bottom: 15px;
    }

    .founder-message p {
        font-size: 16px;
        line-height: 1.7;
        color: #333;
        margin-bottom: 15px;
    }

.mission-box {
    background: #e8f5e9;
    border-left: 6px solid #4caf50;
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
}

    .mission-box h3 {
        margin: 0 0 10px 0;
        color: #388e3c;
    }

/* Animation Effects */
.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 {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container-founder {
        flex-direction: column;
        text-align: center;
    }

    .founder-message {
        max-width: 100%;
    }

    .image-wrapper {
        width: 220px;
        height: 260px;
    }
}
