/* Стилі для секції CTA (Call-to-Action) */
.cta-section {
    background-color: #247179;
    background-image: url('../images/4blockbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    margin-bottom: 0;
    position: relative;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    background-color: #fff;
    color: #247179;
    border-radius: 8px;
    text-decoration: none;
    padding: 0 30px;
    width: 258px;
    height: 64px;
    line-height: 64px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Стилі для секції контактів */
.contact-section {
    background-color: #F5F7F9;
    padding: 80px 0;
    position: relative;
}

.contact-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #1F1F21;
    text-align: center;
    margin-bottom: 15px;
}

.contact-subheading {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #7D7D7D;
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E1E4E8;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #247179;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.required {
    color: #e74c3c;
}

.optional-text {
    display: block;
    font-size: 14px;
    color: #7D7D7D;
    margin-top: 5px;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.submit-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    background-color: #247179;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 40px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #1d5b61;
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.status-message {
    display: none;
    padding: 15px;
    border-radius: 8px;
}

.status-message.loading {
    background-color: #f1f8ff;
    color: #0070e0;
}

.status-message.success {
    background-color: #e7f7ed;
    color: #28a745;
}

.status-message.error,
.status-message.validation-error {
    background-color: #fff2f2;
    color: #e74c3c;
}

.status-message.network-error {
    background-color: #fff9e6;
    color: #f39c12;
}

/* Адаптивність */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .contact-heading {
        font-size: 32px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 80%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .cta-section,
    .contact-section {
        padding: 50px 0;
    }
    
    .cta-content h2,
    .contact-heading {
        font-size: 26px;
    }
    
    .cta-content p,
    .contact-subheading {
        font-size: 16px;
    }
    
    .submit-button {
        width: 100%;
    }
} 