/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

html {
    scroll-behavior: smooth;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3,
p {
    margin: 0;
}

/* Add sticky positioning to the navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Ensures the navbar stays on top of other elements */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #2c3e50;
    color: white;
}

.navbar-container .logo img {
    height: 45px;
    /* Adjust based on your navbar size */
    width: auto;
    /* Maintain aspect ratio */
    display: block;
    object-fit: contain;
    border-radius: 100px;
    /* Ensures the whole image is visible */
}


.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 0.3rem;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Navigation links (desktop) */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;


    
    /* Increased gap between nav links */
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
}

.nav-links.show {
    display: flex;
    /* Show when toggled */
}

/* Mobile view styles */
@media screen and (max-width: 768px) {

   
    .hamburger {
        display: flex;
    }

                .nav-links {
        
                    display: none;
                    /* Hide by default */
                    flex-direction: column;
                    /* Stack links vertically */
                    background-color: #2c3e50;
                    /* Optional: Add a background */
                    position: absolute;
                    /* Place it over content */
                    top: 60px;
                    /* Adjust based on navbar height */
                    right: 0;
                    /* Align with the edge of the screen */
                    left: 0;
                    /* Make it span the width */
                    border-radius: 5px;
                    /* Optional: Add rounded corners */
                    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
                    /* Optional: Add shadow */
                    text-align: center;
                    /* Center the text */
                    padding: 20px 0;
                    /* Add space around the links */
                    z-index: 1000;
                    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
                    transform: translateY(-20px);
        
        
                    /* Slide up by default */
        
                }
        
        
                .nav-links.show {
                    max-height: 300px;
                    /* Adjust based on number of links */
                }
    .navbar-container {
        justify-content: space-between;
    }

        .product-cards {
            flex-direction: column;
            align-items: center;
            gap: 20px;
            /* Adjust spacing between cards */
        }
    
        .card {
            width: 90%;
            /* Full width with some padding */
        }
}
/* General Section Styling */
    .hero-section {
      position: relative;
      width: 100%;
      overflow: hidden;
      margin: 0 auto;
      height: 650px;
    }

    /* Slider Container */
    .hero-slider {
      display: flex; /* Horizontal alignment of images */
      flex-wrap: nowrap; /* No wrapping, images stay in one row */
      transition: transform 0.5s ease-in-out; /* Smooth transition for sliding */
      gap: 0; /* No gaps between images */
    }

    /* Individual Slider Images */
    .slider-image {
      flex-shrink: 0; /* Prevent images from shrinking */
      width: 100%; /* Full width of the viewport */
      height: auto; /* Maintain aspect ratio */
      max-height: 700px; /* Limit image height */
      object-fit: cover; /* Ensure images fill their container */
    }

    /* Welcome Text Overlay */
    .hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: white;
      z-index: 10;
      font-family: Arial, sans-serif;
    }

    .hero-content h1 {
      font-size: 2.5rem;
      margin: 0;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    }

    .hero-content p {
      font-size: 1.2rem;
      margin-top: 10px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    /* Adjust for Smaller Screens */
    @media screen and (max-width: 768px) {
      .slider-image {
        max-height: 250px;
      }
      .hero-content h1 {
        font-size: 2rem;
      }
      .hero-content p {
        font-size: 1rem;
      }
    }

    @media screen and (max-width: 480px) {
      .slider-image {
        max-height: 200px;
      }
      .hero-content h1 {
        font-size: 1.5rem;
      }
      .hero-content p {
        font-size: 0.9rem;
      }
    }

    /* Optional Navigation Arrows */
    .nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      color: #fff;
      border: none;
      font-size: 24px;
      padding: 10px;
      cursor: pointer;
      z-index: 10;
    }

    .nav-arrow.left {
      left: 10px;
    }

    .nav-arrow.right {
      right: 10px;
    }

/* Hero Content Styling */
.product-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    align-items: stretch;
    /* Ensure all cards take the same height */
}

