/* ===== Root Variables ===== */
:root {
    --primary: #43A047;
    --primary-dark: #388E3C;
    --primary-light: #66BB6A;
    --secondary: #81C784;
    --accent: #A5D6A7;
    --dark: #2E2E2E;
    --dark-alt: #F9FFF9;
    --gray: #555;
    --gray-light: #777;
    --border: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #E8F5E9, #A5D6A7);
    --gradient-green: linear-gradient(120deg, #F0FFF4, #C8E6C9, #81C784);
    --shadow: 0 4px 20px rgba(67, 160, 71, 0.1);
    --shadow-lg: 0 10px 40px rgba(67, 160, 71, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Calibri', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: #FFFFFF;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Calibri', 'Arial', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}

section:last-of-type {
    border-bottom: none;
}

/* ===== Header & Navigation ===== */
header,
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 70%, rgba(255,255,255,0) 100%);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

nav,
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

header > nav {
    padding: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.logo img {
    height: 100px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    color: var(--dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 245, 233, 0.8) 0%, rgba(165, 214, 167, 0.5) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 900px;
}

.slide-content h1 {
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 10px rgba(255, 255, 255, 0.5);
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--dark);
    font-weight: 500;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.slider-btn:hover {
    background: var(--primary);
}

.slider-btn.prev {
    left: 2rem;
}

.slider-btn.next {
    right: 2rem;
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--dark);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

/* ===== Features Section ===== */
.features-section {
    background: var(--dark-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--gradient-green);
    color: var(--dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-value {
    display: inline-block;
}

.stat-item p {
    color: var(--dark);
    font-weight: 600;
}

/* ===== Products Section ===== */
.products-section {
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--dark-alt);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-info p {
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-features li {
    color: var(--gray);
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.product-info .btn {
    width: 100%;
    text-align: center;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: var(--dark-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: var(--shadow);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray-light);
    font-size: 0.875rem;
    margin: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-green);
    text-align: center;
    color: var(--dark);
}

.cta-section h2 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--dark);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
footer {
    background: var(--dark-alt);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.footer-section p {
    color: var(--gray);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--gray-light);
}

/* ===== Page Content Styles ===== */
.page-header {
    padding: 10rem 0 5rem;
    text-align: center;
    background: var(--gradient);
    margin-top: 0;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark);
}

.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: var(--dark-alt);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.content-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.content-card p,
.content-card li {
    color: var(--gray);
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--dark-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--dark);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

table th {
    background: var(--dark-alt);
    color: var(--dark);
    font-weight: 700;
}

table td {
    color: var(--gray);
}

table tr:hover {
    background: rgba(67, 160, 71, 0.05);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: #fff;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        border-top: 1px solid var(--border);
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn.prev {
        left: 1rem;
    }

    .slider-btn.next {
        right: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-slider {
        height: 80vh;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .features-grid,
    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Apply animations */
.feature-card,
.product-card,
.testimonial-card,
.content-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-icon {
    animation: float 3s ease-in-out infinite;
}

.logo img {
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Leaf decoration */
.page-header::before {
    content: '🌿';
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    top: 20px;
    left: 20px;
    animation: float 4s ease-in-out infinite;
}

.page-header::after {
    content: '🌿';
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    bottom: 20px;
    right: 20px;
    transform: rotate(180deg);
    animation: float 4s ease-in-out infinite 2s;
}

.page-header {
    position: relative;
    overflow: hidden;
}
