/* Contact page styles */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
}

/* Hero banner */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-hero__subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto;
}

/* Two-column grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* Left sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-card__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
    color: #1a1a2e;
}

.contact-card p {
    font-size: 0.88rem;
    color: #555;
    margin: 0;
    line-height: 1.45;
}

/* Common inquiry topics */
.contact-topics {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-topics h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.contact-topics ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-topics li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid #eee;
}

.contact-topics li:last-child {
    border-bottom: none;
}

.contact-topics li i {
    color: var(--primary-color);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
}

/* Right column: form */
.contact-form-wrapper {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form-wrapper .form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.contact-form-wrapper .form-control {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.6rem 0.85rem;
    font-size: 0.92rem;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.contact-form-wrapper .btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border: none;
    border-radius: 10px;
    padding: 0.7rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-form-wrapper .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.required {
    color: #dc3545;
}

/* Quick help section */
.contact-quick-help {
    margin-bottom: 2.5rem;
}

.contact-quick-help h3 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
}

.quick-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.quick-help-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
}

.quick-help-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    color: inherit;
    text-decoration: none;
}

.quick-help-card i {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    display: block;
}

.quick-help-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.35rem;
}

.quick-help-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 2rem 0 1.5rem;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-sidebar {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .quick-help-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }
}
