@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600&amp;family=Jost:wght@300;400;500;600&amp;display=swap");
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kavoon&family=Mukta:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kavoon&family=Mea+Culpa&family=Mukta:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kavoon&family=Mea+Culpa&family=Mukta:wght@200;300;400;500;600;700;800&family=Playwrite+PE:wght@100..400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}


/* .bg-success {
    background-color: #118900 !important;
  }
   */
/* Add top padding to body content to account for the fixed navbar */
body {
  
    padding-top: 80px;
}

/* Header Styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* padding: 5px 0px ; */
}



/* Navbar Link Styling */
.navbar-light .navbar-nav .nav-link {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 20px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Active link styling */
.navbar-light .navbar-nav .nav-link.active {
    color: #18b92e;
}

/* Hover effect for links */
.navbar-light .navbar-nav .nav-link:hover {
    color: #18b92e;
}

/* Styling for Social Media Icons in Navbar */
.navLinks {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: auto;
}

.social-icon {
    font-size: 20px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #007bff;
}

/* Logo Animation */
.logo img {
    /* width: 100px; */
    width: 10rem;
    /* height: auto; */
    padding: 0px 10px;
    opacity: 0;
    animation: fadeInScale 1.5s ease-out forwards;
}


@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Small adjustments for mobile responsiveness */
@media (max-width: 992px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 18px;
        /* Slightly smaller font size */
    }

    /* Logo size adjustment for tablet-sized devices */
    .logo img {
        width: 100px;
    }

    .navLinks {
        gap: 10px;
        /* Slightly smaller gap between icons */
    }

    .social-icon {
        font-size: 18px;
        /* Smaller icon size */
    }
}

/* Additional responsiveness for small screens */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .navLinks {
        gap: 8px;
    }

    .social-icon {
        font-size: 16px;
    }

    /* Adjust navbar links for mobile */
    .navbar-light .navbar-nav .nav-link {
        font-size: 16px;
        /* Smaller font size on smaller screens */
    }
}

/* Very small screens (Mobile portrait mode) */
@media (max-width: 480px) {
    .logo a img {
        width: 200px;
        /* Further adjust logo size for very small screens */
    }

}
    .navbar-light .navbar-nav .nav-link {
        font-size: 14px;
        /* Even smaller font size */
    }

    .social-icon {
        font-size: 14px;
        /* Adjust social icon size */
    }
}

/* Style for carousel items */
.carousel-item {
    position: relative;
}

/* Dim the image using an overlay */
.carousel-item img {
    filter: brightness(55%);
    /* Reduce image brightness */
    transition: filter 0.5s ease;
    /* Smooth transition for brightness */
}

/* Default styles for larger screens */
.carousel-caption {
    position: absolute;
    top: 250px !important;
    left: 30%;
    right: 20%;
    text-align: left;
    /* font-size: 1.5rem; */
    transition: all 0.3s ease-in-out;
}

.carousel-caption h3 {
    font-size: 2rem;
    color: #fff;
}

.carousel-caption p {
    padding-left: 10rem;
    font-size: 3.2rem !important;
    color: #fff;
}



.card-body {
    text-align: center;
}

  /* General Styles */
  .category-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
    animation-delay: 0.3s;
}

/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation delay for each item */
.category-item:nth-child(1) {
    animation-delay: 0.3s;
}
.category-item:nth-child(2) {
    animation-delay: 0.5s;
}
.category-item:nth-child(3) {
    animation-delay: 0.7s;
}
.category-item:nth-child(4) {
    animation-delay: 0.9s;
}
.category-item:nth-child(5) {
    animation-delay: 1.1s;
}
.category-item:nth-child(6) {
    animation-delay: 1.3s;
}

/* Hover effect on images */
.category-item img {
    transition: transform 0.3s ease-in-out;
}

.category-item img:hover {
    transform: scale(1.1);
}

/* Text styling */
.category-item p {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.category-item:hover p {
    opacity: 1;
    transform: translateY(0);
}

.categories {
    text-align: center;
    font-family: open-sans;
    padding: 30px 0px;
}

.img-fluid {
    border-radius: 5%;
    padding-top: 20px;
}

.para {
    padding: 15px 0 0 0;
    font-size: 18px;
    /* color: palevioletred; */
}

.para a {
    text-decoration: none;
}


/* box */

/* Section background */
.productBox {
    /* background-color: #8a6f6f; */
    padding: 100px 20px;
}


h2 {
    font-size: 2.5rem;
    /* color: #333; */
    font-weight: bold;
}

/* Row layout for the images */
.boxRow {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}

/* Box that holds the images */
.box {
    padding: 20px;
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    position: relative;
    /* Positioning for overlay */
}


/* Image styling */
.box img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Smooth transition for hover effect */
}

.box a {
    text-decoration: none;
}

/* Hover effect for images */
.box:hover img {
    transform: scale(1.05);
    /* Slight zoom effect */
    filter: brightness(70%);
    /* Darker image on hover */
    opacity: 0.7;
    /* Slightly reduce opacity on hover */
}


/* Overlay styling */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black background */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.3s ease;
}

/* Text styling on the image */
.text-on-image {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}




.image-container:hover .overlay {
    opacity: 1;
    /* Show overlay on hover */
}


