/* Enhanced expertise section styles */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #6a11cb;
}

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

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
    z-index: 0;
}

.expertise-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.expertise-icon i {
    font-size: 30px;
    color: #ffffff;
}

.expertise-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    z-index: 1;
}

.expertise-card h4 {
    display: none; /* Remove redundant headings */
}

.expertise-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.expertise-card .expertise-benefits {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.expertise-card .expertise-benefits ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.expertise-card .expertise-benefits ul li {
    margin-bottom: 8px;
    position: relative;
    font-size: 15px;
    color: #555;
}

.expertise-card .expertise-benefits ul li::before {
    content: '✓';
    color: #6a11cb;
    position: absolute;
    left: -20px;
    font-weight: bold;
}

.expertise-card .expertise-cta {
    margin-top: 20px;
    text-align: right;
    position: relative;
    z-index: 1;
}

.expertise-card .expertise-cta a {
    color: #6a11cb;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.expertise-card .expertise-cta a:hover {
    color: #2575fc;
}

.expertise-card .expertise-cta a i {
    margin-left: 5px;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card {
        padding: 25px;
    }
    
    .expertise-icon {
        width: 60px;
        height: 60px;
    }
    
    .expertise-icon i {
        font-size: 24px;
    }
}

/* Section intro paragraph */
.expertise-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}

/* Expertise categories */
.expertise-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.expertise-category {
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.expertise-category:hover, .expertise-category.active {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #ffffff;
}
