@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

:root {
  --primary-green: #8bc34a;
  --dark-green: #689f38;
  --white: #ffffff;
  --black: #000000;
  --text-dark: #333333;
  --overlay-dark: rgba(0, 0, 0, 0.5);

  --font-primary: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-heading: "Montserrat", "Arial Black", Arial, sans-serif;
  --transition: all 0.3s ease;
}

body {
  margin: 0;
  font-family: "Poppins", Helvetica, sans-serif;
  color: #243424;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 10px 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    padding 0.3s ease;
}

.nav-container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.logo-img {
  width: 160px;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

nav {
  display: flex;
}

nav a {
  position: relative;
  color: #8bc34a;
  margin-left: 40px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #8bc34a;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: none;
  padding: 6px 14px;
  font-size: 20px;
  border-radius: 8px;
  cursor: pointer;
}


.hero {
    background: url("/images/solar2.jpg") no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .hero p {
    font-size: 20px;
  }
  
  .services {
    padding: 80px 8%;
    background: #ffffff;
    position: relative;
  }
  
  .services::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#eaf5ef 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.4;
  }
  
  .services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    position: relative;
    z-index: 1;
  }
  
  .service-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    background-color: #a7d67183;
    cursor: pointer;
  }
  
  .service-card i {
    font-size: 45px;
    color: #8bc34a;
    margin-bottom: 15px;
  }
  
  .service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #243424;
  }
  
  .service-card p {
    font-size: 15px;
    color: #4f6f57;
    line-height: 1.6;
  }
  
  .service-cta {
    background: #8bc34a;
    color: #ffffff;
    padding: 70px 20px;
    text-align: center;
  }
  
  .service-cta h2 {
    font-size: 36px;
  }
  
  .service-cta p {
    font-size: 18px;
    margin: 15px 0 25px;
  }
  
  .cta-btn {
    display: inline-block;
    padding: 12px 26px;
    background: #518517;
    color: #ffffff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .cta-btn:hover {
    background: #31520d;
    color: white;
  }


.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='none' stroke='rgba(139, 195, 74, 0.1)' stroke-width='2' d='M0,160 Q360,120 720,160 T1440,160'/%3E%3C/svg%3E");
  background-size: 100% auto;
  background-position: top center;
  background-repeat: repeat-x;
  opacity: 0.5;
  pointer-events: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  letter-spacing: 2px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(139, 195, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: var(--primary-green);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-green);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-green);
}

.footer-contact a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-green);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  margin-bottom: 30px;
}

.footer-bottom {
  padding-bottom: 30px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #999999;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-bottom-links a {
  color: #999999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary-green);
}

.footer-bottom-links .separator {
  color: #555555;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav a {
    margin: 0;
    padding: 8px 16px;
    color: #0b1f3a;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
  }

  .hero {
    padding: 70px 15px;
  }

  .hero h1 {
    font-size: 32px;
  }

}

@media (max-width: 992px) {
  .logo-img {
    width: 140px;
  }
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .logo {
    justify-content: center;
  }

  .logo-img {
    width: 120px;
  }
}

@media (max-width: 600px) {
    .services-container {
      grid-template-columns: 1fr; 
    }
  }

@media (max-width: 480px) {
  .logo-img {
    width: 100px;
  }
}

@media (max-width: 480px) {
  nav a {
    font-size: 12px;
    padding: 7px 14px;
  }
}

.menu-toggle {
  display: none;
  color: #0b1f3a;
  border: none;
  padding: 4px 14px;
  font-size: 20px;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
  }

  nav.show {
    display: flex;
  }

  nav a {
    background: #8bc34a;
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
  }
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer-container {
    padding: 0 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-logo h2 {
    font-size: 1.5rem;
  }

  .footer-heading {
    font-size: 1.1rem;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {

  nav {
    position: fixed;
    top: 43px; 
    left: 0;
    width: 100%;
    height: calc(100vh - 43px);
    background: #000;
    flex-direction: column;
    padding: 0 16px;   
    box-sizing: border-box;

    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
  }

  nav.show {
    transform: translateX(0);
  }

  nav a {
    background: none;
    color: #fff;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 247, 247, 0.2);
    text-align: left;
    border-radius: 0;
  }

  nav a:last-child {
    border-bottom: none;
  }
}