/********** Template CSS **********/
:root {
    --primary: #3cb815;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;
    --yellow:#f1c911;
    --green:#305d3c;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 65px;
    z-index: 99;
}
.textt p{
    color: #fff !important;
}
.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 0 !important;
    align-items: center;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.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;
}


/*** Navbar ***/
.fixed-top {
    position: sticky !important;
    transition: .5s;
    top: 0px !important;
}
.top-bar {
    height: 60px;
    /* border-bottom: 1px solid rgba(0, 0, 0, .07); */
}
.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 70px;
}
/* 
.navbar-collapse {
    display: flex !important;
    justify-content: center; 
} */

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 0 10px;
    color: #555555;
    /* font-weight: 500; */
    font-size: 13.5px;
    outline: none;
    font-weight: 600;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}
.nav-width{
    width: auto;
}
.logo-toggle{
    display: flex;
    justify-content:space-evenly;
}
.borderr{
     border: 2px solid rgba(0, 0, 0, .07);
}
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }
    .nav-width{
        width: 100%;
    }
    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
    .navbar{
        display: flex;
    justify-content: end;
    align-items: center;
    }
    .logo-toggle{
    display: flex;
    justify-content:space-between;
}
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}
.header-space{
    display: flex;
    justify-content: space-between;
}
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 300px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: fill;
    }
}

.page-header {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: url(../img/head.jpg) center right no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}



/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}


/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    height: 320px;
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}
.product-item a{
    font-size: large;
}

.product-item small a:hover {
    color: var(--primary) !important;
}
@media (max-width: 767px) {
    .product-item {
        margin: 10px;
    }
   
    .p-img {
        max-width: 100%; /* Ensure images are responsive */
        height: auto;
    }
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    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;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}



/* =================================CUSTOM CSS=============================== */
/* =============topbar starts================== */
/* Logo alignment and resizing */

.logo {
    height:70px; /* Adjust height for mobile */
    object-fit: fill;
    margin-left: 10px;
}
.logo-1{
    display: none;
}
/* Hide search bar on mobile */
@media (max-width: 991.98px) {
    #searchBar {
        display: none;
    }
    .logo{
        display: none;
    }
    .logo-1{
        display: block;
        height: 45px;
        object-fit: fill;
        padding-left: 20px
    }
    .navbar-toggler {
        margin-right: 10px;
    }
}
.top-bar {
    height: 80px;
    /* border-bottom: 1px solid rgba(0, 0, 0, .07); */
}
.search-container{
    width: 100%;
    height: 50px;
    /* background-color: #dbdbdb; */
    display: flex;
    justify-content: center;
    padding: 3px;
    border-radius: 5px;
}
.input-search{
    width: 100%;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid black;
}
.form-select{
    margin-right: 5px;
    border-radius: 5px;
    border: 1px solid black;
}
.logo-footer{
    height: 150px;
    object-fit: fill;
    /* width: 100%; */
}
.search-icon{
    padding: 13px;
    background-color: #F65005;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}
#navbarCollapse{
    height: 60px;
}
.enquirymodel{
    height: 40px;
    width: 80px;
    background-color:var(--yellow);
    border-radius:50px ;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-weight: bold;
}

.enquirymodel:hover{
    background-color: var(--green);
    color: #fff;
}
.btn-primary{
    background-color:var(--yellow) !important;
    color: var(--green) !important;
    border-color: var(--yellow);
    font-weight: bold;
}
.btn-primary:hover{
    background-color: var(--green) !important;
    color: #fff !important;
}

.caption{
    font-size:40px;
}
.border-img{
    border-radius: 20px;
}
.p-img{
    height: 200px;
    width: 100%;
    object-fit: fill;
}
@media(max-width:789px){
    .caption{
        font-size:30px;
    }
    .p-img{
        height: 150px;
    }
    .input-search{
    width: 150px;
    border-radius: 5px;
    padding: 10px;
    border: none;
     border: 1px solid black;
}
.form-select{
    width: 200px !important;
}
}

