/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Poppins', sans-serif;
  color: #1f2937;
  background: #f9fafb;
  scroll-behavior: smooth;
}

/* HEADER */
header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  padding: 15px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  color: #16a34a;
  font-size: 24px;
  font-weight: 700;
}

/* NAV */
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #16a34a;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #16a34a;
}

/* HERO */
.hero-home {
  height: 95vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
              url('solar.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-home h1 {
  font-size: 52px;
  animation: fadeUp 1s ease forwards;
}

.hero-home p {
  margin: 20px 0;
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 1.5s ease forwards;
}

/* BUTTON */
.btn {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  padding: 14px 28px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(22,163,74,0.3);
}

/* SECTION */
.section {
  padding: 90px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.section h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.section p {
  max-width: 750px;
  margin: auto;
  line-height: 1.7;
  color: #4b5563;
}

/* GRID */
.grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

/* CARD */
.card {
  background: white;
  padding: 30px;
  width: 300px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* CTA */
.cta-home {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

/* FOOTER */
footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 20px;
}

/* FORM */
form input, form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* WHATSAPP BUTTON */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 22px;
  padding: 15px 18px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {opacity:0; transform:translateY(40px);}
  to {opacity:1; transform:translateY(0);}
}

@keyframes pulse {
  0% {box-shadow:0 0 0 0 rgba(37,211,102,0.7);}
  70% {box-shadow:0 0 0 15px rgba(37,211,102,0);}
  100% {box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

/* MOBILE */
@media(max-width:768px) {
  header {flex-direction: column;}
  .hero-home h1 {font-size: 32px;}
}