/* CSS Variables */
:root {
    --primary-color: #00a651; /* Green from logo */
    --primary-dark: #008240;
    --secondary-color: #fdb813; /* Yellow from logo */
    --secondary-dark: #e5a300;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #111111;
    --border-color: #eeeeee;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed header */
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

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

.bg-light {
    background-color: var(--bg-light);
}

/* Typography Utility */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 166, 81, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 184, 19, 0.4);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-eco {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 184, 19, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections General */
.section {
    padding: 100px 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.2rem;
    margin: 20px 0 40px;
    color: var(--text-dark);
}

.vision-mission-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.vm-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.vm-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.vm-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.vm-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.core-values {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.core-values h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.values-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.values-list i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.values-list h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.values-list p {
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.service-card:hover h3, 
.service-card:hover p {
    color: white;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    transition: var(--transition);
}

/* Biodigester Section */
.biodigester-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.how-it-works h3, .advantages-box h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 166, 81, 0.3);
}

.step-text h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.system-parts {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
}

.system-parts h4 {
    margin-bottom: 20px;
}

.parts-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.parts-list i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.advantages-box {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 20px;
}

.advantages-box h3 {
    color: white;
}

.adv-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.adv-list li {
    display: flex;
    gap: 20px;
}

.adv-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.adv-text h4 {
    color: white;
    margin-bottom: 5px;
}

.adv-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Quote Section */
.quote-section {
    background: var(--bg-dark);
    color: white;
    padding: 100px 0;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(253, 184, 19, 0.2);
    margin-bottom: 20px;
}

.quote-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 10px;
}

.quote-section > p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.quote-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--secondary-color);
    color: var(--text-dark);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #aaaaaa;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

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

.footer-desc {
    margin-bottom: 25px;
    max-width: 400px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid, .biodigester-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        padding: 40px 20px;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Logo Images */
.logo-img {
    height: 80px;
    width: auto;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}
.footer-logo-img:hover {
    opacity: 1;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1 / 1;
}

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

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

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-mark {
    font-size: 2rem;
    color: rgba(0, 166, 81, 0.2);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.client-info h4 {
    color: var(--primary-color);
    margin-bottom: 3px;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.1);
}

.w-100 {
    width: 100%;
}

.map-container {
    height: 100%;
    min-height: 400px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}
