/* Global Styles */
:root {
    /* Main Colors */
    --primary-color: #4a8f3c; /* Green */
    --primary-light: #6baf5e; /* Light Green */
    --primary-dark: #3a7030; /* Dark Green */
    --secondary-color: #8b5a2b; /* Brown */
    --secondary-light: #a57845; /* Light Brown */
    --secondary-dark: #6b4520; /* Dark Brown */
    --accent-color: #f5f5dc; /* Off-white/beige */

    /* Text Colors */
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #222222;
    --light-text: #ffffff;

    /* Background Colors */
    --background-color: #ffffff;
    --background-light: #f9f9f9;
    --background-dark: #f0f0f0;

    /* UI Colors */
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #4a5f72 100%);

    /* Shadows */
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-circle: 50%;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 30px;
    --spacing-xl: 60px;

    /* Section Padding */
    --section-padding: 80px 0;
    --section-padding-sm: 40px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index layers */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal: 1040;
    --z-index-popover: 1050;
    --z-index-tooltip: 1060;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    /*overflow-x: hidden;*/
    transition: background-color var(--transition-normal), color var(--transition-normal);
    width: 100%;
    max-width: 100vw; /* Ensure it doesn't extend beyond viewport width */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Dark Theme Styles */
body.dark-theme {
    --text-color: #f0f0f0;
    --text-light: #cccccc;
    --text-dark: #ffffff;
    --background-color: #1a1a1a;
    --background-light: #2a2a2a;
    --background-dark: #151515;
    --accent-color: #2a2a2a;
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.3);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    position: relative;
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    transition: transform var(--transition-normal);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    position: relative;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--spacing-sm) 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    height: 1px;
    width: 50px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.section-divider span {
    margin: 0 var(--spacing-sm);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    gap: var(--spacing-sm);
}

