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

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

body {
    font-family: 'Inter', sans-serif;
    color: #37474F;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F7F8;
}
::-webkit-scrollbar-thumb {
    background: #F57C00;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E65100;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 124, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(245, 124, 0, 0.6); }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hero Parallax */
.hero-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

/* Gradient Overlays */
.hero-overlay {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.85) 0%, rgba(46, 125, 50, 0.7) 30%, rgba(245, 124, 0, 0.4) 100%);
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-white {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.product-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(245, 124, 0, 0.2);
}

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

.product-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Timeline */
.timeline-line {
    background: linear-gradient(180deg, #F57C00 0%, #2E7D32 100%);
}

.timeline-dot {
    animation: pulse-glow 2s infinite;
}

/* Nav Active */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F57C00;
    transition: width 0.3s ease;
}

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

/* WhatsApp Float */
.whatsapp-float {
    animation: float 3s ease-in-out infinite;
}

/* Section Dividers */
.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F57C00 0%, #2E7D32 100%);
    border-radius: 2px;
}

/* Map Styles */
.map-region {
    transition: all 0.3s ease;
}

.map-region:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

/* Testimonial Card */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Toast */
.toast {
    animation: slideDown 0.4s ease forwards;
}

/* Counter Animation */
.counter-value {
    transition: all 0.5s ease;
}

/* Back to top */
.back-to-top {
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(245, 124, 0, 0.4);
}

/* Form focus */
.form-input:focus {
    border-color: #F57C00;
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.1);
}

/* Decorative Elements */
.leaf-pattern {
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 C20 15 10 25 15 35 C20 45 30 40 30 40 C30 40 40 45 45 35 C50 25 40 15 30 5Z' fill='%232E7D32'/%3E%3C/svg%3E");
}

/* Mobile Menu */
.mobile-menu {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu.closed {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.open {
    pointer-events: all;
}

/* Clients Carousel */
.clients-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: clients-scroll 28s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.clients-track img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.clients-track img:hover {
    opacity: 1;
    transform: scale(1.08);
}

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

/* Sticky Header */
.header-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

.header-scrolled .nav-link {
    color: #37474F !important;
}

.header-scrolled .logo-text {
    color: #1B5E20 !important;
}

.header-scrolled .btn-cta-nav {
    background: #F57C00 !important;
    color: white !important;
}
