/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #f5f9fc;
  color: #222;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #222;
  padding: 15px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1000;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #00aaff;
}

/* MOBILE MENU BUTTON */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-right: auto;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* DASHBOARD SECTION */
.dashboard-section {
  margin-top: 120px;
  padding: 25px;
  display: flex;
  justify-content: center;
}

.dashboard-container {
  max-width: 1100px;
  width: 100%;
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.dashboard-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.dashboard-desc {
  font-size: 17px;
  color: #555;
  margin-bottom: 35px;
}

/* ACTION CARDS GRID */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.action-card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);
  transition: 0.3s ease;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #00aaff22;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: #0077cc;
}

.action-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.action-card p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn.primary {
  background: #00aaff;
  color: #fff;
}

.btn.primary:hover {
  background: #0088cc;
}

.btn.secondary {
  background: #eee;
  color: #222;
}

.btn.secondary:hover {
  background: #ddd;
}



/* ------------------ */
/* MOBILE RESPONSIVE */
/* ------------------ */

@media (max-width: 768px) {
  /* NAVBAR */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    width: 100%;
    background: #222;
    padding: 20px 0;
    flex-direction: column;
    text-align: center;
    transform: translateY(-250%);
    transition: 0.3s ease-out;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    margin: 12px 0;
  }

  /* CARDS FULL-WIDTH ON MOBILE */
  .action-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-container {
    padding: 20px;
  }

  .action-card {
    padding: 30px 20px;
  }

  .btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
  }
}


/* EXTRA SMALL SCREENS */
@media (max-width: 420px) {
  .dashboard-title {
    font-size: 26px;
  }

  .icon-box {
    width: 65px;
    height: 65px;
    font-size: 24px;
  }
}
