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

/* Header */
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;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
header.sticky {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
header .logo {
  font-size: 1.8rem;
  font-weight: 600;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}
header nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  transition: color 0.3s ease;
}
header nav ul li a:hover {
  color: #cce7cc;
}
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;
}
.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 {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  header {
      padding: 0.5rem 1rem;
  }
  header .logo {
      font-size: 1.2rem;
  }
  .hamburger {
      display: flex;
  }
  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;
  }
  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);
  }
}

/* Contact Section */
#contact {
  padding: 100px 5% 60px;
  background: linear-gradient(to bottom, #e8f0e8, #f4f7f6);
}
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
}
.contact-container.active {
  animation: fadeIn 1s ease-in-out forwards;
}
.contact-info {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background: #006400;
  color: white;
}
.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.contact-info p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transform: translateX(-30px);
}
.contact-item.active {
  animation: slideInFromLeft 0.8s ease-in-out forwards;
}
.contact-item i {
  font-size: 1.8rem;
  color: #cce7cc;
}
.contact-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.contact-item p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}
.contact-item p a {
  color: #cce7cc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-item p a:hover {
  color: #ffffff;
}
.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background: white;
  opacity: 0;
  transform: translateY(50px);
}
.contact-form.active {
  animation: fadeInFromBelow 1s ease-in-out forwards;
}
.contact-form h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #006400;
  margin-bottom: 25px;
}
.form-group {
  margin-bottom: 20px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: #fafafa;
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #006400;
  outline: none;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.send-message {
  width: 100%;
  padding: 14px;
  background: #006400;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.send-message:hover {
  background: #004d00;
  transform: translateY(-2px);
}
.form-note {
  font-size: 0.9rem;
  color: #777;
  text-align: center;
  margin-top: 15px;
}
@media (max-width: 768px) {
  #contact {
      padding: 80px 5% 40px;
  }
  .contact-container {
      flex-direction: column;
  }
  .contact-info, .contact-form {
      padding: 30px;
  }
  .contact-info h2 {
      font-size: 2rem;
  }
  .contact-form h3 {
      font-size: 1.8rem;
  }
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #006400;
  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 */
#footer {
  background: linear-gradient(135deg, #222, #333);
  color: #f5f5f5;
  padding: 50px 5%;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.footer-about, .footer-links, .footer-contact {
  flex: 1;
  min-width: 250px;
}
.footer-container h4 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #5ecb5e;
}
.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;
  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 fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes slideInFromLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInFromBelow {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}