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

:root {
  --primary: #1a8a4a;
  --primary-light: #2aaa5a;
  --primary-fg: #ffffff;
  --secondary: #d49a06;
  --solar-dark: #162029;
  --solar-yellow: #d49a06;
  --solar-orange: #e8640d;
  --solar-blue: #1a7ab5;
  --solar-gray: #f2f5f3;
  --foreground: #1c2b33;
  --muted: #6b8090;
  --border: #dde5e0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-card: 0 4px 20px rgba(28,43,51,0.08);
  --shadow-card-hover: 0 8px 30px rgba(28,43,51,0.15);
  --radius: 8px;
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: var(--font-body); color: var(--foreground); background: #fff; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }
a { text-decoration:none; color:inherit; }
img { max-width:100%; height:auto; }
ul { list-style:none; }

.container { max-width:1280px; margin:0 auto; padding:0 20px; }
.section-padding { padding:80px 20px; }
.section-title { font-size:2.2rem; font-weight:700; margin-bottom:15px; }
.section-subtitle { color:var(--muted); font-size:1.1rem; max-width:600px; margin:0 auto; }
.text-center { text-align:center; }

/* Buttons */
.btn-solar { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 32px; border-radius:var(--radius); font-family:var(--font-heading); font-weight:600; background:var(--primary); color:var(--primary-fg); border:none; cursor:pointer; transition:all 0.3s; font-size:0.95rem; }
.btn-solar:hover { background:var(--primary-light); transform:translateY(-2px); box-shadow:0 4px 15px rgba(26,138,74,0.4); }
.btn-solar-outline { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 32px; border-radius:var(--radius); font-family:var(--font-heading); font-weight:600; background:transparent; color:var(--primary); border:2px solid var(--primary); cursor:pointer; transition:all 0.3s; font-size:0.95rem; }
.btn-solar-outline:hover { background:var(--primary); color:#fff; }
.btn-cta { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 32px; border-radius:var(--radius); font-family:var(--font-heading); font-weight:600; background:var(--solar-yellow); color:var(--foreground); border:none; cursor:pointer; transition:all 0.3s; font-size:0.95rem; }
.btn-cta:hover { background:var(--solar-orange); color:#fff; transform:translateY(-2px); }
.btn-white-outline { display:inline-flex; align-items:center; gap:8px; padding:12px 32px; border-radius:var(--radius); font-family:var(--font-heading); font-weight:600; background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.5); cursor:pointer; transition:all 0.3s; font-size:0.95rem; }
.btn-white-outline:hover { background:rgba(255,255,255,0.1); }

/* Top Bar */
.topbar { background:var(--solar-dark); color:#fff; font-size:0.90rem; padding:8px 0; }
.topbar .container { display:flex; justify-content:space-between; align-items:center; }
.topbar a { color:#fff; transition:color 0.3s; }
.topbar a:hover { color:var(--solar-yellow); }
.topbar-left { display:flex; align-items:center; gap:24px; }
.topbar-right { display:flex; align-items:center; gap:16px; }

/* Navbar */
.navbar { background:rgba(255,255,255,0.95); backdrop-filter:blur(10px); position:sticky; top:0; z-index:50; border-bottom:1px solid var(--border); }
.navbar .container { display:flex; align-items:center; justify-content:space-between; padding-top:12px; padding-bottom:12px; }
.navbar-logo img { height:70px; }
.navbar-links { display:flex; align-items:center; gap:32px; }
.navbar-links a { font-family:var(--font-heading); font-weight:600; font-size:0.85rem; text-transform:uppercase; letter-spacing:0.05em; color:var(--foreground); transition:color 0.3s; }
.navbar-links a:hover, .navbar-links a.active { color:var(--primary); }
.mobile-toggle { display:none; background:none; border:none; font-size:1.5rem; cursor:pointer; }
.mobile-menu { display:none; flex-direction:column; gap:16px; padding:20px; border-top:1px solid var(--border); background:#fff; }
.mobile-menu.active { display:flex; }

/* Hero Slider */
.hero-slider { position:relative; height:650px; overflow:hidden; }
.hero-slide { position:absolute; inset:0; opacity:0; transition:opacity 1s; }
.hero-slide.active { opacity:1; }
.hero-slide img { width:100%; height:100%; object-fit:cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* lighter */
  display: flex;
  align-items: center;
}
.hero-content { max-width:650px; }
.hero-subtitle { color:var(--solar-yellow); font-family:var(--font-heading); font-weight:600; font-size:0.85rem; text-transform:uppercase; letter-spacing:0.15em; margin-bottom:12px; }
.hero-title { font-size:3.5rem; font-weight:800; color:#fff; line-height:1.1; margin-bottom:24px; }
.hero-buttons { display:flex; gap:16px; flex-wrap:wrap; }
.hero-nav { position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,0.2); backdrop-filter:blur(5px); border:none; color:#fff; font-size:1.5rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.3s; }
.hero-nav:hover { background:var(--primary); }
.hero-nav.prev { left:16px; }
.hero-nav.next { right:16px; }
.hero-dots { position:absolute; bottom:24px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.hero-dot { width:12px; height:12px; border-radius:50%; background:rgba(255,255,255,0.4); border:none; cursor:pointer; transition:all 0.3s; }
.hero-dot.active { background:var(--solar-yellow); width:32px; border-radius:6px; }

/* Stats Bar */
.stats-bar { background:linear-gradient(135deg, var(--primary), var(--solar-blue)); padding:32px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; color:#fff; }
.stat-number { font-size:2.8rem; font-weight:800; font-family:var(--font-heading); }
.stat-label { font-family:var(--font-heading); font-size:0.85rem; opacity:0.8; margin-top:4px; }

/* Cards */
.card { background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-card); transition:all 0.3s; }
.card:hover { box-shadow:var(--shadow-card-hover); transform:translateY(-5px); }
.card-body { padding:32px; }
.card-img { width:100%; height:224px; object-fit:cover; transition:transform 0.5s; }
.card:hover .card-img { transform:scale(1.1); }
.card-img-wrapper { overflow:hidden; position:relative; }

/* Grids */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:48px; align-items:center; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.grid-3-2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
}

/* Icon Box */
.icon-box { width:56px; height:56px; border-radius:var(--radius); background:rgba(26,138,74,0.1); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.icon-box svg, .icon-box i { color:var(--primary); font-size:1.5rem; width:28px; height:28px; }
.icon-circle { width:40px; height:40px; border-radius:50%; background:rgba(26,138,74,0.1); display:flex; align-items:center; justify-content:center; flex-shrink:0; }

/* Why Choose Us List */
.feature-list { display:flex; flex-direction:column; gap:16px; }
.feature-item { display:flex; align-items:center; gap:12px; }
.feature-item span { font-family:var(--font-heading); font-weight:500; }

/* Section backgrounds */
.bg-gray { background:var(--solar-gray); }
.bg-white { background:#fff; }
.bg-image {
    background: 
        linear-gradient(rgba(0, 80, 0, 0.6), rgba(0, 40, 0, 0.8)),
        url('../images/hero-slide-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

/* Testimonials */
.stars { display:flex; gap:4px; margin-bottom:16px; color:var(--solar-yellow); }
.testimonial-text { color:var(--muted); font-size:0.9rem; line-height:1.7; font-style:italic; margin-bottom:16px; }
.testimonial-author { border-top:1px solid var(--border); padding-top:16px; }

/* Page Banner */
.page-banner { position:relative; height:300px; overflow:hidden; }
.page-banner img { width:100%; height:100%; object-fit:cover; }
.page-banner .hero-overlay { align-items:center; justify-content:center; text-align:center; }
.page-banner h1 { font-size:3rem; font-weight:800; color:#fff; margin-bottom:8px; }
.page-banner p { font-family:var(--font-heading); color:rgba(255,255,255,0.8); }

/* CTA Section */
.cta-section { position:relative; padding:80px 0; overflow:hidden; }
.cta-section img.cta-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cta-section .hero-overlay { position:absolute; inset:0; }
.cta-section .container { position:relative; z-index:1; }
.cta-gradient { background:linear-gradient(135deg, var(--primary), var(--solar-blue)); padding:64px 0; }

/* Footer */
.footer { background:var(--solar-dark); color:rgba(255,255,255,0.85); }
.footer-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:64px; }
.footer h4 { font-size:1.1rem; font-weight:700; color:var(--solar-yellow); margin-bottom:16px; }
.footer ul { display:flex; flex-direction:column; gap:12px; }
.footer a { opacity:0.7; transition:all 0.3s; font-size:0.9rem; }
.footer a:hover { opacity:1; color:var(--solar-yellow); }
.footer-logo { height:70px; margin-bottom:16px; }
.footer-bottom { border-top:1px solid rgba(26,138,74,0.2); margin-top:16px; padding:24px 0; display:flex; justify-content:space-between; align-items:center; font-size:0.85rem; opacity:0.6; }
.footer-social { display:flex; gap:16px; margin-top:24px; }
.footer-social a { width:36px; height:36px; border-radius:50%; background:rgba(26,138,74,0.2); display:flex; align-items:center; justify-content:center; transition:background 0.3s; }
.footer-social a:hover { background:var(--primary); }
.footer-social svg { width:16px; height:16px; }

/* Back to top */
.back-to-top { position:fixed; bottom:24px; right:24px; width:48px; height:48px; border-radius:50%; background:var(--primary); color:#fff; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(0,0,0,0.2); z-index:40; transition:background 0.3s; }
.back-to-top:hover { background:var(--primary-light); }

/* Contact Form */
.form-group { margin-bottom:16px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.form-control { width:100%; padding:12px 16px; border:1px solid var(--border); border-radius:var(--radius); font-family:var(--font-body); font-size:0.95rem; color:var(--foreground); background:#fff; outline:none; transition:border-color 0.3s; }
.form-control:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(26,138,74,0.1); }
textarea.form-control { resize:none; }

/* Project Detail */
.project-hero { height:400px; }
.project-hero .hero-overlay { align-items:flex-end; }
.project-hero .container { padding-bottom:40px; }
.back-link { display:inline-flex; align-items:center; gap:8px; color:rgba(255,255,255,0.8); font-family:var(--font-heading); font-size:0.85rem; margin-bottom:16px; transition:color 0.3s; }
.back-link:hover { color:var(--solar-yellow); }
.project-sidebar .card { margin-bottom:24px; }
.detail-list { display:flex; flex-direction:column; gap:16px; }
.detail-item { display:flex; justify-content:space-between; align-items:flex-start; }
.detail-label { color:var(--muted); font-size:0.85rem; }
.detail-value { font-family:var(--font-heading); font-weight:600; font-size:0.85rem; text-align:right; max-width:55%; }
.impact-card { background:linear-gradient(135deg, var(--primary), var(--solar-blue)); border-radius:var(--radius); padding:24px; color:#fff; }
.impact-item { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.impact-icon { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.highlight-list li { display:flex; align-items:flex-start; gap:12px; margin-bottom:12px; color:var(--muted); }
.highlight-list svg { color:var(--primary); flex-shrink:0; margin-top:4px; }
.project-gallery { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.badge { position:absolute; top:16px; left:16px; background:var(--primary); color:#fff; font-family:var(--font-heading); font-weight:600; font-size:0.75rem; padding:4px 12px; border-radius:20px; }
.grid-3-sidebar { display:grid; grid-template-columns:2fr 1fr; gap:48px; }

/* Team */
.team-avatar { width:80px; height:80px; border-radius:50%; background:rgba(26,138,74,0.1); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-family:var(--font-heading); font-weight:700; font-size:1.5rem; color:var(--primary); }

/* Service Detail */
.service-block { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; margin-bottom:80px; }
.service-block:last-child { margin-bottom:0; }
.service-block.reverse { direction:rtl; }
.service-block.reverse > * { direction:ltr; }
.service-features li { display:flex; align-items:center; gap:8px; font-size:0.9rem; margin-bottom:8px; }
.service-features svg { color:var(--primary); width:14px; height:14px; flex-shrink:0; }

/* Map */
.map-container { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-card); height:256px; margin-top:24px; }

/* Responsive */
@media (max-width:1024px) {
  .grid-2, .grid-3-2, .service-block, .grid-3-sidebar { grid-template-columns:1fr; }
  .service-block.reverse { direction:ltr; }
  .navbar-links { display:none; }
  .mobile-toggle { display:block; }
  .hero-title { font-size:2.5rem; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); gap:40px; }
}

@media (max-width:768px) {
  .grid-3, .grid-4, .project-gallery { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .hero-slider { height:500px; }
  .hero-title { font-size:2rem; }
  .section-title { font-size:1.8rem; }
  .topbar { display:none; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
  .stat-number { font-size:2rem; }
}

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to { opacity:1; transform:translateY(0); }
}
.animate-fade-in-up { animation:fadeInUp 0.8s ease-out forwards; }


/* Card Grid */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:20px}
.card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:all 0.3s;cursor:pointer}
.card:hover{box-shadow:var(--shadow-hover);transform:translateY(-5px)}
.card-img-wrapper{position:relative;height:220px;overflow:hidden}
.card-img-wrapper img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s}
.card:hover .card-img-wrapper img{transform:scale(1.1)}
.card-badge{position:absolute;top:16px;left:16px;background:var(--primary);color:#fff;font-family:var(--font-heading);font-weight:600;font-size:14px;padding:4px 14px;border-radius:20px}
.card-body{padding:20px}
.card-body h3{font-family:var(--font-heading);font-weight:700;font-size:17px;margin-bottom:6px}
.card-body p{font-size:14px;color:var(--text-light);line-height:1.6}

/* ===== FIXES ===== */

/* Why Choose section - remove green overlay, use dark overlay like hero */
.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
}
.bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
}
.bg-image > * {
    position: relative;
    z-index: 1;
}
.bg-image .section-title,
.bg-image h2,
.bg-image h4,
.bg-image p {
    color: #fff;
}
.bg-image .card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}
.bg-image .card h4 { color: #fff; }
.bg-image .card p { color: rgba(255,255,255,0.85) !important; }
.bg-image .icon-box {
    background: rgba(255,255,255,0.15);
}
.bg-image .icon-box i { color: var(--solar-yellow); }

/* Card grid responsive fix */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr !important;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Team grid - max 3 per row on desktop */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Learn more button for cards */
.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 12px;
    text-decoration: none;
}
.btn-learn-more:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Detail page cover image above content */
.detail-cover-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    margin-bottom: 32px;
}

/* Services sidebar list */
.services-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.services-sidebar-list li {
    border-bottom: 1px solid #e2e8f0;
}
.services-sidebar-list li:last-child {
    border-bottom: none;
}
.services-sidebar-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--foreground);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.services-sidebar-list a:hover,
.services-sidebar-list a.active-service {
    background: rgba(26,138,74,0.08);
    color: var(--primary);
}
.services-sidebar-list a i {
    color: var(--primary);
    font-size: 0.75rem;
}
