/* Expertise Section Styles */
.expertise-section {
    background: rgba(9, 10, 20, 0.7);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.expertise-section .about-heading {
    color: #fff;
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.expertise-section .about-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent, #6e56cf);
}

.expertise-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.expertise-card {
    display: flex;
    gap: 20px;
    background: rgba(14, 15, 30, 0.7);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.08);
}

.expertise-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.7);
}

.expertise-details {
    flex: 1;
}

.expertise-details h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #fff;
}

.expertise-bar {
    height: 10px;
    background: rgba(20, 20, 40, 0.8);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.expertise-progress {
    height: 100%;
    background: linear-gradient(90deg, rgba(110, 86, 207, 0.7), #6e56cf);
    border-radius: 5px;
    position: relative;
    transition: width 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.expertise-percentage {
    position: absolute;
    right: 0;
    top: -28px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.expertise-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* Animation */
.expertise-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

.expertise-card:nth-child(1) {
    animation-delay: 0.1s;
}

.expertise-card:nth-child(2) {
    animation-delay: 0.2s;
}

.expertise-card:nth-child(3) {
    animation-delay: 0.3s;
}

.expertise-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .expertise-section {
        padding: 25px 20px;
    }

    .expertise-card {
        padding: 20px;
    }

    .expertise-details h4 {
        font-size: 20px;
    }

    .expertise-percentage {
        font-size: 16px;
        top: -25px;
    }

    .expertise-description {
        font-size: 14px;
    }
}