@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');

:root {
    --text-revealing-animation-duration: 700ms;

    /* Base Colors */
    --primary-color: #7F1D1D;
    --secondary-color: #16413d;
    --accent-color: #f1fffd;
    --primary-light: #d3e5e0;
    --footer-color: #143a35;
    --logo-color: #7F1D1D;

    /* Typography */
    --default-font: "Quicksand", sans-serif;
    --title-font: "Marcellus", serif;
    --font-color: #2C2C2C;
}

html,
body {
    font-size: 16px;
    color: var(--font-color);
    font-family: var(--default-font);
    vertical-align: baseline;
    line-height: 26px;
    font-weight: 500;
    /* background-color: var(--accent-color) !important; */
    /*scroll-behavior: smooth;*/
    box-sizing: border-box;
}

.container {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 1328px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}



.text-primary {
    color: var(--primary-color) !important;
}

.title-font {
    font-family: var(--title-font);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* nav css */
#nav-menu li.active a {
    color: white !important;
    background-color: #7F1D1D !important;
    padding: 5px 12px;
    border-radius: 5px;
    animation: none !important;
    transition: none !important;
}

#nav-menu li a {
    font-weight: 500;
}

.header {
    position: sticky;
    /* background-color: #fffffff5; */
    background-color: #ffffff;
    left: 0;
    top: 0;
    border-bottom: 3px solid var(--logo-color);
    z-index: 10;
    transition: padding 0.3s ease-in-out;
    padding: 5px 0;
}

.header .menu a {
    color: black;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .menu .head {
    display: none;
}

.header .menu ul {
    list-style: none;
    margin-bottom: 0;
}

.header .menu>ul>li {
    display: inline-block;
}

.header .menu>ul>li:not(:last-child) {
    margin-right: 25px;
}

.header .menu .dropdown {
    position: relative;
}

.header .menu a {
    text-decoration: none;
    font-size: 17px;
    color: #000;
    line-height: 1.5;
    display: block;
    transition: all 0.3s ease-in;
}

.header .menu>ul>li>a {
    padding: 20px 0;
}

.header .menu>ul>.dropdown>a {
    padding-right: 10px;
}

.header .menu i {
    font-size: 10px;
    pointer-events: none;
    user-select: none;
    position: absolute;
    color: #000;
    top: calc(50% - 5px);
}

.header .menu>ul>li>i {
    right: 0;
}

.header .menu .sub-menu {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    min-width: 250px;
    padding: 5px 0;
    background: #ffffffed;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    transform-origin: top;
    transform: scaleY(0);
    visibility: hidden;
    opacity: 0;
}

.header .menu .sub-menu-right {
    left: 100%;
    top: 0;
}

.header .menu .sub-menu-left {
    top: 0;
    left: auto;
    right: 100%;
}

.header .menu li:hover>.sub-menu {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: all 0.5s ease;
}

.header .menu .sub-menu a {
    padding: 3px 15px;
    font-size: 14px;
}

.header .menu .sub-menu .dropdown>a {
    padding-right: 34px;
}

.header .menu .sub-menu span {
    /* background-image: linear-gradient(hsl(0, 0%, 0%), hsl(0, 0%, 100%)); */
    background-image: linear-gradient(var(--primary-color), hsl(0, 0%, 100%));
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.5s ease;
}

.header .menu .sub-menu li:hover>a>span {
    background-size: 100% 1px;
}

.header .menu .sub-menu i {
    transform: rotate(-90deg);
    right: 24px;
}

.header-right {
    display: none;
}

.header-right>* {
    margin-left: 25px;
}

.header-right .icon-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: hsl(0, 0%, 100%);
    font-size: 16px;

}

.header-right .open-menu-btn {
    display: none;
}

.logo-Right {
    /*margin: 10px 20px 0 10px;*/
    margin-bottom: 0;
    padding-left: 10px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    float: right;
    line-height: 45px;
    font-family: var(--default-font);
    transition: all 0.4s ease-in;
}

.header.scrolled .logo-Right {
    transition: all 0.4s ease-out;
    font-size: 18px;
}

.header.scrolled {
    padding: 0;
}

.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.logo img {
    padding: 8px 0px !important;
    width: 100%;
    height: 80px;
    transition: all 0.3s ease-in;
    overflow: hidden !important;
}

.header.scrolled .logo img {
    padding: 8px;
    width: 100%;
    transition: all 0.3s ease-out;
    overflow: hidden !important;
}

