/* Sticky Navbar Styles */
.sc-header-section {
    transition: transform 0.3s ease, padding 0.3s ease, height 0.3s ease;
    will-change: transform, padding, height;
    position: relative;
    z-index: 99;
    background-color: #fff;
}

.sc-header-sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Remove animation to prevent flickering */
/* @keyframes smoothScroll {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
} */

.sc-topbar-section {
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    max-height: 80px;
    overflow: hidden;
    will-change: max-height, opacity, padding;
}

.sc-topbar-section.topbar-hidden {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.sc-header-content {
    transition: padding 0.3s ease;
}

.navbar-shrink .sc-header-content {
    padding: 5px 0;
}

.sc-header-logo img {
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.navbar-shrink .sc-header-logo img {
    transform: scale(0.8);
}

.sc-main-menu .main-menu > li > a {
    transition: padding 0.3s ease;
}

.navbar-shrink .sc-main-menu .main-menu > li > a {
    padding: 15px 0;
}

/* Adjust for mobile */
@media (max-width: 991px) {
    .navbar-shrink .sc-menu-select-box {
        padding: 10px 0;
    }
}