.btn i {
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(74, 143, 60, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(74, 143, 60, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(74, 143, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    text-align: center;
}

.circular {
    animation: rotate 2s linear infinite;
    height: 50px;
    width: 50px;
    transform-origin: center center;
}

.path {
    stroke: var(--primary-color);
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
}

.loader-text {
    margin-top: var(--spacing-md);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    background: var(--primary-gradient);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-index-fixed);
    box-shadow: var(--box-shadow-md);
    border: none;
    max-width: 50px; /* Ensure it doesn't extend beyond its intended size */
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    background: var(--background-light);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: var(--z-index-fixed);
    box-shadow: var(--box-shadow-md);
    transition: all var(--transition-normal);
    max-width: 50px; /* Ensure it doesn't extend beyond its intended size */
}

.theme-toggle:hover {
    transform: rotate(30deg);
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.theme-toggle .fa-sun {
    display: block;
}

.theme-toggle .fa-moon {
    display: none;
}

.theme-toggle.active .fa-sun {
    display: none;
}

.theme-toggle.active .fa-moon {
    display: block;
}

.dark-theme .theme-toggle {
    background: var(--primary-gradient);
    color: var(--light-text);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-index-sticky);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header.header-scrolled {
    background-color: var(--background-color);
    box-shadow: var(--box-shadow-md);
}

.dark-theme header {
    background-color: rgba(26, 26, 26, 0.95);
}

.dark-theme header.header-scrolled {
    background-color: var(--background-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    box-sizing: border-box; /* Include padding in width calculation */
    position: relative;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover img {
    transform: translateY(-2px);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    transition: all 0.4s ease-in-out;
}

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 12px;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    border-radius: var(--border-radius-md);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(74, 143, 60, 0.05);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(74, 143, 60, 0.1);
}

.nav-icon {
    margin-right: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: transform var(--transition-normal);
}

.nav-link:hover .nav-icon {
    transform: translateY(-2px);
}

.nav-link.active .nav-icon {
    opacity: 1;
}

.nav-btn {
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(74, 143, 60, 0.2);
}

.nav-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.dark-theme .nav-progress-container {
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-progress-bar {
    height: 100%;
    width: 0;
    background: var(--primary-gradient);
    transition: width 0.1s ease;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-circle);
    background-color: transparent;
    transition: background-color var(--transition-normal);
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark-theme .menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 4px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    padding: 0 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(42, 58, 36, 0.9) 0%, rgba(74, 143, 60, 0.8) 100%);
    width: 100%;
    max-width: 100%;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-title .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background: var(--primary-gradient);
    bottom: 5px;
    left: 0;
    z-index: -1;
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    font-size: 1.2rem;
    width: 100%;
    max-width: 100%;
}

.tagline-item {
    margin: 5px 0;
}

.tagline-divider {
    margin: 0 10px;
    opacity: 0.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-text);
    font-size: 0.9rem;
}

.scroll-down .scroll-text {
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.scroll-down i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about {
    padding: var(--section-padding);
    background-color: var(--background-light);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.dark-theme .about {
    background-color: var(--background-dark);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: 30px;
    width: 120px;
    height: 120px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-circle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    box-shadow: var(--box-shadow-md);
    padding: 15px;
    text-align: center;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 5px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
}

/* Stats Counter */
.stats-counter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: var(--primary-gradient);
    padding: 50px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    margin-top: 60px;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.stats-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.counter-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px;
    transition: transform var(--transition-normal);
}

.counter-item:hover {
    transform: translateY(-10px);
}

.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.counter-text {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Products Section */
.products {
    padding: var(--section-padding);
    background-color: var(--background-color);
    position: relative;
    width: 100%;
    max-width: 100%;
    /*overflow-x: hidden;*/
}

.dark-theme .products {
    background-color: var(--background-color);
}

/* Product Tabs */
.product-showcase {
    margin-top: 50px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: var(--background-light);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    transition: all var(--transition-normal);
}

.dark-theme .tab-btn {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: var(--light-text);
    box-shadow: var(--box-shadow-sm);
}

.tab-btn:hover:not(.active) {
    background-color: var(--background-dark);
    color: var(--primary-color);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

.product-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dark-theme .product-card {
    background-color: var(--background-dark);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

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

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 143, 60, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    padding: 10px 20px;
    background-color: var(--light-text);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.product-card:hover .overlay-btn {
    transform: translateY(0);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
    box-shadow: var(--box-shadow-sm);
}

.product-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-icon {
    transform: rotateY(180deg);
}

.product-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: auto;
}

.feature {
    font-size: 0.85rem;
    color: var(--text-light);
    background-color: var(--background-color);
    padding: 5px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dark-theme .feature {
    background-color: var(--background-light);
}

.feature i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: auto;
}

.product-link i {
    transition: transform var(--transition-normal);
}

.product-link:hover i {
    transform: translateX(5px);
}

/* Featured Products Slider */
.featured-product-section {
    margin-top: 80px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.featured-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.featured-slider {
    padding-bottom: 50px;
}

.featured-product {
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
    height: 100%;
}

.dark-theme .featured-product {
    background-color: var(--background-dark);
}

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

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

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

.featured-content {
    padding: 20px;
    text-align: center;
}

.featured-content h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Swiper Customization */
.swiper-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: var(--background-color);
    border-radius: var(--border-radius-circle);
    box-shadow: var(--box-shadow-sm);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.dark-theme .swiper-button-next,
.dark-theme .swiper-button-prev {
    background-color: var(--background-light);
}

/* Sustainability Section */
.sustainability {
    padding: var(--section-padding);
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.dark-theme .sustainability {
    background-color: var(--background-dark);
}

.sustainability::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/green-dust-and-scratches.png');
    opacity: 0.1;
    z-index: 0;
}

.sustainability-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 50px 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .sustainability-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.sustainability-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.sustainability-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.sustainability-image:hover img {
    transform: scale(1.05);
}

.sustainability-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 15px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--box-shadow-md);
    transform: rotate(5deg);
    line-height: 1.2;
}

.sustainability-content {
    position: relative;
    z-index: 1;
}

.sustainability-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.sustainability-pillars {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--background-color);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.dark-theme .pillar-item {
    background-color: var(--background-light);
}

.pillar-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.pillar-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background-color: rgba(74, 143, 60, 0.1);
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-circle);
    transition: transform var(--transition-normal);
}

.pillar-item:hover .pillar-icon {
    transform: rotate(360deg);
}

.pillar-content {
    flex: 1;
}

.pillar-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.pillar-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.sustainability-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
    position: relative;
    z-index: 1;
}

.metric-item {
    background-color: var(--background-color);
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.dark-theme .metric-item {
    background-color: var(--background-light);
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.metric-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.metric-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform var(--transition-normal);
}

.metric-item:hover .metric-icon {
    transform: scale(1.2);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.metric-text {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

.sustainability-cta {
    text-align: center;
    background-color: var(--background-color);
    padding: 50px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.dark-theme .sustainability-cta {
    background-color: var(--background-light);
}

.sustainability-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    z-index: -1;
}

.sustainability-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.sustainability-cta p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: var(--text-light);
}

/* Mobile Responsiveness for Sustainability Section */
@media (max-width: 767px) {
    .sustainability-badge {
        padding: 10px;
        font-size: 0.9rem;
    }

    .pillar-item {
        padding: 20px;
    }

    .pillar-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.5rem;
    }

    .sustainability-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .metric-number {
        font-size: 2rem;
    }

    .metric-text {
        font-size: 0.9rem;
    }

    .sustainability-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .sustainability-metrics {
        grid-template-columns: 1fr;
    }
}

/* Export Markets Section */
.export-markets {
    padding: var(--section-padding);
    background-color: var(--background-color);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.dark-theme .export-markets {
    background-color: var(--background-color);
}

.export-markets::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(245, 245, 220, 0.1), transparent);
    pointer-events: none;
}

.dark-theme .export-markets::after {
    background: linear-gradient(to top, rgba(26, 26, 26, 0.1), transparent);
}

/* World Map */
.world-map-container {
    position: relative;
    margin: 50px auto;
    max-width: 900px;
    width: 100%;
}

.world-map {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%; /* Aspect ratio for the map */
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    background-color: var(--background-light);
}

.dark-theme .world-map {
    background-color: var(--background-dark);
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.dark-theme .map-image {
    filter: invert(0.8);
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}

.marker-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.marker-dot.home {
    background-color: var(--secondary-color);
    width: 16px;
    height: 16px;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: rgba(74, 143, 60, 0.4);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 2s infinite;
}

.marker-pulse.home {
    background-color: rgba(139, 90, 43, 0.4);
    animation: pulse 2s infinite 0.5s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.map-tooltip {
    position: absolute;
    background-color: var(--background-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
    padding: 15px;
    min-width: 200px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    pointer-events: none;
}

.dark-theme .map-tooltip {
    background-color: var(--background-light);
}

.tooltip-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.tooltip-info {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Market Cards */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.market-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dark-theme .market-card {
    background-color: var(--background-dark);
}

.market-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.market-flag {
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 20px;
    text-align: center;
}

.market-flag i {
    font-size: 2.5rem;
    transition: transform var(--transition-normal);
}

.market-card:hover .market-flag i {
    transform: scale(1.2);
}

.market-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.market-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.market-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.market-products {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.product-tag {
    background-color: rgba(74, 143, 60, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.product-tag:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Export Stats */
.export-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
    text-align: center;
}

.stat-item {
    background-color: var(--background-light);
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.dark-theme .stat-item {
    background-color: var(--background-dark);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-text {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

/* Export CTA */
.export-cta {
    text-align: center;
    background-color: var(--background-light);
    padding: 50px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    position: relative;
    overflow: hidden;
}

.dark-theme .export-cta {
    background-color: var(--background-dark);
}

.export-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    z-index: 0;
}

.export-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.export-cta p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.export-cta .btn {
    position: relative;
    z-index: 1;
}

/* Mobile Responsiveness for Export Markets Section */
@media (max-width: 767px) {
    .world-map {
        padding-bottom: 70%; /* Taller aspect ratio for mobile */
    }

    .marker-dot {
        width: 10px;
        height: 10px;
    }

    .marker-dot.home {
        width: 14px;
        height: 14px;
    }

    .marker-pulse {
        width: 24px;
        height: 24px;
    }

    .market-flag {
        padding: 15px;
    }

    .market-flag i {
        font-size: 2rem;
    }

    .market-content {
        padding: 20px;
    }

    .export-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2rem;
    }

    .export-cta {
        padding: 30px 20px;
    }

    .export-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .export-stats {
        grid-template-columns: 1fr;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.05) 0%, rgba(74, 143, 60, 0.05) 100%);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.dark-theme .why-choose-us {
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.1) 0%, rgba(74, 143, 60, 0.1) 100%);
}

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

.benefit-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--box-shadow-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.dark-theme .benefit-item {
    background-color: var(--background-light);
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    z-index: -1;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform var(--transition-normal);
}

.benefit-item:hover i {
    transform: rotateY(180deg);
}

.benefit-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--background-light);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.dark-theme .testimonials {
    background-color: var(--background-dark);
}

.testimonial-slider-container {
    position: relative;
    padding: 0 40px;
}

.testimonial-slider {
    padding-bottom: 60px;
}

.testimonial-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--box-shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dark-theme .testimonial-card {
    background-color: var(--background-light);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.testimonial-rating {
    margin-bottom: 20px;
    color: #FFD700;
}

.testimonial-text {
    flex-grow: 1;
    margin-bottom: 25px;
}

.testimonial-text p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
    position: relative;
    padding: 0 10px;
}

.testimonial-text p::before,
.testimonial-text p::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.testimonial-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.testimonial-slider-controls .swiper-button-next,
.testimonial-slider-controls .swiper-button-prev {
    pointer-events: auto;
}

/* Partner Logos */
.partner-logos {
    margin-top: 80px;
}

.partner-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.logo-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-item {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: var(--background-color);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.dark-theme .contact {
    background-color: var(--background-color);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

/* Contact Info Card */
.contact-info {
    flex: 1;
}

.contact-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.dark-theme .contact-card {
    background-color: var(--background-dark);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-gradient);
}

.contact-card-header {
    margin-bottom: 30px;
}

.contact-card-header h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item div {
    flex: 1;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-connect {
    margin-top: auto;
}

.social-connect h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    background-color: rgba(74, 143, 60, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow-md);
}

.dark-theme .contact-form {
    background-color: var(--background-dark);
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

.textarea-icon i {
    top: 20px;
    transform: none;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: all var(--transition-normal);
}

.dark-theme .input-with-icon input,
.dark-theme .input-with-icon select,
.dark-theme .input-with-icon textarea {
    background-color: var(--background-light);
    border-color: rgba(255, 255, 255, 0.1);
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 143, 60, 0.2);
    outline: none;
}

.input-with-icon.error-container input,
.input-with-icon.error-container select,
.input-with-icon.error-container textarea {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    color: var(--text-color);
}

.success-message {
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow-md);
    text-align: center;
}

.dark-theme .success-message {
    background-color: var(--background-dark);
}

.success-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: var(--secondary-gradient);
    color: var(--light-text);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-top {
    padding: 80px 0 50px;
}

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

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
    transition: transform var(--transition-normal);
}

.footer-logo img:hover {
    transform: translateY(-2px);
}

.footer-desc {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.7;
}

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

.footer-social .social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.footer-social .social-icon:hover {
    background-color: var(--light-text);
    color: var(--secondary-color);
}

.footer-links h3,
.footer-products h3,
.footer-newsletter h3 {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h3::after,
.footer-products h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul,
.footer-products ul {
    list-style: none;
}

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

.footer-links a,
.footer-products a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-products a:hover {
    color: var(--light-text);
    transform: translateX(5px);
}

.footer-links a i,
.footer-products a i {
    font-size: 0.8rem;
}

.newsletter-form {
    margin-bottom: 30px;
}

.newsletter-form .input-with-icon {
    margin-bottom: 15px;
}

.newsletter-form .input-with-icon input {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light-text);
    padding-right: 120px;
}

.newsletter-form .input-with-icon input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 10px 15px;
}

.newsletter-success {
    color: var(--light-text);
    background-color: rgba(76, 175, 80, 0.2);
    padding: 15px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-certifications h3 {
    margin-top: 30px;
}

.certification-icons {
    display: flex;
    gap: 15px;
}

.certification-icons img {
    width: 40px;
    height: 40px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

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

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

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

/* Live Chat */
.live-chat-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: var(--z-index-fixed);
    max-width: calc(100% - 60px); /* Ensure it doesn't extend beyond viewport */
}

.live-chat-button button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-gradient);
    color: var(--light-text);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--box-shadow-md);
    transition: all var(--transition-normal);
}

.live-chat-button button:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.live-chat-button i {
    font-size: 1.2rem;
}

.chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 350px;
    max-width: calc(100% - 60px); /* Ensure it doesn't extend beyond viewport */
    height: 450px;
    background-color: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    z-index: var(--z-index-modal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
}

.dark-theme .chat-widget {
    background-color: var(--background-dark);
}

.chat-widget.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-title i {
    font-size: 1.2rem;
}

.chat-title h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--light-text);
}

