.grid-container {
  display: flex;
  flex-direction: column;
  height: 1200px;
  width: 100%;
  background: #f3f0eb;
  position: relative;
  overflow: hidden;
}
.grid-container.addpadding{
  padding: 100px 80px 100px 80px;
}
.grid-container .top-content .desktop-tiles p:nth-of-type(1),
.grid-container .top-content .desktop-tiles p:nth-of-type(2) {
  font-size: 3rem;
  font-style: normal;
  font-weight: 260;
  line-height: 120%;
  font-family: "VELUX Transform Variable";
}
.grid-container .top-content .desktop-tiles p:nth-of-type(3) {
  margin-top: 1rem;
  font-size: 24px;
  font-style: normal;
  font-weight: 240;
  line-height: 140%;
  max-width: 40rem;
  font-family: "VELUX Transform Variable";
  margin-bottom: 1rem;
}

.bottom-content {
  overflow: hidden;
  position: relative;
  height: 900px;
  width: 100%;
}

.bottom-content.active {
  margin-top: 3rem;
}

.bottom-content .top-layer{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.bottom-content .bottom-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bottom-content .top-layer {
  z-index: 2;
  display: grid;
  grid-template-rows: 55% 43%;
  gap: 20px;
  /* opacity: 0; */
}

.bottom-content .bottom-layer {
  z-index: 1;
  display: flex;
  flex-direction: row;
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
}

.bottom-content .bottom-layer .card-5,
.bottom-content .bottom-layer .card-4,
.bottom-content .bottom-layer .card-3,
.bottom-content .bottom-layer .card-2,
.bottom-content .bottom-layer .card-1 {
  position: absolute;
  display: flex;
  flex: 35% 0 65%;
  flex-direction: row;
  width: 100%;
  /* height: 100vh; */
  top: 0%;
  overflow: auto;
}
@keyframes card-move-out {
  0% {
    top: 0%;
    left: 0%;
  }
  100% {
    top: 0%;
    left: -110%;
  }
}
@keyframes card-move-in {
  0% {
    top: 0%;
    left: 110%;
  }
  100% {
    top: 0%;
    left: 0%;
  }
}

.bottom-content .bottom-layer.visible {
  opacity: 1;
}

.bottom-content .top-layer .row-1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  transition: transform 0.5s ease;
}
.bottom-content .desktop-tiles,
.bottom-content .bottom-layer-small-sec,
.bottom-content .top-layer-small-sec {
  display: none;
}

.bottom-content .top-layer .row-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  transition: transform 0.5s ease;
}

.bottom-content .top-layer .translate-row-1 {
  transform: translateY(-100%);
}

.bottom-content .top-layer .translate-row-2 {
  transform: translateY(100%);
}
.grid-item {
  transition: transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}
.grid-item.translate {
  transform: translateX(100%);
}
.grid-item.fade-out {
  opacity: 0;
  transform: scale(1.25);
}
.grid-item.translate-upside {
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.grid-item {
  position: relative;
  overflow: hidden;
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  height: 100%;
  object-fit: cover;
}

.text-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 260;
  line-height: 110%;
  color: #fff;
  font-family: "VELUX Transform Variable";
}

