.lazy-section {
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}
.lazy-section.loaded {
    opacity: 1;
    transform: translateY(0);
}
#nav-scroll .nav-link {
    transition: all 0.3s ease;
}
#nav-scroll .nav-link.active {
    background-color: var(--bs-primary);
    color: #fff;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
}
.gallery-item {
    transition: all 0.3s ease;
    display: block;
}
.gallery-overlay {
    background: rgb(0 0 0 / 0.5);
    opacity: 0;
    transition: all 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item img {
    transition: all 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
[id^="item-"] {
    scroll-margin-top: 100px;
}
.nav-pills .nav-link.active {
    background-color: var(--bs-primary) !important;
    color: white !important;
    transition: all 0.3s ease;
}
.nav-pills .nav-link {
    color: var(--bs-gray-700);
    transition: all 0.3s ease;
}
.nav-pills .nav-link:hover {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}
.hover-underline {
    position: relative;
    cursor: pointer;
}
.hover-underline:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.5s ease-in-out;
}
.hover-underline:hover:after {
    width: 100%;
}
.progress-bar-0 {
    width: 0%;
}
.progress-bar-1 {
    width: 10%;
}
.progress-bar-2 {
    width: 20%;
}
.progress-bar-3 {
    width: 30%;
}
.progress-bar-4 {
    width: 40%;
}
.progress-bar-5 {
    width: 50%;
}
.progress-bar-6 {
    width: 60%;
}
.progress-bar-7 {
    width: 70%;
}
.progress-bar-8 {
    width: 80%;
}
.progress-bar-9 {
    width: 90%;
}
.progress-bar-10 {
    width: 100%;
}
.progress-0 {
    width: 0%;
}
.progress-5 {
    width: 5%;
}
.progress-10 {
    width: 10%;
}
.progress-15 {
    width: 15%;
}
.progress-20 {
    width: 20%;
}
.progress-25 {
    width: 25%;
}
.progress-30 {
    width: 30%;
}
.progress-35 {
    width: 35%;
}
.progress-40 {
    width: 40%;
}
.progress-45 {
    width: 45%;
}
.progress-50 {
    width: 50%;
}
.progress-55 {
    width: 55%;
}
.progress-60 {
    width: 60%;
}
.progress-65 {
    width: 65%;
}
.progress-70 {
    width: 70%;
}
.progress-75 {
    width: 75%;
}
.progress-80 {
    width: 80%;
}
.progress-85 {
    width: 85%;
}
.progress-90 {
    width: 90%;
}
.progress-95 {
    width: 95%;
}
.progress-100 {
    width: 100%;
}
.progress-percent-bg {
    height: 10px;
    border-radius: 10px;
}
.progress-percent {
    position: absolute;
    right: 5px;
    color: #fff;
    font-size: 12px;
    line-height: 10px;
}
.icon-xl {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}
.btn-like {
    background: none;
    border: none;
    transition: all 0.3s ease;
}
.btn-like i {
    color: #dc3545;
    transition: all 0.3s ease;
}
.btn-like:hover i {
    transform: scale(1.2);
}
.btn-like.liked i {
    animation: likeEffect 0.5s ease;
}
@keyframes likeEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
    }
    100% {
        transform: scale(1);
    }
}
.like-count {
    display: flex;
    align-items: center;
}
.btn-outline-success,
.btn-outline-danger {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-outline-success:hover,
.btn-outline-danger:hover {
    transform: scale(1.1);
}
@media (max-width: 991.98px) {
    body {
        padding-bottom: 3.5rem;
    }
    .mobile-nav {
        background-color: var(--bs-body-bg);
        transition: all 0.3s ease;
    }
    [data-bs-theme="dark"] .mobile-nav {
        background-color: var(--bs-dark);
        border-top-color: var(--bs-dark-border-subtle) !important;
    }
    [data-bs-theme="dark"] .list-group-item {
        background-color: var(--bs-dark);
        color: var(--bs-light);
        border-color: var(--bs-dark-border-subtle);
    }
    [data-bs-theme="dark"] .list-group-item:hover {
        background-color: var(--bs-dark-bg-subtle);
    }
    #mobileNavToggle {
        cursor: pointer;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    #mobileNavToggle i {
        transition: transform 0.3s ease;
    }
    .mobile-nav-menu {
        position: fixed;
        bottom: 40px;
        left: 0;
        right: 0;
        max-height: 70vh;
        overflow-y: auto;
        transform: translateY(100%);
        visibility: hidden;
        opacity: 0;
        transition:
            transform 0.4s ease-in-out,
            visibility 0.4s ease-in-out,
            opacity 0.3s ease-in-out;
        background-color: var(--bs-body-bg);
        box-shadow: 0 -0.5rem 1rem rgb(0 0 0 / 0.15);
    }
    .mobile-nav-menu.show {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    .mobile-nav-menu::-webkit-scrollbar {
        width: 5px;
    }
    .mobile-nav-menu::-webkit-scrollbar-track {
        background: var(--bs-body-bg);
    }
    .mobile-nav-menu::-webkit-scrollbar-thumb {
        background: var(--bs-secondary);
        border-radius: 5px;
    }
    [data-bs-theme="dark"] .mobile-nav {
        background-color: var(--bs-dark);
        border-top-color: var(--bs-dark-border-subtle) !important;
        color: #fff;
    }
    [data-bs-theme="dark"] .list-group-item {
        background-color: var(--bs-dark);
        color: #fff;
        border-color: var(--bs-dark-border-subtle);
    }
    [data-bs-theme="dark"] #mobileNavToggle {
        color: #fff;
    }
    [data-bs-theme="dark"] .list-group-item-action {
        color: #fff;
    }
    [data-bs-theme="dark"] .list-group-item-action:hover {
        background-color: var(--bs-dark-bg-subtle);
        color: #fff;
    }
}
.accordion-body p {
    white-space: pre-line;
}