.chat-close {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.chat-close:hover {
    transform: rotate(90deg);
}

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    margin-bottom: 15px;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 15px;
    position: relative;
}

.message.agent .message-content {
    background-color: var(--background-light);
    border-top-left-radius: 0;
}

.dark-theme .message.agent .message-content {
    background-color: var(--background-dark);
}

.message.user .message-content {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-top-right-radius: 0;
}

.message-content p {
    margin-bottom: 5px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    text-align: right;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: var(--text-light);
    border-radius: 50%;
    display: inline-block;
    animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0.1s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-theme .chat-input {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--background-light);
    color: var(--text-color);
}

.dark-theme .chat-input input {
    background-color: var(--background-dark);
    border-color: rgba(255, 255, 255, 0.1);
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--light-text);
    border: none;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.chat-input button:hover {
    transform: scale(1.1);
}

/* Performance Optimizations */
.hero-title, 
.hero-subtitle, 
.product-card, 
.sustainability-item, 
.benefit-item, 
.testimonial-card,
.counter-item,
.social-icon,
.btn {
    will-change: transform;
}

/* Reduce animation complexity on mobile */
@media (max-width: 767px) {
    .product-card:hover {
        transform: translateY(-5px);
    }

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

    .product-card:hover .product-icon {
        transform: rotateY(90deg);
    }

    .counter-item:hover {
        transform: translateY(-5px);
    }

    .sustainability-item:hover {
        transform: translateY(-5px);
    }

    .sustainability-item:hover i {
        transform: scale(1.1);
    }

    .benefit-item:hover {
        transform: translateY(-5px);
    }

    .benefit-item:hover i {
        transform: rotateY(90deg);
    }
}

