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

:root {
    --primary-color: #558b2f;
    --secondary-color: #7cb342;
    --light-green: #c5e1a5;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fff8;
    --bg-tertiary: #f1f8e9;
    --bg-page: #fafafa;
    --text-primary: #333;
    --text-secondary: #666;
    --shadow: rgba(0,0,0,0.1);
    --shadow-hover: rgba(0,0,0,0.15);
}

[data-theme="dark"] {
    --primary-color: #7cb342;
    --secondary-color: #9ccc65;
    --light-green: #558b2f;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #252525;
    --bg-page: #0f0f0f;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --shadow: rgba(0,0,0,0.3);
    --shadow-hover: rgba(0,0,0,0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-page);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Language-specific font support */
body[lang="kn"] {
    font-family: 'Noto Sans Kannada', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header & Navigation */
header {
    background: var(--bg-secondary);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.8s ease;
    transition: background-color 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--secondary-color);
    margin-top: -5px;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Toggle Controls Container */
.toggle-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

.language-toggle:hover {
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.lang-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-tertiary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    font-weight: bold;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
    background: var(--secondary-color);
}

/* Theme Toggle */
.theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Marquee Section */
.marquee-section {
    margin-top: 80px;
    background: var(--primary-color);
    color: white;
    padding: 15px 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: scroll 25s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0 50px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero Banner */
.products-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 5%;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.products-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 1;
}

.products-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: var(--light-green);
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category Filter */
.category-filter {
    background: var(--bg-primary);
    padding: 2rem 5%;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--bg-tertiary);
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* Products Section */
.products-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease;
}

.category-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.category-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.product-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInScale 0.6s ease;
    animation-fill-mode: both;
    position: relative;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--light-green) 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(2deg);
}

.product-info {
    padding: 2rem;
}

.product-category {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.product-price {
    font-size: 1.6rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: normal;
}

.product-cta {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--shadow);
}

.product-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--light-green) 100%);
    padding: 4rem 5%;
    margin: 4rem 0;
}

.benefits-container {
    max-width: 1400px;
    margin: 0 auto;
}

.benefits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.benefit-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

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

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 5%;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--light-green);
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}


/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #33691e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--light-green), var(--secondary-color));
}

.footer-main {
    padding: 4rem 5% 2rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.footer-logo-text h3 {
    font-size: 1.8rem;
    color: var(--light-green);
    margin-bottom: 0.3rem;
}

.footer-logo-text p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--light-green);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.footer-section h3 {
    font-size: 1.4rem;
    color: var(--light-green);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--light-green);
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.footer-contact-icon {
    font-size: 1.3rem;
    color: var(--light-green);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--light-green);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-input {
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s;
}

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

.newsletter-input:focus {
    outline: none;
    border-color: var(--light-green);
    background: rgba(255,255,255,0.15);
}

