/********** Template CSS **********/
:root {
    --primary: #3CB815;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;

    --box-height: 520px;
    --gap: 18px;
    --radius: 0px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.whatsapp-navigate {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 90px;
    z-index: 99;
}

/*** Translator Button ***/
.translate-btn {
  position: fixed;
  bottom: 150px;
  right: 30px;
  z-index: 99;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.translate-popup {
  position: fixed;
  bottom: 210px;
  right: 20px;
  display: none;
  z-index: 99;
  transition: opacity 0.3s ease;
}

.translate-popup.show {
  display: block;
  opacity: 1;
}

#google_translate_element select {
  background: #fff;
  border: 1px solid #ccc;
  color: #000;
  font-size: 14px;
  padding: 6px;
  border-radius: 6px;
}

.goog-te-banner-frame.skiptranslate,
.goog-logo-link,
.goog-te-gadget-icon {
  display: none !important;
}
body {
  top: 0px !important;
}

/*** Translator End ***/

.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);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .logo-text {
    width: 170px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #555555;
    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: #FFFFFF;
    }

    .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;
    }
}

.product-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.dropdown-menu a.dropdown-item {
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.dropdown-menu a.dropdown-item:hover {
  background-color: #f8f9fa;
}


@media (min-width: 992px) {
  .dropdown-submenu > .dropdown-menu {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-submenu > .dropdown-menu.show {
    display: none !important;
    opacity: 0;
    visibility: hidden;
  }
}


.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-top: -50px;
  min-width: 200px;
  /* border-radius: 8px; */
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  z-index: 1050;
}

/* @media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
} */

.submenu-caret {
  margin-left: auto;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f105";
}

.dropdown-menu .dropdown-item {
  padding: 8px 12px;
  border-radius: 6px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-submenu > .submenu-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-submenu > .submenu-toggle::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

@media (max-width: 991px) {
  .dropdown-submenu > .dropdown-menu {
    position: relative;
    display: none;
    top: 0;
    left: 0;
    margin: 0;
    padding-left: 12px;
    box-shadow: none;
  }

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

  .dropdown-submenu > .submenu-toggle .submenu-caret {
    transform: rotate(90deg);
  }
  .dropdown-submenu > .submenu-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
  }
}



/*** Header ***/

/* .carousel-inner {
  position: relative;
}
.carousel-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;

  /* Gradient from top to bottom * /
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5) 0%,  
    rgba(255, 255, 255, 0.2) 50%, 
    rgba(255, 255, 255, 0) 100%   
  );
}
*/



.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) {
    .carousel-caption {
        margin-top: 200px;
    }
    
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        /* height: 100%; */
        height: 100vh;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header-bg.png) top right no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 8rem;
        padding-bottom: 2rem;
    }
}



/*** Category Details ***/

.ps-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.ps-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.ps-item:hover img {
    transform: scale(1.08);
}

.ps-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.08));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ps-item:hover .ps-overlay {
    opacity: 1;
}

.ps-overlay h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
    .ps-item {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .ps-item {
        height: 220px;
    }

    .ps-overlay {
        opacity: 1; /* Always visible text on small screens */
    }
}


/*** 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);
}



/*** Tree ***/
.tree-box {
    position: relative;
    display: inline-block;
}

.tree-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    z-index: -1;
    animation: glowPulse 4s infinite ease-in-out;
}

.tree-animate {
    animation: floatTree 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.tree-animate:hover {
    transform: scale(1.05);
}

@keyframes floatTree {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.product-desc h5 {
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-desc p {
    color: #555;
    font-size: 0.95rem;
}


/*** 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;
} */


/*** Certificates ***/
.certification-section {
    position: relative;
    overflow: hidden;
}

.cert-carousel .cert-logo-item {
    background: #fff;
    padding: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
    ;
    perspective: 800px;
    border: 1px solid #fff;
}

.cert-carousel .cert-logo-item:hover {
    border: 1px solid var(--primary);
}

.cert-carousel .cert-logo-item img {
    max-width: 140px;
    height: auto;
    margin: 0 auto;
    display: block;
    transform: rotateY(0deg);
    transition: transform 0.5s ease;
}

.certificate img {
    max-height:300px;
    object-fit:contain;
}

.certificate {
    transition: all 0.4s ease;
    cursor: pointer;
}

.certificate:hover {
    border-color: var(--primary) !important;
}

/*** Why Us ***/
.partner-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6f4ea;
  transition: all 0.4s ease;
  overflow: hidden;
}

.partner-card .card-deco {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(0, 255, 128, 0.08);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.partner-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #b8f0c0;
}

.partner-card:hover .card-deco {
  transform: scale(1.2);
}

/* ✨ Icon Center Fix */
.partner-card i {
  color: #28a745; /* faint green tone */
  border: 1.8px solid #28a745;
  padding: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  font-size: 22px;
  transition: all 0.4s ease;
}

.partner-card:hover i {
  background: #28a745;
  color: #ffffff;
  border-color: #28a745;
  transform: scale(1.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 .logo-text {
    width: 170px;
    margin-bottom: 12px;
}

.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);
}