/********** Template CSS **********/


:root {
    --primary: #3CB815;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;
}

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

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

.img-fluid{
   width: 100%;
    height: 100%;
}
.feature{
    width: 150px;
    height: 150px;
}
.card-img{
    height: 350px;
    width: 350px;
}
.cardtxt{
    background-color:#C1E1C1;
}
.card{
    border-color: #3CB815;
    border-radius: 10px;
}
/*** 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: px;
}

.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: 5px 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: 3rem;
     /*background: url(../img/carousel-1.jpg) top right no-repeat; */
    background-color:white;
    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 ***/
 .product-section {
    padding: 40px 0; /* Reduced padding for compact layout */
    background-color: #f5f7fa; /* Softer background for modern UI */
}

.product-section .section-header h1 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: #1a2e44; /* Darker shade for better contrast */
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem; /* Smaller heading for compact design */
}

/* Tab Navigation */
.nav-pills {
    justify-content: center;
    gap: 6px; /* Tighter spacing between tabs */
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.nav-pills .nav-item .nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    color: #1a2e44;
    border: 1px solid #0057cc; /* Thinner border for sleek look */
    border-radius: 20px; /* Smaller radius for compact buttons */
    padding: 6px 14px; /* Reduced padding */
    transition: all 0.3s ease;
    background-color: #fff;
    font-size: 0.9rem; /* Smaller font for better fit */
}

.nav-pills .nav-item .nav-link:hover,
.nav-pills .nav-item .nav-link.active {
    background-color: #0057cc;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 87, 204, 0.2); /* Subtle shadow */
}

/* Product Item */
.product-item {
    background: #fff;
    border-radius: 10px; /* Slightly smaller radius */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Lighter shadow for modern UI */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem; /* Reduced spacing */
    padding: 4px; /* Minimal padding */
}

.product-item:hover {
    transform: translateY(-3px); /* Subtle lift effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.product-item .position-relative.bg-light.overflow-hidden {
    position: relative;
    width: 90%; /* Reduced width for compact layout */
    margin: 0 auto;
    padding-top: 90%; /* Maintain square aspect ratio */
    overflow: hidden;
    background-color: transparent;
}

.product-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.03); /* More subtle zoom on hover */
}

.product-item .text-center {
    padding: 8px; /* Reduced padding for compact text area */
}

.product-item a {
    font-family: 'Lora', serif;
    font-size: 1rem; /* Smaller font for compact design */
    color: #1a2e44;
    text-decoration: none;
    font-weight: 600;
}

.product-item a:hover {
    color: var(--primary); /* Consistent primary color */
}



/* Responsive Design */
@media (max-width: 992px) {
    .product-item {
        margin-bottom: 0.8rem; /* Tighter spacing */
    }

    .product-item .position-relative.bg-light.overflow-hidden {
        width: 85%; /* Slightly smaller container */
        padding-top: 85%;
    }

    .product-item .text-center {
        padding: 6px;
    }

    .product-section .section-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-pills .nav-item .nav-link {
        padding: 5px 12px;
        font-size: 0.85rem;
    }

    .product-item .position-relative.bg-light.overflow-hidden {
        width: 80%; /* Further reduced for tablets */
        padding-top: 80%;
    }

    .product-item a {
        font-size: 0.95rem;
    }

    .product-item {
        padding: 3px;
    }
}

@media (max-width: 576px) {
    .product-section .section-header h1 {
        font-size: 1.5rem; /* Smaller for mobile */
    }

    .product-item {
        padding: 2px;
        margin-bottom: 0.8rem; /* Slightly increased for better spacing */
        border-radius: 8px; /* Softer corners for mobile */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Slightly softer shadow */
    }

    .product-item .position-relative.bg-light.overflow-hidden {
        width: 80%; /* Adjusted to prevent full-width images */
        padding-top: 80%; /* Maintain square aspect ratio */
        margin: 8px auto; /* Added margin for better spacing */
        border-radius: 8px; /* Match product item radius */
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow for image container */
    }

    .product-item img {
        border-radius: 8px; /* Rounded corners for images */
    }

    .product-item .text-center {
        padding: 6px;
        background: linear-gradient(180deg, #ffffff, #f8f9fa); /* Subtle gradient for text area */
    }

    .product-item a {
        font-size: 0.9rem;
        color: #1a2e44;
        transition: color 0.2s ease;
    }

    
    .nav-pills {
        gap: 2px;
    }

    .nav-pills .nav-item .nav-link {
        padding: 4px 10px;
        font-size: 0.8rem;
        border-radius: 16px; /* Smaller radius for mobile */
    }

   
}


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