.file-area {
    padding: 111px 0 114px;
}

.file-downloads-title h3 {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--primary);
}

.file-items-title h4 {
    color: var(--dark);
    font-size: 1.25em;
    font-weight: 500;
}
summary {
    border-bottom: 1px solid var(--gray);
}

details summary {
    list-style: none;
    position: relative;
    padding-left: 24px;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--dark);
    border-bottom: 2px solid var(--dark);
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.2s ease;
}

details[open] > summary::before {
    transform: translateY(-40%) rotate(-135deg); 
}

.file-area .file-subsection-title {
    margin: 24px 0 16px 20px;  
    color: var(--dark);
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .file-area .file-subsection-title {
        margin-left: 12px;
        font-size: 1.1em;
    }
}

.file-items-box {
    background: #FFF;
    border-radius: 10px;
    padding: 22px 16px 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.file-items-box::before {
    position: absolute;
    content: "";
    height: 3px;
    width: 0;
    background: var(--primary);
    left: 0;
    top: 0;
    right: 0;
    margin: auto;
    z-index: -1;
    transition: .5s;
}

.file-items-box:hover::before{
    width: 100%;
}

.file-icon-thumb {
    float: left;
    margin-right: 20px;
    margin-top: 6px;
    background: var(--dark);
    height: 70px;
    width: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.file-icon-thumb::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--primary);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    transform: scale(0);
    z-index: -1;
    transition: .5s;
}

.file-items-box:hover .file-icon-thumb::before{
    transform: scale(1.1);
}

.file-icon-thumb i{
    font-size: 2em;
    transition: .5s;
    vertical-align: middle;
}

.file-items-box:hover .file-icon-thumb i{
    filter: brightness(0)invert(1);
}

.file-items-title h4 a {
    color: var(--dark);
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
    text-decoration: none;
}

.file-items-content p {
    color: var(--gray);
    font-size: 16px;
    font-weight: 400;
    line-height: 29px;
    margin: 26px 0 22px;
}

.file-items-thumb {
    position: relative;
}

.file-items-icon {
    position: absolute;
    top: -20px;
    right: 16px;
}

.file-items-icon i {
    height: 40px;
    width: 40px;
    background: var(--primary);
    display: inline-block;
    text-align: center;
    line-height: 40px;
    color: var(--white);
    font-size: 20px;
    border-radius: 50%;
    transform: rotate(90deg);
    position: relative;
    z-index: 1;
    transition: .5s;
}

.file-items-box:hover .file-items-icon i{
    transform: rotate(0);
}

.file-items-icon i::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--dark);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: scale(0);
    z-index: -1;
    transition: .5s;
}

.file-items-box:hover .file-items-icon i::after{
    transform: scale(1.1);
}

.file-disctription {
    text-align: right;
}

.file-disctription span {
    color: var(--dark);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
}

.file-disctription span a {
    color: var(--primary);
    font-size: 18px;
    font-weight: 400;
    text-decoration-line: underline;
}



