html, body {
    margin: 0;
    height:100%;
    width:100%;
    padding:0;
}

section {
    display: block;
    background: rgba(237, 244, 235, 0.9);
    height:100%;
    width:100%;
    margin-top: 100px;
  	scroll-margin-top: 120px;
    height: calc(100vh - 100px);
    padding: 60px;
    padding-left: 120px;
    box-sizing:border-box;
}

nav {
    display: flex;
    gap: 20px;
    padding-right: 90px;
    flex-wrap: wrap;
}

nav a {
    white-space: nowrap;
}

h1 {
  font-weight: bold;
  font-size: 32px;
}

h2 {
  font-weight: bold;
  font-size: 24px;
}
 <style>
        .section {
            padding: 60px 5%;
            text-align: center;
            font-size: 0.9em;
        }
        .contact-form {
            display: flex;
            flex-direction: column;
            max-width: 300px;
            margin: 0 auto;
            gap: 8px;
        }
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 6px;
            border: 1px solid #002855;
            border-radius: 5px;
            font-size: 0.9em;
        }
        .contact-form button {
            background: #00A896;
            color: white;
  			width: 30%;
            padding: 8px;
            border: none;
            border-radius: 5px;
            align-items: center;
            font-size: 1em;
            cursor: pointer;
            transition: background 0.3s;
        }
        .contact-form button:hover {
            background: #028090;
        }
        .footer {
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.8);
            padding: 10px;
            text-align: center;
            font-size: 0.8em;
        }
        @media (max-width: 768px) {
            header { flex-direction: column; align-items: center; text-align: center; }
            nav { flex-direction: column; gap: 10px; }
            .section { padding: 60px 10%; font-size: 0.9em; }
            .contact-form { max-width: 100%; }
        }
    </style>