/* Media queries for responsiveness */
@media (max-width: 1024px) {
    .row {
        flex-direction: column;
        /* Stack images vertically on medium screens */
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
        /* Adjust heading size on small screens */
    }

    .row {
        flex-direction: column;
        /* Stack images vertically on smaller screens */
    }

    .box {
        margin-bottom: 20px;
    }
}


.microbes {
    padding: 30px;
}

.microbes p {
    font-size: 17px;
}

/* For animating the text (slide from the right) */
.microbes {
    opacity: 0;
    /* Start as invisible */
    transform: translateX(100px);
    /* Initially off-screen to the right */
    animation: slideInText 3s ease-out forwards;
    /* Animation definition */
}

/* For animating the image (slide from the left) */
img {
    opacity: 0;
    /* Start as invisible */
    transform: translateX(-100px);
    /* Initially off-screen to the left */
    animation: slideInImage 1s ease-out forwards;
    /* Animation definition */
}

/* Keyframe for sliding the text from right to left */
@keyframes slideInText {
    0% {
        opacity: 0;
        transform: translateX(100px);
        /* Start off-screen */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        /* Move to normal position */
    }
}

/* Keyframe for sliding the image from left to right */
@keyframes slideInImage {
    0% {
        opacity: 0;
        transform: translateX(-100px);
        /* Start off-screen */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        /* Move to normal position */
    }
}


/* Link section */
.link {
    /* background-color: #333; Dark background for the section */
    /* color: white; White text for contrast */
    padding: 40px 0;
    text-align: center;
}

.link h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: bold;

}

.link h3:hover {
    color: #26A134;
}

.link p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #26A134;

}

.contact-section p {
    font-size: 20px;
}

/* Social icons container */
.socials ul {
    display: flex;
    justify-content: center;
    /* Center the icons */
    gap: 20px;
    /* Space between the icons */
    list-style-type: none;
}

.socials ul li {
    display: inline-block;
}

/* Social media icon styling */
.socials ul li a {
    display: block;
    font-size: 2rem;
    /* color: white; */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    /* Smooth transition for hover effects */
}

.socials ul li a:hover {
    color: #007bff;
    /* Change to a blue color on hover */
    transform: scale(1.1);
    /* Slightly enlarge the icon on hover */
}

/* Responsive design */
@media (max-width: 768px) {
    .link h3 {
        font-size: 1.5rem;
        /* Adjust heading size for small screens */
    }

    .link p {
        font-size: 1rem;
        /* Adjust paragraph size for small screens */
    }

    .socials ul {
        flex-direction: column;
        /* Stack icons vertically on small screens */
        gap: 15px;
    }

    .socials ul li a {
        font-size: 1.5rem;
        /* Adjust icon size on small screens */
    }
}


/* Column Styling for Larger Screens */
.col-lg-3 {
    flex: 1 1 23%;
    /* Each image takes 23% of the container on large screens */
    display: flex;
    /* Makes the container a flexbox to center images */
    justify-content: center;
    /* Centers the image horizontally */
}

/* Poster Image Styling */
.col-lg-3 img {
    width: 100%;
    /* Ensures the image fills the width of the container */
    height: auto;
    /* Keeps the aspect ratio intact */
    object-fit: cover;
    /* Ensures the image covers the space without stretching */
    border-radius: 8px;
    /* Optional: Adds rounded corners to the images */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Adds shadow to the images */
    transition: transform 0.3s ease;
    /* Smooth transition for hover effect */
}

/* Hover Effect for Images */
.col-lg-3 img:hover {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
}

/* Responsive Design */
@media (max-width: 992px) {
    .col-lg-3 {
        flex: 1 1 48%;
        /* Each image takes 48% of the container on medium screens */
    }
}

@media (max-width: 576px) {
    .col-lg-3 {
        flex: 1 1 100%;
        /* Each image takes 100% of the container on small screens */
    }
}


/* General Styles for Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

.footer .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

/* .footer-col {
    margin-bottom: 20px;
} */

/* Footer Logo and Company Info */
.footer .logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer p {
    font-size: 18px;
    line-height: 1.5;
    color: #ddd;
}

/* Quick Links Section */
.footer .footer-col ul {
    list-style-type: none;
    padding: 0;
}

.footer .footer-col ul li {
    margin-bottom: 10px;
}

.footer .footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 18px;
}

.footer .footer-col ul li a:hover {
    color: #26A134;
}

/* Footer Contact Section */
.footerContact p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 15px;
}

.footerContact i {
    margin-right: 8px;
    color: #26A134;
}

.footerContact .email {
    color: #26A134;
    text-decoration: none;
}

.footerContact .email:hover {
    text-decoration: underline;
}

/* Footer Bottom Section */
.footer-bottom {
    margin-top: 50px !important;
margin: 20px 0px;
    background-color: #26A134;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 17px;
}

.footer-bottom p {
    margin: 0;
    color: #000;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer .row {
        flex-direction: column;
        align-items: center;
    }

    .footer .col-lg-6, .footer .col-lg-3 {
        text-align: center;
    }

    .footer .footer-col {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer .logo img {
        max-width: 120px;
    }

    .footer h4 {
        font-size: 16px;
    }

    .footer p {
        font-size: 13px;
    }

    .footerContact p {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}
