/* Contact Page Styles */

.contact-header {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-header p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Content */
.contact-content {
    padding: 4rem 2rem;
    background: white;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.info-section h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 1rem;
}

.info-section p {
    color: #555;
    line-height: 1.7;
}

.info-section a {
    color: #005FBF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-section a:hover {
    color: #E94444;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #222;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005FBF;
    box-shadow: 0 0 0 3px rgba(0, 95, 191, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #E94444;
}

.error-message {
    color: #E94444;
    font-size: 0.85rem;
    min-height: 1.2rem;
}

.status-message {
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    min-height: 0;
    display: none;
}

.status-message:not(:empty) {
    display: block;
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form button[type="submit"] {
    padding: 12px 30px;
    background: #005FBF;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover:not(:disabled) {
    background: #0047a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 95, 191, 0.3);
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-content {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .info-section {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .contact-header {
        padding: 2rem 1rem;
    }

    .contact-header h1 {
        font-size: 1.5rem;
    }

    .contact-header p {
        font-size: 0.95rem;
    }

    .contact-content {
        padding: 1.5rem;
        gap: 1rem;
    }

    .info-section {
        padding: 1rem;
    }

    .info-section h3 {
        font-size: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .contact-form button[type="submit"] {
        width: 100%;
    }
}
