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

body {
  color: #797979;
  background: #ffffff;
  font-family: "Open Sans", sans-serif;
}


.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 2px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease-in-out;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}
/*----------------------------------------- for small screens  -----------------------------------------*/
/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Mobile Menu */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(44, 44, 76, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.5s ease;
    padding: 20px 0;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 15px 20px;
    font-size: 18px;
  }

  /* Dropdown menu for mobile */
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 0;
    padding: 0;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 12px 20px 12px 40px;
    font-size: 16px;
  }

  /* Adjust hero section padding for mobile */
  .hero {
    padding-top: 80px;
  }
}

/* For very small devices */
@media (max-width: 576px) {
  .nav-links {
    width: 85%;
  }
}

.navbar.scrolled {
  background-color: #63d595;
  background: rgba(75, 215, 39, 0.385);
  backdrop-filter: blurs(8px);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 44px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 5px;
  font-weight: bold;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
}

.nav-links li a:hover,
.nav-links li a.active {
  background-color: #6DBE45;
  border-radius: 4px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #2c2c4c;
  margin-top: 10px;
  list-style: none;
}

.dropdown-menu li a:hover {
  background-color: #444466;
}

/* -----------------------------------------------hero-section------------------------------------- */

.hero {
  background: linear-gradient(135deg, #6DBE45, #F5F5DC);
  padding: 100px 60px 20px 60px ;
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 100vh;
  display: flex;
}
@media (max-width: 576px) {
  .hero{
    height: max-content;
    
  }
  .hero-container{
    gap: 20px;
  }
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.hero-left h1 {
  font-size: 48px;
  color: #2E5D34;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
  /* max-width: 500px; */
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  border: none;
  font-weight: 600;
}

.btn.primary {
  background: linear-gradient(#6DBE45, #444466);
  color: #fff;
}

.btn.secondary {
  background-color: #558C36;
  color: #fff;
}

.btn.primary:hover,
.btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: #fff;
  color: #558C36;
}

.btn:focus {
  outline: 2px solid #2c2c4c;
  outline-offset: 2px;
}

/* Right Image Section */
.hero-right {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-right img {
  max-width: 80%;
  height: auto;
  object-fit: cover;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left h1,
.hero-left p,
.hero-buttons {
  animation: fadeInUp 1s ease-in-out;
}

.hero-right img {
  animation: fadeInUp 1s ease-in-out;
  animation-fill-mode: both;
  opacity: 0;
}

/* -------------------------------------------ABOUT SECTION--------------------------------- */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  gap: 40px;
  flex-wrap: wrap;
  background-color: #F5F5DC;
}

.aboutLeft {
  flex: 1;
  /* min-width: 600px; */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-subheading {
  color: #2E5D34;
  font-weight: bold;
  margin-bottom: 10px;
}

.about-heading {
  font-size: 36px;
  color: #2E5D34;
  margin-bottom: 20px;
}

.about-text {
  font-size: 16px;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 20px;
}

.aboutRightImg {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.aboutRightImg img {
  max-width: 110%;
  height: auto;
}

.btn.primary {
  background-color: #2c2c4c;
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn.primary:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: black;
  font-weight: bold;
}

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------CARDS----------------------------------------------- */
.services-section {
  padding: 50px 10%;
  background-color: #F5F5DC;
  text-align: center;
}

.services-grid {
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px; */
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.service-card {
  max-width: 300px;
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 40px 20px;
  transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.4s ease,
    transform 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.service-card:hover {
  background-color: rgba(75, 215, 39, 0.385);
  color: white;
  box-shadow: 0 10px 30px rgba(44, 44, 76, 0.6);
  transform: translateY(-10px);
}

.service-card:hover h3,
.service-card:hover p {
  color: white;
}

.service-card:hover .icon-circle {
  background-color: #558C36;
  transition: background-color 0.5s ease;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background-color: #a0e8aa;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.5s ease;
}

.icon-circle img,
.icon-circle lord-icon {
  width: 40px;
  height: 40px;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #2E5D34;
  transition: color 0.5s ease;
}

.service-card p {
  font-size: 15px;
  color: #333333;
  line-height: 1.6;
  transition: color 0.5s ease;
}

/* ----------------------------------------------headings------------------------------ */
.headings {
  text-align: center;
  margin-bottom: 50px;
}

.section-subheading {
  color: #2E5D34;
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 30px;
}

.section-heading {
  font-size: 36px;
  color: #2E5D34;
  margin-bottom: 20px;
  font-weight: 800;
}

.section-subheading,
.section-heading {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.8s ease-out, transform 0.8s;
}

.section-subheading.active,
.section-heading.active {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.2s;
}

/* --------------------------------------------4 buttons ---------------------------------------- */
.class-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 15px;
  font-size: 16px;
  font-weight: 500;
  border: 1.5px solid #2c2c4c;
  background: #fff;
  color: #2E5D34;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #6DBE45;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
  background: #6DBE45;
  border-color: #2c2c4c;
  color: #fff;
}

/* --------------------------------------------Yoga Class Schedule Section------------ */
.classes-section {
  padding: 60px 10%;
  background-color: #F5F5DC;
  text-align: center;
}

.class-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: #e07a5f;
  margin: 10px 0;
}

.join-btn {
  background-color: #6DBE45;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.join-btn:hover {
  background-color: #558C36;
  transform: translateY(-2px);
}

.classes-section .service-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s ease,
    transform 0.4s ease, background-color 0.3s ease, color 0.3s ease;
}

.classes-section .service-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------discount section--------------------- */
.discount-section {
  position: relative;
  background-color: #9edb80;
  color: #2E5D34;
  text-align: center;
  padding: 100px 20px;
  z-index: 1;
  overflow: hidden;
}

.discount-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./img/discount-bg.png") no-repeat center center fixed;
  background-size: contain;
  opacity: 0.35;
  z-index: -1;
}

.discount-small-text {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.discount-heading {
  font-size: 40px;
  font-weight: 800;
  margin: 10px 0;
}

.discount-paragraph {
  color: #524744;
}

.discount-highlight {
  color: #e92f54;
}

.discount-paragraph {
  max-width: 700px;
  margin: 20px auto 40px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.discount-button {
  background-color: #558C36;
  color: #fcdada;
  padding: 14px 30px;
  font-weight: 700;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 18px;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}

.discount-button:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: black;
}

/* -------------------------------------------- Pricing Section ---------------- */
.pricing-section {
  padding: 80px 10%;
  background-color: #F5F5DC;
  text-align: center;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.pricing-features li {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
}

/* ---------------------------------------- Testimonials Section ---------------- */
.testimonials-section {
  padding: 80px 10%;
  background-color: #F5F5DC;
  text-align: center;
  /* max-height: 260px; */
  position: relative;

}

.testimonial-card {
  padding: 30px 20px;
  text-align: left;
  /* position: relative; */
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 2px;
  color: #2E5D34;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-client img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #333333;
}

.testimonial-client h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #2E5D34;
}

.testimonial-client p {
  font-size: 14px;
  color: #333333;
}


/* ---------------------------------------------- Trainers Section ---------------- */
.trainers-section {
  padding: 80px 10%;
  background-color: #F5F5DC;
  text-align: center;
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .trainers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .trainers-grid {
    grid-template-columns: 1fr;
  }
}

.trainer-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.8s ease;
  position: relative;
  opacity: 0;
  transform: translateX(100px);
}

.trainer-card:hover {
  transform: translateY(-8px);
}

.trainer-card.show {
  opacity: 1;
  transform: translateX(0);
}

.trainer-img {
  position: relative;
  overflow: hidden;
}

.trainer-img img {
  width: 100%;
  display: block;
  border-radius: 10px 10px 0 0;
  transition: transform 0.4s ease;
}

.trainer-card:hover .trainer-img img {
  transform: scale(1.1);
}

.trainer-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(100%);
  transition: transform 0.6s ease;
}

.trainer-card:hover .trainer-img::after {
  transform: translateY(0);
}

.trainer-socials {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 12px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.trainer-socials a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #6DBE45;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.trainer-card:hover .trainer-socials a {
  opacity: 1;
  transform: translateY(0);
}

.trainer-card:hover .trainer-socials a:nth-child(1) {
  transition-delay: 0.15s;
}

.trainer-card:hover .trainer-socials a:nth-child(2) {
  transition-delay: 0.3s;
}

.trainer-card:hover .trainer-socials a:nth-child(3) {
  transition-delay: 0.45s;
}

.trainer-socials a:hover {
  background: #558C36;
}

.trainer-card h4 {
  margin: 15px 0 5px;
  font-size: 18px;
  font-weight: 700;
  color: #2E5D34;
}

.trainer-card span {
  font-size: 14px;
  color: #333333;
  display: block;
  margin-bottom: 20px;
}





/*--------------------------------------------------footer-------------  */
.footer-section {
  background-color: #6DBE45;
  height: 400px;
  color: #2E5D34;
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
  font-family: "Arial", sans-serif;
}

.footer-section img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.1;
  /* padding-right: 100px; */
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-size: 48px;
  font-weight: 900;
  color: #2E5D34;
  margin-bottom: 10px;
}

.footer-address,
.footer-contact {
  font-size: 18px;
  margin: 6px 0;
}

.separator {
  margin: 0 10px;
  color: #2E5D34;
}

.footer-social-icons {
  margin: 20px 0;
}

.footer-social-icons a {
  color: #2E5D34;
  font-size: 24px;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #e92f54;
}

.footer-bottom {
  font-size: 14px;
  border-top: 1px solid #444559;
  padding-top: 15px;
  margin-top: 20px;
}

.footer-bottom p {
  margin: 0;
  color: #2E5D34;


}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/* /animations */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}