body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    /*line-height: 1.6;*/
}

h1 {
    text-align: center;
    margin-top: -10px;
}

.call-to-action {
    text-align: center;
    font-weight: bold;
    margin-top: 20px; /* или любое другое значение, чтобы соответствовать вашему дизайну */
    color: #333; /* Цвет текста, выберите то, что подходит к вашему сайту */
}


.contact-form-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"], /* Добавили селектор для поля телефона */
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}


button[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    cursor: pointer;
}


#close-error-modal-contact {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #4cae4c;
}
#close-error-modal-contact:hover {
    background-color: #4cae4c;
}

ul {
    list-style: none;
    text-align: center;
}

li {
    display: inline;
    margin: 0 10px;
}

a {
    color: #333;
    text-decoration: none;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

.home-button {
    padding: 10px 20px;
    background-color: #5cb85c;
    color: white;
    border: none;
    text-decoration: none;
}

.home-button:hover {
    background-color: #4cae4c;
}

.social-links {
    text-align: center;
    margin-top: 20px;
}

.social-links a {
    margin: 0 10px;
    color: #3b5998; /* цвет Facebook, например */
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

.social-links p {
    margin-top: 20px;
}


#success-modal, #error-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 10;
}

#error-modal-contact {
    position: fixed;
    text-align: center;
    color: red;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 333px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 10;
}

#success-modal p, #error-modal p {
    text-align: center;
    margin-bottom: 20px;
}

#close-success, #close-error {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
}


@media (max-width: 768px) {
    .contact-form-container {
        width: 90%;
        margin: 20px auto;
    }

    h1 {
        margin-top: -10px;
    }
}
