/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background-color: #430062;
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 27px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    line-height: 50px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
    color: #fff;
    background-color: #1ebe5d;
}


h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* topbar  */
.topbar {
    background-color: #8800c7;
}

.topbar span a {
    color: #fff;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #000;
    font-size: 18px;
    /* font-weight: 500; */
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #8800c7;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Mega Menu */
.mega-menu {
    right: 0;
    top: 100%;
    width: 800px;
}

.mega-menu .row {
    justify-content: space-evenly;
}

.page-header {
    background: linear-gradient(#673AB7, #4d4162);
}

.page-header h1 {
    font-size: 2.8rem;
    color: #fff;
}

#breadcrumb-item a {
    color: #fff;
}

/* about  */
.about img {
    border-radius: 20px;
}

.about .btn {
    background-color: #8800c7;
    color: #fff;
}

.about h3 {
    color: #8800c7;
}

.about h4 {
    color: #525368;
}



/*** Project Portfolio ***/

#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}



/*** Footer ***/
.footer {
    background-color: whitesmoke;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #000;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #8800c7;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer h4 {
    color: #8800c7;
}

.footer p,
a {
    color: #000;
}

.footer a:hover {
    color: #8800c7;
}

.footer .d-flex .btn {
    background-color: white;
    color: #8800c7;
}

.footer .d-flex .btn:hover {
    background-color: #673AB7;
    color: #fff;
}

.copyright {
    color: var(--light);
    background: #8800c7;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

/* back to top  */


/* for mattresses service page */

#mattres-abt {
    background-color: whitesmoke;
}

#mattres-abt h6 {
    display: flex;
    justify-content: left;
    align-items: center;
    color: #8800c7;
}

/* extra industries  */

.industry-box {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.industry-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-box span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    text-align: center;
    padding: 10px;
    transition: 0.3s ease;
}

.industry-box:hover span {
    background: rgba(136, 0, 199, 0.7);
}

/* Mobile horizontal scroll */
.industry-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (optional but recommended) */
.industry-scroll::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767px) {
    .industry-scroll {
        padding-bottom: 10px;
    }
}


/* carousel video  */
#carousel-video {
    max-width: 100% !important;
}

/* Card styling */
.bonfit-card {
    height: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.bonfit-card img {
    width: 100px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.bonfit-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.bonfit-card p {
    font-size: 14px;
    color: #555;
}

/* ====== MAGIC FOR 5 COLUMNS ====== */
@media (min-width: 992px) {
    .bonfit-5-grid {
        display: flex;
        flex-wrap: wrap;
    }

    .bonfit-5-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* hospitality page css  */

.bonfitFeatureSwiper {
    padding: 10px 0;
}

.bonfitFeatureSwiper .swiper-slide {
    text-align: center;
}

.bonfitFeatureSwiper img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}