@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.2px;
}

h1, h2, h3, h4 {
  letter-spacing: 0.4px;
}

h1 {
  font-weight: 700;
}

h2.section-title {
  margin-bottom: 35px;
  font-weight: 700;
  position: relative;
}

h2.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--solar-green), var(--solar-light));
  display: block;
  margin: 14px auto 0;
  border-radius: 2px;
}

:root {
  --solar-green: #1e7f4b;
  --solar-light: #2ecc71;
  --solar-dark: #145a32;
  --accent-yellow: #f1c40f;
  --bg-soft: #f6fbf8;
  --text-dark: #1f2933;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: #fff;
}

* {
  transition: background-color 0.3s ease,
              color 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.3s ease;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}



.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}


.main-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--solar-green);
}

.brand-tagline {
  font-size: 11px;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.5px;
}

.logo span {
  font-size: 22px;
  font-weight: bold;
  color: #1e7f4b;
}
.logo:hover img {
  transform: scale(1.05);
}

.logo:hover .brand-name {
  color: var(--solar-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  position: relative;
}


.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #1e7f4b;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-btn {
  background: #1e7f4b;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 6px;
}

.nav-btn:hover {
  background: #0b5d35;
}

@media(max-width:768px){
  .main-nav {
    display: none; /* hamburger can be added later */
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-tagline {
    display: none; /* hide tagline on small screens */
  }
}




.hero {
  background: #1e7f4b;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.hero-buttons {
  margin-top: 20px;
}


.btn {
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--solar-green), var(--solar-light));
  color: #fff;
}

.btn.outline {
  border: 2px solid var(--solar-green);
  color: var(--solar-green);
}


.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  margin: 5px;
}

.primary {
  background: #ffffff;
  color: #1e7f4b;
  font-weight: bold;
}

.secondary {
  background: #0b5d35;
  color: #fff;
}

.small {
  padding: 8px 14px;
}


.section {
  padding: 90px 0;
}

.section.light {
  background: var(--bg-soft);
}


.section-title {
  text-align: center;
  margin-bottom: 30px;
  color: #1e7f4b;
}



.card,
.service-card,
.solution-card,
.info-card,
.contact-card,
.testimonial-card,
.comparison-card,
.stat-card {
  border-radius: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.card.highlight {
  border-left: 5px solid #1e7f4b;
}

.card.step span {
  display: inline-block;
  background: #1e7f4b;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  margin-bottom: 10px;
}

p {
  line-height: 1.7;
  font-size: 0.95rem;
  opacity: 0.92;
}

ul li {
  line-height: 1.6;
}
img {
  border-radius: 16px;
}

.image-box img,
.gallery-item img {
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}



.footer {
  background: #0b5d35;
  color: #fff;
  text-align: center;
  padding: 20px;
}


@media (max-width: 768px) {
  .nav {
    justify-content: center;
  }
}

.hero-slider {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide .overlay {
  background: rgba(0,0,0,0.55);
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.slide h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.slide p {
  font-size: 18px;
  margin-bottom: 20px;
}


.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}


.btn:hover {
  opacity: 0.9;
}


@media(max-width:768px){
  .slide h2 { font-size: 26px; }
  .slide p { font-size: 15px; }
  .hero-slider { height: 60vh; }
}


.hero-slider {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1.5s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.3)
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 650px;
  padding: 80px;
  margin-left: 8%;
  animation: slideText 1.2s ease;
}

.slide-content h2 {
  font-size: 42px;
  margin-bottom: 12px;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

@keyframes slideText {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media(max-width:768px){
  .slide-content {
    padding: 40px;
  }
  .slide-content h2 {
    font-size: 28px;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #1e7f4b;
  margin: 4px 0;
  transition: 0.3s;
}


@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }

  .main-nav.active {
    display: flex;
    animation: slideDown 0.35s ease;
  }

  .main-nav a {
    font-size: 16px;
  }
}


@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
input, select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#solarOutput .card h4 {
  color: #1e7f4b;
  margin-bottom: 8px;
}

#solarOutput .card strong {
  font-size: 20px;
}

#solar-vs-grid .highlight {
  border-left: 6px solid #1e7f4b;
  background: #f1fbf6;
}
#solarInputWrapper {
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#solar-estimate,
#solar-vs-grid {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: right;
}

