/* Contact Page Styling */
.contact-topics-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 2px solid rgb(101 146 205 / 80%);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-topics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.contact-topics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .contact-topics-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on larger screens */
    }

    /* Make the last item span full width if odd number of items */
    .contact-topics-grid .topic-item:last-child:nth-child(odd) {
        grid-column: span 2;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--background);
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.topic-item:hover {
    background: #ffffff;
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(0, 109, 255, 0.08);
    transform: translateY(-2px);
}

.topic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
}

.topic-item span:not(.topic-icon) {
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}