:root {
    /* --- COLOR PALETTE --- */
    /* Neon Green (Primary Brand) */
    --primary: #7cdc92;       
    --primary-rgb: 124, 220, 146;
    --primary-glow: rgba(124, 220, 146, 0.4);
    
    /* Backgrounds: Deep Forest / Matte Emerald */
    --bg-base: #061a15;       /* The main matte dark green */
    --bg-deep: #020d0a;       /* Darker shadows */
    --bg-gradient: radial-gradient(circle at 10% 10%, #112e25 0%, #061a15 80%);

    /* --- GLASS UI SYSTEM --- */
    /* Surface: Seamless matte glass */
    --glass-surface: rgba(14, 40, 33, 0.65); 
    --glass-surface-hover: rgba(20, 50, 42, 0.85);
    
    /* Borders & Highlights */
    --glass-border: rgba(124, 220, 146, 0.15);
    --glass-shine: rgba(255, 255, 255, 0.05);
    
    /* Typography */
    --text-main: #f0fdf7;
    --text-muted: #95b3a8; 
    
    /* Spacing */
    --section-pad: 100px 8%;
    --radius: 12px;
}

/* --- RESET & DEFAULTS --- */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Commissioner', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    /* One giant seamless texture */
    background-image: var(--bg-gradient);
    background-attachment: fixed; 
    min-height: 100vh;
}

/* Ambient Glow Orbs (Subtle Background movement) */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(120px);
    opacity: 0.15;
}
/* Green orb top-right */
body::before {
    top: -150px; right: -150px;
    width: 600px; height: 600px;
    background: var(--primary);
    animation: pulseGlow 10s ease-in-out infinite alternate;
}
/* Blue-green orb bottom-left */
body::after {
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    background: #3f477c; /* Secondary tone for depth */
    animation: pulseGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { opacity: 0.1; transform: scale(1); }
    100% { opacity: 0.2; transform: scale(1.1); }
}

/* --- NAVBAR (Seamless Blend) --- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 8%;
    display: flex; justify-content: space-between; align-items: center;
    
    /* Perfect Blur Transparency */
    background: rgba(6, 26, 21, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(124, 220, 146, 0.05);
    z-index: 1000;
    transition: all 0.4s ease;
}

/* Shrink navbar on scroll handled by JS */
.navbar.scrolled { padding: 15px 8%; border-bottom: 1px solid var(--glass-border); }

.logo-container img { 
    height: 60px; width: auto; 
    filter: drop-shadow(0 0 10px rgba(124,220,146,0.2)); 
}

.nav-links { display: flex; gap: 30px; align-items: center; }

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem; font-weight: 500;
    position: relative; transition: 0.3s;
}

/* The Glowing Underline is back */
.nav-links a::after {
    content: ''; position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary); /* Neon glow */
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text-main); text-shadow: 0 0 8px rgba(124,220,146,0.3); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Glowing Quote Button */
.cta-btn {
    padding: 10px 30px !important;
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    border-radius: 50px;
    background: rgba(124, 220, 146, 0.05);
    transition: 0.4s;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-btn::after { display: none; } /* Remove link underline */
.cta-btn:hover {
    background: var(--primary);
    color: #061a15 !important;
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.mobile-toggle { display: none; font-size: 1.8rem; color: var(--primary); cursor: pointer; }


/* --- SECTIONS LAYOUT --- */
section { 
    padding: var(--section-pad); 
    border: none;
}

/* Centered Headers with Neon Accents */
.section-header { 
    text-align: center; max-width: 800px; margin: 0 auto 70px; 
}
.section-header h2 {
    font-size: 2.8rem; font-weight: 700;
    color: var(--text-main); margin-bottom: 15px;
}
.underline {
    width: 60px; height: 3px; 
    background: var(--primary); 
    margin: 0 auto 20px; 
    border-radius: 5px;
    /* Beautiful glowing line */
    box-shadow: 0 0 12px var(--primary), 0 0 5px var(--primary);
}
.section-header p {
    color: var(--text-muted); font-size: 1.1rem; line-height: 1.6;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    padding-top: 130px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 50px;
}

.hero-content { flex: 1; z-index: 2; }

.status-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    background: rgba(124,220,146,0.08);
    color: var(--primary);
    font-size: 0.9rem; font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(124,220,146,0.1); /* Subtle halo */
}

.hero-content h1 {
    font-size: 4rem; line-height: 1.15;
    margin-bottom: 25px; letter-spacing: -1px;
}
.hero-content h1 .highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 2px var(--primary-glow));
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.15rem; line-height: 1.7;
    margin-bottom: 40px; max-width: 90%;
    border-left: 3px solid var(--glass-border);
    padding-left: 20px;
}

