﻿/* ===== CONTACT PAGE STYLES ===== */

/* Contact Hero */
.contact-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.contact-hero-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Content */
.contact-content {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Contact Form */
.contact-form-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-form-section > p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 0.5rem;
    }

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #f8fafc;
}

    .form-control:focus {
        outline: none;
        border-color: #3b82f6;
        background: white;
    }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

    .checkbox-label a {
        color: #3b82f6;
        text-decoration: none;
    }

        .checkbox-label a:hover {
            text-decoration: underline;
        }

.success-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #dcfce7;
    border: 2px solid #16a34a;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.success-icon {
    font-size: 2rem;
}

.success-message h4 {
    color: #15803d;
    margin-bottom: 0.25rem;
}

.success-message p {
    color: #166534;
    margin: 0;
}

/* Contact Info */
.contact-info-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-info-section > p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 2rem;
    margin-top: 0.25rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #374151;
    margin-bottom: 0.25rem;
}

.response-time {
    font-size: 0.9rem;
    color: #3b82f6;
    font-weight: 500;
}

/* Quick Actions */
.quick-actions h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .action-btn:hover {
        border-color: #3b82f6;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
    }

.action-icon {
    font-size: 2rem;
}

.action-btn h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.action-btn p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

/* FAQ Section */
.contact-faq {
    padding: 6rem 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #3b82f6;
}

    .faq-item h4 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 1rem;
    }

    .faq-item p {
        color: #64748b;
        line-height: 1.6;
        margin: 0;
    }

/* Enhanced form validation styles */
.form-control.valid {
    border-color: #22c55e !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2322c55e' d='m2.3 6.73l1.4-1.1 2.9-3.0c.15-.15.35-.26.55-.26s.4.11.55.26c.14.14.25.34.25.54s-.11.4-.25.54l-3.7 3.7c-.14.14-.34.25-.54.25s-.4-.11-.54-.25l-2.1-2.1c-.14-.14-.25-.34-.25-.54s.11-.4.25-.54c.15-.15.35-.26.55-.26s.4.11.55.26z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

.form-control.invalid {
    border-color: #ef4444 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

/* Loading button styles */
.btn-primary.loading,
.btn-secondary.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-method,
    .action-btn {
        padding: 1rem;
    }

    .success-message {
        padding: 1rem;
    }
}