/* =============================topbar ends============================== */
/* ========================products details starts======================== */
.detailpage-img img{
    height: 100%;
    width: 100%;
}
/* Style for the table */
table.w-100 {
    width: 100%;
    border-collapse: collapse; /* Ensures borders are merged */
    margin: 20px 0; /* Adds margin around the table */
}

/* Style for table headers and data cells */
table.w-100 td {
    padding: 12px; /* Adds padding inside each cell */
    border: 1px solid #ddd; /* Light gray border */
    text-align: left; /* Aligns text to the left */
}

/* Style for table headers (if you want to add headers) */
table.w-100 th {
    padding: 12px;
    border: 1px solid #ddd;
    background-color: #f4f4f4; /* Light background for header */
    text-align: left;
}

/* Optional: Add alternating row colors for better readability */
table.w-100 tr:nth-child(even) {
    background-color: #f9f9f9; /* Light gray background for even rows */
}

/* Bold the first column to make labels stand out */
table.w-100 td:first-child {
    font-weight: bold;
}

/* Add hover effect to highlight rows */
table.w-100 tr:hover {
    background-color: #f1f1f1; /* Light hover color */
}
.details-page-content .btn{
    border-radius: 20px;
    padding: 10px;
}
.form-select{
    margin-right: 5px;
    border-radius: 5px;
}
.product-search{
    width: 46%;
}
.detail-row{
    display: flex;
    flex-wrap: wrap;
}

@media(max-width:798px){
    .product-search{
        width: 100%;
    }
    .detail-row{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
}
/* ==========================product details ends========================= */
/* ===========================function starts=========================== */
.function-page-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
}
.function-row{
 /* padding-top: 50px; */
    padding-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
}
.function-img img{
    height: 100%;
    width: 100%;
}
@media(max-width:789px){
    .function-row{
        /* padding-top: 50px; */
           padding-bottom: 50px;
           display: flex;
           flex-wrap: wrap;
           flex-direction: column;
       }
       .function-row-1{
        flex-direction: column-reverse;
       }
}
/* ===========================function ends=========================== */
/* Show the dropdown menu on hover */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

/* Style the submenu to appear on hover */
.dropdown-submenu:hover > .dropdown-menu1 {
    display: block;
    position: absolute;
    left: 100%; /* Position the submenu next to the parent menu */
    top: 0;    /* Align with the parent menu */
    background-color:white;
}

/* Prevent overlapping and adjust layout */
.dropdown-menu {
    position: relative; /* Ensure the submenu respects its container */
}

.dropdown-submenu {
    position: relative; /* Allow submenu to be positioned next to the parent */
}
.dropdown-menu1{
    display: none;
}

iframe{
    width: 100%;
}
.text-green{
    color: #009856 !important;
    font-weight: bold !important;
}
.text a,p{
    color: #707070 !important;
    font-weight: 500 !important;
}
.text h4{
color: #64635f !important;
    font-family: 'Red Hat Display', sans-serif !important;
    text-transform: unset !important;
    font-weight: bold;
    font-size: 18px;

}
.bg-footer{
    background-color: #fefaee !important;
}
.blog-img{
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    height: 300px;
    width: 100%;
    object-fit: fill;
}

.func h3,h2,h1{
  color:#009856;
}
.woocommerce-info {
    border-top-color: #df3550 !important;
}
.woocommerce-info {
    padding: 1em 2em 1em 3.5em;
    margin: 0 0 2em;
    position: relative;
    text-align: center;
    background-color: #f6f5f8;
    color: #515151;
    border-top: 3px solid #7f54b3;
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
}
@media (max-width: 768px) {
    
    .page-header {
    padding-top: 5rem;
    padding-bottom: 3rem;
    background: url(../img/head.jpg) center right no-repeat;
    background-size: cover;
}
}