/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f6f9;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Header */
header {
  background-color:#4a90e2;
  color: #fff;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo */
.logo a {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.logo a span {
  color: #EDDD53;
}

/* Navigation Pages */
.Pages ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.Pages ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.Pages ul li a:hover {
  color: #EDDD53;
}

/* Button Styles */
.button_primary {
  padding: 8px 16px;
  background-color: #99bc5c;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
list-style-type: none;
}

.button_primary:hover {
  background-color: #EDDD53;
  color: #fff;
}
.login-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* perfectly center */
  width: 300px;     /* control width */
  height: 250px;    /* control height */
  padding: 20px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
form input.form-control {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;

}

form input.form-control:focus {
  border-color: #4a90e2;
  outline: none;
}

.LOGIN {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: #4a90e2;
  border: none;
  color: white;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.LOGIN:hover {
  background-color: #357ABD;
}

.homepage-wrapper {
  height: 200px;
  display: flex;
  margin-top: 200px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #f7fbff, #dbeeff);
  padding: 2rem;
}

.home-intro {
  max-width: 600px;
  text-align: center;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.home-intro h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2a5885;
}

.home-intro p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.dashboard-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #2a5885;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.dashboard-button:hover {
  background-color: #1b3e63;
}

/* Responsive layout */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .Pages ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .button.primary {
    margin-top: 15px;
  }
}
