@media (max-width: 1024px) {
    .pros .box {
        flex: 1 1 38%;
        /* 38% width on tablets/midsize screens */
    }
}

@media (max-width: 768px) {
    .pros .box {
        flex: 1 1 75%;
        /* 75% width on phones/small screens */
    }

    form .row {
        flex-direction: column;
    }

    form .row input,
    form textarea {
        width: 80%;
        /* 80% width for all fields on phones */
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    header img {
        height: 25vh;
        /* 25% of viewport height for phones */
        width: auto;
        /* Maintain aspect ratio */
    }

    section img {
        max-width: 100%;
        /* Ensure images are responsive */
    }

    form label,
    form input,
    form textarea,
    form button {
        max-width: 100%;
        /* Ensure form elements are responsive */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    header img {
        height: 20vh;
        /* 20% of viewport height for tablets */
        width: auto;
        /* Maintain aspect ratio */
    }
}

@media (min-width: 1025px) {
    header img {
        height: 33vh;
        /* 33% of viewport height for desktops/laptops */
        width: auto;
        /* Maintain aspect ratio */
    }
}

@media (min-width: 1200px) {
    .container {
        width: 90%;
        /* Adjust container width for wide screens */
    }

    header img {
        height: 33vh;
        /* 33% of viewport height for wide screens */
        width: auto;
        /* Maintain aspect ratio */
    }

    section img {
        max-width: 500px;
        /* Adjust image size for wide screens */
    }

    section h2 {
        font-size: 2em;
        /* Adjust heading size for wide screens */
    }

    section p {
        font-size: 1.3em;
        /* Adjust paragraph size for wide screens */
    }
}

@media (min-width: 769px) {
    .footer-content {
        flex-direction: row;
        /* Arrange sections horizontally on larger screens */
    }
}