.card {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Ensure even spacing */
    height: 280px;
    /* Make sure they expand evenly */
     transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.card img {
    max-width: 100%;
    border-radius: 8px;
    height: 200px;
    /* Set a fixed height for images */
    object-fit: cover;
    /* Ensure images don't stretch */
}

.card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.card a {
    text-decoration: none;
    color: #2c3e50;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-section {
    position: relative;
    background-image: url('images/farmone.jpg');
    /* Replace with your actual image URL */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    color: black;
    /* Adjust text color if needed */
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    /* White overlay with transparency */
}

.about-section .container {
    position: relative;
    z-index: 1;
}

/* Section Styles */
.products-section,
.about-section,
.contact-section {
    padding: 30px 0;
    text-align: center;
    font-size: 1.1rem;
}

.products-section .section-heading{
    font-size: 2.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
 
    /* font-size: 2em; */
    margin-bottom: 20px;
    color: #2c3e50;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-card {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    width: 250px;
    
    transition: transform 0.3s ease;
}

.product-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.product-card:hover {
    transform: translateY(-10px);
}


.mission-section {
    background: linear-gradient(135deg, #2c3e50, #125264);
    /* Blue gradient background */
    color: white;
    padding: 60px 0;
    text-align: center;
}

.mission-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    color: whitesmoke;
}

.mission-box {
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    /* Glass effect */
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
}

.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.mission-icon {
    font-size: 2rem;
    color: #ffd700;
    /* Gold color for contrast */
}

.mission-box h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.mission-box p {
    font-size: 1.2rem;
    color: #f1f1f1;
}

/* Add subtle fade-in animation */
.mission-box {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mission-box p {
    font-size: 1.1rem;
    color: whitesmoke;
}

.application-area {
    padding: 20px;
    text-align: center;
}

.application-area h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    gap: 20px;
    /* Space between the items */
    justify-items: center;
}

.application-item {
    background-color: #eae8f1;
    /* Optional background color */
    padding: 20px;
    border-radius: 8px;
    /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional shadow effect */
    text-align: center;
    max-width: 300px;
    width: 100%;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
        /* Slower transition */
}

.application-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* Optional: for rounded image corners */
}

.application-item h3 {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
    text-transform: uppercase;
}

.application-item:hover {
    transform: translateY(-10px);
    /* Moves the card up a bit */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Stronger shadow on hover */
}

@media screen and (max-width: 1200px) {
    .application-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns */
    }
}

/* 2. For screens smaller than 768px (mobile screens) */
@media screen and (max-width: 768px) {
    .application-grid {
        grid-template-columns: 1fr;
        /* 1 column */
    }

    .application-area h2 {
        font-size: 2rem;
        /* Smaller font size for mobile */
    }

    .application-item h3 {
        font-size: 16px;
        /* Smaller font size for mobile */
    }
}


.product-range-section {
    padding: 40px 20px;
    background-color: #f4f4f4;
    /* Light background color */
}

.product-range-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-range-text {
    flex: 1;
    padding-right: 20px;
}

.product-range-text h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.product-range-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.product-cards {
    display: flex;
    gap: 20px;
    flex: 2;
    justify-content: space-between;
}

.product-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.product-card img {
    width: 60px;
        /* You can reduce this further if needed */
        height: 60px;
        /* Ensures images are square and small */
        object-fit: cover;
        /* Keeps images properly cropped */
        border-radius: 6px;
}

.product-card h3 {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}

/* Mobile responsive design */
@media screen and (max-width: 768px) {
    .product-range-section .container {
        flex-direction: column;
        /* Stacks the columns on small screens */
        align-items: center;
    }

    .product-range-text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .product-cards {
        flex-direction: column;
        /* Stacks the cards vertically */
        align-items: center;
    }

    .product-card {
        max-width: 100%;
        /* Ensure cards don't overflow on mobile */
    }
}

.logo img {
    width: 50px;
    height: 50px;
}




/* Footer Section */
.footer {
    background-color: #0b1f27;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.services,
.contact-info {
    flex: 1;
}

.services h3,
.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #e5ee2e;
}

.services ul {
    list-style-type: none;
    padding: 0;
}

.services ul li {
    font-size: 1rem;
    margin-bottom: 8px;
}

.services ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services ul li a:hover {
    color: #e5ee2e;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 8px;
}

.social-media {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    font-size: 30px;
    color: #e5ee2e;
    text-decoration: none;
}

.social-icon:hover {
    opacity: 0.8;
}

.social-icon i {
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        align-items: center;
    }

    .services,
    .contact-info {
        margin-bottom: 20px;
    }

    .social-media {
        margin-top: 20px;
    }
}

/* Splash Screen Styling */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* Change to match your brand color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-in-out;
}


.splash-logo {
    width: 200px;
    /* Final size */
    opacity: 0;
    transform: scale(1.5);
    /* Start bigger */
    animation: fadeInScale 1.5s ease-in-out forwards;
    border-radius: 100px;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(2);
        /* Larger at the start */
    }

    100% {
        opacity: 1;
        transform: scale(1);
        /* Shrink to normal size */
    }
}

::selection {
    background-color: rgb(25, 49, 64);
    /* Background color when text is selected */
    color: white;
    /* Text color when selected */
}