/* Practice Areas Styles */
.practice-nav .nav-link {
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: white;
}

.practice-nav .nav-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.practice-nav .nav-link.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.practice-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.practice-card-header {
    background: var(--gradient-accent-warm);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.practice-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    backdrop-filter: blur(5px);
}

.practice-card-header .practice-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: white;
    transition: all 0.3s ease;
}

.practice-card-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: white;
}

.practice-card-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.practice-card-body {
    padding: 2.5rem;
    flex: 1;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: rgba(0,0,0,0.02);
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: var(--primary-light);
}

.cta-card-minimal {
    background: var(--gradient-accent-warm);
    color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

/* Hover effects */
.practice-card:hover .practice-card-header {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.practice-card:hover .practice-card-header .practice-icon {
    transform: scale(1.1);
}

.practice-card:hover .practice-card-header h2,
.practice-card:hover .practice-card-header p {
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .service-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .practice-nav .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .practice-card-header {
        padding: 1.5rem 1.25rem;
    }
    
    .practice-card-body {
        padding: 1.5rem;
    }
}
