/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  line-height: 1.6;
}

/* 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;
  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;
}

/* Navigation Menu */
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);
}

/* Register Button Styling */
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 Menu */
.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 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    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 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
  }

  header nav ul li a {
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
  }

  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);
  }
}

/* Hero Section */
#hero {
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Carousel (Desktop Only) */
.carousel-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 64, 0, 0.2);
  z-index: 1;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  flex: 0 0 33.33%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.slide img:hover {
  filter: brightness(1);
}

/* Hero Content */
.hero-content {
  z-index: 2;
  padding: 20px;
  animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-buttons .btn {
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-buttons .btn.primary {
  background-color: #2a6b47;
  color: white;
}

.hero-buttons .btn.primary:hover {
  background-color: #1a3c2b;
  transform: translateY(-3px);
}

.hero-buttons .btn.secondary {
  background: transparent;
  border: 2px solid #cce7cc;
  color: #cce7cc;
}

.hero-buttons .btn.secondary:hover {
  background: #cce7cc;
  color: #2a6b47;
}

/* Responsive Hero (Mobile Static Image) */
@media (max-width: 768px) {
  #hero {
    height: auto;
    min-height: 400px; /* Ensure enough space */
    padding: 80px 15px 40px; /* Account for fixed header */
    background: url('img/teaching1.jpg') no-repeat center center/cover; /* Static image */
    position: relative;
  }

  #hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 64, 0, 0.6); /* Same overlay as carousel */
    z-index: 1;
  }

  .carousel-wrapper {
    display: none; /* Hide carousel on mobile */
  }

  .hero-content {
    padding: 20px 15px;
    position: relative;
    z-index: 2; /* Above overlay */
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.1rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
  }
}

/* Registration Section */
#registration {
  background: linear-gradient(135deg, #006400, #00cc00);
  padding: 60px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.registration-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.registration-info,
.registration-form {
  flex: 1;
  min-width: 45%;
}

.registration-info h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
  color: white;
}

.registration-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: white;
}

.registration-info ul {
  list-style: none;
  padding: 0;
}

.registration-info ul li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: white;
  font-weight: 600;
}

.registration-info ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: white;
  font-size: 1.2rem;
}

.registration-form {
  flex: 1;
  min-width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.registration-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease;
}

.registration-form input {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #00cc00;
  border-radius: 5px;
  background-color: #e6ffe6;
  color: #333;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.registration-form input::placeholder {
  color: #666;
}

.registration-form input:focus {
  outline: none;
  border: 2px solid #008000;
  box-shadow: 0 4px 10px rgba(0, 204, 0, 0.2);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: white;
}

.checkbox-container input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.checkbox-container label a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.checkbox-container label a:hover {
  color: #ff9933;
}

.btn-register {
  padding: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  background: linear-gradient(90deg, #00cc00, #008000);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-register:hover {
  background: linear-gradient(90deg, #008000, #004d00);
  transform: translateY(-3px);
}

.form-wrapper {
  position: relative;
  width: 100%;
}

.success-message {
  text-align: center;
  color: white;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.5s ease;
  display: none;
}

.success-message.active {
  opacity: 1;
  display: block;
}

.checkmark {
  width: 100px;
  height: 100px;
  margin: 20px auto;
  display: block;
}

.registration-form form.fade-out {
  opacity: 0;
}

@media (max-width: 768px) {
  .registration-container {
    flex-direction: column;
    text-align: center;
  }

  .registration-info,
  .registration-form {
    min-width: 100%;
    padding: 1rem;
  }

  .registration-form input,
  .registration-form button {
    width: 100%;
    margin-bottom: 1rem;
  }

  .checkbox-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Trainer Section */
#trainer {
  background-color: #fdf7e3;
  padding: 60px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.trainer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.trainer-image {
  flex: 1;
  min-width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trainer-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.trainer-info {
  flex: 1;
  min-width: 45%;
  padding: 20px;
  color: #333;
}

.trainer-info h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #006400;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.trainer-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.trainer-info .trainer-note {
  margin-top: 15px;
  font-size: 0.95rem;
  font-style: italic;
  color: #777;
}

.trainer-info .trainer-btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(90deg, #00cc00, #006400);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.trainer-info .trainer-btn:hover {
  background: linear-gradient(90deg, #006400, #004d00);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .trainer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .trainer-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
  }

  .trainer-info h2 {
    font-size: 1.6rem;
  }

  .trainer-info p {
    font-size: 0.9rem;
  }

  .trainer-info .trainer-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Course Content Section */
#course-content {
  background-color: #fdf7e3;
  padding: 60px 10%;
  text-align: center;
  position: relative;
}

.course-container {
  max-width: 1200px;
  margin: 0 auto;
}

.course-container h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: bold;
  color: #006400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.course-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.course-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.course-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  transition: transform 0.3s ease;
}

.course-item:last-child {
  border-bottom: none;
}

.course-item:hover {
  transform: translateX(10px);
}

.course-item .circle {
  background-color: #006400;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item .circle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.course-item .course-text {
  text-align: left;
}

.course-item .course-text h3 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 5px;
}

.course-item .course-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

#course-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
      45deg,
      rgba(0, 64, 0, 0.05),
      rgba(0, 64, 0, 0.05) 10px,
      transparent 10px,
      transparent 20px
  );
  opacity: 0.8;
  z-index: -1;
}

