.main-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Make both sides stretch to the same height */
    margin-top: 20px;
}

.about-block {
    margin-top: 30px;
    background-color: #A0CFA0;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}


.about-section {
    text-align: center;
    margin-bottom: 20px;
}

    .about-section h2 {
        margin-top: 20px;
        font-size: 35px;
        font-weight: bold;
    }

    .about-section p {
        font-size: 16px;
        color: #666;
    }

.form-section {
    text-align: center;
    padding: 20px;
    border: 2px solid green;
    border-radius: 5px;
    max-width: 500px;
    box-sizing: border-box;
    flex: 1;
    margin-right: 20px; /* Space between sections */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the form vertically */
}

    .form-section h2 {
        font-size: 24px;
        font-weight: bold;
        color: #2e5c8a;
        margin-bottom: 20px;
    }

    .form-section form {
        display: inline-block;
        text-align: left;
        max-width: 400px;
        width: 100%;
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 8px;
        box-sizing: border-box;
    }

    .form-group button {
        display: block;
        width: 100%;
        padding: 10px;
        background-color: #333;
        color: #fff;
        border: none;
        cursor: pointer;
    }

.content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
    max-width: 500px; /* Ensure it doesn't exceed a certain width */
    justify-content: space-between; /* Distribute the items evenly */
    
}

.image-section {
    flex: 1; /* Allow the image section to grow */
    display: flex;
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
}

    .image-section img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

.courses-offered {
    color: green;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    font-size: 25px;
}

    .courses-offered .download-button {
        background-color: #2e5c8a; /* Matching color */
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        text-decoration: none;
        display: inline-block;
        width: auto;
    }

        .courses-offered .download-button:hover {
            background-color: #1e3c5a; /* Darker shade for hover */
        }

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .form-section,
    .content-wrapper {
        margin: 0;
        max-width: 100%;
    }

        .content-wrapper img {
            margin-bottom: 10px;
        }
}

