/* Root Variables */
:root {
    --primary: #34AD54;
    --secondary: #FF9933;
    --light: #F6FFF2;
    --dark: #263A4F;
}

/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

.container-fluid.banner .col-12,
.container-fluid.banner .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 1px;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.bg-vegetable {
    background: linear-gradient(rgba(52, 173, 84, .2), rgba(52, 173, 84, .2)), url(../img/vegetable.png) center right no-repeat;
    background-size: auto 70%;
}

.bg-fruit {
    background: linear-gradient(rgba(255, 153, 51, .2), rgba(255, 153, 51, .2)), url(../img/fruit.png) center right no-repeat;
    background-size: auto 70%;
}

.bg-flower {
    background: linear-gradient(rgba(255, 0, 255, .2), rgba(255, 0, 255, .2)), url(../img/flower.png) center right no-repeat;
    background-size: auto 70%;
}

.bg-herb {
    background: linear-gradient(rgba(0, 255, 0, .2), rgba(0, 255, 0, .2)), url(../img/herb.png) center right no-repeat;
    background-size: auto 70%;
}

/* Specific Media Queries for Mobile Devices */
@media (max-width: 767px) {
    .container-fluid.banner .col-12,
    .container-fluid.banner .col-md-6 {
        flex: 0 0 48%;
        max-width: 48%;
        margin-bottom: 2%;
    }

    .container-fluid.banner .bg-vegetable,
    .container-fluid.banner .bg-fruit,
    .container-fluid.banner .bg-flower,
    .container-fluid.banner .bg-herb {
        height: 20opx;
        padding: 10px;
        background-position: center right;
        background-size: auto 50%;
    }

    .container-fluid.banner h3 {
        font-size: 1.7px;
        margin-bottom: 0px;
    }

    .container-fluid.banner p {
        font-size: 1x;
        margin-bottom: 0px;
    }

    .container-fluid.banner a {
        font-size: 1px;
        display: inline-block;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 1px 1px;
        border-radius: 3px;
        text-decoration: none;
    }
}

/* Image Styling */
.container-fluid.banner img {
    width: 2%;
    height: auto;
}

