html {
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    font-family: "Poppins";
    scroll-behavior: smooth;
    margin: 0;
    background-color: #fcfcfc;
}

a {
    text-decoration: none;
}

ol,
ul,
menu {
    list-style: none;
}

:root {
    /* transition */
    --transition-1: 0.15s ease;
    --transition-2: 0.35s ease;
    --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);
}

/* ------------------
NAVBAR DESIGN
----------------- */

.header .btn {
    display: none;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* padding-block: 14px; */
    z-index: 4;
    transition: var(--transition-1);
}

.header.active {
    position: fixed;
    background-color: #4f4f4f;
    box-shadow: 0 2px 30px hsla(0, 0%, 0%, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 64px 12px 64px;
    gap: 40px;
    background-color: #fcfcfc;
    box-shadow: 0px 8px 28px 0px rgba(178, 178, 178, 0.25);
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    color: #2F2F2F;
    font-size: 30px;
    font-weight: 500;
}

.logo span {
    color: #FF0000;
}

.logo img {
    /* height: 55px; */
    /* width: 55px; */
    /* height: 30px; */
    width: 160px;
}

.logo-small img {
    width: 150px;
}

.nav-open-btn {
    color: #2F2F2F;
    font-size: 32px;
    padding: 4px;
    background-color: transparent;
    border: none;
}

.navbar {
    background-color: #fcfcfc;
    position: fixed;
    top: 0;
    float: right;
    right: -280px;
    width: 100%;
    max-width: 280px;
    min-height: 100%;
    padding: 20px;
    visibility: hidden;
    z-index: 2;
    transition: 0.25s var(--cubic-in);
}

.navbar.active {
    /* transform: translateX(280px); */
    right: 0;
    visibility: visible;
    transition: 0.5s var(--cubic-out);
}

.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 10px 30px;
}

.navbar-top a {
    font-size: 24px;
    text-transform: uppercase;
    color: #2F2F2F;
    font-weight: 500;
}

.navbar-top a span {
    color: #FF0000;
}

.nav-close-btn {
    display: flex;
    color: #2F2F2F;
    font-size: 35px;
    padding: 4px;
    float: right;
    background-color: transparent;
    border: none;
}

.navbar-link {
    color: #2F2F2F;
    font-size: 15px;
    font-weight: 500;
    padding-block: 12px;
}

.overlay {
    position: fixed;
    inset: 0;
    background-color: #4f4f4f7d;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-2);
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

.contact-button {
    /* background-color: #ff2323; */
    background-color: #2F2F2F;
    color: #fcfcfc;
    padding: 8px 24px;
    font-size: 16px;
    border-radius: 100px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: "Poppins";
    transition: 0.3s ease;
}

.contact-button:hover {
    transition: 0.3s ease;
    background-color: #4f4f4f;
}


/* ----------------------------------------------------------------------------------------------------
RESPONSIVE DESIGN
---------------------------------------------------------------------------------------------------- */

/* @media (min-width: 992px) and (max-width: 1080px) {
    .contact-button {
        display: none;
    }
} */

@media (min-width: 1080px) {
    #contact-link {
        display: none;
    }
}

@media (min-width: 550px) {
    .header .btn {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-inline-start: auto;
    }
}

@media (min-width: 1025px) {

    .overlay,
    .nav-open-btn,
    .navbar-top {
        display: none;
    }

    .navbar,
    .navbar.active {
        all: unset;
        /* margin-inline-start: auto; */
    }

    .header .btn {
        margin-inline-start: 0;
    }

    .navbar-list {
        display: flex;
        gap: 25px;
    }

    .navbar-item:not(:last-child) {
        border-bottom: none;
    }

    .navbar-link {
        position: relative;
        font-size: 16px;
        transition: 0.3s ease;
        color: #2F2F2F;
        font-weight: 500;
    }

    .navbar-link::after {
        content: '';
        position: absolute;
        bottom: 9px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #2F2F2F;
        transition: width 0.3s ease;
    }

    .navbar-link:hover {
        color: #000;
    }

    .navbar-link:hover::after {
        width: 100%;
    }

    /* .navbar-link:hover {
        color: #000;
        transition: 0.3s ease;
    } */
}

@media (max-width: 1025px) {
    .logo {
        font-size: 24px;
    }

    .header .container {
        padding: 12px 24px;
    }

    .navbar-item:not(:last-child) {
        border-bottom: 1px solid #d6d6d69a;
    }

    .navbar-item:last-child {
        /* background-color: #ff2323; */
        background-color: #2F2F2F;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0px;
        border-radius: 100px;
    }

    .navbar-item:last-child a {
        color: #fcfcfc;
        width: 100%;
        margin: 0;
        text-align: center;
        font-weight: 600;
    }

    .navbar-item {
        padding: 8px 0px;
    }

    .navbar-list {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}


@media (min-width: 1440px) {

    .header .container,
    #contactus,
    #faqs,
    .product-details,
    .products,
    .services-section,
    .hero,
    .footer-content,
    .copyright,
    .filter-section {
        padding-left: 120px;
        padding-right: 120px;
    }
}