* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    width: 100%;
    background: linear-gradient(135deg, rgb(17, 17, 73), rgb(59, 59, 184));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    top: 0;
    position: fixed;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo img {
    width: 200px;
    filter: brightness(0) invert(1);
}



.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 22px; 
}

.nav-links li a:hover {
    color: aqua;
}

.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}


.loginbtn {
    padding: 8px 20px;
    border: none;
    background: linear-gradient(135deg, rgb(72, 226, 243), rgb(141, 249, 155));
    color: black;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
}

.loginbtn:hover {
    background: linear-gradient(135deg, rgb(141, 249, 155) , rgb(72, 226, 243));
}

@media (max-width: 820px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: rgb(15, 15, 44);
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        gap: 50px;
        display: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-icon {
        display: block;
    }
}


/* section hero */

.service-hero {
  height: 100vh;
  background: url("./image/service.webp") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); 
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 20px;
}

.service-hero-content h5 {
  font-size: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4fc3f7;
}

.service-hero-content h1 {
  font-size: 48px;
  margin: 15px 0;
  line-height: 1.2;
  font-weight: 700;
}

.service-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #e0e0e0;
}

.service-btn {
  padding: 12px 28px;
  background: #4fc3f7;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.3s;
  font-weight: 600;
}

.service-btn:hover {
  background: #ffffff;
  color: #111;
}



/* section services */

.service-feature {
    padding: 60px 20px;
}

.service-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-list {
    flex: 1;
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 14px 12px;
    margin-bottom: 8px;
    background: #f4f4f4;
    cursor: pointer;
    border-radius: 6px;
    font-size: 18px;
    transition: 0.3s;
}

.service-list li:hover,
.service-list li.active {
    background: #0099ff;
    color: #fff;
}


.service-image-box {
    flex: 1;
    position: relative;
}

.service-image-box img {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
}


.service-hover-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0 0 12px 12px;
    pointer-events: none;
}

.service-image-box:hover .service-hover-text {
    opacity: 1;
}

@media (max-width: 992px) {
    .service-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .service-list li {
        font-size: 17px;
        padding: 12px 10px;
    }

    .service-image-box img {
        height: 380px;
    }

    .service-hover-text {
        font-size: 15px;
    }
}


@media (max-width: 768px) {
    .service-feature {
        padding: 40px 15px;
    }

    .service-list li {
        font-size: 16px;
        padding: 10px 8px;
    }

    .service-image-box img {
        height: 320px;
    }

    .service-hover-text {
        font-size: 14px;
        padding: 15px;
    }
}


@media (max-width: 480px) {
    .service-wrapper {
        gap: 20px;
    }

    .service-list li {
        font-size: 15px;
        padding: 10px;
    }

    .service-image-box img {
        height: 250px;
    }

    .service-hover-text {
        font-size: 13px;
        padding: 12px;
    }
    }
   

/* section providers */

.energy-services {
  padding: 80px 20px;
  background: #f4f8fc;
}

.energy-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.energy-title {
  font-size: 36px;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 10px;
}

.energy-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}


.energy-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


.energy-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.energy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.energy-icon {
  font-size: 40px;
  color: #00a8ff;
  margin-bottom: 15px;
}

.energy-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0a3d62;
}

.energy-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* Tablet – below 992px */
@media (max-width: 992px) {
    .energy-title {
        font-size: 32px;
    }

    .energy-subtitle {
        font-size: 17px;
        margin-bottom: 30px;
    }

    .energy-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .energy-card {
        padding: 25px 20px;
    }

    .energy-icon {
        font-size: 36px;
    }
}

/* Mobile – below 768px */
@media (max-width: 768px) {
    .energy-services {
        padding: 60px 15px;
    }

    .energy-title {
        font-size: 28px;
    }

    .energy-subtitle {
        font-size: 16px;
    }

    .energy-service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .energy-card {
        padding: 22px 18px;
    }

    .energy-card h3 {
        font-size: 18px;
    }

    .energy-card p {
        font-size: 14px;
    }
}

/* Small Mobile – below 480px */
@media (max-width: 480px) {
    .energy-title {
        font-size: 24px;
    }

    .energy-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .energy-card {
        padding: 18px 15px;
    }

    .energy-icon {
        font-size: 32px;
    }

    .energy-card h3 {
        font-size: 17px;
    }
}

/* section installation */

.solar-qa-section {
  background: url(./image/footer.webp) no-repeat center center/cover fixed;
  display: flex;
  padding: 50px 10%;
  gap: 40px;
}

.qa-left img {
  width: 450px;
  height: 400px;
  border-radius: 15px;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.15);
}

.qa-right {
  flex: 1;
  color: white;
}

.accordion .acc-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  color: white;
}

.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: white;
}

.acc-header h3 {
  font-size: 18px;
}

.acc-icon {
  font-size: 26px;
  transition: 0.3s;
}

.acc-content {
  display: none;
  margin-top: 10px;
  line-height: 1.7;
  padding-right: 15px;
}

@media (max-width: 992px) {
  .solar-qa-section {
    padding: 40px 5%;
    gap: 25px;
  }

  .qa-left img {
    width: 100%;
    height: auto;
  }
}