.header.scrolled .menu>ul>li>a {
    padding: 18px 0;
}

.header.scrolled .menu>ul>.dropdown>a {
    padding-right: 10px;
}

.header.scrolled .menu a {
    font-size: 16px;
    line-height: 1.2;
    transition: all 0.3s ease-out;
}

@media(max-width:991px) {
    .header {
        padding: 12px 0;
    }

    .header .container {
        padding-left: 0.5rem;
    }

    .header-right {
        display: flex;
    }

    .menu-brand-name {
        display: inline-block;
        /* border: 1px solid #cdcdcd; */
        padding: 6px;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        background-color: #28a745;
        color: white;
    }

    .header .menu {
        position: fixed;
        right: 0;
        top: 0;
        /* width: 320px; */
        width: 85%;
        height: 100%;
        /* background-color: #F5FFFF; */
        background: #ffffffed;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        padding: 15px 30px 30px;
        overflow-y: auto;
        transform: translateX(100%);
        box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
        z-index: 50;
    }

    .header .menu.open {
        transform: none;
        transition: all 0.5s ease;
    }

    .header .menu .head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .header .menu .close-menu-btn {
        height: 35px;
        width: 35px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        cursor: pointer;
        border: none;
    }

    .header .menu .close-menu-btn::before,
    .header .menu .close-menu-btn::after {
        content: '';
        position: absolute;
        width: 80%;
        height: 2px;
        background-color: var(--primary-color);
    }

    .header .menu .close-menu-btn::before {
        transform: rotate(45deg);
    }

    .header .menu .close-menu-btn::after {
        transform: rotate(-45deg);
    }

    .header .menu>ul>li {
        display: block;

    }

    .header .menu>ul>li:not(:last-child) {
        margin-right: 0;
    }

    .header .menu li {
        border-bottom: 1px solid #ececec;
    }

    .header .menu li:first-child {
        /* border-top: 1px solid #ececec; */
    }

    .header .menu li:last-child {
        border-top: 0px solid;
        border-bottom: 0px solid;
        /* margin-top: 15px; */
    }

    .header .menu>ul>li>a {
        padding: 12px 0;
    }

    .header .menu>ul>.dropdown>a {
        padding-right: 34px;
    }

    .header .menu i {
        height: 34px;
        width: 34px;
        border: 1px solid var(--primary-color);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        cursor: pointer;
        top: 7px;
        border-radius: 50%;
    }

    .header .menu .dropdown.active>i {
        background-color: hsla(0, 0%, 100%, 0.25);
        transform: rotate(180deg);
    }

    .header .menu .sub-menu {
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        padding: 0;
        transition: none;
        box-shadow: none;
        width: 100%;
        display: none;
    }

    .header .menu .dropdown.active>.sub-menu {
        display: block;
    }

    .header .menu .sub-menu li:last-child {
        border: none;
    }

    .header .menu .sub-menu a {
        padding: 12px 0 12px 15px;
    }

    .header .menu .sub-menu .sub-menu a {
        padding-left: 30px;
    }

    .header .menu .sub-menu .sub-menu .sub-menu a {
        padding-left: 45px;
    }

    .header .menu .sub-menu span {
        background-image: none;
    }

    .header .menu .sub-menu i {
        transform: none;
        right: 0;
    }

    .header-right .open-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 44px;
        cursor: pointer;
        position: relative;
        background-color: transparent;
        border: none;
    }

    .header-right .open-menu-btn .line {
        height: 2px;
        width: 30px;
        background-color: var(--primary-color);
        position: absolute;
    }

    .header-right .open-menu-btn .line-1 {
        transform: translateY(-8px);
    }

    .header-right .open-menu-btn .line-3 {
        transform: translateY(8px);
    }

}

/* nav css */

/* banner part start here */
.swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.swiper-slide {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide-active {
    opacity: 1;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    cursor: pointer;
    z-index: 10;
}

/* banner part ends here */

/* products part start here */
.products-nav-next,
.products-nav-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #7F1D1D;
    background-color: transparent;
}

.products-nav-next:hover,
.products-nav-prev:hover {
    border-color: #7F1D1D;
    background-color: #fdf2f2;
}

.products-network-swiper .swiper-slide {
    opacity: 1 !important;
}

/* products part ends here */

.newsSwiper .swiper-slide {
    opacity: 1 !important;
}

.swiper {
    opacity: 0;
    visibility: hidden;
}
.swiper.swiper-initialized {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}