/* Mobile-First Media Queries for Responsive Design */

/* Fix for horizontal scrolling on mobile */
section, div, header, footer, nav {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Base styles for mobile devices */
/* Typography */
h1 {
    font-size: 2rem;
    line-height: 1.2; /* Improved line height for readability */
}

h2 {
    font-size: 1.8rem;
    line-height: 1.2; /* Improved line height for readability */
}

h3 {
    font-size: 1.3rem;
    line-height: 1.3; /* Improved line height for readability */
}

.section-title {
    font-size: 2rem;
    margin-bottom: 15px; /* Reduced margin for mobile */
}

.section-subtitle {
    font-size: 0.8rem;
    margin-bottom: 5px; /* Adjusted margin for mobile */
}

.section-description {
    font-size: 0.95rem; /* Slightly smaller font for better fit */
    line-height: 1.6; /* Improved line height for readability */
}

/* Container */
.container {
    width: 92%; /* Slightly adjusted width */
    padding: 0 12px; /* Increased padding */
    max-width: 540px; /* Maximum width for very small screens */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Section Padding */
:root {
    --section-padding: 40px 0; /* Reduced padding for mobile */
    --spacing-lg: 20px; /* Reduced large spacing for mobile */
    --spacing-xl: 40px; /* Reduced extra large spacing for mobile */
}

/* Navigation */
.nav-container {
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .nav-container {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background-color: var(--background-color);
        width: 85%;
        /*max-width: 320px;*/
        height: 100vh;
        transition: all 0.4s ease-in-out;
        box-shadow: var(--box-shadow-lg);
        padding: 80px 0 20px;
        z-index: var(--z-index-dropdown);
        overflow-y: auto;
        overflow-x: hidden;
        max-width: 100vw;
    }

    .nav-container.active {
        right: 0;
    }

    .dark-theme .nav-container {
        background-color: var(--background-dark);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    transition: all 0.4s ease-in-out;
}

@media (max-width: 767px) {
    .nav-menu {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0 0 30px 0;
    }

    .nav-menu li {
        margin: 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.4s ease-in-out;
        width: 100%;
    }

    .nav-container.active .nav-menu li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    .nav-menu li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-menu li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-menu li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-menu li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-link {
        display: flex;
        font-size: 1.1rem;
        padding: 15px 20px;
        border-radius: 0;
        width: 100%;
        border-left: 3px solid transparent;
    }

    .nav-link.active {
        border-left: 3px solid var(--primary-color);
        background-color: rgba(74, 143, 60, 0.1);
    }

    .nav-icon {
        font-size: 1.2rem;
        margin-right: 15px;
    }

    .nav-cta {
        padding: 0 20px;
        width: 100%;
    }

    .nav-btn {
        width: 100%;
        margin-left: 0;
        padding: 12px;
        text-align: center;
        justify-content: center;
    }
}

.menu-toggle {
    display: flex;
}

.menu-toggle.active {
    position: fixed;
    right: 5%;
    background-color: rgba(0, 0, 0, 0.05);
}

.dark-theme .menu-toggle.active {
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Add overlay when menu is active */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999; /* Fixed z-index value just below dropdown */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px); /* Safari support */
    max-width: 100vw; /* Ensure it doesn't extend beyond viewport width */
}

body.menu-open::after {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 500px;
}

.hero-content {
    padding: 0 10px;
}

.hero-title {
    font-size: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
}

.hero-tagline {
    flex-direction: column;
    gap: 5px;
}

.tagline-divider {
    display: none;
}

.cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    width: 100%;
    padding: 12px 20px;
    min-height: 44px; /* Minimum touch target size */
    font-size: 1rem; /* Ensure readable text size on mobile */
}

/* About Section */
.about-content {
    flex-direction: column;
}

.experience-badge {
    bottom: -20px;
    right: 20px;
    width: 100px;
    height: 100px;
}

.experience-badge .years {
    font-size: 2rem;
}

.about-features {
    grid-template-columns: 1fr;
}

/* Stats Counter */
.stats-counter {
    grid-template-columns: 1fr;
    padding: 30px 20px;
}

/* Products Section */
.product-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 15px;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.product-grid {
    grid-template-columns: 1fr;
}

.product-card {
    margin-bottom: 20px;
}

.product-content {
    padding: 15px;
}

/* Sustainability Section */
.sustainability-icons {
    gap: 20px;
}

.sustainability-item {
    width: 100%;
}

/* Benefits Section */
.benefits-grid {
    grid-template-columns: 1fr;
}

/* Testimonials Section */
.testimonial-slider-container {
    padding: 0;
}

.testimonial-slider-controls {
    display: none;
}

/* Contact Section */
.contact-content {
    flex-direction: column;
}

.contact-card, .contact-form {
    padding: 25px;
}

/* Form elements */
.form-group {
    margin-bottom: 15px;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    padding: 12px 12px 12px 40px;
    font-size: 0.95rem;
}

/* Footer */
.footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-bottom .container {
    flex-direction: column;
    text-align: center;
}

.footer-bottom-links {
    justify-content: center;
}

/* Live Chat */
.live-chat-button {
    bottom: 15px;
    left: 15px;
}

.live-chat-button button span {
    display: none;
}

.live-chat-button button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
}