@media (max-width: 768px) {
  #course-content {
    padding: 40px 15px;
  }

  .course-container h2 {
    font-size: 2rem;
  }

  .course-columns {
    flex-direction: column;
    gap: 20px;
  }

  .course-item {
    padding: 15px 0;
  }

  .course-item .circle {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
  }

  .course-item .course-text h3 {
    font-size: 1.1rem;
  }

  .course-item .course-text p {
    font-size: 0.9rem;
  }
}

/* Attend Section */
#who-should-attend {
  background: #fdf7e3;
  padding: 60px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.attend-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.attend-info {
  flex: 1;
  text-align: left;
}

.attend-info h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #006400;
}

.attend-info p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.attend-info .btn {
  padding: 12px 30px;
  font-size: 1rem;
  color: white;
  background-color: #006400;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.attend-info .btn:hover {
  background-color: #004d00;
  transform: scale(1.05);
}

.attend-image {
  flex: 1;
  text-align: center;
}

.attend-image img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/*light box */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-content {
  width: 90%;
  max-width: 600px;
  background: white;
  border-radius: 10px;
  padding: 20px;
  position: relative;
}

.lightbox-image img {
  width: 95%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.lightbox-buttons {
  margin-top: 10px;
}

.lightbox-buttons .btn {
  padding: 10px 20px;
  margin-right: 10px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lightbox-buttons .btn.primary {
  background-color: #008000;
  color: white;
}

.lightbox-buttons .btn.primary:hover {
  background-color: #005900;
}

.lightbox-buttons .btn.secondary {
  background-color: #ccc;
  color: black;
}

.lightbox-buttons .btn.secondary:hover {
  background-color: #aaa;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  background: none;
  color: black;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: red;
}

@media (max-width: 768px) {
  #who-should-attend {
    padding: 40px 15px;
  }

  .attend-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .attend-info h2 {
    font-size: 2rem;
  }

  .attend-info p {
    font-size: 1rem;
  }

  .attend-info .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .attend-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
  }
}

/* Key Takeaways Section */
#key-takeaways {
  background: #fdf7e3;
  padding: 50px 10%;
  text-align: center;
}

.takeaways-container {
  max-width: 1200px;
  margin: 0 auto;
}

.takeaways-container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
  font-weight: bold;
}

.takeaways-container p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #666;
  line-height: 1.8;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.tile {
  background: #ffffff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #008000 0%, rgba(0, 128, 0, 0.1) 100%);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 20px;
}

.tile:hover::before {
  opacity: 0.1;
}

.tile:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.tile .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #008000;
  z-index: 1;
  position: relative;
}

.tile h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #222;
  z-index: 1;
  position: relative;
}

.tile p {
  font-size: 1rem;
  color: #555;
  z-index: 1;
  position: relative;
  line-height: 1.5;
}

@media (max-width: 768px) {
  #key-takeaways {
    padding: 40px 15px;
  }

  .takeaways-container h2 {
    font-size: 2rem;
  }

  .takeaways-container p {
    font-size: 1rem;
  }

  .tiles {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tile {
    padding: 15px;
  }

  .tile .icon {
    font-size: 2rem;
  }

  .tile h3 {
    font-size: 1.2rem;
  }

  .tile p {
    font-size: 0.9rem;
  }
}

/* Footer */
#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 {
    padding: 40px 15px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    min-width: 100%;
  }

  .footer-container h4 {
    font-size: 1.4rem;
  }

  .footer-about p,
  .footer-contact p {
    font-size: 0.9rem;
  }

  .footer-links ul li a {
    font-size: 0.9rem;
  }

  .footer-social a {
    font-size: 1.3rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}