.ceo-message-section {
    background-color: white;
    padding: 50px 20px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    flex-wrap: wrap; /* Enable wrapping on smaller screens */
}

.ceo-message-left {
    flex: 1;
    padding-right: 20px;
    min-width: 300px; /* Ensure minimum width */
}

.ceo-message-left h2 {
    color: #0f0f0f;
    font-size: 2rem;
    margin-bottom: 20px;
}

.ceo-message-left p {
    color: #060606;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    text-align: justify; /* Justify the paragraph text */
}

.ceo-message-right {
    flex: 1;
    padding-left: 20px;
    text-align: center; /* Center align image on smaller screens */
}

.ceo-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}

.ceo-heading {
    color: black; /* Yellow color for the main heading */
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

.ceo-subheading {
    color: #ffc107; /* Yelow color for the subheading */
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 20px;
    text-align: left;
}

/* Responsive Design */

/* Medium Screens (Tablets) */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack left and right sections */
        align-items: center; /* Center align items */
    }

    .ceo-message-left,
    .ceo-message-right {
        padding: 10px; /* Reduce padding */
        text-align: center; /* Center-align text for smaller screens */
    }

    .ceo-message-left h2 {
        font-size: 1.8rem; /* Adjust heading size */
    }

    .ceo-message-left p {
        font-size: 1rem; /* Adjust font size */
    }

    .ceo-heading {
        font-size: 1.8rem; /* Adjust heading size */
        text-align: center;
    }

    .ceo-subheading {
        font-size: 1rem; /* Adjust subheading size */
        text-align: center;
    }

    .ceo-photo {
        max-width: 400px; /* Adjust image size */
    }
}

/* Small Screens (Mobile) */
@media (max-width: 480px) {
    .container {
        padding: 10px; /* Adjust container padding */
    }

    .ceo-message-left h2 {
        font-size: 1.5rem; /* Smaller heading for mobile */
    }

    .ceo-message-left p {
        font-size: 0.9rem; /* Smaller paragraph text */
    }

    .ceo-heading {
        font-size: 1.5rem; /* Smaller heading size */
    }

    .ceo-subheading {
        font-size: 0.9rem; /* Smaller subheading size */
    }

    .ceo-photo {
        max-width: 300px; /* Further reduce image size */
    }
}
