.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.5s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in.delay-1 { animation-delay: 0.3s; }
.fade-in.delay-2 { animation-delay: 0.6s; }
.fade-in.delay-3 { animation-delay: 0.9s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s ease, transform 1s ease;
}

.scroll-zoom.show {
  opacity: 1;
  transform: scale(1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #3f7d58;
  line-height: 1.6;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
}

.logo img {
  height: 200px;
  margin-bottom: -20px;
  transition: transform 0.5s ease;
  animation: tiltLogo 4s ease-in-out infinite; 
}

.logo img:hover {
  transform: scale(1.05) rotate(-2deg);
}

@keyframes tiltLogo {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(2deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #3f7d58;
  font-weight: 500;
  padding: 0.4rem 1.5rem;
  font-size: 17px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  font-weight: bold;
}

.nav-links a.active {
  border: 1px solid #3f7d58;
}

.yoga {
  display: flex;
  justify-content: flex-start; 
  align-items: center;
  margin-top: 20px;
  gap: 2rem;
  flex-wrap: wrap;
}

.yoga-img {
  flex: 1;
  min-width: 200px;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.yoga-img img {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;     
}

.yoga-text {
  flex: 1;
  max-width: 50%;
  padding: 1rem 6rem;
  text-align: center;
}

.yoga-text h1 {
  font-family: 'Source Serif Pro', serif;
  font-size: 3rem;
  margin-bottom: 0px;
}

.yoga-text p {
  margin-bottom: 1.7rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .yoga {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .yoga-text {
    max-width: 100%;
  }

  .yoga-img img {
    max-height: 600px; 
    min-width: 500px;
  }
  .yoga h1{
    font-size: 2.5rem;
  }
  .yoga p {
    font-size: 1rem;
  }
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.7rem;
  border: 1.5px solid #3f7d58;
  border-radius: 25px;
  text-decoration: none;
  color: #3f7d58;
  font-weight: 600;
  transition: all 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #3f7d58;
  color: #fff;
  transform: translateY(-3px);
}

/* ABOUT US */
.about-section {
  text-align: center;
  padding: 3rem 2rem;
}

.about-section h2 {
  font-family: 'Source Serif Pro', serif;
  font-size: 2.5rem;
  color: #3F7D58;
  margin-bottom: 0.5rem;
}

.about-section p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #3F7D58;
}

.about-images {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-img img {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  display: block;
  transition: all 0.4s ease;
  cursor: pointer;
}

.about-img:hover img {
  transform: scale(1.08) rotate(1deg);
  filter: brightness(1.1) saturate(1.2);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.about-img:hover {
  opacity: 1;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.about-images {
  animation: float 4s ease-in-out infinite;
}


/*BENEFIT*/
.benefits-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; 
  padding: 2rem;
}

.benefit-card {
  flex: 1 1 calc(50% - 20px); 
  max-width: calc(35% - 20px);
  height: 250px; 
  background: #fff;
  padding: 1rem; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.benefit-card img {
  width: 90px;  
  height: 90px;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.benefit-card h3 {
  font-family: 'Source Serif Pro', serif;
  font-size: 1.2rem; 
  color: #3f7d58;
  margin-bottom: 0.3rem;
}

.benefit-card p {
  font-size: 0.8rem; 
  color: #444;
  line-height: 1.3;
}

.benefit-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.benefit-card:hover img {
  transform: scale(1.1) rotate(5deg);
}

@media (max-width: 600px) {
  .benefit-card {
    flex: 1 1 100%;
    max-width: 70%;
    height: auto; 
  }
}

/* Quote Section */
.quote-section {
  position: relative;
  background: url("img/quote.jpg") center/cover no-repeat fixed;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 50px;
}

.quote-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); 
}

.quote-overlay {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.quote-text {
  font-size: 1.7rem;
  font-family: 'Source Serif Pro', serif;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.5;
}

.quote-author {
  font-size: 1rem;
  margin-top: -15px;
  text-align: end;
  color: #ffffff;
  font-style: italic;
}

/* Footer */
.footer {
  background-color: #3F7D58;
  color: #fff;
  text-align: center;
  padding: 5px 5px;
  margin-top: 50px;
}

.footer-logo {
  width: 150px;
  margin-top: -20px;
  margin-bottom: -50px;
}

.footer-text {
  margin: 1px 0;
  font-size: 1rem;
}

.footer-rights {
  margin-top: 2px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #ffffff;
}

@media (max-width: 480px) {
  header {
    padding: 10px 0;
  }
  .logo img {
    height: 120px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-links a {
    padding: 5px 15px;
    font-size: 14px;
  }
  .footer-logo {
    width: 90px;
    margin-bottom: -15px;
    margin-top: 3px;
  }
  .footer-text {
    margin-top: -5px;
    margin-bottom: 5px;
    font-size: 14px;
  }
  .footer-rights {
    font-size: 12px;
    margin-top: 1px;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .quote-text {
    font-size: 1.3rem;
    padding: 0 10px;
  }

  .quote-author {
    font-size: 0.9rem;
  }

  .footer-logo {
    width: 90px;
    margin-bottom: -15px;
    margin-top: 3px;
  }
  .footer-text {
    margin-top: -5px;
    margin-bottom: 5px;
    font-size: 0.9rem;
  }
  .footer-rights {
    font-size: 0.8rem;
    margin-top: 1px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .quote-text {
    font-size: 1.1rem;
  }

  .quote-author {
    font-size: 0.85rem;
  }
}
