/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  background: #ddf0e5;
  color: #333;
}

/* MARQUEE */
.marquee {
  background: #0d6efd;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}

.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* NAVBAR */
.navbar {
  background: white;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.navbar a:hover {
  color: #0d6efd;
}

.logo {
  color: #0d6efd;
}

/* SECTIONS */
.section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  margin-bottom: 20px;
}

.section.light {
  background: white;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  background: #075705;
  color: white;
  padding: 40px 20px;
  border-radius: 8px;
  /* font-weight: bold; */
}

/* FORM */
.register-form {
  max-width: 800px;
  margin: auto;
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

textarea {
  margin-top: 10px;
  min-height: 100px;
}

button {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  border: none;
  background: #389b37;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}


button:hover {
  background: #0b5ed7;
}

/* toggle mode */
body.dark {
  background: #0f172a;
  color: #e2e8f0;
}

body.dark .navbar,
body.dark .section.light {
  background: #1e293b;
}

body.dark .card {
  background: #22c55e;
}

body.dark input,
body.dark textarea {
  background: #020617;
  color: white;
  border: 1px solid #334155;
}

/* CONTACT */
#contact p {
  margin: 5px 0;
}

/* mobile ui */
/* Mobile navbar stack */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 40px 15px;
  }

  .card {
    padding: 25px;
  }

  button {
    font-size: 18px;
  }
}

/* FOOTER */
footer {
  background: #0d6efd;
  color: white;
  text-align: center;
  padding: 20px;
}