@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --primary-green: #0B6B2B;
    --accent-green: #5CAF29;
    --earth-tone: #C9B28D;
    --background-cream: #FBF7F0;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--background-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-cta {
    background-color: var(--primary-green);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0;
    transition: opacity 0.3s ease;
}

.primary-cta:hover {
    background-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 107, 43, 0.3);
}

.primary-cta:hover::before {
    opacity: 1;
}

.primary-cta:active {
    transform: translateY(0);
}

.secondary-cta {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.secondary-cta:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.earth-cta {
    background-color: transparent;
    color: var(--earth-tone);
    border: 2px solid var(--earth-tone);
}

.earth-cta:hover {
    background-color: var(--earth-tone);
    color: var(--white);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo img {
    height: 60px;
    width: auto;
}

.logo-mobile {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
    transition: color 0.2s ease-in-out;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease-in-out;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-menu a.active {
    color: var(--primary-green);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero .trust-element {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero .trust-element svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--background-cream);
}

.section-title {
    font-size: 42px;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    border: 2px solid var(--earth-tone);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 25px;
    overflow: hidden;
    border: 4px solid var(--earth-tone);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 15px;
}

.service-card .btn {
    padding: 12px 28px;
    font-size: 13px;
}

/* About Section */
.about {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 107, 43, 0.85);
}

.about-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 30px;
}

.about-text p {
    color: var(--white);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.95;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Process Section */
.process {
    padding: 100px 0;
    background-color: var(--white);
}

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

.process-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.process-image img {
    width: 100%;
    height: auto;
    display: block;
}

.process-steps h2 {
    font-size: 38px;
    color: var(--primary-green);
    margin-bottom: 40px;
}

.step-list {
    list-style: none;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.step-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 20px;
}

.step-content h4 {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
    font-size: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--background-cream);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 4px solid var(--earth-tone);
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    font-size: 22px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: var(--primary-green);
    font-size: 16px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--earth-tone);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background-color: var(--primary-green);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background-color: var(--accent-green);
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--background-cream);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    overflow: hidden;
    height: 200px;
}

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

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

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Trust Badges Section */
.trust-badges {
    padding: 60px 0;
    background-color: var(--primary-green);
}

.badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.badge-item img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.badge-item span {
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--background-cream);
}

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

.contact-info h2 {
    font-size: 38px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-details svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-green);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

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

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 15px;
}

/* Footer */
footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    opacity: 0.9;
    transition: all 0.2s ease;
}

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

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.8;
}

.page-top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    opacity: 0.9;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-top:hover {
    opacity: 1;
}

.page-top svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    transition: transform 0.3s ease;
}

.page-top:hover svg {
    transform: rotate(-45deg);
}

/* Privacy Page */
.privacy-content {
    padding: 150px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: 42px;
    color: var(--primary-green);
    margin-bottom: 40px;
}

.privacy-content h2 {
    font-size: 24px;
    color: var(--primary-green);
    margin: 40px 0 20px;
}

.privacy-content p,
.privacy-content li {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Page Header */
.page-header {
    background-size: cover;
    background-position: center;
    padding: 180px 0 80px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 107, 43, 0.8);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    color: var(--white);
    font-size: 18px;
    opacity: 0.9;
}

/* Products Page */
.products-section {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.product-card-image {
    height: 220px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-content {
    padding: 25px;
}

.product-card h3 {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.product-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-card .price {
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Solutions Page */
.solutions-hero {
    padding: 80px 0;
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.solution-item:nth-child(even) {
    direction: rtl;
}

.solution-item:nth-child(even) > * {
    direction: ltr;
}

.solution-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.solution-image img {
    width: 100%;
    height: auto;
    display: block;
}

.solution-content h3 {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.solution-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 25px;
    }
    
    .services-grid,
    .blog-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .process-content,
    .contact-content,
    .solution-item {
        grid-template-columns: 1fr;
    }
    
    .solution-item:nth-child(even) {
        direction: ltr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block;
    }
    
    .logo img {
        height: 50px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .tagline {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .blog-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text h2,
    .process-steps h2,
    .contact-info h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .testimonial-quote {
        font-size: 18px;
    }
    
    .badges-container {
        gap: 30px;
    }
    
    .badge-item img {
        width: 60px;
        height: 60px;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Seedling icon animation in footer */
@keyframes grow {
    0% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    50% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: top;
    }
}

.footer-links a:hover .seedling-icon {
    animation: grow 0.8s ease infinite;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
