main {
    margin: 7rem auto 3rem;
    text-align: center;
    padding: 0 0.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 1rem;
    max-width: 700px;
    margin: 2rem auto 0;
    text-align: left;
}

form label {
    color: #1a1a1a;
    font-weight: 500;
}

form input, form textarea,form select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cccccc;
    background: #f7f7f7;
    color: #1a1a1a;
    font-size: 1rem;
    transition: all 0.3s ease;
}

form input:focus, form textarea:focus,form select:focus {
    outline: none;
    border-color: #3f6df0;
    background: #e6eaff;
}

form textarea {
    resize: vertical;
    height: 150px;
}

form button {
    padding: 12px;
    background: #3f6df0;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #2d57e2;
}

form button:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(63, 109, 240, 0.7);
}

#alert, #success, #alert-quote, #success-quote {
    display: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: opacity 0.3s ease;
    max-width: 700px;
    margin: 15px auto 0;
}

#alert-quote,#alert {
    background-color: #d32f2f;
    color: #ffffff;
    border: 1px solid #b71c1c;
}

#success-quote,#success {
    background-color: #388e3c;
    color: #ffffff;
    border: 1px solid #2e7d32;
}

 .formsection{
    text-align: center;
    margin: 3rem 0;
    padding: 0 0.5rem;
}
.note{
    color: rgb(239, 28, 28);
    font-size: small;
    margin: 0.5rem;
}

form select,form input::placeholder, form textarea::placeholder{
    color: #666;
}
    