@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700&display=swap');

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

body {
  font-family: "Exo 2", sans-serif;
  background: url('assets/dashboardbg.png') no-repeat center center fixed;
  background-size: cover;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(22, 22, 24, 0.9);
  padding: 15px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3fb9c1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

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

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

.nav-links li a:hover {
  color: #3fb9c1;
}

/* Content */
.main-content {
  padding: 100px 40px 40px 40px;
  width: 100%;
  flex: 1;
}
.dashboard-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #3fb9c1;
}

/* Section Cards */
.dashboard-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.dashboard-card {
  background: rgba(22, 22, 24, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: all 0.3s ease;
}

.dashboard-card h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.dashboard-card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 20px;
}

.dashboard-card button {
  background: linear-gradient(135deg, #3fb9c1, #2596be);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dashboard-card button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #2596be, #3fb9c1);
  box-shadow: 0 0 10px rgba(63, 185, 193, 0.5);
}

/* Responsive Nav */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(22, 22, 24, 0.95);
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 15px;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }
}