.hero-btns { display: flex; gap: 20px; }
.btn-primary {
    background: var(--primary); color: #061a15;
    padding: 16px 36px; border-radius: 8px;
    font-weight: 700; text-decoration: none;
    transition: 0.3s;
}
.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(124,220,146,0.3);
    transform: translateY(-3px);
    background: #fff;
}
.btn-secondary {
    padding: 16px 36px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main); text-decoration: none; font-weight: 600;
    transition: 0.3s;
}
.btn-secondary:hover {
    border-color: var(--primary); color: var(--primary);
    background: rgba(124,220,146,0.05);
}

.hero-visual {
    flex: 1; height: 550px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
#solar-model-container { width: 100%; height: 100%; }

/* --- CARD SYSTEM (Grid) --- */
.about-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.glass-card, .benefit-card {
    /* Matte, Lighter Green background */
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    /* Very faint top-inner-shine */
    box-shadow: inset 0 1px 0 var(--glass-shine), 0 4px 20px rgba(0,0,0,0.2);
    border-radius: var(--radius);
    padding: 35px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}

.glass-card:hover, .benefit-card:hover {
    transform: translateY(-7px);
    background: var(--glass-surface-hover);
    border-color: var(--primary); /* Glowy Border */
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.4), 0 0 15px var(--glass-border);
}

/* Card Icons */
.card-icon, .benefit-icon {
    width: 50px; height: 50px;
    background: rgba(124, 220, 146, 0.08);
    border: 1px solid rgba(124, 220, 146, 0.2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary);
    flex-shrink: 0;
    transition: 0.3s;
    margin-bottom: 20px;
}
/* Flex alignment for Benefits header */
.benefit-header {
    display: flex; align-items: center; gap: 18px; margin-bottom: 15px;
}
.benefit-header .benefit-icon { margin-bottom: 0; }

