/* src/styles/components/practice_areas.css */

.practice-areas-section {
    background-color: #ffffff; /* A slightly different background to distinguish the section */
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Underline effect for the section title */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-matte-gold);
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.practice-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    /* ===== POLISHING PASS: STEP 9.4 ===== */
    /* Add subtle shadow and lift effect on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.practice-card:hover {
    transform: translateY(-3px); /* Subtle lift effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* Softer hover shadow */
}

.card-icon .icon {
    width: 60px;
    height: 60px;
    color: var(--primary-deep-blue);
    margin-bottom: 1.5rem;
}

.practice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.practice-card p {
    color: var(--text-main-charcoal);
    line-height: 1.5;
}

/* --- Device-Specific Layouts --- */
@media (max-width: 820px) { /* Tablets */
    .practice-areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { /* Phones */
    .practice-areas-grid { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 2rem; }
    .practice-card { padding: 1.5rem; }
}

@media (max-width: 390px) {
    .section-title h2 { font-size: 1.8rem; }
    .practice-card { padding: 1.25rem; }
}