/* Base Styles */

.container-usic {
    width: 100%;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.head-usic {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #3b4f76;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    padding-bottom: 10px;
}

.head-usic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #5e3dc3, #3b4f76);
    border-radius: 2px;
}

.para-usic {
    color: #5e3dc3;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}


/* Accordion Styles */

.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background-color: #f8f9fa;
    color: #3b4f76;
    border: none;
    padding: 1.2rem 1.5rem;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header:hover {
    background-color: #f1f3f5;
    color: #5e3dc3;
}

.accordion-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #5e3dc3, #3b4f76);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.accordion-header:hover::after {
    transform: scaleX(1);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background-color: #ffffff;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 1.5rem;
}

.accordion-content ul {
    padding-left: 1.5rem;
    list-style-type: none;
}

.accordion-content li {
    height: 50px;
    margin-bottom: 0.8rem;
    color: #495057;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.accordion-content li:hover {
    color: #5e3dc3;
    transform: translateX(5px);
}

.accordion-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: #5e3dc3;
    border-radius: 50%;
}

.accordion-content p {
    color: #495057;
    line-height: 1.6;
    margin: 0.5rem 0;
}


/* Responsive Design */

@media (max-width: 768px) {
    .container-usic {
        padding: 1.5rem;
    }
    .head-usic {
        font-size: 1.8rem;
    }
    .accordion-header {
        padding: 1rem;
        font-size: 1rem;
    }
    .accordion-item.active .accordion-content {
        padding: 1rem;
    }
}


/* Animation Enhancements */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-content {
    animation: fadeIn 0.3s ease forwards;
}


/* Micro-interactions */

.accordion-header:active {
    transform: scale(0.98);
}

.accordion-content li {
    animation: fadeIn 0.3s ease forwards;
    animation-delay: calc(var(--i) * 0.1s);
    opacity: 0;
}

.accordion-item.active .accordion-content li {
    opacity: 1;
}