table th {
  background: #1e7f4b;
  color: #fff;
  text-align: center;
}
.btn.whatsapp {
  background: #25D366;
  color: #fff;
}




.page-hero {
  background: linear-gradient(
    135deg,
    #145a32,
    #1e7f4b,
    #2ecc71
  );
  color: #fff;
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255,255,255,0.15),
    transparent 60%
  );
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
}

.page-hero p {
  opacity: 0.9;
  margin-top: 10px;
  font-size: 1.1rem;
}


.hero-actions {
  margin-top: 20px;
}

.hero-actions .btn {
  margin: 5px;
}

.service-card,
.solution-card {
  background: linear-gradient(
    180deg,
    #ffffff,
    #f4fbf7
  );
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.service-card::before,
.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(46,204,113,0.15),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover::before,
.solution-card:hover::before {
  opacity: 1;
}

.service-card:hover,
.solution-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(30,127,75,0.25);
}

.service-card:hover,
.solution-card:hover {
  transform: translateY(-6px);
}

.service-card .icon {
  font-size: 42px;
  color: var(--solar-green);
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.service-card:hover .icon {
  transform: rotate(-8deg) scale(1.15);
}
.section:hover {
  box-shadow: inset 0 0 0 9999px rgba(46,204,113,0.02);
  transition: box-shadow 0.5s;
}


.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}

.step {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(30,127,75,0.2);
}

.step span {
  background: linear-gradient(135deg, var(--solar-green), var(--solar-light));
  font-weight: bold;
}
.cta-section {
  background: linear-gradient(
    135deg,
    #013105,
    #4f2d06
  );
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
}
.cta-section .btn.primary {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 0 rgba(241,196,15,0.6);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(241,196,15,0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(241,196,15,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241,196,15,0);
  }
}

.cta-section .btn.outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.cta-section .btn:hover {
  transform: translateY(-3px);
}
h2.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--solar-dark);
}

.service-card p,
.solution-card p {
  line-height: 1.6;
  opacity: 0.9;
}

.service-card ul li {
  margin: 6px 0;
  position: relative;
  padding-left: 18px;
}

.service-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--solar-green);
}



.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 40px;
  align-items: center;
}

.image-box img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.info-card {
  background: linear-gradient(180deg, #ffffff, #f4fbf7);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(30,127,75,0.25);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}

.icon-item {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-weight: 500;
}

.stats-section {
  background: linear-gradient(135deg, #183d19, #a89b43);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 25px;
}

.stat-card {
  text-align: center;
  padding: 25px;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  backdrop-filter: blur(6px);
}

.stat-card h3 {
  font-size: 2.4rem;
  font-weight: 700;
}

.stat-card h3 {
  font-size: 2.6rem;
  font-weight: 800;
  transition: color 0.3s ease;
}

.stat-card:hover h3 {
  color: #f1c40f;
}


.contact-card {
  background: linear-gradient(180deg, #ffffff, #f4fbf7);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(30,127,75,0.25);
}

.contact-card .icon {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--solar-green);
}


.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--solar-green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(30,127,75,0.15);
}

.map-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-card {
  background: linear-gradient(180deg, #ffffff, #f4fbf7);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(30,127,75,0.25);
}

.testimonial-card .stars {
  color: #f1c40f;
  font-size: 20px;
  margin-bottom: 12px;
}

.testimonial-card .quote {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 15px;
}


.comparison-card {
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.comparison-card.before {
  background: #fff5f5;
}

.comparison-card.after {
  background: #f4fbf7;
}

.comparison-card h3 {
  margin-bottom: 12px;
}

.comparison-card ul li {
  margin: 8px 0;
  position: relative;
  padding-left: 18px;
}

.comparison-card.after ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--solar-green);
}


.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}

.trust-item {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-weight: 500;
}


.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid var(--solar-green);
  background: transparent;
  color: var(--solar-green);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--solar-green);
  color: #fff;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    transparent
  );
  display: flex;
  align-items: flex-end;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item h4 {
  color: #fff;
  margin: 0;
}
@media (max-width: 768px) {
  .page-hero {
    padding: 70px 0;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
