/* Global Variables */
:root {
    --primary-green: #228B22;
    --secondary-green: #34A853;
    --dark-green: #1a5f1a;
    --accent-orange: #FF6F00;
    --accent-brown: #654321;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== MODERN NAVBAR STYLES ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 30px rgba(34, 139, 34, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.navbar.scrolled {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    box-shadow: 0 8px 40px rgba(34, 139, 34, 0.15);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    position: relative;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    height: 100%;
    padding: 0 10px;
}

.navbar-logo img {
    height: clamp(30px, 6vw, 60px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    min-height: 25px;
    max-height: 65px;
    aspect-ratio: auto;
}

.navbar-logo:hover img {
    transform: scale(1.08);
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: inline-block;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background: rgba(34, 139, 34, 0.08);
}

.nav-link i {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Panels */
.nav-item-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(34, 139, 34, 0.15);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
    z-index: 2000;
}

.nav-item-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: block;
    padding: 12px 24px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-panel a:hover {
    background: rgba(34, 139, 34, 0.05);
    color: var(--primary-green);
    border-left-color: var(--primary-green);
    transform: translateX(5px);
}

.products-dropdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-width: 280px;
    padding: 16px 12px;
}

.products-dropdown a {
    border-left: none;
    border-radius: 6px;
    padding: 10px 16px;
    margin: 2px;
}

.products-dropdown a:hover {
    border-left: none;
    background: rgba(34, 139, 34, 0.1);
    transform: none;
}

/* Contact Button */
.contact-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white) !important;
    border-radius: 25px;
    padding: 10px 28px !important;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
    margin-left: 20px;
}

.contact-btn:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(34, 139, 34, 0.4);
    color: var(--white) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 1101;
    align-items: center;
}

.mobile-menu-btn span {
    width: 26px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--white);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: max-height 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    max-height: calc(100vh - 75px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 15px 0;
    width: 100%;
}

.mobile-nav-link {
    display: block;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-link:hover {
    background: rgba(34, 139, 34, 0.08);
    color: var(--primary-green);
    padding-left: 30px;
}

.mobile-dropdown {
    margin: 0;
}

.mobile-dropdown-toggle::after {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.mobile-dropdown.active .mobile-dropdown-toggle::after {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    list-style: none;
    background: #f8f9fa;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-dropdown.active .mobile-submenu {
    display: block;
    max-height: 500px;
}

.mobile-submenu li {
    margin: 0;
}

.mobile-submenu a {
    display: block;
    padding: 14px 20px 14px 40px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}

.mobile-submenu a:hover {
    background: rgba(34, 139, 34, 0.08);
    color: var(--primary-green);
    padding-left: 50px;
}

/* Mobile Contact Button */
.contact-mobile-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    border-radius: 6px;
    margin: 10px 15px;
    text-transform: uppercase;
}

.contact-mobile-btn:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
}

/* Mobile Social Links */
.mobile-social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 10px;
}

.mobile-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-links a:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
}

/* Hero Section - Fixed for Mobile */
.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    margin-top: 75px;
    overflow: hidden;
}

/* Hero Slider - Fixed for Mobile Overlay */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
    padding: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    z-index: 3;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.cta-button:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(34, 139, 34, 0.5);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    width: 35px;
    border-radius: 6px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--secondary-green));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Commitment Section */
.commitment {
    background: var(--white);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.commitment-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.commitment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.commitment-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Products Section - Fixed Image Display */
.products {
    background: var(--light-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 20px;
    transition: transform 0.4s ease;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* Fallback for missing images */
.product-image img[src=""],
.product-image img:not([src]) {
    opacity: 0;
}

.product-image img[src=""],
.product-image img:not([src]) {
    opacity: 0;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(34, 139, 34, 0.3);
    z-index: 2;
}

.product-content {
    padding: 30px;
}

.product-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-tagline {
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.product-ingredient {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    padding: 10px;
    background: var(--light-bg);
    border-radius: 8px;
}

.product-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-details {
    margin: 20px 0;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
}

.detail-item {
    margin-bottom: 15px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    color: var(--primary-green);
    display: block;
    margin-bottom: 5px;
}

.detail-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 3px 0;
}

.product-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 139, 34, 0.3);
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 0;
}

.gallery-item:hover img {
    transform: none;
}

/* Satisfied Farmers Section */
.satisfied-farmers {
    background: linear-gradient(135deg, #f5f9f7 0%, #e8f3ef 100%);
    padding: 60px 0;
}

.farmers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.15);
}

