/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f7f5;
  line-height: 1.6;
  overflow-x: hidden;
  color: #333;
}

/* Header (unchanged) */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  height: 80px;
  background: linear-gradient(90deg, #006400, #004d00);
  color: white;
  padding: 1rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header.sticky {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

header .logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
}

header nav {
  display: flex;
  align-items: center;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  position: relative;
  transition: all 0.3s ease;
}

header nav ul li a:hover {
  color: #cce7cc;
  text-shadow: 0 2px 8px rgba(204, 231, 204, 0.5);
}

header nav ul li a.register-btn {
  background-color: #ffffff;
  color: #006400;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

header nav ul li a.register-btn:hover {
  background-color: #cce7cc;
  color: #004d00;
  text-shadow: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 768px) {
  header {
    padding: 0.5rem 1rem;
  }
  header .logo {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 1rem;
  }
  .hamburger {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }
  header nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: linear-gradient(90deg, #006400, #004d00);
    transition: height 0.3s ease;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
  }
  header nav.active {
    height: calc(100vh - 80px);
  }
  header nav ul {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
  }
  header nav ul li a {
    font-size: 1.2rem;
  }
  header nav ul li a.register-btn {
    width: 50%;
    text-align: center;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Registration Header */
.registration-header {
  background: linear-gradient(135deg, #2a6b47, #3d8b5e);
  padding: 120px 5% 80px;
  color: white;
  position: relative;
  overflow: hidden;
}

.registration-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://via.placeholder.com/1200x300?text=Belize+Pattern') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.registration-header-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.registration-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  opacity: 0; /* Start hidden */
  transform: translateX(-50px); /* Start off to the left */
}

.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.step {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Start slightly below */
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #2a6b47;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.step p {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .registration-header {
    padding: 100px 5% 60px;
  }
  .registration-header-content {
    padding: 0 10px;
  }
  .registration-header h1 {
    font-size: 1.8rem;
    max-width: 100%;
    text-align: center;
  }
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .step {
    min-width: 100%;
    text-align: left;
  }
}

/* Registration Section */
.registration-section {
  padding: 60px 5%;
  background-color: #fff;
  text-align: center;
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
  opacity: 0; /* Start hidden */
  transform: translateY(50px); /* Start further below for scroll effect */
}

.form-wrapper h2 {
  font-size: 2.2rem;
  color: #2a6b47;
  font-weight: 700;
  margin-bottom: 15px;
}

.form-wrapper p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  color: #333;
  background-color: #fafafa;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  border-color: #2a6b47;
  box-shadow: 0 0 5px rgba(42, 107, 71, 0.3);
  outline: none;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
}

.checkbox-container label {
  font-weight: 400;
  color: #555;
}

.checkbox-container a {
  color: #2a6b47;
  text-decoration: underline;
}

.checkbox-container a:hover {
  color: #1a3c2b;
}

.btn-register {
  background-color: #2a6b47;
  color: white;
  padding: 15px 0;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 100%;
}

.btn-register:hover {
  background-color: #1a3c2b;
  transform: translateY(-3px);
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2a6b47;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  display: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

#backToTop:hover {
  transform: scale(1.1);
}

/* Footer (unchanged) */
#footer {
  background: linear-gradient(135deg, #222, #333);
  color: #f5f5f5;
  padding: 50px 10%;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.footer-container h4 { font-size: 1.6rem; margin-bottom: 15px; color: #5ecb5e; }
.footer-about, .footer-links, .footer-contact { flex: 1; min-width: 300px; }
.footer-about p, .footer-contact p { font-size: 1rem; line-height: 1.8; color: #dcdcdc; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { text-decoration: none; color: #aaa; font-size: 1rem; transition: color 0.3s ease; }
.footer-links ul li a:hover { color: #fff; }
.footer-contact a { color: #5ecb5e; text-decoration: none; font-weight: bold; }
.footer-contact a:hover { color: #fff; }
.footer-social a { margin-right: 15px; font-size: 1.5rem; color: #aaa; transition: color 0.3s ease; }
.footer-social a:hover { color: #5ecb5e; }
.footer-bottom { text-align: center; margin-top: 30px; font-size: 0.9rem; color: #888; border-top: 1px solid #444; padding-top: 15px; }
@media (max-width: 768px) {
  .footer-container { flex-direction: column; text-align: center; }
}

/* Animations */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInStep {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInFromBelow {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}