/* =========================
   BODY
========================= */
body {
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;  /* light background */
  color: #333;
  line-height: 1.6;
}

/* ==================== HEADER ==================== */
.header {
  background-color: #000000; /* changed to black */
  color: white;
  padding: 20px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3); 
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-align: center;
  flex: 1 1 100%;
}

.navbar {
  flex: 1 1 100%;
  text-align: center;
  margin-top: 10px;
}

.navbar a {
  text-decoration: none;
  color: white;
  margin: 0 15px;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s, transform 0.2s;
}

.navbar a:hover,
.navbar a.active {
  color: #ffd700;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .header-container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .logo {
    text-align: left;
    flex: 0 0 auto;
  }

  .navbar {
    text-align: right;
    margin-top: 0;
    flex: 0 0 auto;
  }
}


/* =========================
   PAGE TITLES
========================= */
.page-title {
  text-align: center;
  font-size: 32px;
  margin: 40px 0 20px 0;
  color: #000;
}

/* =========================
   ABOUT US SECTION
========================= */
.about {
  width: 80%;
  max-width: 900px;
  margin: 20px auto;
  text-align: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-img {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.about p {
  font-size: 16px;
  line-height: 1.8;
  margin: 15px 0;
  text-align: justify;
}

/* =========================
   FORM STYLES (Registration)
========================= */
form {
  width: 90%;
  max-width: 500px;
  margin: 30px auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

form input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

form input:focus {
  border-color: #8B0000; /* dark red focus */
  outline: none;
}

form button {
  width: 100%;
  padding: 12px;
  background-color: #8B0000; /* dark red button */
  color: #fff;
  font-size: 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #B22222; /* lighter red hover */
}

.error {
  color: red;
  font-size: 13px;
  margin-bottom: 10px;
  display: block;
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: #000000; /* changed to black */
  color: white;
  padding: 40px 0;
  margin-top: 40px;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.3);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-box {
  flex: 1;
  min-width: 220px;
  margin: 10px;
}

.footer-box h3 {
  margin-bottom: 15px;
  color: #ffd700;
  font-size: 18px;
  font-weight: bold;
}

.footer-box a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 6px 0;
  transition: color 0.3s, transform 0.2s;
}

.footer-box a:hover {
  color: #ffd700;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #ccc;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
  .about, form {
    width: 95%;
    padding: 20px;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }
    .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-box {
    margin: 15px 0;
  }
}