.chat-widget {
    width: calc(100% - 30px);
    height: 350px;
    bottom: 15px;
    left: 15px;
}

.back-to-top, .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.theme-toggle {
    top: 80px;
    right: 20px;
}

.back-to-top {
    bottom: 20px;
    right: 20px;
}

.logo img {
    height: 40px; /* Smaller logo for smaller screens */
}

.footer-logo img {
    height: 45px; /* Smaller footer logo for smaller screens */
}

/* Extra small devices (under 480px) */
@media (max-width: 479px) {
    /* Further optimize for very small screens */
    .hero-title {
        font-size: 1.8rem; /* Smaller font size for very small screens */
    }

    .hero-subtitle {
        font-size: 1.1rem; /* Smaller font size for very small screens */
    }

    /* Adjust product cards for very small screens */
    .product-image {
        height: 180px; /* Smaller image height */
    }

    /* Adjust form elements for very small screens */
    .input-with-icon input,
    .input-with-icon select,
    .input-with-icon textarea {
        padding: 10px 10px 10px 35px; /* Smaller padding */
        font-size: 0.9rem; /* Smaller font size */
    }

    /* Adjust footer for very small screens */
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    /* Adjust live chat for very small screens */
    .chat-widget {
        width: calc(100% - 20px);
        height: 300px;
        bottom: 10px;
        left: 10px;
    }
}

