/* 
* Skills Section Enhancement
* Improves the display of the expertise section with descriptions and full-width bars
*/

/* Skills container with improved spacing */
.skills-container {
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
}

/* Individual skill item with better structure */
.skill {
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Skill info container for name and description */
.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

/* Skill name with improved styling */
.skill-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    flex: 0 0 40%;
}

/* New skill description styling */
.skill-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    flex: 0 0 60%;
    padding-left: 1rem;
}

/* Skill bar with improved appearance */
.skill-bar {
    height: 10px;
    background-color: var(--accent-2);
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Skill level with gradient and animation */
.skill-level {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

/* Dark mode adjustments */
.dark-mode .skill-name {
    color: var(--secondary-color);
}

.dark-mode .skill-description {
    color: #aaa;
}

.dark-mode .skill-bar {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .skill-info {
        flex-direction: column;
    }
    
    .skill-name, .skill-description {
        flex: 0 0 100%;
        padding-left: 0;
    }
    
    .skill-description {
        margin-bottom: 0.5rem;
    }
}
