#skills-overview {
    padding: 40px 0;
    text-align: center;
}

#skills-overview .container {
    max-width: 1200px;
    margin: auto;
}

#skills-overview h2 {
    color: var(--primary);
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.skills-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.skills-column {
    width: 48%;
    margin-bottom: 30px;
}

.accordion-item.skill {
    border: none;
    margin-bottom: 10px;
}

.skill-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none; /* Remove border */
    padding: 10px 0;
    justify-content: space-between; /* Align items on the sides */
}

.skill i {
    font-size: 2rem;
    color: var(--secondary);
}

.skill .skill-details {
    display: flex;
    flex-direction: row; /* Align items in a row */
    align-items: center; /* Center align items */
    justify-content: space-between; /* Space between title and stars */
    width: 100%;
}

.skill .skill-details .skill-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.stars {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    justify-content: flex-end; /* Align stars to the right */
    flex-grow: 1;
}

.stars .bi {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.skill:hover .stars .bi-star-fill,
.skill:hover .stars .bi-star-half {
    color: #fcd34d; /* Gold color for filled stars on hover */
}

.skill-body {
    padding: 15px 15px 15px 35px;
    display: none;
    border: none; /* Remove border */
}

.skill:hover .skill-body {
    display: block;
}

.skill-header:hover .stars .bi-star-fill,
.skill:hover .stars .bi-star-half {
    color: #fcd34d; /* Gold color for filled stars on hover */
}

.skill-header:hover .stars .bi-star-fill:nth-child(1),
.skill:hover .stars .bi-star-half:nth-child(1) {
    transition-delay: 0s;
}

.skill-header:hover .stars .bi-star-fill:nth-child(2),
.skill:hover .stars .bi-star-half:nth-child(2) {
    transition-delay: 0.1s;
}

.skill-header:hover .stars .bi-star-fill:nth-child(3),
.skill:hover .stars .bi-star-half:nth-child(3) {
    transition-delay: 0.2s;
}

.skill-header:hover .stars .bi-star-fill:nth-child(4),
.skill:hover .stars .bi-star-half:nth-child(4) {
    transition-delay: 0.3s;
}

.skill-header:hover .stars .bi-star-fill:nth-child(5),
.skill:hover .stars .bi-star-half:nth-child(5) {
    transition-delay: 0.4s;
}

@media (max-width: 992px) {
    .skills-columns {
        flex-direction: column;
    }

    .skills-column {
        width: 100%;
    }
}