.img-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #fff;
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.3s ease;
}
.img-overlay img {
  width: 1.5rem;
  height: 1.5rem;
}
.bottom-content .bottom-layer .card {
  display: flex;
  height: 900px;
  flex: 35% 0 60%;
  padding: 2.5rem ;
}
.bottom-content .bottom-layer .card .left-content {
  width: 35%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
}
.bottom-content .bottom-layer .card .left-content img {
  width: 100%;
  height: 93%;
  top: 0;
  position: absolute;

}
.bottom-content .bottom-layer .card .left-content img:nth-child(5),
.bottom-content .bottom-layer .card .left-content img:nth-child(4),
.bottom-content .bottom-layer .card .left-content img:nth-child(3),
.bottom-content .bottom-layer .card .left-content img:nth-child(2) {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bottom-content .bottom-layer .card .left-content .pause-button {
  position: absolute;
  /* margin-bottom: 12rem; */
  bottom: 8rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 3;
  width: 14rem;
  height: 3.5rem;
}
.bottom-content .bottom-layer .card .left-content .pause-button img {
  cursor: pointer;
  z-index: 3;
  position: relative;
}

.bottom-content .bottom-layer .card .left-content .pause-button .loader {
  height: 3rem;
  width: 12rem;
  background-color: #3b3b3b;
  border-radius: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.bottom-content .bottom-layer .card .left-content .pause-button .loader li {
  width: 0.5rem;
  height: 0.5rem;
  background-color: rgb(136, 135, 135);
  border-radius: 50%;
  margin: 0 0.5rem;
  list-style: none;
}
.bottom-content
  .bottom-layer
  .card
  .left-content
  .pause-button
  .loader
  li:hover {
  background-color: #fff;
}

.bottom-content
  .bottom-layer
  .card
  .left-content
  .pause-button
  .loader
  li.active {
  width: 2rem;
  height: 0.5rem;
  border-radius: 0.25rem;
  /* background-color: #fff; */
  background-color: rgb(136, 135, 135);
}
.bottom-content
  .bottom-layer
  .card
  .left-content
  .pause-button
  .loader
  li.active span {
  display: block;
  /* max-width: 100%; */
  height: 100%;
  background-color: #fff;
  border-radius: 0.25rem;
  width: 0; 
  animation: fillProgressbar linear forwards ;
  /* animation-duration: 2s;  */
  
}

@keyframes fillProgressbar {
  from { width: 0; }
  to { width: 100%; }
}

.bottom-content .bottom-layer .card .right-content {
  flex: 1;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  height: 93%;
  padding-left: 7rem;
}
.bottom-content .bottom-layer .card .right-content .content-heading p {
  font-size: 48px;
  font-style: normal;
  font-weight: 260;
  line-height: 120%;
  font-family: "VELUX Transform Variable";
  color: #000;
}

.bottom-content .bottom-layer .card .right-content .content-heading {
  margin-bottom: 3rem;
}
.bottom-content .bottom-layer .card .right-content .facility-list-heading p {
  font-size: 20px;
  font-style: normal;
  line-height: 135%;
  font-family: "VELUX Transform Variable";
  font-weight: 600;
  margin-bottom: 1.5rem;
  width: 30rem;
}
.bottom-content
  .bottom-layer
  .card
  .right-content
  .facility-list-heading
  .facility-list {
  list-style-type: decimal;
  padding-left: 0;
  margin-bottom: 3.5rem;
  margin-left: 1rem;
}
.bottom-content .bottom-layer .card .right-content .facility-list-heading li {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 140%;
  font-family: "VELUX Transform Variable";
  color: rgb(168, 167, 167);
  width: 35rem;
  cursor: pointer;
}
.bottom-content
  .bottom-layer
  .card
  .right-content
  .facility-list-heading
  li.active {
  color: #000;
}

.bottom-content .bottom-layer .card .right-content .info-button {
  display: flex;
  border: none;
  width: 18rem;
  position: relative;
  align-items: center;
  height: 3rem;
  cursor: pointer;
  z-index: 1000;
}
.bottom-content
  .bottom-layer
  .card
  .right-content
  .info-button
  .contact-button {
  display: flex;
  border: none;
  font-style: normal;
  font-weight: 600;
  background: #c70000;
  color: #fff;
  width: 18rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  height: 3rem;
  opacity: 1;
}
.bottom-content .bottom-layer .card .right-content .info-button .hover-button {
  display: flex;
  border: none;
  font-style: normal;
  font-weight: 600;
  width: 18rem;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  background: #a10000;
  height: 3rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bottom-content
  .bottom-layer
  .card
  .right-content
  .info-button
  .hover-button
  img {
  position: absolute;
  left: 1.5rem;
}
.bottom-content
  .bottom-layer
  .card
  .right-content
  .info-button
  .contact-button
  img {
  position: absolute;
  right: 1.5rem;
}
.bottom-content
  .bottom-layer
  .card
  .right-content
  .info-button
  .contact-button
  span {
  font-family: "VELUX Transform Variable";
  font-weight: 600;
  font-size: 12.54px;
  color: #fff;
  position: absolute;
  left: 1.5rem;
}
.bottom-content
  .bottom-layer
  .card
  .right-content
  .info-button
  .hover-button
  span {
  font-family: "VELUX Transform Variable";
  font-size: 12.54px;
  font-weight: 600;
  color: #fff;
  position: absolute;
  right: 1.5rem;
}
.bottom-content
  .bottom-layer
  .card
  .right-content
  .info-button
  .hover-button:hover {
  cursor: pointer;
  opacity: 1;
}

.bottom-content .bottom-layer .card .close-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 4rem;
  right: 4rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #f3f0eb;
  z-index: 1;
  cursor: pointer;
}
@media (max-width: 1750px) {
  .bottom-content .bottom-layer .card .right-content .info-button .hover-button,
  .bottom-content
    .bottom-layer
    .card
    .right-content
    .info-button
    .contact-button,
  .bottom-content .bottom-layer .card .right-content .info-button {
    width: 19rem !important;
    height: 3rem;
  }
  .grid-container.addpadding{
    padding: 100px 40px 100px 40px;
  }
  /* .bottom-content .bottom-layer .card .right-content {
    padding-left: 2rem !important;
    padding-top: 3rem !important;
    justify-content: start;
  } */
}

@media (max-width: 1540px) {
  .bottom-content .bottom-layer .card .right-content .info-button .hover-button,
  .bottom-content
    .bottom-layer
    .card
    .right-content
    .info-button
    .contact-button,
  .bottom-content .bottom-layer .card .right-content .info-button {
    width: 21rem !important;
    height: 3.5rem;
  }
  .grid-container.addpadding{
    padding: 100px 40px 100px 40px;
  }
  /* .bottom-content .bottom-layer .card .right-content {
    padding-left: 2rem !important;
    padding-top: 3rem !important;
    justify-content: start;
  } */
}
@media (max-width: 1440px) {
  .bottom-content .bottom-layer .card .close-card-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
  .grid-container .top-content .desktop-tiles p:nth-of-type(3) {
    max-width: 53rem;
  }
  .bottom-content .bottom-layer .card .right-content .info-button .hover-button,
  .bottom-content
    .bottom-layer
    .card
    .right-content
    .info-button
    .contact-button,
  .bottom-content .bottom-layer .card .right-content .info-button {
    width: 17rem !important;
    height: 3.5rem;
  }
}
@media (max-width: 1200px) {
  .text-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 260;
    line-height: 110%;
    color: #fff;
    font-family: "VELUX Transform Variable";
  }
  .bottom-content .bottom-layer .card .left-content {
    width: 40%;
  }
  .bottom-content .bottom-layer .card .right-content{
    padding-left: 3rem;
  }
  .bottom-content .bottom-layer .card .right-content .facility-list-heading p {
    width: 26rem !important;
  }
  .bottom-content .bottom-layer .card .right-content .facility-list-heading li{
    width: 28rem !important;
  }
}
@media (max-width: 1030px) {
  .text-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 260;
    line-height: 110%;
    color: #fff;
    font-family: "VELUX Transform Variable";
  }
  .bottom-content .bottom-layer .card .left-content .pause-button 
  {
    /* margin-bottom: 8rem; */
    width: 13rem !important;
  }
  .bottom-content .bottom-layer .card .right-content .content-heading p {
    font-size: 32px;
    font-style: normal;
    font-weight: 260;
    line-height: 120%;
    font-family: "VELUX Transform Variable";
    color: #000;
}
.bottom-content .bottom-layer .card .right-content .facility-list-heading p {
  width: 23rem !important;
  font-size: 1rem !important;
}
.bottom-content .bottom-layer .card .right-content .facility-list-heading li{
  width: 24rem !important;
}
}
@media (max-width: 769px) {
  .grid-container {
    height: 1250px;
  }
  .bottom-content {
    overflow: hidden;
    position: relative;
    height: 1250px;
    width: 100%;
  }
  .top-content {
    display: none !important;
  }
  .grid-container.addpadding{
    padding: 50px 15px 25px 15px;
  }

  .bottom-content .desktop-tiles {
    display: block !important;
    transition: opacity 0.5s ease;
  }
  .bottom-content .desktop-tiles.fade-out {
    opacity: 0;
  }
  .grid-container .bottom-content .desktop-tiles p:nth-of-type(1),
  .grid-container .bottom-content .desktop-tiles p:nth-of-type(2) {
    font-size: 2rem !important;
    font-style: normal;
    font-weight: 260;
    line-height: 120%;
  }
  .grid-container .bottom-content .desktop-tiles p:nth-of-type(3) {
    margin-top: 1rem;
    font-size: 24px;
    font-style: normal;
    font-weight: 240;
    line-height: 120%;
    max-width: 39rem;
    font-family: "VELUX Transform Variable";
    margin-bottom: 1rem;
  }
  .bottom-content .top-layer-small-sec {
    position: absolute;
    top: 14rem;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: grid;
    grid-template-columns: 49% 49%;
    gap: 10px;
  }

  .bottom-content .top-layer-small-sec .col-1 {
    display: grid !important;
    grid-template-rows: 28% 19% 28%;
    gap: 10px;
    transition: transform 0.5s ease;
  }
  .bottom-content .top-layer-small-sec .col-2 {
    display: grid !important;
    grid-template-rows: 19% 28% 28%;
    gap: 10px;
    transition: transform 0.5s ease;
  }
  .bottom-content .top-layer-small-sec .translate-col-1 {
    transform: translateX(-100%);
  }
  .bottom-content .top-layer-small-sec .translate-col-2 {
    transform: translateX(110%);
  }
  .bottom-content .bottom-layer,
  .bottom-content .top-layer {
    display: none !important;
  }
  .text-overlay {
    font-size: 1.5rem;
  }
  .img-overlay {
    width: 2rem;
    height: 2rem;
  }
  .img-overlay img {
    width: 1.2rem;
    height: 1.2rem;
  }
  .bottom-content .bottom-layer-small-sec {
    z-index: 1;
    display: flex !important;
    flex-direction: row;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
    height: 100%;
    width: 100%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  .bottom-content .bottom-layer-small-sec.visible {
    opacity: 1;
  }
  .bottom-content .bottom-layer-small-sec .content-heading p:nth-child(1) {
    font-size: 2rem;
    font-style: normal;
    font-weight: 360;
    line-height: 130%;
    margin-bottom: 2rem;
  }
  .bottom-content .bottom-layer-small-sec .content-heading p:nth-child(2) {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 560;
    line-height: 135%;
    width: 30rem;
  }
  .top-card-content {
    padding: 2.5rem 1.25rem 1.25rem 1.25rem;
  }
  .middle-card-content {
    width: 100%;
  }

  .middle-image {
    width: 100%;
  }
  .middle-image .card-image6,
  .middle-image .card-image5,
  .middle-image .card-image4,
  .middle-image .card-image3,
  .middle-image .card-image2,
  .middle-image .card-image1 {
    width: 100%;
    height: 50rem;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 17rem;
  }
  @keyframes moveImageout {
    0% {
      left: 0;
    }
    100% {
      left: -100%;
    }
  }
  @keyframes moveImageIn {
    0% {
      left: 100%;
    }
    100% {
      left: 0%;
    }
  }
  .middle-card-content .middle-image .card-image-02,
  .middle-card-content .middle-image .card-image-03,
  .middle-card-content .middle-image .card-image-04,
  .middle-card-content .middle-image .card-image-05 {
    /* position: absolute;
  left: 100%;
  top: 17rem; */
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .bottom-layer-small-sec .card-small-sec {
    width: 100%;
  }
  .middle-card-content .list {
    margin: 3rem;
  }
  .middle-card-content .list li {
    list-style-type: none;
    /* height: 3rem; */
    /* justify-content: center; */
    text-align: left;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    position: absolute;
    top: 70rem;
  }
  .middle-card-content .list li span:first-child {
    padding: 1rem 1.5rem 1rem 1.5rem;
    background-color: #ebe6de;
    border-radius: 50%;
    /* margin-right: 2rem */
  }
  .middle-card-content .list ul li .list-context {
    margin-left: 0rem;
  }
  .middle-card-content .list li {
    opacity: 1; 
    transition: opacity 0.3s ease;
    display: flex;
    align-items:start;
    gap: 1.75rem;
  }

  /* .middle-card-content .list li:nth-child(4),
  .middle-card-content .list li:nth-child(3),
  .middle-card-content .list li:nth-child(5), 
  .middle-card-content .list li:nth-child(2) */
  .middle-card-content .list li{
    opacity: 0;
  }
  /* .bottom-content .bottom-layer-small-sec .card-6,
  .bottom-content .bottom-layer-small-sec .card-5,
  .bottom-content .bottom-layer-small-sec .card-4,
  .bottom-content .bottom-layer-small-sec .card-3,
  .bottom-content .bottom-layer-small-sec .card-2,
  .bottom-content .bottom-layer-small-sec .card-1  */
  .bottom-content .bottom-layer-small-sec .card-small-sec{
    position: absolute;
    display: flex;
    flex: 15% 85%;
    flex-direction: column;
    width: 100%;
    height: 97%;
    top: 0%;
    overflow: hidden;
  }
  .card-small-sec .close-card-icon {
    position: absolute;
    top: 2.5rem;
    right: 1.5rem;
    z-index: 10;
  }
  .middle-card-content .controller {
    position: absolute;
    top: 60rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: auto;
  }
  .middle-card-content .controller .loader li,
.middle-card-content .controller .forward,
.middle-card-content .controller .backward{
  cursor: pointer;
}
  .middle-card-content .controller .backward img,
  .middle-card-content .controller .forward img {
    width: 4rem;
    height: 4rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 50%;
    z-index: 3;
  }
  .middle-card-content .controller .loader {
    height: 4rem;
    width: 14rem;
    background-color: #ffffff;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }

  .middle-card-content .controller .loader li {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #f3f0eb;
    border-radius: 50%;
    margin: 0 0.75rem;
    list-style: none;
    display: inline-block;
  }
  .middle-card-content .controller .loader li:hover {
    background-color: #f3f0eb;
  }

  .middle-card-content .controller .loader li.active {
    width: 3rem;
    height: 0.75rem;
    border-radius: 0.5rem;
    background-color: #f3f0eb;
  }
  .middle-card-content .controller .loader li.active span {
    display: block;
    max-width: 100%;
    height: 100%;
    background-color: #c70000;
    border-radius: 0.5rem;
    width: 0; /* Start from width 0 */
    animation: fillProgressBar linear forwards ;
    /* animation-duration: 2s;  */
    
  }
  @keyframes fillProgressBar {
    0% {
      width: 0;
    }
    100% {
      width: 100%;
    }
  }
}
@media (max-width: 500px) {
  .bottom-content .bottom-layer-small-sec .content-heading p:nth-child(2) {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 560;
    line-height: 135%;
    width: 28rem;
  }
}
@media (max-width: 426px) {
  .grid-container {
    height:850px ;
  }
  .bottom-content {
    overflow: hidden;
    position: relative;
    height: 850px !important;
    width: 100%;
  }
  .bottom-content .desktop-tiles {
    display: block !important;
    transition: opacity 0.5s ease;
  }

  .bottom-content .desktop-tiles.fade-out {
    opacity: 0;
  }
  .grid-container .bottom-content .desktop-tiles p:nth-of-type(1),
  .grid-container .bottom-content .desktop-tiles p:nth-of-type(2) {
    font-size: 1.5rem !important;
  }
  

  .grid-container .bottom-content .desktop-tiles p:nth-of-type(3) {
    font-size: 1rem !important;
  }
  .text-overlay {
    font-size: .75rem;
    bottom: 10px;
    left: 10px;
  }
  .img-overlay {
    width: 1.5rem;
    height: 1.5rem;
    bottom: 10px;
    right: 10px;
  }
  .img-overlay img {
    width: 1rem;
    height: 1rem;
}
.bottom-content .top-layer-small-sec {
  position: absolute;
  top: 10rem;
}
.bottom-content .top-layer-small-sec .col-1 {
  display: grid !important;
  grid-template-rows: 27% 18% 27%;
  gap: 10px;
  transition: transform 0.5s ease;
}
.bottom-content .top-layer-small-sec .col-2 {
  display: grid !important;
  grid-template-rows: 18% 27% 27%;
  gap: 10px;
  transition: transform 0.5s ease;
}
.bottom-content .bottom-layer-small-sec .content-heading p:nth-child(1) {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 360;
}
.bottom-content .bottom-layer-small-sec .content-heading p:nth-child(2) {
  font-size: 1rem;
  font-style: normal;
  font-weight: 560;
  line-height: 135%;
  width: 21rem;
}
.middle-image .card-image6,
.middle-image .card-image5, 
.middle-image .card-image4, 
.middle-image .card-image3, 
.middle-image .card-image2, 
.middle-image .card-image1 {
  width: 100%;
  height: 30rem;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 15rem;
}
.middle-card-content .list {
  margin: 1.5rem;
}
.middle-card-content .list li {
  opacity: 1;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: start;
  gap: .75rem;
}
.middle-card-content .list li {
  list-style-type: none;
  text-align: left;
  font-size: .875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  position: absolute;
  top: 47rem;
}
.middle-card-content .list li span:first-child {
  padding: .5rem .85rem .5rem .85rem;
  background-color: #ebe6de;
  border-radius: 50%;
  /* margin-right: 2rem */
}
.middle-card-content .list ul li .list-context {
  margin-left: .25rem;
}
.middle-card-content .controller {
  top: 40rem;
}
.middle-card-content .controller .loader li,
.middle-card-content .controller .forward,
.middle-card-content .controller .backward{
  cursor: pointer;
}
.middle-card-content .controller .backward img, 
.middle-card-content .controller .forward img {
  width: 2.5rem;
  height: 2.5rem;
  padding: .625rem;
  background-color: #fff;
  border-radius: 50%;
  z-index: 3;
}
.middle-card-content .controller .loader {
  height: 2.5rem;
  width: 9rem;
  border-radius: 3.5rem;
  z-index: 2;
}
.middle-card-content .controller .loader li {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #f3f0eb;
  border-radius: 50%;
  margin: 0 0.4rem;
}
.middle-card-content .controller .loader li.active {
  width: 2rem;
  height: 0.5rem;
  border-radius: 0.5rem;
  background-color: #f3f0eb;
}
}
@media(max-width:321px){
  .text-overlay {
    font-size: .75rem;
    bottom: 10px;
    left: 10px;
    width: 7rem !important;
  }
  .bottom-content .top-layer-small-sec {
    position: absolute;
    top: 12rem;
  }
  .bottom-content .bottom-layer-small-sec .content-heading p:nth-child(2) {
    font-size: 1rem;
    font-style: normal;
    font-weight: 560;
    line-height: 135%;
    width: 18rem;
  }
  .middle-card-content .controller .loader li,
.middle-card-content .controller .forward,
.middle-card-content .controller .backward{
  cursor: pointer;
}
  
}
/* 
@media (max-width: 1300px) and (max-height: 750px) {
  .bottom-content .bottom-layer .card .right-content .content-heading p {
    font-size: 2rem !important;
    font-style: normal;
    font-weight: 260;
    line-height: 120%;
    font-family: "VELUX Transform Variable";
    color: #000;
}
.bottom-content .bottom-layer .card .right-content .facility-list-heading p {
  font-size: 1rem;
  font-style: normal;
  line-height: 135%;
  font-family: "VELUX Transform Variable";
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.bottom-content .bottom-layer .card .right-content .facility-list-heading li {
  margin-bottom: 1rem;
  font-size: .825rem;
  font-weight: 300;
  line-height: 130%;
  font-family: "VELUX Transform Variable";
  color: rgb(168, 167, 167);
}
} */