/* Small tablets (480px - 767px) */
@media (min-width: 480px) {
    .container {
        width: 90%;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    :root {
        --section-padding: 60px 0;
    }

    .container {
        width: 90%;
    }

    .hero-title {
        font-size: 3.5rem;


    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-content {
        max-width: 700px;
    }

    /* Improved grid layouts for tablet */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px; /* Increased gap for better spacing */
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px; /* Increased gap for better spacing */
    }

    .stats-counter {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 30px; /* Increased padding for better appearance */
        gap: 30px; /* Added gap for better spacing */
    }

    /* Improved testimonials for tablet */
    .testimonial-slider-container {
        padding: 0 30px; /* Increased padding */
    }

    .testimonial-card {
        padding: 25px; /* Adjusted padding for better appearance */
    }

    /* Improved form layout for tablet */
    .form-row {
        gap: 20px; /* Increased gap */
        grid-template-columns: 1fr 1fr;
    }

    .contact-card, .contact-form {
        padding: 30px; /* Increased padding */
    }

    /* Improved footer for tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px; /* Increased gap */
    }

    /* Improved navbar for tablets */
    .navbar {
        padding: 12px 0;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        background-color: transparent;
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 0;
        overflow: visible;
    }

    .nav-menu li {
        margin-left: 20px;
        opacity: 1;
        transform: none;
    }

    .nav-link {
        font-size: 1rem;
        padding: 8px 0;
    }

    .nav-link::after {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .hero-tagline {
        flex-direction: row;
    }

    .tagline-divider {
        display: inline;
    }

    .cta-buttons {
        flex-direction: row;
        width: auto;
    }

    .btn {
        width: auto;
    }
}

/* Desktops (992px and up) */
@media (min-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    :root {
        --section-padding: 80px 0;
    }

    .container {
        width: 90%;
        max-width: 1200px;
    }

    .about-content {
        flex-direction: row;
    }

    .contact-content {
        flex-direction: row;
    }

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

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

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

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

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

    .footer-bottom .container {
        flex-direction: row;
        text-align: left;
    }

    .footer-bottom-links {
        justify-content: flex-end;
    }

    .live-chat-button button span {
        display: inline;
    }

    .live-chat-button button {
        width: auto;
        height: auto;
        border-radius: 50px;
        padding: 12px 25px;
    }
}

/* Print styles */
@media print {
    .preloader, .back-to-top, .theme-toggle, .live-chat-button, .chat-widget {
        display: none !important;
    }

    body {
        background-color: white;
        color: black;
    }

    .container {
        width: 100%;
        max-width: none;
    }

    header, footer {
        background-color: white !important;
        color: black !important;
    }

    a {
        color: black !important;
        text-decoration: underline;
    }

    .hero, .about, .products, .sustainability, .export-markets, .why-choose-us, .testimonials, .contact {
        padding: 20px 0;
        page-break-inside: avoid;


    }
}
