*{
  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 */

.about-hero {
    position: relative;
    height: 70vh;
    background-image: url('./image/aboutimage.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    color: #fff;
    font-family: "Poppins", sans-serif;
}


.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.55);
}


.about-hero-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    z-index: 2;
}

.about-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.about-hero-content p {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 300;
    opacity: 0.95;
}



@media (max-width: 768px) {
    .about-hero {
        height: 60vh;
        padding: 0 6%;
    }

    .about-hero-content h1 {
        font-size: 32px;
    }

    .about-hero-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 55vh;
    }

    .about-hero-content h1 {
        font-size: 26px;
    }

    .about-hero-content p {
        font-size: 14px;
        line-height: 1.5;
    }
}


/* section about */

.about-energy {
    padding: 80px 10%;
    background: #f5f7fa;
    font-family: 'Poppins', sans-serif;
}

.about-energy-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-energy-content {
    flex: 1;
}

.about-energy-content h2 {
    font-size: 42px;
    color: #0a2342;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-energy-content p {
    font-size: 17px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-energy-points {
    margin-top: 20px;
}

.energy-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.energy-point i {
    font-size: 32px;
    color: #d48635; 
}

.energy-point h4 {
    font-size: 20px;
    color: #0d2b4a;
    font-weight: 600;
}

.energy-point p {
    color: #555;
    margin-top: 5px;
}


.about-energy-image {
    flex: 1;
}

.about-energy-image img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
}




@media (max-width: 900px) {
    .about-energy-container {
        flex-direction: column;
        text-align: center;
    }

    .energy-point {
        justify-content: center;
    }

    .about-energy-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .about-energy {
        padding: 60px 6%;
    }

    .about-energy-content p {
        font-size: 15px;
    }

    .energy-point i {
        font-size: 28px;
    }
}

/* section why choose us */

.whychoose {
    padding: 80px 10%;
    background: #f4f7fa;
    font-family: 'Poppins', sans-serif;
}

.whychoose-container {
    display: flex;
    align-items: center;
    gap: 50px;
}



.whychoose-content .subtitle {
    color: #d68a35;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.whychoose-content h2 {
    font-size: 34px;
    color: #0a3052;
    margin-bottom: 20px;
}

.whychoose-content p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
}

.why-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 12px 15px;
    border-radius: 12px;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.08);
}

.why-item p {
    margin-bottom: 5px;
}
.why-item i {
    font-size: 20px;
    color: #d68a35;
}


@media (max-width: 900px) {
    .whychoose-container {
        flex-direction: column;
        text-align: center;
    }

    .why-list {
        grid-template-columns: 1fr;
    }

    .why-item {
        justify-content: center;
    }

    .whychoose-image img {
        max-width: 100%;
    }
}

/* sectoion statistics */


.oil-stats {
   background: url(./image/bgfreature.webp) no-repeat center center/cover;
    padding: 80px 10%;
    color: #fff;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 220px;
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    transition: 0.3s ease-in-out;
}

.stat-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
}

.stat-box h2 {
    font-size: 48px;
    font-weight: 700;
    color: #eeff00;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
    color: #ffffff;
}


@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        text-align: center;
    }

    .stat-box h2 {
        font-size: 38px;
    }
}

/* section team */



.team-section {
  width: 1000px;
  margin: 50px auto;
  text-align: center;
  
}

.team-section h2 {
  font-size: 38px;
  color: #3498db;
  margin-bottom: 40px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.team-member {
  position: relative;
  width: 250px;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
}

.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(68, 68, 70, 0.85);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.team-member:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin: 0;
  font-size: 18px;
}

.overlay p {
  margin: 5px 0 15px 0;
  font-size: 14px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f1c40f;
}

/* ---------- TABLET VIEW ---------- */
@media (max-width: 1024px) {
  .team-section {
    width: 90%;
    margin: 40px auto;
  }

  .team-member {
    width: 220px;
    height: 280px;
  }
}


@media (max-width: 768px) {
  .team-section h2 {
    font-size: 32px;
  }

  .team-container {
    gap: 15px;
  }

  .team-member {
    width: 200px;
    height: 260px;
  }

  .overlay h3 {
    font-size: 16px;
  }

  .overlay p {
    font-size: 13px;
  }
}


@media (max-width: 576px) {
  .team-section {
    width: 100%;
    padding: 0 20px;
  }

  .team-section h2 {
    font-size: 28px;
  }

  .team-member {
    width: 100%;
    max-width: 320px;
    height: 250px;
  }

  .overlay h3 {
    font-size: 16px;
  }

  .overlay p {
    font-size: 12px;
  }
}


@media (max-width: 400px) {
  .team-member {
    height: 220px;
  }

  .social-icons a {
    font-size: 16px;
  }
}


/* section testimonials */

.testimonial-section {
    padding: 60px 20px;
    text-align: center;
    background: #f5f8ff;
    font-family: "Poppins", sans-serif;
}

.testimonial-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #003366;
}

.testimonial-section .subhead {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.testimonial-card {
    width: 320px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transition: 0.3s ease;
    text-align: left;
    border-left: 5px solid #0077ff;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.profile .info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.profile .info span {
    font-size: 14px;
    color: #777;
}

.review {
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.stars {
    font-size: 18px;
    color: #ffb400;
}


@media (max-width: 992px) {

  .testimonial-section h2 {
    font-size: 32px;
  }

  .testimonial-section .subhead {
    font-size: 15px;
  }

  .testimonial-card {
    width: 300px;
    padding: 22px;
  }
}


@media (max-width: 768px) {

  .testimonial-section {
    padding: 50px 20px;
  }

  .testimonial-section h2 {
    font-size: 28px;
  }

  .testimonials-container {
    gap: 20px;
  }

  .testimonial-card {
    width: 90%;
    max-width: 420px;
  }

  .profile img {
    width: 50px;
    height: 50px;
  }

  .profile .info h4 {
    font-size: 17px;
  }

  .review {
    font-size: 14.5px;
  }
}


@media (max-width: 576px) {

  .testimonial-section h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .testimonial-section .subhead {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .testimonial-card {
    width: 100%;
    padding: 20px;
    border-left-width: 4px;
  }

  .profile {
    gap: 12px;
  }

  .profile img {
    width: 45px;
    height: 45px;
  }

  .review {
    font-size: 14px;
    line-height: 1.55;
  }

  .stars {
    font-size: 16px;
  }
}


/* 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;
  }
}
