:root {
    --bg: #f5f8f5;
    --primary: #1B7A3D;
    --primary-light: #4CAF50;
    --primary-glow: rgba(27, 122, 61, 0.2);
    --text: #1a1a1a;
    --text-muted: #4a5a4a;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(27, 122, 61, 0.15);
    --shadow: 0 8px 32px rgba(27, 122, 61, 0.08);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
    cursor: auto; 
    padding-top: 40px; /* Top Bar height */
}

/* --- Top Bar --- */
.top-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 40px;
    background: var(--primary); color: #fff; z-index: 1001;
    display: flex; align-items: center; font-size: 0.85rem;
}
.top-bar-inner { display: flex; justify-content: flex-end; gap: 24px; width: 100%; }
.top-bar a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: opacity 0.3s; }
.top-bar a:hover { opacity: 0.8; }

/* --- 3D Background --- */
#canvas-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 0; opacity: 0.5; pointer-events: none;
}

/* --- Typography & Utilities --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.5px; }
h1 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.1; margin-bottom: 24px; letter-spacing: -2px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text); }

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    background-clip: text; -webkit-text-fill-color: transparent;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 100px 0; position: relative; min-height: auto; display: flex; align-items: center; }
.full { width: 100%; justify-content: center; }

/* --- Navigation --- */
.nav {
    position: fixed; top: 60px; left: 50%; transform: translateX(-50%);
    width: 92%; max-width: 1200px; z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 60px; padding: 12px 28px;
    box-shadow: var(--shadow); transition: all 0.3s var(--ease-out);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }

.logo-link { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.site-logo { height: 60px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.site-logo:hover { transform: scale(1.05); }
.logo-text-wrapper { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.logo-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--text); }
.logo-subtitle { font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: 0.3s var(--ease-out); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta { padding: 10px 28px; border-radius: 30px; font-size: 0.9rem; }
.mobile-cta { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 101; }
.hamburger span { width: 28px; height: 2px; background: var(--text); transition: 0.3s var(--ease-out); }

/* --- Buttons --- */
.btn-primary {
    background: var(--primary); color: #fff; padding: 14px 32px;
    border-radius: 12px; font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: 0.3s var(--ease-out); border: none; cursor: pointer; font-size: 1rem;
    box-shadow: 0 4px 16px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--primary-glow); background: var(--primary-light); }
.btn-outline {
    padding: 14px 32px; border: 1.5px solid var(--glass-border);
    border-radius: 12px; color: var(--text); text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: 0.3s var(--ease-out); background: transparent; cursor: pointer; font-weight: 500;
}
.btn-outline:hover { border-color: var(--primary); background: rgba(27, 122, 61, 0.05); transform: translateY(-2px); }

/* --- Hero Section --- */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; }
.hero-content { display: flex; flex-direction: column; justify-content: center; min-height: 80vh; }
.hero-text { max-width: 700px; }
.badge {
    display: inline-block; padding: 8px 20px; border: 1px solid var(--glass-border);
    border-radius: 30px; font-size: 0.8rem; font-weight: 500; color: var(--primary);
    background: rgba(27, 122, 61, 0.06); margin-bottom: 24px;
}
.hero-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 0.75rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase;
}
.scroll-indicator .line { width: 1px; height: 40px; background: var(--primary); opacity: 0.5; }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 60px; width: 100%; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* --- Cards (General) --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; width: 100%; }
.card {
    background: #ffffff; border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 32px 24px;
    transition: 0.4s var(--ease-out); box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 16px 48px rgba(27, 122, 61, 0.1); }

