@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary-green: #2e7d32;
    --dark-green: #1b5e20;
    --light-green: #81c784;
    --primary-blue: #1565c0;
    --dark-blue: #0d1b2a;
    --accent-orange: #f57c00;
    --accent-gold: #ffb300;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.section-padding { padding: 80px 0; }

.gradient-text {
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.btn-secondary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Navbar */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, rgba(248,250,252,0.95), rgba(248,250,252,0.9)), url('../images/eucalyptus.png') center/cover;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    z-index: 2;
    position: relative;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-green);
}

.stat-item h4 {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--dark-green);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Features/Why Us Grid */
.section-features {
    position: relative;
    background: url('../images/forest_bg.png') center/cover no-repeat fixed;
}
.features-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 27, 42, 0.85); /* Dark blue overlay */
    z-index: 1;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid var(--primary-green);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Why Choose Us List */
.why-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.why-text {
    flex: 1;
}

.why-image {
    flex: 1;
    background: var(--primary-green);
    padding: 40px;
    border-radius: 20px;
    color: white;
}

.why-image h3 {
    color: white;
}

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

.why-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.why-list .tick {
    width: 28px;
    height: 28px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.why-list-light .tick {
    background: white;
    color: var(--primary-green);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.testimonial-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-card .text {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
}

.stars {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* About Us */
.about-section {
    background: var(--white);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.project-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    font-weight: 600;
    color: var(--dark-blue);
    transition: transform 0.2s;
}

.project-item:hover {
    transform: translateX(5px);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* FAQs */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    border: 1px solid #eee;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-blue);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
}

/* Footer */
.main-footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    margin: 15px 0 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.social-links a:hover {
    background: var(--primary-green);
    color: white;
}

.footer-links-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom .credit a {
    color: var(--light-green);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom .credit a:hover {
    text-decoration: underline;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Timeline & Admin */
.timeline-container {
    max-width: 800px;
    margin: 120px auto 60px;
}

.post-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.post-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 500px;
    margin: 120px auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-body);
}

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

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content, .about-content, .why-container {
        flex-direction: column;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .hero {
        padding-top: 100px;
    }
}
