.ayurvetha-ashrama h1 {
  font-size: 54px;
}
.ayurvetha-ashrama span {
  color: #FF9F5A;
}
.ayurvetha-ashrama strong {
  font-size: 36px;
  font-weight: normal;
}
.ayurvetha-ashrama .content-img p {
  margin: 15px 0;
}

.card {
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}
.card img {
  width: 100%;
  max-height: 200px;
  border-radius: 8px;
  margin-bottom: 10px;
}

h3 {
  margin: 0;
}

/* Add CSS for the popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-tabs {
  border-bottom: 1px solid #ff9f5a !important;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #0b0a0a;
  padding: 20px;
  border-radius: 5px;
}

.close-btn {
  cursor: pointer;
  background-color: #200d12;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  margin-top: 10px;
}

.flash-card {
  border: 1px solid #ccc;
  padding: 20px;
  margin: 10px;
  width: 300px;
}

.flash-card h2 {
  margin-top: 10px;
  font-size: 21px;
}

.flash-card p {
  font-size: 16px;
}

.main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background-color: #ff9f5a;
  color: white;
}

.flash-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.1254901961);
  background: linear-gradient(0deg, rgb(52, 48, 40) 0%, rgba(17, 0, 32, 0.5) 100%);
  box-shadow: 0 5px 20px 5px rgba(0, 0, 0, 0.5019607843);
  border-radius: 0.7rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;
  transition: 0.3s all;
}

.flash-card figure {
  margin: 0;
  width: 79%;
  border-radius: 0.5rem;
  height: 13rem;
  overflow: hidden;
}

.flash-card figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-four .flash-card h2 {
  color: #FFFFFF;
}

.card-four .flash-card .description {
  margin: 0.5rem 0;
  color: #EEEEEE;
}

.flash-card .information {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem;
}

.flash-card .information .info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #FE6D73;
  font-weight: 700;
}

.flash-card .information .duration {
  display: flex;
  align-items: center;
  color: #A6A3AF;
  margin-right: 0.2rem;
  gap: 0.5rem;
}

.flash-card .creator {
  display: flex;
  align-items: center;
  margin-top: 0.2rem;
  margin-bottom: -0.3rem;
}

.flash-card .creator ins {
  color: #A89EC9;
  text-decoration: none;
}

.flash-card .creator .wrapper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1333333333);
  padding: 0.3rem;
  margin: 0 0 0.5rem 0;
  border-radius: 100%;
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.6666666667);
}

.flash-card .creator .wrapper img {
  border-radius: 100%;
  width: 2rem;
  height: 2rem;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0;
}

.flash-card ::before {
  position: fixed;
  content: "";
  box-shadow: 0 0 100px 40px rgba(255, 255, 255, 0.031372549);
  top: -10%;
  left: -100%;
  transform: rotate(-45deg);
  height: 60rem;
  transition: 0.7s all;
}

.flash-card:hover {
  border: 1px solid rgba(255, 255, 255, 0.2666666667);
  box-shadow: 0 7px 50px 10px rgba(0, 0, 0, 0.6666666667);
  transform: scale(1.015);
  filter: brightness(1.3);
}

.flash-card:hover ::before {
  filter: brightness(0.5);
  top: -100%;
  left: 200%;
}

.we-provide {
  background: #27141A;
  padding-bottom: 100px;
  margin: 100px 0;
}
.we-provide .provide-title {
  padding: 50px 0;
}
.we-provide .provide-title h1 {
  text-align: center;
  margin: 0;
}
.we-provide span {
  color: #FF9F5A;
}
.we-provide .we-row {
  margin-bottom: 30px;
}
.we-provide .inner {
  position: absolute;
  transform: translateY(-50%);
  top: 40%;
  left: 10%;
  opacity: 0;
  transition: 0.5s;
}
.we-provide .inner h1 {
  font-size: 36px;
}
.we-provide .inner p {
  margin: 0 !important;
}
.we-provide .inner .learn-p a {
  color: #FF9F5A !important;
  text-decoration: none;
}
.we-provide .inner .learn-p a p {
  transition: 0.5s;
}
.we-provide .inner .learn-p a p:hover {
  color: #FFf;
}
.we-provide .image {
  position: relative;
  width: 100%;
}
.we-provide .image:hover .inner {
  opacity: 1;
  z-index: 999;
}
.we-provide .gradient {
  background: linear-gradient(175.28deg, rgba(0, 0, 0, 0.57) 96.19%, rgba(0, 0, 0, 0.57) 96.19%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  opacity: 0;
  transition: 0.5s;
}
.we-provide .image:hover .gradient {
  opacity: 1;
}

.ayurvetha-is-the-science h1 {
  font-size: 36px;
}
.ayurvetha-is-the-science .scie-img {
  padding-left: 15px;
  padding-right: 15px;
}
.ayurvetha-is-the-science ul {
  padding-left: 20px;
}

.img-ashrm {
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.provide-3-section {
  margin-bottom: 20px;
}

.connect_btn {
  color: #FFf;
  border: none;
  width: 130px;
  padding: 10px 0px;
  background: #401B25;
  font-size: 16px;
  transition: 0.5s;
  margin-top: 20px;
}
.connect_btn:hover {
  background-color: #FF9F5A;
}

.cvn-play {
  color: #fff;
  text-decoration: none;
  transition: 0.5s;
}
.cvn-play:hover {
  padding-left: 10px;
}

.cvn-play img {
  margin-right: 10px;
}

.scie-cntnt {
  text-align: justify;
}

@media screen and (max-width: 1600px) {
  .we-provide .inner h1 {
    font-size: 20px !important;
  }
  .ayurvetha-ashrama h1 {
    font-size: 42px;
  }
  .ayurvetha-ashrama strong {
    font-size: 18px;
  }
  .ayurvetha-is-the-science h1 {
    font-size: 32px;
  }
}
@media screen and (max-width: 991px) {
  .we-provide {
    padding-bottom: 50px;
    margin: 50px 0;
  }
}
@media screen and (max-width: 767px) {
  .main {
    display: initial;
  }
  .flash-card {
    width: 100%;
    margin: 0;
  }
  .content-img img {
    display: none !important;
  }
  .provide-1-section {
    margin-bottom: 20px;
  }
  .ayurvetha-is-the-science h1 {
    font-size: 25px !important;
  }
  .ayurvetha-is-the-science .scie-img {
    padding: 0;
  }
  .ayurvetha-is-the-science .scie-cntnt {
    margin-top: 30px;
  }
  .we-provide .provide-title {
    padding: 30px 0;
  }
  .ayurvetha-ashrama h1 {
    font-size: 28px;
  }
}
