/********** Template CSS **********/
:root {
    --primary: #0cb218;
    --secondary: #85A947;
    --light: #EFE3C2;
    --dark: #0cb218;
}

/* === Back to Top Button Styling === */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #555;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
    padding: 0; /* Critical: Remove default padding */
    line-height: 0; /* Fix vertical alignment */
}

/* Heart icon adjustments */
.back-to-top i.fa-heart {
    font-size: 20px; /* Adjust size as needed */
    display: inline-flex; /* Ensures perfect centering */
    align-items: center;
    justify-content: center;
    width: 100%; /* Fill container */
    height: 100%; /* Fill container */
    margin: 0; /* Remove any default margins */
}

/* Hover effect */
.back-to-top:hover {
    background-color: #bdca0a;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transform: scale(1.05); /* Subtle zoom effect */
    transition: all 0.3s ease;
}

.add-to-cart-btn, .wishlist-btn, .cart-btn {
    display: inline-flex; /* Better than 'flex' for inline buttons */
    align-items: center;  /* Vertical alignment */
    gap: 8px;            /* Space between icon and text */
    padding: 10px 16px;  /* Adjust padding as needed */
    line-height: 1;      /* Reset line height */
}

/* Target icons inside buttons */
.add-to-cart-btn i, 
.wishlist-btn i, 
.cart-btn i {
    font-size: 16px;     /* Match icon size to text */
    margin: 0;           /* Remove default margins */
    line-height: 1;      /* Fix vertical alignment */
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
    .back-to-top i.fa-heart {
        font-size: 16px; /* Smaller icon on mobile */
    }
}


.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}

.bg-nilesh {
    background-color: #359238 !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    color:#3d413e;
}

.py-2{
    color:#ffffff;
}

.mb-md-0{
    color:#ffffff;
}

.fw-semi-bold {
    color:#ffffff;
}

/* Base Popup Overlay */
/* Popup Container */
.popup {
    display: none; /* Controlled by JavaScript */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out forwards;
}

/* Popup Content Container */
.popup-content {
    background-color: #ffffff;
    width: 90%;
    max-width: 1097px;
    padding: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
}

.close:hover {
    color: #333;
}

/* Popup Title */
.popup-content h6 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Product Card */
.card {
    background: transparent;
}

.wrapper.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Product Image */
.preview {
    flex: 1;
    min-width: 250px;
}

.preview-pic {
    border-radius: 8px;
    overflow: hidden;
}

.preview-pic img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Product Details */
.details {
    flex: 2;
    min-width: 300px;
    padding: 20px;
}

.product-title {
    font-size: 1.8rem;
    color: #1a5e20;
    font-weight: 700;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    color: #f39c12;
}

.review-no {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Product Description */
.product-description {
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 20px;
}

.product-description p {
    margin-bottom: 15px;
}

.product-description h6 {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 20px 0 10px 0;
    text-align: left;
}

.product-description ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.product-description ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #444;
}

.product-description ul li::before {
    content: '•';
    color: #1a5e20;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-description ul li strong {
    color: #2c3e50;
}