@media (max-width: 768px) {
  .solar-qa-section {
    flex-direction: column;
    text-align: center;
  }

  .qa-left img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .qa-right {
    width: 100%;
  }
}


@media (max-width: 480px) {
  .qa-left img {
    width: 100%;
    height: auto;
  }

  .acc-header h3 {
    font-size: 16px;
  }

  .acc-icon {
    font-size: 22px;
  }
}

/* section windmill */

.windmill-qa-section {
  display: flex;
  padding: 50px 10%;
  gap: 40px;
  background: url(./image/footer.webp) no-repeat center center/cover fixed;
}

.windmill-left {
  flex: 1;
  color: white;
}

.windmill-right img {
  width: 450px;
  height: 400px;
  border-radius: 15px;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.15);
}

.accordion .acc-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.acc-header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.acc-header h3 {
  font-size: 18px;
}

.acc-icon {
  font-size: 26px;
  transition: .3s;
}

.acc-content {
  display: none;
  margin-top: 10px;
  line-height: 1.7;
}


@media (max-width: 992px) {
  .windmill-qa-section {
    padding: 40px 6%;
    gap: 30px;
  }

  .windmill-right img {
    width: 100%;
    height: auto;
  }
}


@media (max-width: 768px) {
  .windmill-qa-section {
    flex-direction: column;
    text-align: center;
  }

  .windmill-left {
    width: 100%;
  }

  .windmill-right img {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }
}


@media (max-width: 480px) {

  .acc-header h3 {
    font-size: 16px;
  }

  .acc-icon {
    font-size: 22px;
  }

  .windmill-right img {
    width: 100%;
  }
}



/* section stat */

.energy-timeline-section {
  display: flex;
  padding: 70px 10%;
  gap: 60px;
}

.et-left {
  width: 40%;
  padding-right: 20px;
  border-right: 2px solid #e0e0e0;
}

.et-left h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 15px;
}

.et-left p {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  max-width: 350px;
}

.et-right {
  width: 60%;
  position: relative;
}

.et-right::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #ddd;
}

.et-item {
  display: flex;
  position: relative;
  padding: 25px 0 25px 50px;
}

.et-dot {
  width: 16px;
  height: 16px;
  background: #ffbe3d;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0px 0px 6px rgba(0,0,0,0.15);
  position: absolute;
  left: 7px;
  top: 30px;
}

.et-content h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.et-content p {
  color: #555;
  line-height: 1.6;
  max-width: 500px;
}
.et-left img {
    width: 420px;
    height: 450px;
}


@media (max-width: 992px) {
  .energy-timeline-section {
    padding: 50px 6%;
    gap: 40px;
  }

  .et-left {
    width: 45%;
    padding-right: 15px;
  }

  .et-left img {
    width: 100%;
    height: auto;
  }

  .et-right {
    width: 55%;
  }

  .et-content h3 {
    font-size: 18px;
  }
}


@media (max-width: 768px) {
  .energy-timeline-section {
    flex-direction: column;
    padding: 40px 5%;
  }

  .et-left {
    width: 100%;
    padding-right: 0;
    border-right: none;
    text-align: center;
    margin-bottom: 30px;
  }

  .et-left img {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }

  .et-right {
    width: 100%;
  }

  .et-right::before {
    left: 10px;
  }

  .et-item {
    padding: 25px 0 25px 40px;
  }

  .et-dot {
    left: 1px;
  }
}


@media (max-width: 480px) {
  .et-left h2 {
    font-size: 26px;
  }

  .et-left p {
    font-size: 15px;
  }

  .et-content h3 {
    font-size: 17px;
  }

  .et-item {
    padding-left: 35px;
  }

  .et-dot {
    width: 13px;
    height: 13px;
    left: 0;
  }
}

/* footer section */


.footer {
    background: url(./image/footer.webp) no-repeat center center/cover fixed;
    color: #d8e2f3;
    padding: 50px 0 20px;
    font-family: "Poppins", sans-serif;
}

.footer-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}


.footer-about {
    flex: 1.2;
    min-width: 250px;
}

.comlogo {
    width: 170px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    line-height: 1.6;
    font-size: 15px;
    color: #c6d4ea;
}


.footer-links,
.footer-support,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h4,
.footer-support h4,
.footer-contact h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #5ac8ff;
}

.footer-links ul,
.footer-support ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-support ul li {
    margin: 8px 0;
}

.footer-links ul li a,
.footer-support ul li a {
    text-decoration: none;
    color: #c8d3e2;
    font-size: 15px;
}

.footer-links ul li a:hover,
.footer-support ul li a:hover {
    color: #5ac8ff;
}


.footer-contact p {
    margin: 8px 0;
    color: #cfd9ed;
}

.social-icons a {
    margin-right: 12px;
    color: #5ac8ff;
    font-size: 18px;
}

.social-icons a:hover {
    color: #97e1ff;
}


.footer-bottom {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #1c2a44;
    padding-top: 12px;
}

.footer-bottom p {
    color: #a8b7d4;
    font-size: 14px;
}


@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        text-align: left;
    }

    .social-icons a {
    margin-top: 10px;
  }
}
