@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f7f7f7;
  color: #222;
  padding-top: 90px;
}

/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background-color: #1f6000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 60px;
  height: 60px;
}

.logo .text h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.logo .text p {
  font-size: 13px;
  color: #d0ffd0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #f3ffaf;
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #f3ffaf;
  border-radius: 2px;
}

.logout {
  background: #ff4d4d;
  padding: 8px 14px;
  border-radius: 8px;
  color: white !important;
  transition: 0.3s;
}

.logout:hover {
  background: #e63e3e;
}

/* ===== WELCOME ===== */
.welcome {
  text-align: center;
  margin: 40px 20px 20px;
}

.welcome h2 {
  color: #1f6000;
  font-size: 32px;
  margin-bottom: 10px;
}

.welcome p {
  color: #555;
}

/* ===== INFO SECTION ===== */
.info-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px 20px;
}

.card {
  background: #e9f9e7;
  border-radius: 15px;
  padding: 40px 30px;
  width: 280px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  background: #d9f2d5;
}

.icon {
  width: 60px;
  height: 60px;
  color: #1f6000;
  margin-bottom: 15px;
}

.card h3 {
  color: #1f6000;
  margin-bottom: 10px;
}

.card p {
  color: #444;
  font-size: 14px;
  margin-bottom: 20px;
}

.btn {
  background-color: #1f6000;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background-color: #155000;
}

/* ===== FOOTER ===== */
.footer {
  background: #1f6000;
  color: white;
  padding: 40px 60px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.logo-footer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-footer img {
  width: 60px;
  height: 60px;
}

.contact h3 {
  margin-bottom: 8px;
}

.contact p {
  font-size: 14px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 30px;
    flex-wrap: wrap;
  }

  nav ul {
    gap: 15px;
    font-size: 13px;
  }
}