.vote {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.vote strong {
    color: #28a745;
}

/* Sizes */
.sizes {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.size {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #f8f8f8;
}

.size:hover {
    border-color: #1a5e20;
    background-color: #f0fff0;
}

/* Action Buttons */
.action {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.add-to-cart {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
    flex-grow: 1;
}

.add-to-cart:hover {
    background-color: #218838;
}

.like {
    background-color: white;
    color: #e74c3c;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.like:hover {
    background-color: #fff0f0;
    border-color: #e74c3c;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 20px;
    }
    
    .wrapper.row {
        flex-direction: column;
    }
    
    .preview, .details {
        min-width: 100%;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .action {
        flex-direction: column;
    }
    
    .add-to-cart, .like {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .sizes {
        font-size: 0.9rem;
    }
    
    .size {
        padding: 6px 12px;
    }
}


/* Base styling for filter buttons */
.filter-btn {
  margin: 5px;
  white-space: nowrap;
}

/* Responsive styling for small screens */
@media (max-width: 768px) {
  .text-center.mb-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .filter-btn {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
    font-size: 14px;
    padding: 6px 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;
}

.col-md-6{
    margin-top: 24px;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color:#0b5710;
}


.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 16px;
}


@media (max-width: 576px) {
    .order-summary-item .btn-group,
    .order-summary-item .d-flex {
        flex-direction: column !important;
        gap: 0.75rem;
    }

    .order-summary-item .btn {
        width: 100%;
    }
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #07630d;
    font-size: 18px;
    outline: none;
    font-weight: 600;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

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


/*** Header ***/

    /* Carousel Styles */
    .carousel-caption {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        background: rgba(0, 0, 0, .1);
        z-index: 1;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-radius: 3rem;
        background-color: #0cb218;
        border: 10px solid  #0cb218;
    }
    
    .carousel-buttons {
        position: absolute;
        right: 15px;
        bottom: 15px;
        z-index: 10;
    }
    
    /* Responsive Adjustments */
    @media (max-width: 992px) {
        .carousel-caption {
            padding-bottom: 100px;
        }
        
        .carousel-buttons {
            position: static;
            margin-top: 20px;
            text-align: center;
        }
        
        .carousel-buttons .btn {
            display: block;
            width: 100%;
            margin-bottom: 10px;
        }
    }
    
    @media (max-width: 768px) {
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 2rem;
            height: 2rem;
            border: 5px solid var(--primary);
        }
        
        .carousel-buttons .btn {
            padding: 0.5rem 1rem;
            font-size: 1rem;
        }
    }
    
    @media (max-width: 576px) {
        .carousel-caption h5 {
            font-size: 1rem;
            margin-bottom: 1rem !important;
        }
        
        .carousel-buttons {
            margin-top: 10px;
        }
    }


.page-header {
    background: url(../img/soiltest.webp) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
        .section-title {
            position: relative;
            display: inline-block;
            text-transform: uppercase;
            color: var(--primary);
            font-weight: 600;
            padding-right: 20px;
        }

        .section-title::after {
            content: "";
            position: absolute;
            height: 2px;
            width: 40px;
            bottom: 0;
            right: 0;
            background: var(--primary);
        }


/*** About ***/
.about-experience {
    position: absolute;
    width: 110%;
    height: 120%;
    right: -10px;
    bottom: -14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Ensure buttons don't stretch too wide */
.button-group .btn {
  min-width: 200px;
  text-align: center;
  white-space: nowrap;
}

/* Responsive layout for small screens */
@media (max-width: 576px) {
  .button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .button-group .btn {
    width: 90%;
    max-width: 300px;
    padding: 12px 20px;
    font-size: 14px;
    margin-bottom: 10px;
  }
}



/*** Service ***/
.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #FFFFFF;
}

.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--dark);
    background: var(--secondary);
}


/*** Product ***/
.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .btn {
    border-color: transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 200px;
    color: #EEEEEE;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-img img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}

.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 20%;
}

.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}

.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-img img .animated.pulse {
    animation-duration: 2s;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 45px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    color: var(--dark);
}


/*** Footer ***/
.footer {
    color: #fdfdfd;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #fdfdfd;
    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: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.nil{
    background-color: #eaecee;
}

.p-101{
    padding:0.5rem !important
}

.circle {
    width: 22px; /* Adjust the width and height as needed */
    height: 22px;
    border-radius: 50%; /* This creates a circle shape */
    border: 1px dotted #054807;
}

.with-shadow {
	box-shadow: 0 1px 0.5px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.card {
    background-color: #fff;
    border: none;
    border-radius: 10px;
    width: 1040px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-top: 10px;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .card {
        width: 100%; /* Adjust width for smaller screens */
        max-width: 100%; /* Set maximum width for smaller screens */
        margin: 15px auto; /* Center the card horizontally */

    }
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .popup-content{
        height: 82%; /* Reset height to default */
        max-height: 100vh; /* Set maximum height to 100% of viewport height */
        overflow-y: auto; /* Add scrollbar if content exceeds viewport height */
        margin-top: px; /* Remove top margin */
        margin-bottom: 10px; /* Remove bottom margin */
        padding: 5px;
    }
}


.pro{
    width:100%;
    height: 400px;
}

@media screen and (max-width: 768px) {
    .pro {
        height: auto;
    }
}


/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .popup-content{
        height: 95%; /* Reset height to default */
        max-height: 100vh; /* Set maximum height to 100% of viewport height */
        overflow-y: auto; /* Add scrollbar if content exceeds viewport height */
        margin-top: 2px; /* Remove top margin */
        margin-bottom: 10px; /* Remove bottom margin */
        padding: 5px;
    }
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .details{
    padding: 21px;
    }
}


.image-container{

	position: relative;
}

.thumbnail-image{
	border-radius: 10px !important;
}


.discount{

	background-color: #f7941e;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 4px;
	padding-right: 4px;
	font-size: 10px;
	border-radius: 6px;
	color: #fff;
}

.wishlist{

	height: 25px;
	width: 25px;
	background-color: #6c6d70b8;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	box-shadow:  0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19);
}

.first{

	position: absolute;
	width: 100%;
	    padding: 9px;
}


.dress-name{
	font-size: 13px;
	font-weight: bold;
	width: 75%;
}


.new-price{
	font-size: 13px;
	font-weight: bold;
	color: red;
	
}
.old-price{
	font-size: 8px;
	font-weight: bold;
	color: grey;
}


.btn1{
	width: 14px;
	height: 14px;
	border-radius: 50%;
	padding: 3px;
}

.creme{
	background-color: #fff;
	border: 2px solid grey;
	

}
.creme:hover {
	border: 3px solid grey;
}

.creme:focus {
	background-color: grey;

}


.item-size{
	width: 40px;
	height: 25px;
    margin-left: 1px;
	border-radius:20%;
	background: #fff;
	border: 1px dotted #1c1e1c;
	color: grey;
	font-size: 10px;
	text-align: center;
	align-items: center;
	display: flex;
	justify-content: center;
}


.rating-star{
	font-size: 10px !important;
}
.rating-number{
	font-size: 10px;
	color: grey;

}
.buy{
	font-size: 12px;
	color: purple;
	font-weight: 500;
}




.voutchers{
	background-color: #fff;
	border:none;
	border-radius: 10px;
	width: 190px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	overflow: hidden;

}
.voutcher-divider{

	display: flex;

}
.voutcher-left{
	width: 60%
}
.voutcher-name{
	color: grey;
	font-size: 9px;
	font-weight: 500;
}
.voutcher-code{
	color: red;
	font-size: 11px;
	font-weight: bold;
}
.voutcher-right{
	width: 40%;	 
	background-color: purple;
	color: #fff;
}

.discount-percent{
	font-size: 12px;
	font-weight: bold;
	position: relative;
	top: 5px;
}
.off{
	font-size: 14px;
	position: relative;
	bottom: 5px;
}

.shadow {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Horizontal offset, Vertical offset, Blur radius, Color with alpha */
}

.nav-tabs .nav-link.active {
    background-color: #FFC700;
    color: #ffff;
}

.nav-tabs .nav-link {
    background-color:#f5f2f2;
    color: #ffff;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    margin-right: 5px;
    padding: 10px;
    font-weight: 800;
}


/*-- Floating Social --*/

.float-social {
    position: absolute;
    width: 40px;
    transition: all 0.3s linear;
    box-shadow: 2px 2px 8px 0px rgb(0 0 0 / 40%);
    top: 0;
    z-index: 999999;
    top: 27%;
}

.float-social ul {
    margin-top: 0;
    margin-bottom: 0rem;
}

.float-social li {
    height: 45px;
    position: relative;
}

.float-social li a {
    color: #fff !important;
    display: block;
    height: 100%;
    width: 100%;
    line-height: 45px;
    padding-left: 25%;
    border-bottom: 1px solid rgba(0, 0, 0, .4);
    transition: all .3s linear;
    text-decoration: none !important;
}

.float-social li:nth-child(1) a {
    background: #4267B2;
}

.float-social li:nth-child(2) a {
    background: #1DA1F2;
}

.float-social li:nth-child(3) a {
    background: #E1306C;
}

.float-social li:nth-child(4) a {
    background: #2867B2;
}

.float-social li:nth-child(5) a {
    background: #ff0000;
}

.float-social li:nth-child(6) a {
    background: #ff0000;
}

.float-social li a i {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 13px;
}

.float-social ul li a span {
    display: none;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.float-social a:hover {
    z-index: 1;
    width: 200px;
    border-bottom: 1px solid rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
}

.float-social ul li:hover a span {
    padding-left: 30%;
    display: block;
    font-size: 15px;
}


.area-section {
    background-color: #7B7474;
    /* background-image: url(../img/focus-area-bg.png); */
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
}

.global-down-arrow {
    height: 25px;
    margin-bottom: 5px;
}

.nav-tabs {
    border: none !important;
}

.with-arrow .nav-link {
    border-radius: 20px !important;
    margin: 10px;
    width: 100%;
    text-align: center;
    color: #000;
    font-family: "Open Sans",sans-serif;
    font-weight: 500;
    background: #fff 0% 0% no-repeat padding-box;
    font-size: 13px;
    box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 20%);
    max-width: 140px;
    min-width: 120px;
    height: 95px ;
    white-space: nowrap;
    display: flex;
    flex-direction: column; /* Stack icon and text vertically */
    align-items: center;     /* Center them horizontally */
    justify-content: center; 
    text-align: center;
    padding: 10px;

}
  
.with-arrow .nav-link.active {
    color: #000;
    border-color: #fff;
    background: #FAC53B !important;
    border-radius: 20px !important;
    position: relative;
    width: 100%;
    font-size: 10px;
}

.with-arrow .nav-link.active::after {
    content: '';
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #FAC53B;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    font-size: 10px;

}

.nav-link img {
    width: 2rem;
    height: 2rem;
    margin-bottom: 8px; /* Space between icon and text */
    width: 40px;        /* Optional: icon size */
}

  ✅

.pr-live img {
    cursor: pointer;
    width: 75px;
    height: auto;
}


/* Medium devices (≥768px): slightly larger icons */
@media (min-width: 768px) {
    .nav-link img {
      width: 50px;
      margin-bottom: 10px;
    }
    .nav-link {
      padding: 12px;
    }
  }
  
  /* Large devices (≥992px): even larger icons */
  @media (min-width: 992px) {
    .nav-link img {
      width: 60px;
      margin-bottom: 12px;
    }
    .nav-link {
      padding: 14px;
    }
  }
  
  /* Extra small devices (<576px): smaller icons and tighter spacing */
  @media (max-width: 575.98px) {
    .nav-link img {
      width: 30px;
      margin-bottom: 6px;
    }
    .nav-link {
      padding: 8px;
      font-size: 0.9rem;
    }
  }

  .scrolling-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  .scrolling-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  
  .nav-tabs .nav-item {
    display: inline-block;
    padding: 5px;
  }
  
  .nav-tabs .nav-link {
    white-space: nowrap;
  }
   
  .download-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.download-btn:hover {
    background-color: #218838;
}



.area-section {
    background-color: #176b05;
    /* background-image: url(../img/bannerrr.webp); */
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    opacity: 0.9; /* Corrected property name and value */

}

.global-down-arrow {
    height: 25px;
    margin-bottom: 5px;
}

.nav-tabs {
    border: none !important;
}

.with-arrow .nav-link {
    border-radius: 20px !important;
    margin: 10px;
    width: 100%;
    text-align: center;
    color: #000;
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    background: #fff 0% 0% no-repeat padding-box;
    font-size: 14px;
    box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 20%);
    max-width: 140px;
    min-width: 120px;
    white-space: nowrap;
}

.with-arrow .nav-link.active {
    color: #000;
    border-color: #fff;
    font-family: 'Teko', sans-serif;
    background: #FAC53B !important;
    border-radius: 20px !important;
    position: relative;
    width: 100%;
    font-size: 15px;
}

.with-arrow .nav-link.active::after {
    content: '';
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #FAC53B;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

.nav-link img {
    width: 3rem;
    height: 3rem;
}

.pr-live img {
    cursor: pointer;
    width: 75px;
    height: auto;
}

.about-text{
    color:#ffffff;
    text-indent: 40px;
    margin-bottom: 20px;
    font-weight: 700;

}

.p{
    text-indent: 40px;
    margin-bottom: 20px;
}


        .section-title {
            font-weight: bold;
            /* Add other styling as per your design template */
        }
        .text-primary {
            color: #18800a !important; /* Example primary color */
        }
        .rounded-pill {
            border-radius: 50rem !important;
            margin-bottom: 15px;
        }


        /* Fix modal width and responsiveness */
.modal-dialog {
    max-width: 800px;
    width: 100%;
}

.modal-content {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Ensure the modal body has no padding to fully show video */
.modal-body {
    padding: 0 !important;
    position: relative;
}

/* Responsive iframe */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Close button positioning */
.modal-body .close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
    background: #fff;
    border: none;
    font-size: 1.0rem;
    padding: 0 8px;
    border-radius: 50%;
    opacity: 0.8;
}

.modal-body .close:hover {
    opacity: 1;
}

        .section-title {
            position: relative;
            display: inline-block;
            text-transform: uppercase;
            color: var(--primary);
            font-weight: 600;
            padding-right: 20px;
        }

        .section-title::after {
            content: "";
            position: absolute;
            height: 2px;
            width: 40px;
            bottom: 0;
            right: 0;
            background: var(--primary);
        }

        .g-5{
            margin-top: 50px;
        }


        footer .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

    .footer .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .row.g-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    

    .nav-link-large {
    font-size: 2.25rem; /* Larger text */
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0cb218;
  }

  .nav-link-large i {
    font-size: 2rem; /* Larger icon */
    color:#0b460f;
  }

  .modal-content{
    padding: 5px;
  }

          /* Gallery Header */
            .gallery-header {
                background: linear-gradient(to right, rgba(169, 121, 26, 0.8), rgba(67, 117, 45, 0.8)), 
                            url('img/onion.webp') center/cover no-repeat;
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
                background-attachment: fixed; /* Optional: Creates a parallax effect */
                color: white;
                padding: 8rem 0; /* Increased padding for better visual balance */
                text-align: center;
                margin-bottom: 3rem;
                min-height: 60vh; /* Ensures full viewport coverage */
                display: flex;
                align-items: center;
                justify-content: center;
            }
        
        .gallery-header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            font-family: 'Libre Baskerville', serif;
        }
        
        .gallery-header p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }

                /* Cart item image */
        .img-thumbnail {
            max-height: 80px;
            object-fit: cover;
        }

        /* Empty cart icon */
        .fa-cart-arrow-down {
            opacity: 0.5;
        }

        /* Action buttons */
        .btn i {
            margin-right: 5px;
        }
.vision-mission-item{
        color: #1f1d1d;
    background: aliceblue;
}


/* Product Header (Hero Section) */
.product-header {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(rgba(10, 32, 41, 0.8), rgba(10, 32, 41, 0.8)), 
                url('{% static "images/agriculture-bg.jpg" %}') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    overflow: hidden;
    margin-bottom: 3rem;
}

.product-header .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.product-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

.product-header .lead {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .product-header {
        padding: 6rem 0;
    }
    
    .product-header h1 {
        font-size: 2.8rem;
    }
    
    .product-header .lead {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .product-header {
        padding: 4rem 0;
    }
    
    .product-header h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .product-header .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .product-header h1 {
        font-size: 1.8rem;
    }
    
    .product-header .lead {
        font-size: 1rem;
    }
}

.display-3{
 color: b7c8bb;
}


/* --- Styles for About Page Buttons --- */

/* General styling for the button container to control alignment and spacing */
.about-page-buttons {
    display: flex; /* Use flexbox for button alignment */
    align-items: center; /* Vertically align items in the center */
    justify-content: flex-start; /* Align to the start (left) */
    margin-top: 3rem; /* Increased top margin for better separation from text */
    margin-bottom: 2rem; /* Add some bottom margin if needed for spacing below */
    gap: 1.5rem; /* Space between the buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Base styling for the primary "Our Services" button */
.about-page-buttons .btn-success {
    background-color: #28a745; /* Deeper, more vibrant green */
    border-color: #28a745;
    color: #fff;
    padding: 0.9rem 2.2rem; /* More generous padding */
    font-size: 1.1rem; /* Slightly larger font */
    font-weight: 600; /* Bolder text */
    border-radius: 10px; /* More rounded corners */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.3); /* Soft shadow for depth */
}

.about-page-buttons .btn-success:hover {
    background-color: #218838; /* Darker green on hover */
    border-color: #218838;
    color: #fff;
    transform: translateY(-3px); /* Subtle lift on hover */
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.45); /* Enhanced shadow on hover */
}

/* Styling for the outlined "Contact Us" button */
.about-page-buttons .btn-outline-success {
    background-color: transparent; /* Ensure transparent background */
    border: 2px solid #28a745; /* Green border */
    color: #28a745; /* Green text */
    padding: 0.9rem 2.2rem; /* Consistent padding with success button */
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px; /* Consistent rounded corners */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.1); /* Lighter shadow */
}

