html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Push footer to bottom */
footer {
  margin-top: auto;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e3a8a;
  color: #fff;
  padding: 15px 30px;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #facc15;
}

.admin-btn {
  background: #facc15;
  color: #1e3a8a !important;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://picsum.photos/1200/500') center/cover no-repeat;
  color: #fff;
}

.hero h1 {
  font-size: 42px;
}

.hero span {
  color: #facc15;
}

.hero p {
  margin: 15px 0;
  font-size: 18px;
}

.btn {
  display: inline-block;
  background: #facc15;
  color: #1e3a8a;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #eab308;
}

/* About, Contact, Events pages */
section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  color: #1e3a8a;
}

p {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}

/* Events */
.event-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.event-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-icon {
  font-size: 40px;
  color: #1e3a8a;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #1e3a8a;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: auto;
}
/* Registration Page */
.register-page {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.register-page form {
  display: flex;
  flex-direction: column;
}

.register-page label {
  margin: 10px 0 5px;
  font-weight: bold;
}

.register-page input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
}

.register-page button {
  border: none;
  cursor: pointer;
}
