/********** Template CSS **********/
:root {
    --primary: #1a3c1a;
    --secondary: #F65005;/*#3bb915*/
    --light: #F7F8FC;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background-color: #1a3c1a;
    border-color: #1a3c1a;
}

.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;
}


/*** 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 {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    color: #ffffff;
}

.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: 25px 15px;
    color: #fff;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #1a3c1a;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@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;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/Bannerxx.PNG) top right ;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}


/*** 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);
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}


/*** 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);
}



/* Position navigation arrows on the sides */
.js-custom-prev,
.js-custom-next {
    position: absolute;
    top: 50%; /* center vertically */
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.js-custom-prev:hover,
.js-custom-next:hover {
    background: var(--primary); /* optional hover color */
}

/* Left arrow */
.js-custom-prev {
    left: 10px; /* move to the left outside slider */
}

/* Right arrow */
.js-custom-next {
    right: 10px; /* move to the right outside slider */
}

/* Service item container */
.service-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

/* Image styling */
.service-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

/* Zoom in on hover */
.service-item:hover img {
  transform: scale(1.1);
}

/* Text overlay */
.service-item-contents {
  position: absolute;
  bottom: -100%; /* hidden initially */
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: bottom 0.5s ease;
  z-index: 2; /* ensures it's above the image */
}

/* Slide up when hovered */
.service-item:hover .service-item-contents {
  bottom: 0;
}

/* Text styles */
.service-item-category {
  color: #1a3c1a; /* green */
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.service-item-title {
  color: #fff; /* white */
  font-size: 22px;
  font-weight: 700;
  margin-top: 5px;
}






/* ===== About Us Section ===== */
.about-us-area {
    padding: 100px 0;
    background-color: #fdfdfd;
}

.about-us-thumbnail img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.about-us-content {
    padding: 20px;
}

.about-us-content .section-heading p {
    color: #FF6B35;
    font-weight: 500;
    margin-bottom: 10px;
}

.about-us-content .section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-us-content .section-heading img {
    margin-top: 10px;
}

.about-us-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-us-content .btn {
    background-color: #FF6B35;
    color: #fff;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
}

.about-us-content .btn:hover {
    background-color: #FF4C00;
}

/* ===== Contact Section ===== */
.contact-area {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.contact-content .section-heading p {
    color: #FF6B35;
    font-weight: 500;
    margin-bottom: 10px;
}

.contact-content .section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-form-area input,
.contact-form-area select,
.contact-form-area textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.contact-form-area button,
.contact-form-area a.btn {
    background-color: #FF6B35;
    color: #fff;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
}

.contact-form-area button:hover,
.contact-form-area a.btn:hover {
    background-color: #FF4C00;
}

.consaltant-thumbnail img {
    max-width: 100%;
}

/* ===== Navbar Become a Supplier Button ===== */
.navbar .btn-primary {
    background-color:#1a3c1a;
    border: none;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 500;
    line-height: 1.2;
    transition: 0.3s;
}

.navbar .btn-primary:hover {
    background-color: #FF4C00;
    color: #fff;
}

/* Desktop: smaller button */
@media (min-width: 992px) {
    .navbar .btn-primary {
        padding: 4px 10px;
    }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991px) {
    .about-us-area,
    .contact-area {
        padding: 60px 20px;
    }

    .about-us-content .section-heading h2,
    .contact-content .section-heading h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    /* Stack buttons vertically on mobile */
    .contact-form-area .col-12.d-flex.gap-2 {
        flex-direction: column;  /* stack vertically */
        gap: 10px;               /* spacing between buttons */
    }

    /* Make buttons full width */
    .contact-form-area .col-12.d-flex.gap-2 .btn.famie-btn {
        width: 100%;
        text-align: center;
    }
}



.logo {
  max-width: 20%;
  max-height: 20%;
}







.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='yellow' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggler-icon {
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.8));
}