:root {
  --bg-color: #fdfdfd;
  --text-color: #333;
  --main-color: #000D9A;
  --white-color: #fff;
  --shadow-color: rgba(0, 0, 0, .2);
}


main section h1.heading {
  padding: 5rem 0;
  font-size: 40px;
  font-weight: bold;
  color: var(--main-color);
  text-align: center;
}

/* For tablet and mobile devices */
@media only screen and (max-width: 768px) {
  main section h1.heading {
    font-size: 30px;
  }
}

/* For smaller mobile devices */
@media only screen and (max-width: 480px) {
  main section h1.heading {
    font-size: 22px;
  }
}

.video-container {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.video-container h1 {
  font-size: 30px;
  text-shadow: 2px 2px 8px #000;
  font-weight: 200;
}

#rishikeshVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}
.cont-btn{
  color: #fff;
  background-color: orangered;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 25px;
  font-weight: 400;
  transition: .2s ease-in-out;
}
.cont-btn:hover{
  color: #fff;
  background-color: rgb(255, 101, 45);
  font-weight: 700;
}


main {
  padding: 0 7%;
  background-color: var(--bg-color);
}

.header a.current{
  color: var(--main-color);
}

section.yoga-section-home {
  padding: 8.5rem 0 5rem 0;
}

.yoga-section-home {
  position: relative;
}

.yoga-section-home img {
  width: 100%;
  height: auto;
}







.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.yoga-section-home {
  background: var(--bg-color);
}

/* why choose yog marg */
.whyChooseYoga-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-bottom: 100px;
}

.yog-card {
  width:  300px;
  height: 200px;
  margin: 10px;
  transition: 0.3s ease;
  align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.yog-card:hover {
  transform: scale(1.1);
}

.yog-card img {
  width: 100px;
  height: 100px;
  
}
.yog-card img:hover{
  filter: hue-rotate(180deg);
}
.yog-card-content{
  padding-top: 20px;
}

.yog-card-content p{
  font-size: 15px;
  text-align: center;
  color: var(--text-color);
}
.yog-card-content h2{
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: var(--text-color);
}

/* For tablet and mobile devices */
@media only screen and (max-width: 768px) {
  .yog-card {
    width: 100%;
    max-width: 300px;
    /* Adjust based on your design */
    height: auto;
  }
}

/* For smaller mobile devices */
@media only screen and (max-width: 480px) {
  .yog-card {
    max-width: 100%;
    /* Adjust based on your design */
  }
}

/* yog about us */

.YogaAboutUs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-bottom: 100px;
  width: 100%;
}

.YogaAboutUs-container .YogaAboutUs-left {
  width: 100%;
  max-width: 600px;
}

.YogaAboutUs-container .YogaAboutUs-left img {
  transition: .2s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  width: 100%;
}

.YogaAboutUs-container .YogaAboutUs-left img:hover {
  transform: scale(1.1);
}

.YogaAboutUs-container .YogaAboutUs-right {
  width: 100%;
  max-width: 600px;
  padding: 50px 0;
}

.YogaAboutUs-container .YogaAboutUs-right h2 {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-color);
}

.YogaAboutUs-container .YogaAboutUs-right p {
  font-size: 15px;
  color: var(--text-color);
  padding: 30px 0;
}

@media screen and (min-width: 768px) {
  .YogaAboutUs-container {
    justify-content: space-between;
  }
}

/* classes offer ---------------------------------------------------*/


.classOfferVideo {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.videoWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
  perspective: 1000px;
  /* Added for 3D effect */
}

.videoWrapper img {
  width: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
  border-radius: 10px;
  /* Smooth transition for multiple properties */
}

.videoWrapper:hover img {
  transform: rotateY(20deg) scale(1.1) rotateX(20deg);
  /* 3D rotate and scale effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  /* Shadow effect */
  filter: brightness(1.2) saturate(1.3);
  /* Brightness and saturation effect */
}

.subtitle {
  margin-top: 10px;
  font-size: 15px;
}

@media (max-width: 768px) {
  
  .classOfferVideo {
    gap: 10px;
  }

  .videoWrapper {
    max-width: 200px;
  }

 
}

@media (max-width: 480px) {
 

  .classOfferVideo {
    flex-direction: column;
    align-items: center;
  }

  .videoWrapper {
    max-width: 100%;
  }

 
}




/* meet our teachers ----------------------------------------------*/
.container {
  text-align: center;
  /* Center the content */
}

.team-card {
  width: calc(25% - 20px);
  /* Adjust card width */
  max-width: 300px;
  /* Set maximum card width */
  height: auto;
  margin: 10px;
  overflow: hidden;
   perspective: 1000px; /* Added for 3D effect */
  transition: transform 0.5s ease; /* Smooth transition */
}

.team-card:hover {
  transform: rotateY(20deg) scale(1.1);
    /* 3D rotate and scale effect */
    
   
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-card-content {
  padding: 20px;
  text-align: center;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.team-card-content h2 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
}
.team-card-content p {
  margin-bottom: 10px;
  font-size: 15px;
}

.team-card-content a.bttn {
  font-size: 15px;
  padding: 5px 10px;
  border-radius: 5px;
}

.team-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-bottom: 100px;
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
  .team-card {
    width: calc(50% - 20px);
    /* Two cards per row */
  }
}