/* Button Styles */
.btn {
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

/* Navbar Styles */
.navbar-dark .navbar-nav .nav-link {
    padding: 30px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background: var(--secondary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* Hero Background */
.bg-hero {
    background: url('../img/carousel-1.jpg') no-repeat center center/cover;
    background-size: cover;
    height: 300px; /* Default height for larger screens */
}

@media (max-width: 768px) {
    .bg-hero {
        height: 200px; /* Height for mobile screens */
    }
}


/* Service Item Styles */
/* Default styles for service items */
.service-item {
    box-shadow: 0 0 45px #EDEDED;
    transition: .5s;
    /* Adjust the size for mobile screens */
    font-size: 16px; /* Adjust the font size as needed */
    padding: 20px; /* Adjust padding as needed */
    /* Add any other styles for service items here */
}

/* Styles for icons inside service items */
.about i,
.service-item i {
    background-image: linear-gradient(var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .5s;
}

/* Hover styles for service items */
.service-item:hover {
    color: var(--light);
    background: var(--primary) !important;
}

.service-item:hover i {
    background-image: linear-gradient(var(--light), var(--secondary));
}

/* Hover styles for heading inside service items */
.service-item:hover h4 {
    transition: .5s;
    color: var(--light);
}

/* Media query for smaller screens (adjust max-width as needed) */
@media (max-width: 768px) {
    .service-item {
        font-size: 14px; /* Adjust font size for smaller screens */
        padding: 10px; /* Adjust padding for smaller screens */
    }
}



/* Testimonial Styles */
.bg-testimonial {
    background: url(../img/testimonial.jpg) top center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(52, 173, 84, .7);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

/* Blog Item Styles */

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

.blog-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items horizontally */
    justify-content: flex-end; /* Center align items vertically */
    background: linear-gradient(rgba(52, 173, 84, 0), rgba(52, 173, 84, 1));
    z-index: 1;
}

@media (max-width: 768px) {
    .img-fluid {
        width: 100%;
        height: 300px;
    }

    .blog-overlay {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .raw {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .col-md-6 {
        width: 70%; /* Ensure full width for mobile screens */
    }
}

/* Footer Background */
.bg-footer {
    background: linear-gradient(rgba(52, 173, 84, .7), rgba(52, 173, 84, .7)), url(../img/footer.png) center bottom no-repeat;
    background-size: contain;
}

@media (min-width: 991.98px) {
    .bg-footer {
        margin-top: 90px !important;
    }
}


.navbar-collapse {
    position: relative;
    z-index: 2;
}

#float-container {
    z-index: 1;
}


body {
    margin: 0;
    padding: 0;
    padding-top: 60px; /* Adjust this value according to your navbar height */
    box-sizing: border-box;
}

.navbar {
    /* Your navbar styles */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #333;
    color: white;
    padding: 10px;
}

.header-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px;
    position: fixed;
    top: 50px; /* Adjust based on the height of your navbar */
    left: 0;
    right: 0;
    z-index: 999;
}


.container-fluid.px-5.d-none.d-lg-block {
    margin-top: 20px; /* Example adjustment for topbar */
}

.category-card {
    border: none;
    border-radius: 0;
}
.category-header {
    color: white;
    padding: 20px;
    font-size: 24px;
}
.category-content {
    padding: 15px;
    background-color: #f8f9fa;
    color: #333;
    font-size: 16px;
}
.category-action {
    padding: 15px;
    background-color: #f8f9fa;
    text-align: center;
}
.category-action a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}
.vegetable-seeds {
    background-color: #b15306;
}
.fruit-seeds {
    background-color: #28a745;
}
.flower-seeds {
    background-color: #28a745;
}
.herb-seeds {
    background-color: #b15306;
}

@media (max-width: 767px) {
    .col-sm-6 {
        width: 50%;
        float: left;
    }
}

@media (max-width: 767px) {
    .col-lg-4 {
        width: 50%;
        float: left;
    }
}

/* Container fluid styles */
.container-fluid.bg-footer {
    background-color: #007bff; /* Ensure primary background color is consistent */
    color: #ffffff;
    padding-top: 50px; /* Add padding to the top for better spacing */
    padding-bottom: 30px; /* Add padding to the bottom for better spacing */
}

/* Container styles */
.container .row.gx-5 {
    display: flex;
    flex-wrap: wrap;
}

/* Column styles */
.col-lg-8, .col-lg-4 {
    margin-bottom: 30px; /* Add bottom margin for better spacing between columns */
}

/* Individual section styles */
h4.text-white {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffffff; /* Add underline to section titles */
    padding-bottom: 10px;
}

.d-flex.mb-2, .d-flex.mt-4 {
    align-items: center;
}

p.text-white.mb-0 {
    margin: 0;
    padding-left: 10px;
    line-height: 1.5;
}

.btn-secondary.btn-square {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quick Links and Popular Links styles */
.d-flex.flex-column.justify-content-start {
    list-style: none;
    padding: 0;
}

.d-flex.flex-column.justify-content-start a {
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.d-flex.flex-column.justify-content-start a:hover {
    color: #dcdcdc; /* Change color on hover */
}

/* Newsletter section styles */
.d-flex.flex-column.align-items-center.justify-content-center.bg-secondary {
    border-radius: 10px; /* Add rounded corners */
    padding: 20px; /* Increase padding for better spacing */
}

.d-flex.flex-column.align-items-center.justify-content-center.bg-secondary h4 {
    margin-bottom: 10px;
}

.d-flex.flex-column.align-items-center.justify-content-center.bg-secondary h6 {
    margin-bottom: 10px;
}

.d-flex.flex-column.align-items-center.justify-content-center.bg-secondary p {
    margin-bottom: 20px;
}

.d-flex.flex-column.align-items-center.justify-content-center.bg-secondary .form-group {
    width: 100%;
    text-align: left;
}

.d-flex.flex-column.align-items-center.justify-content-center.bg-secondary .form-control {
    border-radius: 5px;
}

.d-flex.flex-column.align-items-center.justify-content-center.bg-secondary .btn-primary {
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

.container-fluid.bg-dark.text-white.py-4 {
    background-color: #343a40;
}

.container.text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container.text-center p.mb-0 {
    margin: 0;
    padding: 10px 0;
}

.container.text-center p.mb-0 a {
    color: #6c757d;
    text-decoration: none;
}

.container.text-center p.mb-0 a:hover {
    color: #ffffff;
}

/* Responsive styles */
@media (max-width: 767px) {
    .container .row.gx-5 > div {
        width: 100%;
        margin-bottom: 30px;
    }

    .col-lg-8 .row.gx-5 > div {
        display: flex;
        flex-direction: column;
        align-items: column;
    }

    .col-lg-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


