.header-section-wrapper {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-section-wrapper.header-sticky {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slidedown .5s forwards;
}

@keyframes slidedown {
    from {
        top: -100px;
    }

    t0 {
        top: 0;
    }
}

.bg-body-tertiary {
    background-color: var(--tp-color-white) !important;
    padding: 0 40px;
}

.navbar-top-links {
    width: 100%;
    display: flex;
    padding: 0 5%;
    justify-content: space-around;
}

.navbar-top-links ul {
    border-bottom: var(--tp-primary-border);
}

.navbar-top-links .nav-item-top {
    /* padding: 0 10%; */
    display: flex;
    flex-direction: row;
}

.navbar-bottom-links {
    padding: 0 0 0 8%;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 400;
    color: black;
}

.nav-item-top-icon {
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color:var(--tp-input-color); */
    /* padding-top: 2.7%; */
    /* padding: 2.7% 2% 0 2%; */
    margin: 2% 0 3% 0;
    width: 40px !important;
    height: 40px !important;
}

.nav-item-top-info span {
    color: #aca8a8;
    font-weight: 400;
    font-size: 0.8rem;
}

.nav-item-top-info span h6 {
    color: var(--tp-color-black);
    font-weight: 500;
    font-size: 1rem;
}

.navbar-brand img {
    width: 220px;
}

.navbar-expand-lg {
    box-shadow: var(--tp-primary-box-shadow);
}

.navbar-padding {
    justify-content: space-between;
    display: flex;
    width: 100%;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
}

.navbar-nav .dropdown-menu li a {
    padding: 12px 15px;
}

.navbar-nav .nav-item {
    transition: all 0.3s ease-in-out;
    font-weight: 500;
    font-size: 0.9rem;
    color: #7f7b7b;
}

.offcanvas.offcanvas-end {
    width: 60%;
}

.text-bg-dark {
    background-color: rgba(0, 0, 0, 0.85) !important;
}

.navbar-nav .nav-item:hover .submenu {
    height: auto;
    width: auto;
    /* position: absolute; */
    box-shadow: var(--tp-primary-box-shadow);
    z-index: 9999;
    padding: 20px;
}

.navbar-nav .nav-item:hover a::before {
    visibility: visible;
    transform: scale(1, 1);
}

.navbar-nav .nav-item .submenu {
    overflow: hidden;
    position: absolute;
    width: auto;
    background-color: var(--tp-color-white);
    height: 0;
    box-sizing: border-box;
    transition: height 2s ease-in-out;
    transition-delay: 2s;
    list-style: none;
    margin: 2px 0;
    /* box-shadow: var(--tp-secondary-box-shadow); */
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important;
    z-index: 9999;
    border-radius: 5px;
}

.navbar-nav .nav-item .submenu a {
    color: var(--tp-color-black);
    padding: 10px 30px 10px 0;
    font-size: 0.9rem;
    font-weight: 500;
    width: 500px;
    max-width: max-content;
    display: block;
}

.navbar-nav .nav-item .submenu a:hover {
    color: var(--tp-secondary-color);
}

.navbar-nav .nav-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding-bottom: 0;
    position: relative;
    font-weight: 500;
    font-size: 0.9rem;
    /* color: #7f7b7b; */
    transition: color 0.3s ease-in-out;
    /* Added transition to make color smooth */
}

.navbar-nav .nav-item a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -2px;
    /* background-color: var(--tp-secondary-color); */
    transition: all 0.2s ease-in-out;
    transform: scale(0, 0);
    visibility: hidden;
}

.navbar-nav .nav-item:hover a::before {
    visibility: visible;
    transform: scale(1, 1);
    transition: transform 0.2s ease-in-out;
}

.navbar-nav .nav-item.dropdown-submenu:hover a::before {
    visibility: visible;
    transform: scale(1, 1);
    transition: transform 0.2s ease-in-out;
}

.header-sticky {
    position: fixed !important;
    left: 0;
    margin: auto;
    top: 0;
    width: 100%;
    z-index: 99;
    -webkit-animation: 500ms ease-in-out 0s normal none 1 running fadeInDown;
    animation: 500ms ease-in-out 0s normal none 1 running fadeInDown;
    box-shadow: 0px 2px 6px rgba(1, 15, 28, 0.16);
    background: var(--tp-common-white);
}

