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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header */
.header {
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 40px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.logo img {
    height: 90px;
    transition: height 0.3s ease;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.nav a:hover {
    color: #a8d8b9;
}

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

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    position: relative;
    perspective: 1000px;
}

.split-text-wrapper {
    display: inline-block;
}

.split-char {
    display: inline-block;
    opacity: 0;
    background: linear-gradient(45deg, #ffffff, #a8d8b9, #ffffff, #e8f5e8);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.8));
    transform: translateY(40px) rotateX(90deg);
    transform-origin: center bottom;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-content h1.animate .split-char {
    animation: splitCharAnimation 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
               gradientShiftChar 3s ease-in-out infinite 0.6s;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.hero-contact {
    margin-bottom: 35px;
}

.phone-number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    text-decoration: none;
}

.phone-number:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.phone-number i {
    font-size: 1rem;
}

.cta-button {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #2d5016;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 124, 89, 0.7);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8fffe;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2d5016;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #4a7c59;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: #4a7c59;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2d5016;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: white;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2d5016;
    font-weight: 600;
}

.gallery-grid {
    columns: 4;
    column-gap: 20px;
}

.gallery-item {
    display: inline-block;
    margin-bottom: 20px;
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Products Section */
.products {
    padding: 100px 0;
    background: #f8fffe;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2d5016;
    font-weight: 600;
}

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

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #4a7c59;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 124, 89, 0.8), rgba(45, 80, 22, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.product-overlay i {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.product-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #2d5016;
    font-weight: 600;
}

.product-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4a7c59;
    background: #f8fffe;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    border: 2px solid #4a7c59;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fffe;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2d5016;
    font-weight: 600;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h3 {
    font-size: 1.8rem;
    color: #2d5016;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-header p {
    color: #666;
    font-size: 1.1rem;
}

.contact-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #4a7c59;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #4a7c59;
    color: white;
    border-radius: 50%;
    margin-right: 20px;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
    font-size: 0.95rem;
}

.social-section {
    text-align: center;
}

.social-section h4 {
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: #4a7c59;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid #4a7c59;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: #4a7c59;
    color: white;
    transform: translateY(-2px);
}

.whatsapp-link {
    border: 2px solid #25D366;
    color: #25D366;
}

.whatsapp-link:hover {
    background: #25D366 !important;
    color: white;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

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

.form-header h3 {
    font-size: 1.8rem;
    color: #2d5016;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px;
    border: 2px solid #e8f5e8;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fffe;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a7c59;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.form-group select {
    cursor: pointer;
}

.submit-button {
    width: 100%;
    background: #4a7c59;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

.submit-button:hover {
    background: #2d5016;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
}

.submit-button i {
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #2d5016;
    color: white;
    text-align: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.footer .brand {
    font-weight: 600;
    color: #a8d8b9;
}

.footer .dev-credit {
    font-weight: 500;
    color: #e8f5e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .credits {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Fixed Contact Buttons */
.fixed-contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fixed-phone-btn,
.fixed-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

.fixed-phone-btn {
    background: #4a7c59;
}

.fixed-phone-btn:hover {
    background: #2d5016;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
}

.fixed-whatsapp-btn {
    background: #25D366;
}

.fixed-whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 0 rgba(74, 124, 89, 0.4);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 10px rgba(74, 124, 89, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 0 rgba(74, 124, 89, 0);
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.fixed-whatsapp-btn {
    animation: whatsappPulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .logo img {
        height: 60px;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #2d5016;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav.active {
        visibility: visible;
        opacity: 1;
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav a {
        color: white;
        font-size: 1.5rem;
        font-weight: 500;
        padding: 15px 30px;
        border-radius: 8px;
        transition: background 0.3s ease;
    }

    .nav a:hover {
        background: #4a7c59;
    }

    .nav a::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

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

    .gallery-grid {
        columns: 2;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .fixed-contact-buttons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }

    .fixed-phone-btn,
    .fixed-whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-width: 400px;
        margin: 0 auto;
    }

    .service-card {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        border-left: 4px solid #4a7c59;
        text-align: left;
        transition: all 0.3s ease;
    }

    .service-card:hover {
        transform: translateX(5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

    .service-icon {
        font-size: 1.5rem;
        color: #4a7c59;
        margin-right: 15px;
        margin-bottom: 0;
        width: 30px;
        text-align: center;
    }

    .service-content {
        flex: 1;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 3px;
        color: #2d5016;
        font-weight: 600;
    }

    .service-card p {
        font-size: 0.8rem;
        color: #666;
        margin: 0;
        opacity: 0.8;
    }

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

@media (max-width: 480px) {
    .gallery-grid {
        columns: 1;
    }

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

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

    .service-card,
    .product-card {
        padding: 30px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

@keyframes splitCharAnimation {
    from {
        opacity: 0;
        transform: translateY(40px) rotateX(90deg);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
        filter: blur(0px);
    }
}

@keyframes gradientShiftChar {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

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

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

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(60px);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        opacity: 0.9;
        transform: scale(0.95) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--animation-delay, 0s);
}

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

/* Specific animations for different elements */
.section-title.scroll-animate {
    transform: translateY(30px) scale(0.95);
}

.section-title.animate-in {
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.service-card.scroll-animate {
    transform: translateY(50px) scale(0.9);
}

.service-card.animate-in {
    animation: bounceIn 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.product-card.scroll-animate {
    transform: translateY(40px) rotate(-3deg);
}

.product-card.animate-in {
    animation: rotateIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.contact-card.scroll-animate {
    transform: translateX(-40px);
}

.contact-card.animate-in {
    animation: slideInLeft 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.contact-form-container.scroll-animate {
    transform: translateX(40px);
}

.contact-form-container.animate-in {
    animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.gallery-item.scroll-animate {
    transform: scale(0.8);
    filter: blur(2px);
}

.gallery-item.animate-in {
    animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    filter: blur(0);
}

/* Stagger animations */
.stagger-child {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-child.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation (fallback) */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}