/* --- VARIABLES & RESET --- */
:root {
    --primary: #2d6a4f;
    --primary-light: #40916c;
    --accent: #d8f3dc;
    --dark: #1b4332;
    --text: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfccb 100%);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--dark); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.bg-alt { background: rgba(255,255,255,0.4); }

/* --- UTILITIES --- */
.accent { color: var(--primary-light); }
.full-width { width: 100%; text-align: center; }
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* --- GLASSMORPHISM CARD --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
}
.glass-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(45, 106, 79, 0.15); }

/* --- BUTTONS --- */
.btn-primary, .btn-secondary, .btn-glow {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 2px solid var(--primary); color: var(--primary); margin-left: 10px; }
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-glow {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 0 20px rgba(45, 106, 79, 0.4);
}
.btn-glow:hover { box-shadow: 0 0 30px rgba(45, 106, 79, 0.6); transform: scale(1.05); }

/* --- NAVIGATION --- */
.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}
.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--dark); font-family: 'Playfair Display', serif; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text); }
.nav-links a:hover { color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--dark); cursor: pointer; }

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.hero-text { font-size: 1.2rem; color: var(--text-light); margin-bottom: 40px; max-width: 600px; }
.hero-btns { margin-bottom: 60px; }

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: float 10s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: rgba(64, 145, 108, 0.2); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: rgba(216, 243, 220, 0.4); bottom: 10%; left: -50px; animation-delay: -5s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

/* Stats Row */
.stats-row { display: flex; gap: 20px; flex-wrap: wrap; }
.stat-card { text-align: center; min-width: 140px; }
.stat-card span { font-size: 2.5rem; font-weight: 700; color: var(--primary); display: block; }
.stat-card p { font-size: 0.9rem; color: var(--text-light); margin-top: 5px; }

/* --- SERVICES GRID --- */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card h3 { margin: 20px 0 10px; font-size: 1.4rem; }
.icon-box { font-size: 2.5rem; margin-bottom: 10px; }
.feature-list { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); }
.feature-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-light); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* --- TIMELINE --- */
.timeline { display: flex; justify-content: space-between; position: relative; flex-wrap: wrap; gap: 30px; }
.timeline::before {
    content: ''; position: absolute; top: 30px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    z-index: 0;
}
.timeline-item { flex: 1; min-width: 200px; position: relative; z-index: 1; text-align: center; }
.step-number {
    width: 60px; height: 60px; background: var(--white); border: 2px solid var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); margin: 0 auto 20px; font-size: 1.2rem;
    transition: var(--transition);
}
.timeline-item:hover .step-number { background: var(--primary); color: white; transform: scale(1.1); }

/* --- ARTICLE STYLES --- */
.article-container { max-width: 800px; }
.article-container h2 { font-size: 2rem; margin: 50px 0 20px; color: var(--dark); }
.article-container h3 { font-size: 1.5rem; margin: 30px 0 15px; }
.article-container p { margin-bottom: 20px; font-size: 1.05rem; color: #444; }
.intro-text { font-size: 1.2rem !important; color: var(--text) !important; border-left: 4px solid var(--primary); padding-left: 20px; margin-bottom: 40px !important; }
.callout-box {
    background: var(--accent); padding: 25px; border-radius: var(--radius);
    margin: 30px 0; border-left: 5px solid var(--primary);
}
.callout-box h4 { margin-bottom: 10px; color: var(--dark); }
.article-container a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(45,106,79,0.3); }
.article-container a:hover { text-decoration-color: var(--primary); }

/* --- FAQ --- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 25px; cursor: pointer; font-weight: 600; font-size: 1.1rem;
    list-style: none; position: relative; padding-right: 50px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; color: var(--primary); transition: var(--transition);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 25px 25px; color: var(--text-light); line-height: 1.6; }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.stars { color: #f1c40f; font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); }
.avatar {
    width: 50px; height: 50px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.client-info strong { display: block; color: var(--dark); }
.client-info span { font-size: 0.85rem; color: var(--text-light); }

/* --- CONTACT --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: 2.2rem; margin-bottom: 15px; }
.info-item { margin: 25px 0; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 5px; }
.info-item a, .info-item p { font-size: 1.2rem; font-weight: 600; color: var(--dark); }
.contact-form h3 { margin-bottom: 25px; font-size: 1.8rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 10px;
    font-family: inherit; font-size: 1rem; transition: var(--transition); background: rgba(255,255,255,0.8);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

/* --- FOOTER --- */
footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h3, .footer-col h4 { color: white; margin-bottom: 20px; }
.footer-col p { font-size: 0.95rem; line-height: 1.8; opacity: 0.8; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { opacity: 0.7; font-size: 0.95rem; }
.footer-col ul a:hover { opacity: 1; color: var(--accent); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; opacity: 0.6; }

/* --- ANIMATIONS --- */
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-wrapper, .footer-grid { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
    .timeline { flex-direction: column; }
    .timeline-item { text-align: left; display: flex; align-items: center; gap: 20px; }
    .step-number { margin: 0; flex-shrink: 0; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: var(--white); flex-direction: column; justify-content: center;
        align-items: center; transition: var(--transition); box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .btn-secondary { margin-left: 0; }
    .stats-row { justify-content: center; }
    .faq-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 70px 0; }
}