.about-page-buttons .btn-outline-success:hover {
    background-color: #28a745; /* Solid green background on hover */
    color: #fff; /* White text on hover */
    box-shadow: 0 8px 18px rgba(40, 167, 69, 0.3); /* Stronger shadow on hover */
    transform: translateY(-3px); /* Subtle lift on hover */
}

/* Icon styling within buttons */
.about-page-buttons .btn i {
    font-size: 1.2em; /* Slightly larger icons */
    line-height: 1; /* Ensure vertical alignment */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-page-buttons {
        flex-direction: column; /* Stack buttons vertically on small screens */
        align-items: stretch; /* Stretch buttons to full width */
        gap: 1rem; /* Smaller gap when stacked */
    }
    .about-page-buttons .btn-success,
    .about-page-buttons .btn-outline-success {
        width: 100%; /* Make buttons full width */
        padding: 0.8rem 1.5rem; /* Adjust padding for smaller screens */
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .about-page-buttons {
        margin-top: 2rem; /* Less margin on very small screens */
    }
}

.btn-secondary-login{
    color: #f2eded; 
    background: #0b3e06;
}

.impact-card-header{
    font-size: larger;
    font-weight: 700;
    color: green;
    background: ghostwhite;
}

/* Compact top bar for mobile */
@media (max-width: 767.98px) {
    .topbar-container {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        font-size: 13px;
    }

    .topbar-container .col-lg-6 {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }

    .topbar-container .btn-link {
        padding: 0 4px !important;
        font-size: 14px;
    }

    .topbar-container span,
    .topbar-container a {
        font-size: 13px;
    }
}
