/* General Reset */
body {
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
  background: white;
  color: #333;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  border: 0;
  width: 100%;
}

/* Header and Navigation */
header {
  display: block;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0;
  background: white;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #fafafa;
}

header .logo img {
  height: 60px;
}

/* Menu button */
nav {
  display: flex;
  margin: 0 auto;
  justify-content: left;
  max-width: 1280px;
  width: 100%;
  align-items: center;
  background: white;
  color: #333;;
  padding: 5px 0;
  z-index: 900;
  font-size: 0; /* Kill gaps */
  z-index: 3;
}

.navimg {
  width: 150px;
  left:  0;
}

nav img {
  width: 150px;
  margin-right: auto;
}

nav a, .dropbtn {
  color: var(--color-headerfont);
  text-decoration: none;
  padding: 10px 10px;

  transition: background 0.3s;
}

nav a:hover, .dropbtn:hover {
  background: #34495e;
  color: white;
}

nav a, nav .dropdown, .dropbtn {
  font-size: 16px; /* Reset to normal */
}

/* Dropdown */
.dropdown {
  position: relative;
}

/* Sub-menu */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f4f4f9;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
  display: block;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.dropdown-content a:hover {
  background: #2c7a2c;
}

/* Menu button */
.menu-toggle {
  display: none;
  background: white;
  color: black;
  padding: 10px 15px;
  font-size: 20px;
  border: none;
  cursor: pointer;
  margin-left: auto;
}


/* Hero Section */
.hero {
    background-image:  url("https://3eenergy.co.uk/images/andreas-gucklhorn-unsplash.jpg");
    background-repeat: no-repeat;
   /*background: rgba(230,247,230,0.1);*/
  padding: 100px 20px;
  text-align: center;
  color: white;
  margin-top: 160px;
  max-width: 1280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
}

.hero h1 {
  font-size: 48px;
  color: white; /*#2c7a2c; */
}

.hero p {
  font-size: 20px;
  margin: 20px 0;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  text-decoration: none;
  background: #2c7a2c;
  color: white;
  border-radius: 5px;
  font-weight: bold;
}

.btn.secondary {
  background: white;
  color: #2c7a2c;
  border: 2px solid #2c7a2c;
}


.container { 
  margin-top: 100px;
  padding: 20px;

}

/* Sections */
section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #2c7a2c;
}
/* FAQ List */
.faqul {
  list-style-type: none;
  padding-left: 40px;
  position: relative;
  text-align: left;
}
.question {
  font-size: 12pt;
  margin-bottom: 5px;
  text-decoration: none;
  text-align: left;
} 
.question:before {
  position: absolute;
  content: 'Q - ';
  padding-left: 4px;
  color: green;
  font-weight: Bold;
  font-size: 14pt;
  padding-right:6px;
  width:34px;
  left: 0;

}
.answer {
  font-size: 12pt;
  margin-bottom: 15px;
  text-decoration: none;
  text-align: left;

}
.answer:before {
  position: absolute;
  left: 0;
  text-decoration: none;
  content: 'A - ';
  padding: 0;
  color: green;
  font-weight: Bold;
  font-size: 14pt;
  padding-right:6px;
  padding-left: 4px;
  width:34px;
}

.contactus {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.contactusform {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  background-color: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  gap: 10px;
  justify-content: space-between;
  margin-top: 10px;
}
.contactitem {
  flex: 0 0 auto;
  width: 100%;

}

/* Project List */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding-top: 20px;
}

.project-list a {
  display: block;
  padding: 20px;
  background: #f4f4f4;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

.project-list a:hover {
  background: #e6f7e6;
  color: #2c7a2c;
}

/* Footer */
footer {
  margin-top: 20px;
  margin-bottom: 0;
  margin-left: 0;
  margin-right:0;
  padding: 0;
  width: 100%;
}

.footerflex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0px 20px;
    margin: auto 0;
    border-top: 1px solid #e0e0e0;
    background-color: #faf6f4;
    font-size: 10pt;

}



.footercopy {
  padding: 10px;
  text-align: center;
  background: #2c7a2c;
  color: white;
  margin-top: 0;
}

.footercopy a {
    color: white;
    text-decoration: none;
}

.footersection {
    flex: 0 0 auto;
    height: 100%;
    width: 25%;
    padding: 10px;
    border-right: 2px solid #d0d0d0;
    height: 100%;
}

.footersection h4 {
    margin: 0;
    padding-top: 5px;
    padding-bottom: 10px;
}


.socials {
  display: block!important;
  height: 16px;
  line-height: 16px;
  margin-bottom: 10px;
  padding: 0;
  vertical-align: middle;
}

.socials a {
  line-height: 16px;
  height: 16px;
  color: #333;
  vertical-align: middle;
}

.socials img {
  width: 16px;
  height: 16px;
  padding: 0;
  margin-right: 10px;
  vertical-align: middle;

}

.footersection {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content:space-between;
  height: 150px;
  
}

.footersection a {
  color: #333;
}

.footerlinks h4 {
  margin-bottom: 0;
  padding-bottom: 10px;
}

/* Status Badges */
.project-status {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  margin: 10px 0;
  color: white;
  font-weight: bold;
}

.status-operational {
  background: #4CAF50; /* Green */
}

.status-under-construction {
  background: #FF9800; /* Orange */
}

.status-planning {
  background: #03A9F4; /* Blue */
}

.status-feasibility {
  background: #9E9E9E; /* Grey */
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  .footerflex {
    flex-direction: column;
  }

  .footersection {
    width: 100%;
    border-right: 0px;
    border-bottom: 2px solid #d0d0d0;
    padding: 10px 0px;
    height: 100%;
  }



  nav {
    flex-wrap: wrap;
    width: 100% !important;
    margin-top: 10px;
    border-bottom: 1px solid #fafafa;
  }

  .menu-toggle {
      display: block;
      margin: 0px;
      margin-right: 5px;
      padding-left: 0;
      padding-right: 0;
      background-color: white;
      color: #333;
  }

  .navimg {
    width: 150px;
    margin-right: auto;
    margin-left: auto;
  }

  nav img {

    text-align: center;
    width: 150px;
  }

  nav .dropdown, nav a, .dropbtn {
    display: none;
    width: 100%;
    text-align: left;
    margin: 0; 
    line-height: 1.2; 
  }

  nav.active .dropdown, nav.active a, nav.active .dropbtn {
    display: block;

  }

  /* Sub-menu inside dropdown */
  .dropdown-content {
    position: static;
    box-shadow: none;
    width: 100%;
    padding: 0; /* Remove padding */
  }

  .dropdown-content a {
    padding: 15px 30px; /* Indent submenu items */
    border-bottom: 1px solid #ddd;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }
  .dropdown {
    border-bottom: 1px solid #ddd;
  }


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

  .hero p {
    font-size: 18px;
  }
  h1 { font-size: 28px; }
  .container {
    margin-top: 50px;
  }
}