/* --- Pricing / Services --- */
.pricing-wrapper {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; max-width: 1100px; margin: 0 auto; width: 100%;
}
.glass-card {
    background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px; padding: 40px 32px;
    transition: 0.4s var(--ease-out); box-shadow: var(--shadow);
    position: relative; display: flex; flex-direction: column;
}
.glass-card:hover { transform: translateY(-8px); border-color: var(--primary); background: rgba(255, 255, 255, 0.7); }
.glass-card.featured {
    border-color: var(--primary); background: rgba(27, 122, 61, 0.05);
    transform: scale(1.02); box-shadow: 0 12px 40px rgba(27, 122, 61, 0.12);
}
.glass-card.featured:hover { transform: scale(1.04) translateY(-5px); }
.pop-badge {
    position: absolute; top: 0; right: 30px; background: var(--primary);
    color: #fff; padding: 6px 18px; border-radius: 0 0 12px 12px;
    font-size: 0.75rem; font-weight: 600;
}
.p-head h3 { font-size: 1.4rem; margin-bottom: 8px; }
.price { font-size: 2.8rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.p-list { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.p-list li { margin-bottom: 14px; color: var(--text-muted); display: flex; gap: 12px; align-items: center; font-size: 0.95rem; }
.p-list li i { color: var(--primary); font-size: 1.1rem; }
.p-btn-wrapper { margin-top: auto; width: 100%; }

/* --- Testimonials --- */
.testimonial-card { text-align: left; }
.stars { color: #FFD700; margin-bottom: 16px; font-size: 0.9rem; }
.quote { font-style: italic; color: var(--text); margin-bottom: 20px; font-size: 1rem; }
.client-info { display: flex; align-items: center; gap: 12px; }
.client-avatar {
    width: 40px; height: 40px; background: var(--glass-border);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.client-info h4 { font-size: 0.95rem; margin: 0; }
.client-info span { font-size: 0.8rem; color: var(--text-muted); }

/* --- About Us --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.img-placeholder {
    width: 100%; height: 400px; background: rgba(27, 122, 61, 0.1);
    border-radius: 24px; display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--primary); border: 1px solid var(--glass-border);
}
.stats-grid { display: flex; gap: 30px; margin-top: 30px; }
.stat-item h3 { font-size: 2rem; color: var(--primary); margin-bottom: 5px; }
.stat-item p { font-size: 0.9rem; color: var(--text-muted); }

/* --- FAQ Section (THINNER DESIGN) --- */
.faq-section { background: transparent; }
.faq-wrapper { 
    max-width: 800px; margin: 0 auto; width: 100%; 
    display: flex; flex-direction: column; gap: 8px; /* Reduced gap */
}
.faq-item {
    background: rgba(255, 255, 255, 0.5); 
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); 
    border-radius: 6px; /* Smaller radius for thinner look */
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
}
.faq-item:hover { border-color: var(--primary); background: #fff; }
.faq-question {
    padding: 10px 16px; /* Reduced padding */
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 500; font-size: 0.9rem; /* Smaller font */
    color: var(--text); cursor: pointer;
}
.faq-question i { transition: transform 0.4s var(--ease-out); color: var(--primary); font-size: 0.75rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); background: rgba(255, 255, 255, 0.3); }
.faq-content { padding: 0 16px 10px 16px; color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; width: 100%; }
.contact-info h2 { font-size: 3.2rem; line-height: 1.1; margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; }
.c-item { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 1rem; color: var(--text); }
.c-item i { color: var(--primary); font-size: 1.2rem; width: 24px; }
.contact-form {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 40px; border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.input-group { position: relative; margin-bottom: 24px; }
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 16px; background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid var(--glass-border); border-radius: 12px;
    color: var(--text); font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s var(--ease-out);
}
.input-group textarea { min-height: 120px; resize: vertical; }
.input-group label {
    position: absolute; left: 16px; top: 16px; color: var(--text-muted);
    pointer-events: none; transition: 0.3s var(--ease-out); font-size: 0.95rem; background: transparent; padding: 0 4px;
}
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px; left: 12px; font-size: 0.75rem; background: #fff; padding: 0 6px; color: var(--primary); font-weight: 500;
}
.input-group input:focus, .input-group textarea:focus, .input-group select:focus { border-color: var(--primary); background: #fff; }

/* --- Footer --- */
footer { background: #ffffff; border-top: 1px solid var(--glass-border); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; max-width: 300px; }


.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; transition: 0.3s; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.contact-list li i { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding: 24px 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease-out); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .top-bar { display: none; } body { padding-top: 0; }
    .nav { width: 100%; top: 0; left: 0; transform: none; border-radius: 0; border: none; border-bottom: 1px solid var(--glass-border); padding: 15px 24px; }
    .nav-cta { display: none; } .mobile-cta { display: block; margin-top: 10px; }
    .hamburger { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; gap: 24px; transition: 0.4s var(--ease-out); box-shadow: -10px 0 30px rgba(0,0,0,0.1); padding: 40px; }
    .nav-links.open { right: 0; } .nav-links a { font-size: 1.2rem; }
    .site-logo { height: 50px; } .logo-text-wrapper { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero-section { padding-top: 100px; text-align: center; }
    .hero-content { align-items: center; } .hero-btns { justify-content: center; width: 100%; }
    .pricing-wrapper { grid-template-columns: 1fr; max-width: 450px; }
    .glass-card.featured { transform: scale(1); }
    .contact-form { padding: 30px 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .brand-col { display: flex; flex-direction: column; align-items: center; }
    .footer-desc { margin: 0 auto 24px auto; }
    .contact-list li { justify-content: center; } .f-socials { justify-content: center; display: flex; }
    .site-logo { height: 45px; }
}

@media (max-width: 480px) {
    .hero-text h1 { letter-spacing: -1px; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; }
    .grid-3 { grid-template-columns: 1fr; }
    .nav { width: 100%; border-radius: 0; }
}
.about-image .img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px; 
}

.about-image .about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}