/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  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);
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(0, 100, 0, 0.8), rgba(0, 77, 0, 0.8)), url('img/javier.jpeg') center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  opacity: 0;
}
.hero-section.active {
  animation: fadeIn 1s ease-in-out forwards;
}
.hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}
.hero-content .breadcrumb-text {
  font-size: 1.1rem;
  font-weight: 400;
}
.hero-content .breadcrumb-text a {
  color: #cce7cc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.hero-content .breadcrumb-text a:hover {
  color: #ffffff;
}
.hero-content .breadcrumb-text span {
  margin: 0 8px;
  color: #b3e5b3;
}
@media (max-width: 768px) {
  .hero-section {
      height: 300px;
  }
  .hero-content h1 {
      font-size: 2rem;
  }
  .hero-content .breadcrumb-text {
      font-size: 0.9rem;
  }
}

/* Trainer Section */
#trainer-info {
  padding: 80px 5%;
  background-color: #fdf7e3;
}
.trainer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateX(-50px);
}
.trainer-container.active {
  animation: slideInFromLeft 1s ease-in-out forwards;
}
.trainer-image {
  flex: 1;
  min-width: 300px;
}
.trainer-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.trainer-details {
  flex: 2;
  min-width: 300px;
  padding: 20px;
}
.trainer-details h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #006400;
  margin-bottom: 10px;
}
.trainer-details h5 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 20px;
}
.trainer-details .bio-text {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 25px;
}
.contact-info p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.contact-info i {
  color: #008000;
  margin-right: 10px;
  font-size: 1.2rem;
}
.social-icons {
  display: flex;
  gap: 20px;
}
.social-icons a {
  font-size: 1.5rem;
  color: #006400;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  color: #008000;
  transform: scale(1.2);
}
@media (max-width: 768px) {
  #trainer-info {
      padding: 40px 5%;
  }
  .trainer-container {
      flex-direction: column;
      text-align: center;
  }
  .trainer-image img {
      max-width: 100%;
  }
}

/* Certifications Section */
#certifications {
  padding: 80px 5%;
  background-color: #fff;
}
.certifications-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.certifications-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #006400;
  margin-bottom: 40px;
}
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.certification-card {
  background: #fdf7e3;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.certification-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.certification-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}
.certification-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  border-radius: 50%;
  background-color: #cce7cc;
  padding: 8px;
}
.certification-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.certification-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
@media (max-width: 768px) {
  #certifications {
      padding: 40px 5%;
  }
  .certifications-container h2 {
      font-size: 2rem;
  }
  .certifications-grid {
      grid-template-columns: 1fr;
  }
}

/* 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(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}