/* Text in Cards */
.glass-card h3, .benefit-card h3 {
    color: var(--text-main); font-size: 1.25rem; font-weight: 700;
    margin-bottom: 10px;
}
.glass-card p, .benefit-card p {
    color: var(--text-muted); font-size: 0.95rem; line-height: 1.6;
}
.glass-card:hover .card-icon, .benefit-card:hover .benefit-icon {
    background: var(--primary);
    color: #061a15;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* --- PROJECTS --- */
/* Projects use image tiles with subtle transparency */
.projects-section { }

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.gallery-item {
    height: 280px; position: relative;
    border-radius: var(--radius); overflow: hidden;
    background: #000;
    border: 1px solid var(--glass-border);
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.8; transition: 0.5s;
}
.gallery-item:hover img { opacity: 1; transform: scale(1.1); }
.overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 25px;
    background: linear-gradient(0deg, #061a15 0%, transparent 100%);
    transform: translateY(100%); transition: 0.3s;
    border-bottom: 4px solid var(--primary);
}
.gallery-item:hover .overlay { transform: translateY(0); }
.overlay h4 { color: var(--primary); text-transform: uppercase; font-size: 1rem; letter-spacing: 1px; }

/* --- CONTACT FORM (Fixing Alignments) --- */
.contact-section { display: flex; justify-content: center; padding-bottom: 120px;}

.glass-container {
    width: 100%; max-width: 1200px;
    display: flex;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    /* Big soft shadow */
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.contact-info {
    flex: 1; padding: 60px;
    /* Divider between info and form */
    border-right: 1px solid var(--glass-border);
    background: rgba(124, 220, 146, 0.03); 
    display: flex; flex-direction: column; justify-content: center;
}

.contact-info h3 { 
    font-size: 2.2rem; color: #fff; margin-bottom: 10px; 
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.info-item {
    margin-top: 30px; display: flex; align-items: center; gap: 20px;
    font-size: 1.05rem; color: var(--text-main);
}
.info-item i {
    width: 40px; height: 40px; 
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--glass-border);
    color: var(--primary); background: rgba(0,0,0,0.2);
}

.contact-form { flex: 1.4; padding: 60px; }

.contact-form h3 {
    margin-bottom: 30px; color: var(--primary); font-size: 1.8rem;
}

/* Perfect alignment for Form Inputs */
.form-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; /* Space between name and email */
    margin-bottom: 30px;
}

.input-group { position: relative; margin-bottom: 35px; width: 100%; }

.input-group input, .input-group select {
    width: 100%; padding: 12px 5px;
    font-size: 1rem; color: #fff;
    background: transparent;
    border: none;
    border-bottom: 1px solid #455a55; /* Neutral border */
    border-radius: 0; outline: none;
    transition: 0.3s;
}

/* Dropdown styling */
.input-group select { cursor: pointer; color: var(--text-muted); }
.input-group select:focus { color: var(--primary); }
.input-group select option { background: #061a15; color: white; padding: 15px;}

.input-group label {
    position: absolute; left: 5px; top: 12px;
    color: var(--text-muted); pointer-events: none;
    transition: 0.3s ease-out;
}

/* Focus State Animations (Glows) */
.input-group input:focus, .input-group select:focus {
    border-bottom-color: var(--primary);
    box-shadow: 0 4px 4px -4px var(--primary-glow);
}
.input-group input:focus ~ label, 
.input-group input:not(:placeholder-shown) ~ label,
.input-group select:valid ~ label { /* valid selector checks if option is selected */
    top: -20px; left: 0;
    font-size: 0.85rem; color: var(--primary);
}

/* Submit Button */
.submit-btn {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, #7cdc92 0%, #4db567 100%);
    border: none; color: #04120f;
    border-radius: 6px; cursor: pointer;
    font-size: 1rem; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center; gap: 12px;
    transition: 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
    background: #fff;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 70px 8% 30px;
    background: rgba(4, 15, 12, 0.6);
}

.footer-content { 
    display: flex; justify-content: space-between; align-items: center; 
    flex-wrap: wrap; margin-bottom: 40px; 
}
.footer-brand h4 { font-size: 1.8rem; color: #fff; margin-bottom: 5px; }
.footer-brand p { color: var(--primary); font-family: monospace; }

.footer-socials { display: flex; gap: 15px; }
.footer-socials a {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid transparent;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); text-decoration: none; font-size: 1.4rem;
    transition: 0.3s;
}
.footer-socials a:hover {
    background: var(--primary); color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
    transform: rotate(360deg);
}

.footer-bottom { 
    text-align: center; padding-top: 20px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    font-size: 0.85rem; color: #5a756e;
}

/* --- MOBILE RESPONSIVENESS (Seamless) --- */
@media (max-width: 1024px) {
    .hero-section { flex-direction: column; text-align: center; gap: 30px; padding-top: 110px;}
    .hero-content { margin-bottom: 0; }
    .hero-btns { justify-content: center; }
    /* Hide 3D model on small/med screens for performance & layout */
    .hero-visual { display: none; }
    .form-grid { grid-template-columns: 1fr; gap: 0; } /* Stack form inputs */
}

@media (max-width: 768px) {
    section { padding: 80px 5%; }
    .hero-content h1 { font-size: 2.8rem; }
    .mobile-toggle { display: block; }
    
    .glass-container { flex-direction: column; }
    .contact-info, .contact-form { padding: 40px 25px; border-right: none;}
    .contact-info { border-bottom: 1px solid var(--glass-border); text-align: center;}
    .info-item { justify-content: center; }
    
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: #061a15; 
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column; padding: 25px 0; gap: 20px;
        clip-path: circle(0% at 100% 0);
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }
    .nav-links.active { clip-path: circle(150% at 100% 0); }
}