@media (min-width: 992px) {
    #menu {
        opacity: 0;
        pointer-events: none;
    }

    .navbar-toggler.d-lg-block {
        display: block !important;
    }

    #desktopHamburger:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    .desktop-menu-animated {
        position: absolute;
        top: 100px;
        right: 5px;
        background: #fff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        border-radius: 16px;
        min-width: 230px;
        padding: 15px 15px 10px 15px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px) scale(0.98);
        transition: all 0.35s cubic-bezier(.4, 2.3, .3, 1);
        z-index: 1002;
        display: flex;
        flex-direction: row;
        gap: 0;
    }

    .desktop-menu-animated.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .animated-menu-boxes {
        display: flex;
        flex-direction: row;
        gap: 22px;
        width: 100%;
        /* justify-content: space-between; */
    }

    .menu-box {
        background: #f7f7f7;
        border-radius: 12px;
        min-width: 200px;
        padding: 18px 18px 18px 18px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        opacity: 0;
        transform: translateY(30px) scale(0.97);
        animation: menuBoxFadeIn 0.5s forwards;
        animation-delay: calc(var(--i) * 0.13s);
    }

    .desktop-menu-animated.active .menu-box {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    @keyframes menuBoxFadeIn {
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .menu-box-title {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: 12px;
        color: #1c3f33;
        display: flex;
        align-items: baseline;
        gap: 7px;
    }

    .menu-box-title a {
        color: #1c3f33;
    }

    .main-link-title {
        border-bottom: 1px solid #b0b0b0;
        padding-bottom: 13px;
        margin-bottom: 10px;
    }

    .mn-title {
        background: #fff3d0;
    }

    .menu-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu-box ul li {
        margin-bottom: 5px;
        opacity: 0;
        transform: translateY(20px);
        animation: menuItemFadeIn 0.4s forwards;
    }

    .desktop-menu-animated.active .menu-box ul li {
        opacity: 1;
        transform: translateY(0);
    }

    .menu-box:nth-child(1) ul li {
        animation-delay: 0.25s;
    }

    .menu-box:nth-child(2) ul li {
        animation-delay: 0.35s;
    }

    .menu-box:nth-child(3) ul li {
        animation-delay: 0.45s;
    }

    @keyframes menuItemFadeIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .menu-box ul li:last-child {
        margin-bottom: 0;
    }

    .menu-box ul li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 12px;
        color: #222;
        font-weight: 500;
        text-decoration: none;
        border-radius: 6px;
        transition: background 0.2s, color 0.2s;
        font-size: 1rem;
    }

    .menu-box ul li a:hover {
        background: #e6f7ee;
        color: #1c3f33;
    }

    .menu-box .icon-box {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 25px;
        height: 25px;
        border-radius: 7px;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
        color: #07A79D;
        font-size: 0.9em;
        border: 1.5px solid #07A79D;
    }

    .menu-box-title .icon-box {
        background: #e6f7ee;
        color: #1c3f33;
        border: none;
        font-size: 1.05em;
    }

    /* Hamburger animation */
    .hamburger-icon .bar {
        transition: 0.4s cubic-bezier(.4, 2.3, .3, 1);
    }

    .hamburger-icon.active .top {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-icon.active .middle {
        opacity: 0;
    }

    .hamburger-icon.active .bottom {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 991.98px) {

    .navbar-toggler.d-lg-block,
    .desktop-menu-animated {
        display: none !important;
    }

    .navbar-brand img {
        width: 240px;
    }

    .Why-BudsCube {
        margin: 0 0px !important;
    }

    .slicknav_nav li a {
        font-size: 18px;
        font-weight: 500 !important;
    }


}

/* footer */

.about-footer {
    margin-right: 80px;
}

.footer-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 24px;
}

.footer-address .address-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
    color: #cfcfcf;
    font-size: 16px;
    line-height: 32px;
    gap: 10px;
}

.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #f1f1f1;
    /* margin-top: 30px; */
    /* padding: 15px 0; */
}

.footer-quick-links ul li {
    padding: 12px 0px;
}

.footer-quick-links ul li a {
    color: rgb(253 253 253);
}

.footer-quick-links ul li i {
    margin-right: 5px;
}

.footer-copyright-text a {
    color: #606060;
}


/*  */
.aboutbg {
    position: relative;
    background: url(../img/ban/about.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 195px 0 50px;
    margin-top: 20px;

}

.servicebg {
    position: relative;
    background: url(../img/ban/service.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 195px 0 50px;
    margin-top: 20px;

}

.contactbg {
    position: relative;
    background: url(../img/ban/contact.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 195px 0 50px;
    margin-top: 20px;

}

.mb {

    margin-bottom: 0.5em !important;
}


.sam {
    background: var(--accent-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    color: white;
}

.sam:hover {
    background-color: #606060;
}

#vmTab {
    border-bottom: none !important;
}

#vision-mission-tabs .custom-tab .nav-link {
    color: #606060;
    font-weight: 600;
    border: 1px solid;
    padding: 15px 40px !important;
    margin: 0 15px;
    background: #e8f0ec;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 18px;
}

#vision-mission-tabs .custom-tab .nav-link:hover,
#vision-mission-tabs .custom-tab .nav-link.active {
    background: #07A79D;
    color: #fff;
    box-shadow: 0 4px 12px #40d3c9;
}

#vmTabContent {
    background-color: #f1f1f1;
    padding: 15px;
}

/* Tab Content Box */
#vision-mission-tabs .tab-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#vision-mission-tabs .tab-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: #000000;
    background: #f9fdfa;
    padding: 15px;
    border-left: 4px solid #07A79D;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#vision-mission-tabs .tab-item h5 {
    margin-bottom: 7px;
}

#vision-mission-tabs .tab-item p {
    margin-bottom: 0;
}

#vision-mission-tabs .tab-item:hover {
    background: #e4f7ef;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

#vision-mission-tabs .tab-item .icon {
    font-size: 1.5rem;
    color: #07A79D;
    min-width: 30px;
}

/* Image Styling */
#vision-mission-tabs .tab-img {
    border-radius: 12px;
    transition: transform 0.4s ease;
}

/* Section Background */
#vision-mission-tabs {
    background: #f1f1f1;
}

@media (max-width: 768px) {
    .footer-copyright {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        text-align: center;
    }

    .footer-copyright-text p {
        text-align: center;
    }

    .Why-BudsCube {
        padding: 0px 0 50px 0;
    }
}

.Why-BudsCube {
    margin: 0 70px;
}

.text-justify {
    text-align: justify;
}

.service-item:hover .icon-box {
    background: unset !important;
}

.service-item.active .icon-box {
    background: unset !important;
}

.slicknav_nav .nav-item ul li img {
    width: 30px;
}

@media (max-width: 1300px) {
    .philosophy-image img {
        aspect-ratio: unset !important;
    }
}