/* ===============================
   GLOBAL RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   COMMON LAYOUT
================================ */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.light-bg {
  background: #f5f7f6;
}

/* ===============================
   HEADER
================================ */
.header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  height: 70px;
}

.nav-menu a {
  margin-left: 24px;
  text-decoration: none;
  color: #0a7c3b;
  font-weight: 600;
  font-size: 16px;
}

.nav-menu a:hover {
  color: #056b30;
}

.nav-menu a.active {
  border-bottom: 3px solid #0a7c3b;
  padding-bottom: 4px;
}

/* ===============================
   HERO SECTION (NO OVERLAP)
================================ */
.hero {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
              url("../images/solar.jpg") center/cover no-repeat;
  color: #ffffff;
  padding: 150px 0;
}

.hero-content {
  max-width: 760px;
  margin: auto;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
}

/* Trust Badges */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-trust span {
  background: rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
}

/* Buttons */
.hero-buttons {
  margin-bottom: 20px;
}

.btn-primary {
  background: #0a7c3b;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-right: 12px;
}

.btn-primary:hover {
  background: #056b30;
}

.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.hero-note {
  font-size: 14px;
  opacity: 0.9;
}

/* ===============================
   ABOUT SECTION
================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.rounded-img {
  border-radius: 14px;
}

.check-list {
  list-style: none;
  margin-top: 15px;
}

.check-list li {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0a7c3b;
}

/* ===============================
   SERVICES
================================ */
.section-title {
  text-align: center;
  color: #0a7c3b;
  font-size: 32px;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: auto;
  color: #555;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* ===============================
   STATS
================================ */
.stats {
  background: #0a7c3b;
  color: #ffffff;
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.stats-grid h3 {
  font-size: 40px;
  margin-bottom: 6px;
}

/* ===============================
   CTA
================================ */
.cta {
  background: #f4f7f6;
  padding: 90px 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 10px;
}

/* ===============================
   FOOTER
================================ */
.footer {
  background: #0a7c3b;
  color: #ffffff;
  text-align: center;
  padding: 22px;
}

/* ===============================
   CONTACT FORM
================================ */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-form button {
  background: #0a7c3b;
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #056b30;
}

/* ===============================
   WHATSAPP FLOAT
================================ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-float img {
  width: 55px;
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {

  .logo {
    height: 55px;
  }

  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu a {
    margin: 8px 12px;
  }

  .hero {
    padding: 100px 0;
  }

  .hero h1 {
    font-size: 30px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
/* ===============================
   MOBILE STICKY CALL + WHATSAPP
================================ */

.mobile-sticky-bar {
  display: none;
}

/* Mobile Only */
@media (max-width: 768px) {

  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 2000;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
  }

  .mobile-sticky-bar a {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
  }

  .call-btn {
    background: #0a7c3b;
  }

  .whatsapp-btn {
    background: #25D366;
  }

  /* Prevent content hiding behind bar */
  body {
    padding-bottom: 60px;
  }
}
/* ===============================
   SOLAR CALCULATOR
================================ */
.calculator-box {
  max-width: 450px;
  margin: 40px auto 0;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.calculator-box label {
  font-weight: 600;
  margin-top: 12px;
  display: block;
}

.calculator-box input,
.calculator-box select {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.calculator-box button {
  width: 100%;
  background: #0a7c3b;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.calc-result {
  margin-top: 20px;
  font-size: 15px;
}

/* ===============================
   POPUP FORM
================================ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.popup-box {
  background: #fff;
  width: 90%;
  max-width: 380px;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  position: relative;
}

.popup-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.popup-box button {
  background: #0a7c3b;
  color: #fff;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 6px;
  font-weight: 600;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}
