body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: sans-serif;
}

.about-container {
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
}

.about-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
    margin-left: 50px;
    margin-right: 50px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-text {
    flex: 1;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* For mobile devices */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        height: auto;
    }

    .about-image, .about-text {
        flex: none;
        width: 100%;
        height: auto;
    }

    .about-image {
        height: 50vh; /* Or a fixed height like 300px */
    }

    .about-text {
        padding: 20px;
    }
}
