/* CSS for the new Expert Domains Section */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .domain-grid {
        grid-template-columns: 1fr;
    }
}

.domain-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-primary);
    transition: height 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.domain-card:hover::before {
    height: 100%;
}

.domain-icon {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.domain-card:hover .domain-icon {
    background: var(--color-primary);
    color: white;
}

.domain-content h3 {
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.domain-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.domain-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.domain-link:hover {
    border-bottom-color: var(--color-primary);
    gap: 0.75rem;
}

.section--expert {
    background: white;
    /* Clean background */
    padding: 6rem 0;
}