/* Contact Page Styles */

.contact-header {
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-header .intro {
    font-size: 1.1rem;
    opacity: 0.95;
}

.contact-form-container {
    margin: 0 auto 4rem;
}

.contact-form-container .container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    transition: all 0.2s ease-in-out;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field .helptext {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: block;
}

.form-field.checkbox-field {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #dee2e6;
    margin-top: 2rem;
}

.form-field.checkbox-field label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0;
}

.form-field.checkbox-field input[type="checkbox"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: #0d6efd;
}

.form-field.checkbox-field input[type="checkbox"]:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.consent-text {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
}

.consent-text a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}

.consent-text a:hover {
    text-decoration: underline;
}

.consent-text a:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
    border-radius: 2px;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1.5rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.submit-button:focus {
    outline: 3px solid rgba(13, 110, 253, 0.5);
    outline-offset: 2px;
}

.security-note {
    text-align: center;
    margin-top: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.security-note i {
    color: #198754;
}

.errorlist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.errorlist li {
    color: #dc3545;
    font-size: 0.85rem;
}

/* Contact Info Sidebar */
.contact-info {
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.contact-info-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info-content a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    border-radius: 4px;
}

.contact-info-content a:hover {
    opacity: 0.8;
}

.contact-info-content a:focus {
    outline: 2px solid white;
    outline-offset: 2px;
    opacity: 1;
}

.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255,255,255,0.3);
}

.contact-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    color: white;
}

.social-link:focus {
    outline: 2px solid white;
    outline-offset: 2px;
    background: rgba(255,255,255,0.3);
}

/* Contact Success Page */
.success-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.success-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    animation: scaleIn 0.5s ease-out;
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 4rem;
    color: #198754;
}

.success-content {
    margin-bottom: 2.5rem;
}

.success-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
}

.success-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-field.checkbox-field {
        padding: 1rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    .success-card {
        padding: 2rem 1.5rem;
    }
    
    .success-content h1 {
        font-size: 2rem;
    }
    
    .success-buttons {
        flex-direction: column;
    }
    
    .success-buttons .btn {
        width: 100%;
    }
}