@media screen and (max-width: 480px) {
  .team-card {
    width: calc(100% - 20px);
    /* One card per row */
  }
}

 /* OUR PACKAGES START------------------ */

 .ourPackage .allPackages {
   text-align: end;
 }

 a.package-bttn {
   background-color: orange;
   width: 100%;
   padding: .7rem 2rem;
   /* Adjust padding for smaller screens */
   border-radius: 10px;
   transition: .2s ease-in-out;
   border: .2rem solid transparent;
   font-weight: bold;
   text-decoration: none;
   transition: .3s ease-in-out;
   color: #fff;
   font-size: 16px;
   /* Adjust font size for smaller screens */
 }

 .package-bttn:hover {
   background-color: transparent;
   border-color: orange;
   color: orange;
 }

 section.ourPackage .allPackages a.exploreAllPackage {
   padding: 10px 20px;
   /* Adjust padding for smaller screens */
   display: inline-block;
   color: orange;
   font-size: 20px;
   font-weight: bold;
 }

 section.ourPackage a.exploreAllPackage:hover {
   color: var(--main-color);
 }

 .package-card-container{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
 }

 .ourPackage .package-card-container .card {
   width: 100%;
   /* Adjust for smaller screens */
   max-width: 300px;
   /* Set maximum width */
   background-color: var(--bg-color);
   border: 1px solid #ddd;
   border-radius: 10px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
   margin-bottom: 20px;
   /* Add some margin between cards */
 }

 .card:hover {
    transform: rotateY(20deg) scale(1.1) rotateX(20deg);
      /* 3D rotate and scale effect */
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
 }

 .card-img {
   width: 100%;
   height: 200px;
   object-fit: cover;
   /* Ensure image covers entire area */
   border-top-left-radius: 10px;
   border-top-right-radius: 10px;
 }

 .card-content {
   padding: 20px;
 }

 .rating {
   color: orange;
   font-size: 20px;
 }

 .rating-number {
   margin-left: 5px;
 }

 .card-title {
   margin-top: 10px;
   color: var(--text-color);
 }

 .card-text {
   margin-top: 5px;
   color: var(--text-color);
 }

 .price {
   font-size: 15px;
   font-weight: bold;
   margin: 10px 0;
   color: var(--text-color);
 }

 /* Media queries for responsiveness */
 @media screen and (max-width: 768px) {
   .ourPackage .card {
     max-width: 100%;
     /* Cards take full width on smaller screens */
   }
 }
 /* OUR PACKAGES END------------------------------ */


/* TESTIMONIAL */
.recommend-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 5rem 1rem;
}

.recommend-container .recommend-wrapper {
  position: relative;
  max-width: 90rem;
  width: 100%;
  padding: 5rem;
}

.recommend-wrapper .recommend-box {
  padding: 1rem;
  border-radius: 2rem;
  overflow: hidden;
}

.recommend-content .recommend-slide {
  display: flex;
  align-items: center;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 2rem;
  box-shadow: 0 .1rem .5rem var(--shadow-color);
  padding: 3rem 5rem;
  border-top: .8rem solid var(--main-color);
  border-bottom: .8rem solid var(--main-color);
}

.recommend-slide img {
  width: 14rem;
  height: 14rem;
  object-fit: cover;
  border-radius: 50%;
  border: .5rem solid var(--bg-color);
  outline: .5rem solid var(--main-color);
}

.recommend-slide h3 {
  font-size: 2.5rem;
  margin: 2rem 0;
  color: var(--text-color);
}

.recommend-slide p {
  font-size: 1.4rem;
  text-align: center;
  color: var(--text-color);
}

.recommend-box .swiper-button-next,
.recommend-box .swiper-button-prev {
  color: var(--main-color);
}

.recommend-box .swiper-button-next {
  right: 0;
}

.recommend-box .swiper-button-prev {
  left: 0;
}

.recommend-box .swiper-pagination-bullet {
  background: rgba(0, 0, 0, .8);
}

.recommend-box .swiper-pagination-bullet-active {
  background: var(--main-color);
}


/* blog and article------------------ */



/* news letter---------------------------- */
.ourNewsLetter {
  padding-bottom: 50px;
}

.ourNewsLetter p {
  color: var(--text-color);
  font-size: 15px;
  text-align: center;
}

.ourNewsLetter .newsLetter {
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsLetter form.newsLetterSubs {
  max-width: 100%;
  /* Ensure the form is responsive */
  width: 100%;
  height: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: var(--bg-color);
  color: var(--text-color);
  text-align: center;
  border-radius: 50px;
  outline: 2px solid var(--text-color);
  display: flex;
  align-items: center;
}

.newsLetter form.newsLetterSubs input[type="email"] {
  color: var(--text-color);
  font-size: 15px;
  width: 70%;
  /* Adjust width for smaller screens */
  height: 100%;
  padding: 0 20px;
  /* Add padding for better spacing */
  background-color: var(--bg-color);
  border: none;
  border-radius: 50px;
}

.newsLetter form.newsLetterSubs button {
  font-size: 15px;
  /* Adjust font size for smaller screens */
  font-weight: bold;
  width: 30%;
  /* Adjust width for smaller screens */
  height: 100%;
  border-radius: 50px;
  color: #fff;
  background-color: var(--main-color);
  border: none;
}

/* Media query for responsiveness */
@media screen and (max-width: 768px) {
  .newsLetter form.newsLetterSubs input[type="email"] {
    width: 60%;
    /* Adjust width for smaller screens */
  }

  .newsLetter form.newsLetterSubs button {
    width: 40%;
    /* Adjust width for smaller screens */
  }
}





/* RESPONSIVE ----------------------------------------------------- */

/* Media queries for responsiveness */

@media (max-width:768px) {
  .recommend-container .recommend-wrapper {
    padding: 5rem 0;
  }

  .recommend-slide .recommend-slide {
    padding: 3rem 2rem;
  }

  .recommend-box .swiper-button-next,
  .recommend-box .swiper-button-prev {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .team-card {
    width: calc(50% - 20px);
    /* Two cards per row */
  }
}

@media screen and (max-width: 480px) {
  .team-card {
    width: calc(100% - 20px);
    /* One card per row */
  }
}