*{
  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 */


.services-hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
                url('./image/service2.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

.services-hero-content {
    max-width: 650px;
}

.services-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

.services-hero h1 span {
    color: #f9a826; 
}

.services-hero p {
    margin: 15px 0 25px;
    font-size: 18px;
    line-height: 1.7;
    color: #e8e8e8;
}


.services-hero-btns a {
    display: inline-block;
    padding: 12px 28px;
    margin-right: 15px;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: #f9a826;
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    background: #ffbb3d;
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}


@media (max-width: 768px) {
    .services-hero {
        padding: 0 6%;
        height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
        text-align: center;
    }

    .services-hero h1 {
        font-size: 34px;
    }

    .services-hero p {
        font-size: 16px;
    }

    .services-hero-btns a {
        margin: 10px 5px;
        width: 100%;
        text-align: center;
    }
}


/* section services */

.service-section {
  padding: 80px 10%;
  background: linear-gradient(135deg, rgb(155, 155, 249), aqua);
  font-family: 'Poppins', sans-serif;
}

.service-container {
  display: flex;
  align-items: center;
  gap: 50px;
}


.service-image img {
  width: 520px;      
  height: 480px;     
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
}



.service-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0c2340;
}

.service-content p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

.service-content ul {
  list-style: none;
  padding: 0;
}

.service-content ul li {
  font-size: 17px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-content ul li i {
  font-size: 20px;
  color: #d88a1a;
}



@media (max-width: 992px) {
  .service-container {
    flex-direction: column;
    text-align: center;
  }

  .service-image img {
    width: 100%;
    height: 350px;   
  }
}

@media (max-width: 600px) {
  .service-image img {
    height: 300px;   
  }

  .service-content h2 {
    font-size: 28px;
  }
}

/* services */

.energy-services-section {
    padding: 80px 8%;
    background: url(./image/aboutbg.webp) no-repeat center center/cover fixed;
    font-family: 'Poppins', sans-serif;
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
}

.services-header p {
    font-size: 18px;
    color: #ffffff;
    max-width: 700px;
    margin: 10px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, aqua, rgb(138, 238, 138));
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 45px;
    color: #c23616;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #0a1a2f;
    margin-bottom: 10px;
}

.service-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}



@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-header h2 {
        font-size: 32px;
    }

    .service-card {
        padding: 30px 20px;
    }
}

/* section gallery */

.service-gallery {
    padding: 80px 10%;
    background: linear-gradient(135deg, pink, aqua, pink);
    font-family: 'Poppins', sans-serif;
}

.gallery-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: #0a1d37;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    height: 330px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease-in-out;
}

.gallery-hover {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 29, 55, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    transition: .4s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.15);
    filter: brightness(0.7);
}

.gallery-item:hover .gallery-hover {
    opacity: 1;
    transform: translateY(0);
}



@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .gallery-title {
        font-size: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 260px;
    }
}

/* section oil services */
.oil-services {
    padding: 80px 10%;
    background: url(./image/aboutbg.webp) no-repeat center center/cover fixed;
    font-family: "Poppins", sans-serif;
}

.service-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: #ffbb3d;
    margin-bottom: 10px;
}

.service-subtitle {
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-content {
    background: linear-gradient(135deg, rgb(139, 139, 241), rgb(252, 186, 186));
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.service-content h3 {
    font-size: 26px;
    color: #0a3d62;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-content ul li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #0a3d62;
    font-weight: 500;
}


.service-img img:hover {
    transform: scale(1.03);
    transition: 0.4s ease;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-img img {
        height: 300px;
    }

    .service-content {
        text-align: center;
    }

    .service-content ul {
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .service-title {
        font-size: 30px;
    }

    .service-content h3 {
        font-size: 22px;
    }

    .service-img img {
        height: 260px;
    }
}


/* 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;
  }
}
