/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Quicksand:wght@400;500;600&display=swap');

/* Color Variables - Earthy Green Palette */
:root {
    --primary-green: #294B29;   /* Deep Forest Green */
    --secondary-green: #50623A; /* Olive Green */
    --accent-green: #789461;    /* Sage Green */
    --background: #DBE7C9;      /* Light Mint */
    --card-bg: #fff;            /* White for card contrast */
    --text-color: #222;         /* Dark for text */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Animated Leaf Background - MORE VISIBLE VERSION */
.leaf-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.leaf-bg {
    position: absolute;
    opacity: 0.15; /* Increased opacity to make more visible */
    background-size: contain;
    background-repeat: no-repeat;
}

/* Main leaves using CSS shapes */
.leaf-bg.leaf-1 {
    width: 120px;
    height: 120px;
    top: 5%;
    left: 10%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23294B29'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    animation: floatLeaf1 25s ease-in-out infinite;
}

.leaf-bg.leaf-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2350623A'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    transform: rotate(45deg);
    animation: floatLeaf2 30s ease-in-out infinite;
}

.leaf-bg.leaf-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23789461'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    transform: rotate(-60deg);
    animation: floatLeaf3 35s ease-in-out infinite;
}

.leaf-bg.leaf-4 {
    width: 90px;
    height: 90px;
    top: 60%;
    right: 10%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23294B29'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    transform: rotate(120deg);
    animation: floatLeaf4 28s ease-in-out infinite;
}

.leaf-bg.leaf-5 {
    width: 70px;
    height: 70px;
    top: 35%;
    left: 25%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2350623A'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    transform: rotate(-30deg);
    animation: floatLeaf5 32s ease-in-out infinite;
}

.leaf-bg.leaf-6 {
    width: 110px;
    height: 110px;
    bottom: 10%;
    right: 20%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23789461'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    transform: rotate(90deg);
    animation: floatLeaf6 26s ease-in-out infinite;
}

/* Leaf animations */
@keyframes floatLeaf1 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(30px) translateY(-20px) rotate(10deg); }
    50% { transform: translateX(-20px) translateY(30px) rotate(-5deg); }
    75% { transform: translateX(40px) translateY(10px) rotate(15deg); }
}

@keyframes floatLeaf2 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(45deg); }
    33% { transform: translateX(-40px) translateY(20px) rotate(35deg); }
    66% { transform: translateX(20px) translateY(-30px) rotate(55deg); }
}

@keyframes floatLeaf3 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(-60deg); }
    20% { transform: translateX(50px) translateY(-40px) rotate(-50deg); }
    40% { transform: translateX(-30px) translateY(-20px) rotate(-70deg); }
    60% { transform: translateX(20px) translateY(30px) rotate(-55deg); }
    80% { transform: translateX(-40px) translateY(10px) rotate(-65deg); }
}

@keyframes floatLeaf4 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(120deg); }
    50% { transform: translateX(-60px) translateY(40px) rotate(100deg); }
}

@keyframes floatLeaf5 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(-30deg); }
    25% { transform: translateX(20px) translateY(30px) rotate(-40deg); }
    50% { transform: translateX(-30px) translateY(-20px) rotate(-20deg); }
    75% { transform: translateX(40px) translateY(20px) rotate(-35deg); }
}

@keyframes floatLeaf6 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(90deg); }
    33% { transform: translateX(30px) translateY(-50px) rotate(100deg); }
    66% { transform: translateX(-50px) translateY(20px) rotate(80deg); }
}

header {
    background-color: var(--primary-green);
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    margin: 0;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nav-link {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease, background 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover {
    color: var(--accent-green);
    background-color: var(--card-bg);
}

footer {
    background-color: var(--accent-green);
    color: white;
    padding: 1rem 0;
    margin-top: auto;
    text-align: center;
}

/* Card Styling */
.card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: var(--primary-green);
    font-weight: 600;
}

/* Button Styling */
.btn-primary {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--text-color);
}

.btn-secondary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(41, 75, 41, 0.15);
}

/* Container Padding */
.container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }
    
    .nav-link {
        margin: 0 0.5rem;
        padding: 0.3rem 0.5rem;
    }
    
    /* Reduce leaf sizes on mobile */
    .leaf-bg {
        opacity: 0.1;
    }
    
    .leaf-bg.leaf-1 { width: 80px; height: 80px; }
    .leaf-bg.leaf-2 { width: 60px; height: 60px; }
    .leaf-bg.leaf-3 { width: 70px; height: 70px; }
    .leaf-bg.leaf-4 { width: 65px; height: 65px; }
    .leaf-bg.leaf-5 { width: 50px; height: 50px; }
    .leaf-bg.leaf-6 { width: 75px; height: 75px; }
}

/* Footer Styling */
.footer {
    background-color: var(--secondary-green);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-green);
    text-decoration: none;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-green);
    text-decoration: none;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(rgba(41, 75, 41, 0.9), rgba(41, 75, 41, 0.9));
    padding: 120px 0;
    margin-bottom: 60px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btn {
    background-color: var(--accent-green);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-btn:hover {
    background-color: #8ba67a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Features Section Styles */
.features-section {
    padding: 80px 0;
    background-color: transparent;
    position: relative;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Call to Action Section Styles */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(rgba(41, 75, 41, 0.05), rgba(41, 75, 41, 0.05));
    border-radius: 20px;
    margin-top: 60px;
}

.cta-section h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section .lead {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-section .btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    background-color: var(--accent-green);
    border: none;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    background-color: #8ba67a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section .lead {
        font-size: 1.1rem;
    }
}