.newsletter-btn {
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.newsletter-btn:hover {
    background: var(--light-green);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 179, 66, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 2rem 5%;
    background: rgba(0,0,0,0.2);
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.badge {
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--light-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(197, 225, 165, 0.3);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

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

    .process-container {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .marquee-content span {
        font-size: 0.9rem;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-logo-text h3 {
        font-size: 1.5rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .toggle-controls {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-center {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2.2rem;
    }

    .products-hero p {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .filter-container {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .marquee-content span {
        font-size: 0.9rem;
    }

    .category-header h2 {
        font-size: 2rem;
    }

    .toggle-controls {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-center {
        width: 100%;
        justify-content: center;
    }
}

/* Gallery-specific overrides and additions */
body {
    background: var(--bg-page);
}

.gallery-hero {
    background: var(--bg-tertiary);
    padding: 5rem 5%;
    text-align: center;
    animation: fadeIn 1s ease;
}

.gallery-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.gallery-hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 1s ease;
}

.gallery-filter {
    background: var(--bg-primary);
    padding: 2rem 5%;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 80px;
    z-index: 100;
}

        /* Gallery Grid */
        .gallery-section {
            padding: 4rem 5%;
            max-width: 1600px;
            margin: 0 auto;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            animation: fadeInScale 0.6s ease;
            animation-fill-mode: both;
            background: white;
            cursor: pointer;
        }

        .gallery-item:nth-child(1) { animation-delay: 0.1s; }
        .gallery-item:nth-child(2) { animation-delay: 0.15s; }
        .gallery-item:nth-child(3) { animation-delay: 0.2s; }
        .gallery-item:nth-child(4) { animation-delay: 0.25s; }
        .gallery-item:nth-child(5) { animation-delay: 0.3s; }
        .gallery-item:nth-child(6) { animation-delay: 0.35s; }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(85, 139, 47, 0.2);
        }

        .gallery-image {
            width: 100%;
            height: 400px;
            overflow: hidden;
            position: relative;
        }

        .gallery-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover .gallery-image img {
            transform: scale(1.1);
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(85, 139, 47, 0.95);
            color: white;
            padding: 1.5rem;
            transform: translateY(100%);
            transition: transform 0.4s ease;
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        .gallery-overlay h3 {
            font-size: 1.4rem;
            margin-bottom: 0.5rem;
            color: white;
        }

        .gallery-overlay p {
            font-size: 0.95rem;
            color: #c5e1a5;
            line-height: 1.6;
        }

        .gallery-category {
            position: absolute;
            top: 20px;
            left: 20px;
            background: #7cb342;
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            z-index: 10;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
        }

        /* Masonry-style larger items */
        .gallery-item.large {
            grid-column: span 2;
        }

        .gallery-item.tall {
            grid-row: span 2;
        }

        .gallery-item.tall .gallery-image {
            height: 100%;
        }

.video-section {
    padding: 4rem 5%;
    background: var(--bg-tertiary);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.video-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow);
    background: var(--bg-primary);
    transition: all 0.3s;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.gallery-stats {
    padding: 4rem 5%;
    background: var(--bg-primary);
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

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

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--secondary-color);
    color: white;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--secondary-color);
    color: white;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}


@media (max-width: 1024px) {
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }

    .gallery-item.tall .gallery-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2.2rem;
    }

    .gallery-hero p {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}
/* ============================================
   MOBILE NAVBAR FIX
   Add this to your styles.css file
   ============================================ */

/* Mobile Navigation Styles - 768px and below */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        align-items: stretch;
    }

    /* Logo section - full width */
    header nav .logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    header nav .logo img {
        width: 45px;
        height: 45px;
    }

    header nav .logo-text h1 {
        font-size: 1.1rem;
    }

    header nav .logo-text p {
        font-size: 0.65rem;
    }

    /* Navigation links - make hamburger menu */
    .nav-center {
        width: 100%;
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--card-bg, #ffffff);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links li a {
        display: block;
        padding: 0.75rem 1.25rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Hamburger Menu Button */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 0.5rem;
        background: transparent;
        border: none;
        width: 35px;
        height: 35px;
        justify-content: center;
        align-items: center;
        border-radius: 4px;
        transition: background 0.3s ease;
    }

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

    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-color, #333);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Toggle controls - horizontal layout */
    .toggle-controls {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 1rem;
        padding: 0.5rem 0;
    }

    /* Hamburger on the left */
    .toggle-controls::before {
        content: '';
        order: -1;
    }

    .language-toggle {
        flex: 1;
        justify-content: center;
        max-width: 200px;
    }

    .theme-toggle {
        order: 2;
    }
}

/* Extra small devices - 480px and below */
@media (max-width: 480px) {
    header nav {
        padding: 0.5rem 0.75rem;
    }

    header nav .logo img {
        width: 40px;
        height: 40px;
    }

    header nav .logo-text h1 {
        font-size: 1rem;
    }

    header nav .logo-text p {
        font-size: 0.6rem;
    }

    .language-toggle {
        transform: scale(0.9);
    }

    .toggle-controls {
        gap: 0.5rem;
    }
}

/* Dark mode adjustments for mobile */
[data-theme="dark"] .nav-links {
    background: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav-links li a {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}
/* Stack WhatsApp & Call above scroll button */
.contact-actions {
    position: fixed;
    right: 20px;
    bottom: 90px; /* Space above scroll-to-top */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
}

.contact-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}

.contact-btn:hover {
    transform: scale(1.1);
}

/* Colors */
.contact-btn.whatsapp {
    background-color: #25D366;
}

.contact-btn.call {
    background-color: #0A74DA;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .contact-actions {
        right: 14px;
        bottom: 80px;
        gap: 10px;
    }

    .contact-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}
