/* style.css */
:root {
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    --primary: #F59E0B; /* Amber/Solar */
    --primary-hover: #D97706;
    --secondary: #10B981; /* Green */
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow: 0 0 20px rgba(245, 158, 11, 0.3);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, .logo-text { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 16px; }
.section-subtitle { font-size: 1.25rem; color: var(--primary); margin-bottom: 32px; font-weight: 500;}
.section-desc { color: var(--text-muted); font-size: 1.125rem; max-width: 600px; margin: 0 auto 64px;}
.text-center { text-align: center; }

/* Variables for Gradients */
.text-gradient {
    background: linear-gradient(135deg, #Fcd34d 0%, #F59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-accent { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: var(--radius-sm);
    font-weight: 600; transition: all 0.3s ease; cursor: pointer;
}
.btn-primary { background-color: var(--primary); color: #fff; border: 2px solid var(--primary); }
.btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--glow); }

.btn-outline { background-color: transparent; color: var(--text-main); border: 2px solid var(--border-color); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-nav { border: 1px solid var(--primary); color: var(--primary); padding: 8px 20px;}
.btn-outline-nav:hover { background-color: var(--primary); color: #fff;}
.btn-full { width: 100%; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 0; transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 15px 0; border-bottom: 1px solid var(--border-color);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-main); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.menu-toggle .bar { width: 24px; height: 2px; background: var(--text-main); transition: 0.3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.3) 100%); }
.hero-content { display: grid; grid-template-columns: 1fr; gap: 64px; }
.hero-text { max-width: 650px; }
.hero-text h1 { font-size: clamp(3rem, 5vw, 4.5rem); margin: 24px 0; }
.hero-text p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 20px; }
.badge { display: inline-block; padding: 6px 16px; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); color: var(--primary); border-radius: 100px; font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; }

.hero-stats { display: flex; gap: 24px; margin-top: 64px; }
.glass-stat {
    background: var(--glass-bg); backdrop-filter: blur(8px); border: 1px solid var(--glass-border);
    padding: 20px 32px; border-radius: var(--radius-md); text-align: center;
}
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading);}
.stat-label { font-size: 0.875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-md); box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2); }

/* About */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image-wrapper { position: relative; }
.image-card { padding: 10px; }
.about-img { border-radius: var(--radius-sm); }
.floating-badge {
    position: absolute; bottom: -20px; right: -20px; background: var(--bg-card); padding: 16px 24px;
    border-radius: var(--radius-md); border: 1px solid var(--border-color); display: flex; align-items: center; gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); font-weight: 600;
}
.badge-icon { background: var(--primary); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 1.125rem; }
.check-icon { color: var(--primary); font-weight: bold; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.service-card { padding: 40px 32px; }
.service-icon { font-size: 3rem; margin-bottom: 24px; }
.service-title { font-size: 1.5rem; margin-bottom: 16px; }

/* Benefits Banner */
.benefits-banner { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, transparent 100%), var(--bg-card); position: relative; }
.benefits-banner::before { content: ''; position: absolute; top:0; left:0; right:0; height:1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0.3;}
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.benefit-item { text-align: center; }
.b-icon { font-size: 2.5rem; margin-bottom: 16px; }
.benefit-item h4 { font-size: 1.25rem; margin-bottom: 8px; }
.benefit-item p { color: var(--text-muted); font-size: 0.9rem;}

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; }
.project-card { overflow: hidden; padding: 0; }
.project-img-container { height: 240px; overflow: hidden; position: relative;}
.p-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .p-img { transform: scale(1.05); }
.bg-placeholder { background: linear-gradient(45deg, #1e293b, #0f172a); }
.bg-placeholder-2 { background: linear-gradient(135deg, #0f172a, #1e293b); }
.project-info { padding: 32px; }
.project-info h3 { font-size: 1.5rem; margin-bottom: 8px; }
.location { color: var(--primary); margin-bottom: 24px; font-weight: 500;}
.project-stats { display: flex; gap: 24px; border-top: 1px solid var(--border-color); padding-top: 24px; }
.p-stat { display: flex; flex-direction: column; font-size: 0.875rem; color: var(--text-muted); }
.p-stat strong { color: var(--text-main); font-size: 1.125rem; }
.reference-logos { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; color: var(--text-muted); font-weight: 500;}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: center; }
.pricing-card { padding: 48px 32px; text-align: center; position: relative;}
.highlight-card { border-color: var(--primary); transform: scale(1.05); z-index: 10; background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%); }
.highlight-card:hover { transform: scale(1.05) translateY(-5px); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 0.875rem; font-weight: 600; }
.pricing-header h3 { font-size: 1.75rem; margin-bottom: 8px; }
.pricing-header p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 32px; }
.pricing-price { font-size: 3rem; font-weight: 800; font-family: var(--font-heading); margin-bottom: 32px; }
.from { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.currency { font-size: 1.5rem; }
.pricing-features { text-align: left; margin-bottom: 40px; }
.pricing-features li { margin-bottom: 16px; display: flex; gap: 12px; align-items: center; }
.pricing-features li span { color: var(--primary); }

/* Team & FAQ (Two Cols) */
.two-cols-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.team-list { display: flex; flex-direction: column; gap: 20px; }
.team-member { padding: 20px; display: flex; align-items: center; gap: 20px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border-color); transition: transform 0.3s;}
.team-member:hover { transform: translateX(10px); border-color: var(--primary); }
.t-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: #fff; }

/* FAQ Accordion */
.faq-accordion { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question { width: 100%; background: transparent; border: none; padding: 24px; text-align: left; font-size: 1.125rem; font-family: var(--font-body); font-weight: 600; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
.faq-question:hover { color: var(--primary); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: var(--text-muted); }
.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-answer { padding: 0 24px 24px 24px; max-height: 200px; }

/* Footer */
.footer { background: #0A0F18; padding: 80px 0 40px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer h3 { font-size: 1.25rem; margin-bottom: 24px; color: #fff; }
.footer p, .footer a { color: var(--text-muted); margin-bottom: 12px; transition: color 0.3s;}
.footer a:hover { color: var(--primary); }
.footer-links li { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 32px; font-size: 0.875rem; color: rgba(255,255,255,0.5); }

/* Animations */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }

.reveal-up.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0, 0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .highlight-card { transform: scale(1); }
    .highlight-card:hover { transform: translateY(-5px); }
    .two-cols-grid { grid-template-columns: 1fr; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .about-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); flex-direction: column; gap: 0; padding: 20px 0; border-bottom: 1px solid var(--border-color); transform: translateY(-20px); opacity: 0; pointer-events: none; transition: 0.3s; }
    .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-links a { padding: 16px 24px; display: block; width: 100%; text-align: center; }
    .btn-outline-nav { width: auto; margin: 16px auto; }
    .benefits-grid { grid-template-columns: 1px 1fr; } /* Fix mobile view */
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-text h1 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; width: 100%; }
    .glass-stat { width: 100%; }
}
/* Add styles for subpages */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.95)), url('assets/hero_solar.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}
.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}
.breadcrumb {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}
.breadcrumb a {
    color: var(--primary);
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: var(--primary-hover);
}
.subpage-content {
    min-height: 50vh;
}
