* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.main-content {
  display: none;
  padding: 20px;
  text-align: center;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1d2671, #c33764);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.logo img {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffde59;
}

.loginbtn {
  background: #ffffff;
  color: #c33764;
  border: none;
  outline: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.loginbtn:hover {
  background: #ffde59;
  color: #1d2671;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.menu-icon {
  display: none;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    flex-direction: column;
    align-items: center;
    width: 220px;
    height: 0;
    overflow: hidden;
    padding-left: 32px;
    border-radius: 0 0 0 12px;
    transition: height 0.4s ease;
    gap: 25px;
  }

  .nav-links.open {
    height: 510px;
    width: 100%;
    padding-top: 18px;
  }

  .nav-links li {
    margin-bottom: 16px;
  }

  .loginbtn {
    margin-bottom: 16px;
  }
}


/*Section dashboard */
.dashboard {
  background: url('./image/back1.webp') center center / cover no-repeat fixed;
  padding: 100px 20px;
  text-align: center;
}

.dashboard h1 {
  color: #1d2671;
  font-size: 36px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.dash-subtext {
  color: #555;
  font-size: 18px;
  margin-bottom: 50px;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
}


.dash-card {
   background: linear-gradient(135deg, rgb(227, 240, 175), rgb(187, 237, 250));
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dash-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.dash-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.dash-card h3 {
  font-size: 18px;
  color: #1a237e;
  margin-bottom: 10px;
  font-weight: 600;
}

.dash-value {
  font-size: 22px;
  color: #c33764;
  font-weight: 700;
  margin-bottom: 10px;
}

.dash-status {
  font-size: 14px;
  font-weight: 500;
}

.dash-status.up {
  color: green;
}

.dash-status.down {
  color: red;
}


@media (max-width: 1200px) {
  .dash-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .dash-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dash-cards {
    grid-template-columns: 1fr;
  }

  .dashboard h1 {
    font-size: 28px;
  }

  .dash-card {
    padding: 25px 15px;
  }

  .dash-value {
    font-size: 20px;
  }
}




/* section chart */


.statistics {
  background: #f8f9ff;
  padding: 100px 20px;
  text-align: center;
}

.statistics h1 {
  color: #1d2671;
  font-size: 36px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.stat-subtext {
  color: #555;
  font-size: 18px;
  margin-bottom: 50px;
}

.chart-container {
  position: relative;
  max-width: 900px;
  height: 450px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


@media (max-width: 768px) {
  .chart-container {
    height: 350px;
    padding: 15px;
  }

  .statistics h1 {
    font-size: 28px;
  }

  .stat-subtext {
    font-size: 16px;
  }
}


.neon-theme {
  background: linear-gradient(135deg, #000010, #0a0025);
  padding: 100px 20px;
  text-align: center;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.neon-theme h1 {
  font-size: 38px;
  color: #00ffff;
  text-shadow: 0 0 12px #00ffff, 0 0 20px #00e0ff;
  margin-bottom: 10px;
}

.chart-subtext {
  color: #aaa;
  font-size: 18px;
  margin-bottom: 50px;
  text-shadow: 0 0 6px #222;
}


.chart-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}


.neon-box {
  background: rgba(15, 15, 30, 0.9);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2),
              0 0 40px rgba(0, 255, 255, 0.1);
  height: 420px;
  position: relative;
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: box-shadow 0.3s ease;
}

.neon-box:hover {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4),
              0 0 60px rgba(0, 255, 255, 0.2);
}

.neon-box h3 {
  font-size: 18px;
  color: #39ff14;
  margin-bottom: 15px;
  text-shadow: 0 0 8px #39ff14;
  font-weight: 600;
}


.chart-box canvas {
  width: 100% !important;
  height: 100% !important;
}


@media (max-width: 900px) {
  .chart-grid-two {
    grid-template-columns: 1fr;
  }

  .neon-box {
    height: 380px;
  }

  .neon-theme h1 {
    font-size: 30px;
  }

  .chart-subtext {
    font-size: 16px;
  }
}




/* sectiion footer */

.footer {
  background: url('./image/footer.avif') center center / cover no-repeat fixed;
  color: #f1f5f9;
  padding: 80px 20px 30px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.comlogo {
  width: 160px;        
  height: auto;        
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}



.comlogo:hover {
  transform: scale(1.05);
  filter: brightness(0) saturate(100%) invert(29%) sepia(90%) saturate(3000%) hue-rotate(210deg) brightness(100%) contrast(100%);
}


.footer-about h3 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-about p {
  color: white;
  font-size: 15px;
  line-height: 1.8;
}


.footer-links h4,
.footer-support h4,
.footer-contact h4 {
  font-size: 18px;
  color: white;
  margin-bottom: 15px;
  position: relative;
}

.footer-links h4::after,
.footer-support h4::after,
.footer-contact h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #0f62fe, #2563eb);
  margin-top: 6px;
  border-radius: 2px;
}

.footer-links ul,
.footer-support ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-support li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-support a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 16 px;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-support a:hover {
  color: #00ff44;
}


.footer-contact p {
  color: white;
  font-size: 16px;
  margin-bottom: 8px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #1e293b;
  text-decoration: none;
  color: #ffffff;
  margin-right: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #0f62fe;
  transform: translateY(-3px);
}


.footer-bottom {
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 13px;
}


@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .social-icons a {
    margin: 8px;
  }

  .footer-links h4::after,
  .footer-support h4::after,
  .footer-contact h4::after {
  display: none;
}
}











