  
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #dbe6f6; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px; 
    width: 90%;
}

.contact-form {
    width: 100%;
}

.form-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem; 
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 1rem; 
}

.form-input,
.form-textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem; 
}

.form-control {
    margin-top: 15px;
}

.form-submit {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    font-size: 1rem; 
}

.form-submit:hover {
    background-color: #45a049;
}

/* Media Queries for Responsive Design */
@media (max-width: 767px) {
    .container {
        max-width: 70%; 
        height: auto;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .form-input,
    .form-textarea {
        font-size: 0.9rem;
    }

    .form-submit {
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 80%; 
        height: auto;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .form-label {
        font-size: 1rem;
    }

    .form-input,
    .form-textarea {
        font-size: 1rem;
    }

    .form-submit {
        font-size: 1.1rem;
    }
}

