/* Form Styles */
.contact-form {
    max-width: 600px;
    margin: 30px auto 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
    font-size: 1.1em;
    padding: 14px 30px;
}

/* Contact Info Section */
.contact-info {
    background: var(--primary-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.contact-info p {
    margin: 0;
    font-size: 1.1em;
}

/* Divider */
.divider {
    height: 1px;
    background: #e0e0e0;
    margin: 40px 0;
}

/* Newsletter Embed Styling */
.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-container iframe {
    width: 100%;
    border: none;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px var(--shadow-light);
}

/* Form Success/Error Messages */
.form-message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form {
        max-width: 100%;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
