/*** Footer Start ***/

.footer {
    background: #2B2225;
    position: relative;
}

.footer .footer-item h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 19px;
    padding-bottom: 12px;
    position: relative;
}

.footer .footer-item h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    background: #C69A35;
    border-radius: 5px;
}

.footer .footer-item a {
    line-height: 30px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .footer-item a:hover {
    padding-left: 5px;
    color: #E2B94F;
}

.footer .footer-item .btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #C69A35;
    border-color: #C69A35;
}

.footer .footer-item .btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #075B36;
}

/*** Footer Sereto ***/

.sereto-footer-item {
    min-width: 0;
}

.sereto-footer-item h4 i {
    color: #C69A35;
}

.footer-sereto-scroll {
    position: relative;
    height: 225px;
    overflow: hidden;
    padding: 18px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid #C69A35;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    scrollbar-width: thin;
    scrollbar-color: #C69A35 rgba(255, 255, 255, 0.1);
}

.footer-sereto-text {
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.footer-sereto-stanza {
    margin-bottom: 22px;
}

.footer-sereto-stanza strong {
    color: #E2B94F;
    font-size: 15px;
    letter-spacing: 1px;
}

/* Automatically scroll the verses when hovering */
.footer-sereto-scroll:hover .footer-sereto-text {
    animation: seretoAutoScroll 35s linear forwards;
}

/* Pause animation when the pointer leaves */
.footer-sereto-scroll:hover {
    border-left-color: #E2B94F;
}

/* Keyboard accessibility */
.footer-sereto-scroll:focus-visible {
    outline: 2px solid #E2B94F;
    outline-offset: 3px;
}

@keyframes seretoAutoScroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-65%);
    }
}

.sereto-footer-caption {
    color: #E2B94F;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

/*** Copyright Start ***/

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #f0f3ef!important;
    color: rgba(255, 255, 255, 0.8);
}

/*** Copyright End ***/


/*** Mobile Footer ***/

@media (max-width: 767px) {

    .footer-sereto-scroll {
        height: 230px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        cursor: auto;
    }

    /* Disable automatic animation on mobile */
    .footer-sereto-scroll:hover .footer-sereto-text {
        animation: none;
        transform: none;
    }

    .footer-sereto-text {
        font-size: 13px;
    }

    .footer .footer-item {
        margin-bottom: 10px;
    }

}