/* Global Styles */
:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #a9dfbf;
    --secondary-color: #f1c40f;
    --text-color: #333;
    --light-color: #f5f5f5;
    --dark-color: #222;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-dark);
    position: relative;
    margin-bottom: 15px;
}

.underline {
    height: 4px;
    width: 70px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding-top: 0px;
    padding-bottom: 0px;
}

/* Default transparent header for home page */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header {
    background-color: transparent;
    box-shadow: none;
}

/* Make header solid for pages other than home */
.page-about header,
.page-products header,
.page-contact header {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    padding: 0;
    background-color: transparent;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.logo-img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.logo-img:hover {
    transform: scale(1.1);
    border-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.navbar-toggler {
    padding: 8px;
    width: 44px;
    height: 44px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: 8px;
    z-index: 2001;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
    border-color: var(--primary-color);
}

.navbar-toggler:hover {
    background-color: #f8f9fa;
}

.navbar-toggler i {
    font-size: 24px;
    color: var(--primary-dark);
    transition: var(--transition);
}

/* Change navbar-toggler color for pages other than home */
.page-about .navbar-toggler i,
.page-products .navbar-toggler i,
.page-contact .navbar-toggler i {
    color: white;
}

/* Home page navbar-toggler color */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) .navbar-toggler i {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.navbar-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-item {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

/* Mobile search container styles for inline display */
.navbar-nav .mobile-search {
    margin-left: 20px;
    width: auto;
    display: flex;
    align-items: center;
}

.mobile-search {
    width: auto;
    margin: 0;
}

.nav-link {
    white-space: nowrap;
    position: relative;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 0;
    margin-right: 0;
    color: var(--text-color) !important;
    font-size: 16px;
}

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

/* Change nav-link color for pages other than home */
.page-about .nav-link, 
.page-products .nav-link, 
.page-contact .nav-link {
    color: white !important;
}

.page-about .nav-link:hover, 
.page-products .nav-link:hover, 
.page-contact .nav-link:hover,
.page-about .nav-link.active,
.page-products .nav-link.active,
.page-contact .nav-link.active {
    color: var(--primary-light) !important;
}

/* Home page nav-link color */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) .nav-link {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) .nav-link:hover,
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) .nav-link.active {
    color: var(--primary-light) !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Search Specific Styles */
.mobile-search .search-form {
    width: 200px;
    margin: 0;
    height: 38px;
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Ensure proper wrapping on smaller screens before mobile breakpoint */
@media (max-width: 1100px) and (min-width: 992px) {
    .nav-item {
        margin-left: 10px;
    }
    
    .mobile-search .search-form {
        width: 150px;
    }
}

/* Mobile responsive styles */
@media (max-width: 991px) {
    header {
        padding: 12px 0;
    }
    
    /* Keep transparency on home page for mobile */
    .page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header {
        background-color: transparent;
        box-shadow: none;
    }

    .page-about header,
    .page-products header,
    .page-contact header {
        background-color: var(--primary-dark);
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 80px 0;
        z-index: 2000;
        transition: 0.4s ease-in-out;
        transform: translateX(-100%);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin: 8px 0;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s ease;
        display: block;
        width: 100%;
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.3s;
    }

    /* Style mobile navbar collapse differently for inner pages */
    .page-about .navbar-collapse,
    .page-products .navbar-collapse,
    .page-contact .navbar-collapse {
        background-color: rgba(39, 174, 96, 0.95);
    }
    
    /* Update mobile menu text colors for better visibility */
    .page-wrapper:not(.page-about):not(.page-products):not(.page-contact) .navbar-collapse .nav-link {
        color: white !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    }
    
    /* Update inner page mobile nav links */
    .page-about .nav-link,
    .page-products .nav-link,
    .page-contact .nav-link {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
    }
    
    .page-about .nav-link:hover,
    .page-products .nav-link:hover,
    .page-contact .nav-link:hover,
    .page-about .nav-link.active,
    .page-products .nav-link.active,
    .page-contact .nav-link.active {
        background-color: rgba(255, 255, 255, 0.2) !important;
        color: var(--primary-light) !important;
    }
    
    /* Update inner page mobile search form */
    .page-about .mobile-search .search-form,
    .page-products .mobile-search .search-form,
    .page-contact .mobile-search .search-form {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .page-about .mobile-search .search-input,
    .page-products .mobile-search .search-input,
    .page-contact .mobile-search .search-input {
        color: white;
    }
    
    .page-about .mobile-search .search-input::placeholder,
    .page-products .mobile-search .search-input::placeholder,
    .page-contact .mobile-search .search-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }
    
    /* Search bar styling in mobile view */
    .navbar-nav .mobile-search {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        display: block;
    }
    
    .mobile-search {
        width: 90%;
        margin: 20px auto 10px;
    }
    
    .mobile-search .search-form {
        width: 100%;
    }
    
    /* Add spacing before the search form in mobile view */
    .nav-item.mobile-search {
        position: relative;
    }
    
    .nav-item.mobile-search::before {
        content: '';
        display: block;
        height: 1px;
        width: 60%;
        margin: 10px auto;
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

/* Desktop search styling */
.search-container.desktop-only {
    margin-left: 20px;
}

.desktop-only .search-form {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.desktop-only .search-input {
    border: none;
    padding: 8px 15px;
    width: 200px;
    font-size: 14px;
}

.desktop-only .search-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.desktop-only .search-btn:hover {
    color: var(--primary-dark);
}

/* Sticky header modifications */
header.sticky {
    padding: 10px 0;
    background-color: var(--primary-dark) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
}

header.sticky .logo-img {
    height: 50px;
    width: 50px;
}

header.sticky .nav-link {
    padding: 8px 0;
    color: white !important;
}

/* Keep home page header dark green/black when sticky like the About page */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header.sticky {
    background-color: var(--primary-dark) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Keep inner pages header with primary dark color when sticky */
.page-about header.sticky,
.page-products header.sticky,
.page-contact header.sticky {
    background-color: var(--primary-dark) !important;
}

/* Change text color for sticky header to ensure visibility */
header.sticky .nav-menu a {
    color: white !important;
    text-shadow: none;
}

header.sticky .nav-menu a:hover,
header.sticky .nav-menu a.active {
    color: var(--primary-light) !important;
}

/* Home page sticky header nav links */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header.sticky .nav-link {
    color: white !important;
}

.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header.sticky .nav-link:hover,
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header.sticky .nav-link.active {
    color: var(--primary-light) !important;
}

/* Inner pages sticky nav menu colors */
.page-about header.sticky .nav-menu a,
.page-products header.sticky .nav-menu a,
.page-contact header.sticky .nav-menu a {
    color: white;
    text-shadow: none;
}

.page-about header.sticky .nav-menu a:hover,
.page-products header.sticky .nav-menu a:hover,
.page-contact header.sticky .nav-menu a:hover,
.page-about header.sticky .nav-menu a.active,
.page-products header.sticky .nav-menu a.active,
.page-contact header.sticky .nav-menu a.active {
    color: var(--primary-light) !important;
}

header.sticky .menu-toggle i {
    color: white !important;
}

/* Inner pages sticky toggle icon color */
.page-about header.sticky .menu-toggle i,
.page-products header.sticky .menu-toggle i,
.page-contact header.sticky .menu-toggle i {
    color: white;
}

/* Change menu toggle color for home page */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) .menu-toggle i {
    color: white !important;
    text-shadow: none;
}

/* Change search form colors in sticky header */
header.sticky .search-form {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

header.sticky .search-input {
    color: white;
}

header.sticky .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

header.sticky .search-btn {
    color: white;
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
        width: 50px;
    }

    .navbar-toggler {
        padding: 6px;
        width: 40px;
        height: 40px;
    }

    .navbar-toggler i {
        font-size: 20px;
    }
}

/* Home Section */
#home {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 0;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Hero Slider Section */
.slider-section {
    padding: 80px 0;
    background: #6f7b79bd;
    position: relative;
    overflow: hidden;
}

.slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

/* Section header for slider needs different colors on black background */
.slider-section .section-header h2 {
    color: rgb(0, 60, 4);
}

.slider-section .section-header .underline {
    background-color: rgba(2, 45, 19, 0.735);
}

.slider-container {
    width: 100%;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
    height: 500px;
}

.slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 30px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    color: white;
}

.slide-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s forwards;
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s 0.1s forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
    border-color: white;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-dark);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.slider-btn:hover {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Responsive slider */
@media (max-width: 991px) {
    .slider-section {
        padding: 60px 0;
    }
    
    .slider {
        height: 450px;
    }
    
    .slide-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .slider-section {
        padding: 50px 0;
    }
    
    .slider {
        height: 350px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .slide-content {
        padding: 40px 20px 20px;
    }
    
    .slide-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .slider-section {
        padding: 40px 0;
    }
    
    .slider {
        height: 280px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slide-content {
        padding: 30px 15px 15px;
    }
    
    .slide-content h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .slide-content p {
        font-size: 13px;
        margin-bottom: 8px;
    }
}

/* Fix for video container on mobile */
@media (max-width: 768px) {
    #home {
        height: 70vh; /* Reduced height for mobile */
    }
    
    #hero-video {
        height: 100%;
        width: 100%;
        object-position: center;
    }
    
    .video-container {
        height: 100%;
    }
    
    .logo-img {
        height: 55px;
        width: 55px;
    }
}

@media (max-width: 576px) {
    #home {
        height: 60vh; /* Even smaller for very small devices */
    }
    
    #hero-video {
        object-position: center;
    }
}

@media (max-width: 375px) {
    #home {
        height: 50vh; /* Minimum height for very small devices */
    }
    
    #hero-video {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }
    
    .logo-img {
        height: 45px;
        width: 45px;
    }
}

/* About Section */
#about {
    background-color: #CFF5B8;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.about-image, .about-text {
    flex: 1 1 450px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.about-text p {
    margin-bottom: 25px;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.stat {
    flex: 1 1 100px;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.stat.animated {
    transform: translateY(0);
    opacity: 1;
}

.stat h4 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Products Section */
#products {
    background: linear-gradient(135deg, 
        rgba(75, 224, 46, 0.918), /* #ff8300 with opacity */
        rgba(10, 92, 2, 0.646)  /* #009c49 with opacity */
    );
    position: relative;
    overflow: hidden;
}
    
/* Add a subtle pattern overlay */
#products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    opacity: 0.2;
    z-index: 0;
}

#products .container {
    position: relative;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    backdrop-filter: blur(5px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

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

.buy-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    width: 100%;
    gap: 8px;
}

.buy-now-btn i {
    font-size: 16px;
}

.buy-now-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, 
        rgba(225, 178, 116, 0.8), /* Green */
        rgba(159, 199, 103, 0.8), /* Lime green */
        rgba(240, 223, 75, 0.8), /* Yellow */
        rgba(255, 131, 0, 0.8)  /* Orange */
    );
    position: relative;
    overflow: hidden;
}

