/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
  background-color: #f4f9f9;
  line-height: 1.7;
}

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  background: url('images/solar.jpg') center center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust transparency here */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

@media (min-height: 780px) {
.hero-content h1 {
     font-size: 5.5rem;
  }
}


.hero-content p {
  font-size: 1.5rem;
  font-weight: 300;
}

@media (min-height: 780px) {
.hero-content p {
     font-size: 2.5rem;
  }
}


/* Sections */
.section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10%;
  gap: 40px;
  background-color: #fff;
  border-radius: 12px;
  margin: 40px 5%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

@media (min-height: 780px) {
  .section {
     max-height: 100%;
     height: 500px;
  }
}

.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.text-content h2 {
  text-align: center;
  font-size: 2.4rem;
  color: #004d40;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
}

@media (min-height: 780px) {
.text-content h2  {
     font-size: 2.8rem;
  }
}


.text-content h2::after {
  content: '';
  display: block;
  width: 420px;
  height: 4px;
  background: #28a745;
  margin: 20px auto 0;
}


.text-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (min-height: 780px) {
.text-content p {
     font-size: 1.5rem;
  }
}

.image-content img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease-in-out;
}

.image-content img:hover {
  transform: scale(1.03);
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  background-color: #00796b;
  color: white;
  font-size: 1rem;
}

footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}