* {
    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;
    }
}


.oil-dashboard {
  width: 100%;
  padding: 100px;
  background: #0d1625;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.dashboard-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 20px;
}

.card {
  background: #152238;
  padding: 20px;
  border-radius: 12px;
  flex: 1;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.chart-card {
  flex: 2;
}

.chart-card h3 {
  margin-bottom: 10px;
}

.percentage {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #4de39b;
  font-weight: 600;
}

.efficiency-card h3 {
  margin-bottom: 15px;
}

.circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 8px solid #3fc97d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.circle h1 {
  font-size: 32px;
}

.details-btn {
  width: 100%;
  padding: 10px;
  border: none;
  background: #1f9eff;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.maintenance-card img {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
}

.small-card h2 {
  font-size: 28px;
  margin-top: 5px;
}

.small-card span {
  font-size: 14px;
}

.funnel-card ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.funnel-card li {
  padding: 10px 0;
  border-bottom: 1px solid #22324d;
}

.chart-card-wide {
  flex: 2;
}



@media (max-width: 1024px) {

  .oil-dashboard {
    padding: 60px 40px;
  }

  .dashboard-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .card,
  .chart-card,
  .chart-card-wide {
    flex: 1 1 100%;
  }

  .circle {
    width: 110px;
    height: 110px;
  }

  .circle h1 {
    font-size: 26px;
  }
}


@media (max-width: 768px) {

  .oil-dashboard {
    padding: 40px 20px;
  }

  .dashboard-row {
    flex-direction: column;
    gap: 20px;
  }

  .card,
  .chart-card,
  .chart-card-wide {
    width: 100%;
  }

  .percentage {
    font-size: 14px;
    top: 15px;
    right: 15px;
  }

  .circle {
    width: 95px;
    height: 95px;
    border-width: 6px;
  }

  .circle h1 {
    font-size: 22px;
  }

  .small-card h2 {
    font-size: 22px;
  }

  .details-btn {
    font-size: 14px;
    padding: 8px;
  }

  .maintenance-card img {
    height: 180px;
    object-fit: cover;
  }
}


@media (max-width: 480px) {

  .oil-dashboard {
    padding: 100px 10px;
  }

  .circle {
    width: 80px;
    height: 80px;
    border-width: 5px;
  }

  .circle h1 {
    font-size: 18px;
  }

  .small-card h2 {
    font-size: 20px;
  }
}



/* 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;
  }
}