/* Add a subtle pattern overlay */
#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    opacity: 0.2;
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}

/* Adjust contact section header appearance */
#contact .section-header h2 {
    color: black;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

#contact .section-header .underline {
    background-color: black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1 1 450px;
}

/* Style contact info card */
.contact-info {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Style contact form card */
.contact-form-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    position: relative;
    z-index: 1;
    width: 100%;
    flex-shrink: 0;
    bottom: 0;
    left: 0;
}

.footer-top {
    padding: 60px 0 40px;
    background-color: #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col {
    padding: 0 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid var(--primary-color);
}

.footer-logo h3 {
    font-size: 20px;
    color: white;
}

.footer-col p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
    display: block;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-grid {
        gap: 40px;
    }
    
    .footer-col {
        padding: 0;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-top {
        padding: 40px 0 20px;
    }
}

@media (max-width: 576px) {
    .footer-contact p {
        align-items: flex-start;
    }
    
    .footer-contact p i {
        margin-top: 5px;
    }
}

/* Adjust WhatsApp button position for the new footer */
.footer-top {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (min-width: 992px) {
    /* Ensure menu is always visible on desktop */
    .menu-toggle {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        transform: none !important;
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        overflow: visible;
        z-index: auto;
    }
}

@media (max-width: 768px) {
    header {
        min-height: 70px;
        background-color: white !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    }
    
    .page-about header,
    .page-products header,
    .page-contact header {
        background-color: var(--primary-dark) !important;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    section {
        padding: 40px 0 !important;
    }
    
    .about-content, .contact-content {
        gap: 30px;
    }
    
    .products-grid,
    .team-grid,
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .contact-form, .contact-info {
        flex: 1 1 100%;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .about-image {
        margin-bottom: 20px;
    }
    
    input, textarea, select, button {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    .btn, .submit-btn, .view-all-btn {
        padding: 10px 20px;
        font-size: 14px !important;
    }
    
    .logo-img {
        height: 50px;
        width: 50px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .about-text h3, .product-info h3 {
        font-size: 20px;
    }
    
    .product-card {
        margin-bottom: 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 15px;
    }
    
    .logo-img {
        height: 45px;
        width: 45px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 10px;
        right: 10px;
    }
}

/* Sticky Header */
header.sticky {
    padding: 10px 0;
    background-color: var(--primary-dark) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Keep home page header dark green/black when sticky like the About page */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header.sticky {
    background-color: var(--primary-dark) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Keep inner pages header with primary dark color when sticky */
.page-about header.sticky,
.page-products header.sticky,
.page-contact header.sticky {
    background-color: var(--primary-dark) !important;
}

/* Change text color for sticky header to ensure visibility */
header.sticky .nav-menu a {
    color: white !important;
    text-shadow: none;
}

header.sticky .nav-menu a:hover, 
header.sticky .nav-menu a.active {
    color: var(--primary-light) !important;
}

/* Home page sticky header nav links */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header.sticky .nav-link {
    color: white !important;
}

.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header.sticky .nav-link:hover,
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header.sticky .nav-link.active {
    color: var(--primary-light) !important;
}

/* Inner pages sticky nav menu colors */
.page-about header.sticky .nav-menu a,
.page-products header.sticky .nav-menu a,
.page-contact header.sticky .nav-menu a {
    color: white;
    text-shadow: none;
}

.page-about header.sticky .nav-menu a:hover,
.page-products header.sticky .nav-menu a:hover,
.page-contact header.sticky .nav-menu a:hover,
.page-about header.sticky .nav-menu a.active,
.page-products header.sticky .nav-menu a.active,
.page-contact header.sticky .nav-menu a.active {
    color: var(--primary-light) !important;
}

header.sticky .menu-toggle i {
    color: white !important;
}

/* Inner pages sticky toggle icon color */
.page-about header.sticky .menu-toggle i,
.page-products header.sticky .menu-toggle i,
.page-contact header.sticky .menu-toggle i {
    color: white;
}

/* Change menu toggle color for home page */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) .menu-toggle i {
    color: white !important;
    text-shadow: none;
}

/* Change search form colors in sticky header */
header.sticky .search-form {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

header.sticky .search-input {
    color: white;
}

header.sticky .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

header.sticky .search-btn {
    color: white;
}

/* Desktop and Mobile specific elements */
.desktop-only {
    display: none; /* Changed to none since we no longer need desktop-only search */
}

.mobile-only {
    display: block; /* Changed to block to show on all screens */
}

.mobile-search {
        width: 100%;
    margin: 15px 0 10px;
}

/* Add left margin to the mobile search container to separate from nav items */
.navbar-nav .mobile-search {
    margin-left: 30px;
}

/* Adjust responsive behavior */
@media (max-width: 991px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .navbar-nav .mobile-search {
        margin-left: 0;
        margin-top: 20px;
}

.mobile-search {
        width: 90%;
        margin: 20px auto 10px;
    }
    
    /* Add spacing before the search form in mobile view */
    .nav-item.mobile-search {
        position: relative;
    }
    
    .nav-item.mobile-search::before {
        content: '';
        display: block;
        height: 1px;
        width: 60%;
        margin: 10px auto;
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* Mobile Search Specific Styles */
.mobile-search .search-form {
    width: 250px;
    margin: 0;
    height: 38px;
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.mobile-search .search-input {
    width: 100%;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
}

.mobile-search .search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-search .search-btn:hover {
    background-color: var(--primary-dark);
}

/* Adjust inner pages search styling */
.page-about .mobile-search .search-form,
.page-products .mobile-search .search-form,
.page-contact .mobile-search .search-form {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.page-about .mobile-search .search-input,
.page-products .mobile-search .search-input,
.page-contact .mobile-search .search-input {
    color: white;
    background-color: transparent;
}

.page-about .mobile-search .search-input::placeholder,
.page-products .mobile-search .search-input::placeholder,
.page-contact .mobile-search .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-about .mobile-search .search-btn,
.page-products .mobile-search .search-btn,
.page-contact .mobile-search .search-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Partners Section */
#partners {
    padding: 60px 0;
    background-color: rgba(240, 249, 240, 0.5);
    position: relative;
    overflow: hidden;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    margin-top: 20px;
    position: relative;
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 6)); /* Width of one set of logos */
    }
}

.partner-item {
    flex: 0 0 250px;
    height: 120px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-item img {
    max-width: 100%;
    max-height: 90px;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Add hover effect on the slider */
.partners-slider:hover .partners-track {
    animation-play-state: paused; /* Pause animation on hover */
}

/* Add gradient overlay to create a fade effect on the edges */
.partners-slider::before,
.partners-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(240, 249, 240, 0.9), rgba(240, 249, 240, 0));
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(240, 249, 240, 0.9), rgba(240, 249, 240, 0));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-track {
        animation: scroll 20s linear infinite;
    }

    .partner-item {
        flex: 0 0 200px;
        padding: 0 15px;
    }
    
    .partners-slider::before,
    .partners-slider::after {
        width: 50px;
    }
}

@media (max-width: 576px) {
    .partner-item {
        flex: 0 0 150px;
        padding: 0 10px;
    }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    /* General improvements */
    body {
        width: 100%;
        overflow-x: hidden;
    }
    
    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* Improved header for mobile - but keep transparency on home page */
    header {
        min-height: 70px;
    }
    
    .page-wrapper:not(.page-about):not(.page-products):not(.page-contact) header {
        background-color: transparent !important;
        box-shadow: none !important;
    }
    
    .page-about header,
    .page-products header,
    .page-contact header {
        background-color: var(--primary-dark) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    }
    
    .nav-menu {
        padding-top: 70px;
    }
    
    /* Improved mobile menu */
    .nav-menu li {
        width: 90%;
        margin: 5px auto;
    }
    
    .nav-menu a {
        border-radius: 5px;
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu a:hover, .nav-menu a.active {
        background-color: rgba(46, 125, 50, 0.2);
    }
    
    /* Responsive grid layouts */
    .products-grid,
    .team-grid,
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Section spacing */
    section {
        padding: 40px 0 !important;
    }
    
    /* Responsive forms and buttons */
    input, textarea, select, button {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    .btn, .submit-btn, .view-all-btn {
        padding: 10px 20px;
        font-size: 14px !important;
    }
    
    /* Responsive images */
    .about-image img,
    .product-image img,
    .member-image img {
        width: 100%;
        height: auto;
    }
    
    /* Map container */
    .map-container {
        height: 300px !important;
        margin-top: 30px !important;
    }
    
    /* Fix for sticky elements in mobile */
    .whatsapp-btn,
    .language-btn {
        bottom: 20px !important;
    }
    
    .whatsapp-btn {
        right: 20px !important;
    }
    
    .language-btn {
        right: 90px !important;
    }
    
    .language-menu {
        right: 90px !important;
        bottom: 90px !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 24px !important;
    }
    
    .about-stats {
        grid-template-columns: 1fr !important;
    }
    
    .about-text h3 {
        font-size: 20px !important;
    }
    
    /* Smaller buttons and inputs */
    .btn, .submit-btn, .view-all-btn {
        padding: 8px 15px;
        font-size: 12px !important;
    }
    
    /* Fix overlapping buttons */
    .whatsapp-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
    
    .language-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
        right: 75px !important;
    }
    
    .language-menu {
        right: 75px !important;
    }
    
    /* Fix for logo on very small screens */
    .logo-img {
        height: 50px !important;
        width: 50px !important;
    }
}

.nav-menu a {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 0;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Change nav menu color for pages other than home */
.page-about .nav-menu a, 
.page-products .nav-menu a, 
.page-contact .nav-menu a {
    color: white;
    text-shadow: none;
}

/* Nav menu color for home page */
.page-wrapper:not(.page-about):not(.page-products):not(.page-contact) .nav-menu a {
    color: var(--text-color);
    text-shadow: none;
}

.menu-toggle i {
    transition: var(--transition);
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp brand color */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background-color: #1fbd5b;
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.7;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.mobile-whatsapp {
    /* Special styling for mobile devices */
    display: flex;
}

/* Media queries for WhatsApp button responsiveness */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
}

/* Adjust product section header appearance */
#products .section-header h2 {
    color: black;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

#products .section-header .underline {
    background-color: black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Product section styling */
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

/* Update the submit button style to match the gradient theme */
.submit-btn {
    background-color: #009c49;
    color: white;
    border: 2px solid #009c49;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: transparent;
    color: #009c49;
    border-color: #009c49;
}

/* Adjust the search container colors for inner pages */
.page-about .search-form,
.page-products .search-form,
.page-contact .search-form {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-about .search-input,
.page-products .search-input,
.page-contact .search-input {
    color: white;
}

.page-about .search-input::placeholder,
.page-products .search-input::placeholder,
.page-contact .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-about .search-btn,
.page-products .search-btn,
.page-contact .search-btn {
    color: white;
} 