.video-item iframe {
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact {
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--white);
    font-size: 1.3rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 139, 34, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.3);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-green);
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #aaa;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-green);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #777;
}

.footer-bottom a {
    color: var(--primary-green);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--dark-green);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE - DESKTOP TO TABLET (1024px) ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 18px;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 12px;
    }

    .contact-btn {
        padding: 8px 20px !important;
        font-size: 12px;
    }

    .navbar-logo img {
        height: clamp(35px, 6vw, 55px);
    }

    section {
        padding: 70px 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* ===== RESPONSIVE - TABLET (768px and down) ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .contact-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1101;
    }

    .mobile-menu {
        display: block;
        top: 65px;
    }

    .mobile-menu.active {
        max-height: calc(100vh - 65px);
    }

    .nav-wrapper {
        height: 65px;
        min-height: 65px;
    }

    .navbar-logo img {
        height: 42px;
        min-height: 36px;
        max-height: 50px;
    }

    /* Hero Section Mobile Fixes */
    .hero {
        height: 100vh;
        min-height: 700px;
        margin-top: 65px;
    }

    .hero-slide {
        align-items: center;
    }

    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 20px 15px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .slider-controls {
        padding: 0 15px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .title-underline {
        width: 60px;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* About */
    .about-text .lead {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    /* Commitment */
    .commitment-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .commitment-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .commitment-card h3 {
        font-size: 1.3rem;
    }

    .commitment-card p {
        font-size: 0.95rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card {
        border-radius: 15px;
    }

    .product-image {
        height: 250px;
    }

    .product-content {
        padding: 20px;
    }

    .product-name {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .product-tagline {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .product-ingredient {
        font-size: 0.85rem;
        padding: 8px;
        margin-bottom: 10px;
    }

    .product-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .product-details {
        padding: 12px;
        margin: 15px 0;
    }

    .detail-item {
        margin-bottom: 10px;
    }

    .detail-item strong {
        font-size: 0.9rem;
    }

    .detail-item p {
        font-size: 0.85rem;
    }

    .product-btn {
        padding: 12px;
        font-size: 12px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .gallery-item {
        height: 250px;
    }

    /* Satisfied Farmers */
    .satisfied-farmers {
        padding: 50px 0;
    }

    .farmers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }

    .info-card {
        padding: 20px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .info-card p {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section ul li {
        margin-bottom: 10px;
    }

    /* Mobile Menu */
    .mobile-nav-link {
        padding: 13px 15px;
        font-size: 13px;
    }

    .mobile-submenu a {
        padding: 12px 15px 12px 35px;
        font-size: 12px;
    }

    .contact-mobile-btn {
        margin: 10px 12px;
    }

    .mobile-social-links {
        padding: 15px;
        gap: 8px;
    }

    .mobile-social-links a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    /* Blog / About page grids */
    .blog-grid {
        grid-template-columns: 1fr !important;
    }

    .highlights-grid {
        grid-template-columns: 1fr !important;
    }

    .company-story {
        grid-template-columns: 1fr !important;
    }
}

/* ===== RESPONSIVE - MOBILE (480px and below) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .navbar-logo img {
        height: 36px;
        min-height: 30px;
        max-height: 44px;
    }

    .nav-wrapper {
        height: 58px;
        min-height: 58px;
        padding: 0 12px;
    }

    .mobile-menu {
        top: 58px;
    }

    .mobile-menu.active {
        max-height: calc(100vh - 58px);
    }

    /* Hero */
    .hero {
        height: 100vh;
        min-height: 650px;
        margin-top: 58px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .slider-controls {
        display: none;
    }

    .slider-dots {
        bottom: 15px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 30px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Sections */
    section {
        padding: 45px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .title-underline {
        width: 50px;
        height: 3px;
        margin: 0 auto 15px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 5px;
    }

    /* About */
    .about-text .lead {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Commitment */
    .commitment-grid {
        gap: 20px;
    }

    .commitment-card {
        padding: 20px 15px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .commitment-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .commitment-card p {
        font-size: 0.9rem;
    }

    /* Products */
    .products-grid {
        gap: 20px;
    }

    .product-image {
        height: 220px;
    }

    .product-content {
        padding: 15px;
    }

    .product-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .product-name {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }

    .product-tagline {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .product-ingredient {
        font-size: 0.8rem;
        padding: 6px;
        margin-bottom: 8px;
    }

    .product-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .product-details {
        padding: 10px;
        margin: 12px 0;
    }

    .detail-item {
        margin-bottom: 8px;
    }

    .detail-item strong {
        font-size: 0.85rem;
    }

    .detail-item p {
        font-size: 0.8rem;
    }

    .product-btn {
        padding: 10px;
        font-size: 11px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item {
        height: 200px;
    }

    /* Satisfied Farmers */
    .satisfied-farmers {
        padding: 40px 0;
    }

    .farmers-grid {
        gap: 15px;
    }

    /* Contact */
    .contact-content {
        gap: 20px;
    }

    .contact-info {
        gap: 20px;
    }

    .info-card {
        padding: 15px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .info-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .info-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .contact-form {
        padding: 18px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 11px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .footer-section ul li {
        margin-bottom: 8px;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 12px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    /* Scroll to Top */
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    /* Mobile Menu */
    .mobile-nav-link {
        padding: 12px 12px;
        font-size: 12px;
    }

    .mobile-submenu a {
        padding: 10px 12px 10px 30px;
        font-size: 11px;
    }

    .mobile-submenu a:hover {
        padding-left: 40px;
    }

    .contact-mobile-btn {
        margin: 8px 10px;
        padding: 12px;
        font-size: 12px;
    }

    .mobile-social-links {
        padding: 12px;
        gap: 6px;
    }

    .mobile-social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* ===== SMALL MOBILE (360px and below) ===== */
@media (max-width: 360px) {
    .navbar-logo img {
        height: 30px;
        min-height: 26px;
        max-height: 38px;
    }

    .nav-wrapper {
        height: 52px;
        min-height: 52px;
        padding: 0 10px;
    }

    .mobile-menu {
        top: 52px;
    }

    .mobile-menu.active {
        max-height: calc(100vh - 52px);
    }

    .hero {
        min-height: 550px;
        margin-top: 52px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ===== BLOG PAGE STYLES ===== */
.blog-card {
    cursor: pointer;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(34, 139, 34, 0.2) !important;
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.blog-card:hover .blog-image::after {
    background: rgba(0, 0, 0, 0.15);
}

.highlight-card {
    cursor: pointer;
    transform: translateY(0);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(34, 139, 34, 0.2) !important;
}

.highlight-card i {
    transition: transform 0.3s ease;
}

.highlight-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* ===== PRODUCT BUTTON STYLES ===== */
.product-btn {
    display: inline-block;
    background: linear-gradient(135deg, #228B22 0%, #34A853 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 139, 34, 0.3);
    background: linear-gradient(135deg, #1a5f1a 0%, #2d8d45 100%);
}

/* ===== MOBILE OPTIMIZATION ENHANCEMENTS ===== */
@media (max-width: 768px) {
    button,
    .product-btn,
    .cta-button,
    .submit-btn,
    a.mobile-nav-link {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="tel"]:focus,
    textarea:focus,
    select:focus {
        font-size: 16px;
        zoom: 1;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.95rem; }
}

@media (hover: none) and (pointer: coarse) {
    .product-card:active {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px var(--shadow-hover);
    }

    .commitment-card:active {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px var(--shadow-hover);
    }

    .gallery-item:active img {
        transform: scale(1.03);
    }

    .info-card:active {
        transform: translateX(8px);
        box-shadow: 0 4px 18px var(--shadow-hover);
    }
}

@media (-webkit-min-device-pixel-ratio: 2) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

@media (max-height: 500px) {
    .hero {
        min-height: 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    section {
        padding: 40px 0;
    }
}