.navbar-toggler {
    border: none;
    /* padding-right: 20px; */
    /* padding: 0;
    margin: 0; */
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-collapse {
    text-align: center;
}

.dropdown-toggle::after {
    font-family: 'FontAwesome';
    content: '\f078';
    margin-left: .3em;
    border: none;
    font-size: 12px;
}

.wrap-delete {
    box-sizing: border-box;
}

.button-delete {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.wrap-delete button {
    width: 200px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    background: var(--tp-secondary-color);
}

.wrap-delete button,
.wrap-delete button span {
    transition: 200ms;
}

.wrap-delete button .text {
    transform: translateX(15px);
    color: var(--tp-color-white);
    font-weight: 400;
    font-size: 1rem;
}

.mobile-nav.wrap-delete button {
    width: 100%;
}

.mobile-nav.wrap-delete button .text {
    transform: none;
    text-align: center;
    display: block;
    width: 100%;
}

.mobile-nav.wrap-delete button:hover {
    background: #9fc645;
}

.mobile-nav.wrap-delete button:hover .text {
    color: #fff;
}

.wrap-delete button .icon {
    position: absolute;
    border-left: 0.1px solid var(--tp-color-white);
    transform: translateX(130px);
    height: 40px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp-color-white);
}

.wrap-delete button svg {
    width: 15px;
    fill: var(--tp-color-white);
}

.wrap-delete button:hover {
    background: var(--tp-secondary-color);
}

.wrap-delete button:hover .text {
    color: transparent;
}

.wrap-delete button:hover .icon {
    width: 200px;
    border-left: none;
    transform: translateX(0) scale(1.5);
    transition: all 0.5s ease-out;
}

.wrap-delete button:focus {
    outline: none;
}

.testimonialCarousel .carousel-control-next,
.testimonialCarousel .carousel-control-prev {
    height: 2rem;
    width: 2rem;
    margin: 14% 2%;
    background-color: rgba(0, 0, 0, 0.608);
    border-radius: 25px;
    opacity: 1;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    height: 1rem;
    width: 1rem;
}


.nav-item.dropdown-submenu .dropdown-menu .dropdown-submenu>a::after {
    /* content: " ⮞"; */
    position: absolute;
    right: 0;
    /* Align it to the right of the parent item */
}

/* Hide dropdown menu by default */

.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
}

/* Show dropdown menu when hovering over the submenu */

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.offcanvas-body {
    width: 100%;
}

@media (max-width: 1900px) {
    .navbar-collapse {
        align-items: normal !important;
    }
}

@media (max-width: 1200px) {
    .d-md-button-hide {
        display: none !important;
    }

    .navbar-collapse {
        align-items: justify !important;
    }
}

@media (max-width: 991px) {
    .navbar-brand img {
        width: 165px;
    }

    .d-md-hide {
        display: none !important;
    }

    .navbar {
        padding: 15px;
    }

    .navbar-inner {
        width: 100%;
    }

    .navbar-brand {
        width: 60%;
    }

    .navbar-brand {
        width: 60%;
    }

    .d-md-hide {
        display: none !important;
    }

    .col-md-align {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .navbar-nav {
        width: 100%;
    }


    .navbar-nav .dropdown-menu {
        position: static;
        background: #f1f1f1;
        border: none;
        padding: 20px 20px 1px 20px;
        margin-bottom: 15px;
        padding-left: 0;
    }

    .navbar-nav .nav-item a {
        width: 100%;
        padding: 8px;
        margin-bottom: 5%;
        border-radius: 5px;
        display: flex;
        font-size: 14px;
        justify-content: space-between;
    }

    .navbar-nav .nav-item a:nth-last-of-type {
        margin-bottom: 0;
    }

    .navbar-nav .nav-item .dropdown-submenu a {
        width: 100%;
        background-color: white;
        padding-bottom: 3%;
        margin-bottom: 2%;
        border-radius: 5px;
        display: flex;
        justify-content: space-between;
    }

    .navbar-bottom-links .dropdown-submenu .dropdown-menu a {
        background-color: transparent !important;
    }

    .navbar-bottom-links .dropdown-submenu .dropdown-menu {
        box-shadow: none !important;
        padding-top: 0px !important;
    }

    .dropdown-toggle::after {
        font-family: 'FontAwesome';
        content: '\f107';
        /* margin-left: 3em; */
        border: none;
        font-size: 12px;
    }

    .navbar-bottom-links {
        padding: 2%;
    }
}

@media (max-width: 500px) {
    .offcanvas.offcanvas-end {
        width: 100%;
    }
}