/* Base styles */
.mahitiContainer {
  background-color: #d5e4e8;
  height: auto;
  color: black;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0px;
  padding: 10px;
}

.carouselCont {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  

}

.sadariKaran,
.talukaMahiti,
.paryatanCarousel {
  width: 25vw;
  height: 50vh;
  background-color: #fafafa;
 
  margin: 40px;

 gap: 20px;
}

.sadariKaran h3,
.talukaMahiti h3,
.paryatanCarousel h3 {
  font-size: 12px;
  border-bottom: 2px solid blue;
  margin: 15px;
}

.paryatanCarousel {

  max-width: 30vw;
  margin: 40px 5px;
  height: 100vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  
}
.paryatanCarousel  img{

  height: 60vh;
  padding: 0px;
  box-shadow: inset 0px 0px 0px 14px  rgb(0, 0, 0);
}

.paryatanCarousel p {
  display: flex;
  justify-content:center ;
  background-color: rgb(0, 0, 0);
  font-family: 'Courier New', Courier, monospace;
  color: white;
  font-size: 20px;
}

/* Responsive Design */
@media (max-width: 2561px) {
  .mahitiContainer {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    margin: 0px;
  }
  
  .carouselCont {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    width: 100%;
   
  }
  
  .sadariKaran,
  .talukaMahiti,
  .paryatanCarousel {
    width: 30%;
    height: auto;
    margin: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .sadariKaran h3,
  .talukaMahiti h3,
  .paryatanCarousel h3 {
    font-size: 28px;
    border-bottom: 2px solid blue;
    margin: 5px;
    text-align: center;
  }
  
  .paryatanCarousel img,
  .sadariKaran img,
  .talukaMahiti img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 5px;
    padding:15px;
  }
  .carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 20;
    bottom: 0;
    z-index: 1;
    display: flex
  ;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: .5;
    transition: opacity .15sease;
    margin-top:50px;
  }
  
  }

@media (max-width: 1924px) {
  .mahitiContainer {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    margin: 0px;
  }
  
  .carouselCont {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    width: 100%;
  }
  
  .sadariKaran,
  .talukaMahiti,
  .paryatanCarousel {
    width: 40%;
    height: auto;
    margin: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .sadariKaran h3,
  .talukaMahiti h3,
  .paryatanCarousel h3 {
    font-size: 26px;
    border-bottom: 2px solid blue;
    margin: 5px;
    text-align: center;
  }
  
  .paryatanCarousel img,
  .sadariKaran img,
  .talukaMahiti img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 5px;
    padding:20px;
  }
  .carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 20;
    bottom: 0;
    z-index: 1;
    display: flex
  ;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: .5;
    transition: opacity .15sease;
    margin-top:50px;
  }
  
  }

@media (max-width: 1441px) {
  .mahitiContainer {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    margin:0px;

  }
  
  .carouselCont {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    width: 100%;
  }
  
  .sadariKaran,
  .talukaMahiti,
  .paryatanCarousel {
    width: 40%;
    height: auto;
    margin: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .sadariKaran h3,
  .talukaMahiti h3,
  .paryatanCarousel h3 {
    font-size: 24px;
    border-bottom: 2px solid blue;
    margin: 5px;
    text-align: center;
  }
  
  .paryatanCarousel img,
  .sadariKaran img,
  .talukaMahiti img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 5px;
    padding:0px;
  }
  .carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 20;
    bottom: 0;
    z-index: 1;
    display: flex
  ;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: .5;
    transition: opacity .15sease;
    margin-top:50px;
  }
  
  }

  @media (max-width: 1397px) {
    .mahitiContainer {
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: space-around;
      align-items: center;
      margin: 0px;
    }
    
    .carouselCont {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: space-around;
      width: 100%;
    }
    
    .sadariKaran,
    .talukaMahiti,
    .paryatanCarousel {
      width: 30%;
      height: auto;
      margin: 5px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .sadariKaran h3,
    .talukaMahiti h3,
    .paryatanCarousel h3 {
      font-size: 22px;
      border-bottom: 2px solid blue;
      margin: 5px;
      text-align: center;
    }
    
    .paryatanCarousel img,
    .sadariKaran img,
    .talukaMahiti img {
      width: 100%;
      height: auto;
      object-fit: cover;
      margin-top: 5px;
      padding:5px;
    }
    .carousel-control-next, .carousel-control-prev {
      position: absolute;
      top: 20;
      bottom: 0;
      z-index: 1;
      display: flex
    ;
      align-items: center;
      justify-content: center;
      width: 15%;
      padding: 0;
      color: #fff;
      text-align: center;
      background: 0 0;
      border: 0;
      opacity: .5;
      transition: opacity .15sease;
      margin-top:50px;
    }
    
    }

  @media (max-width: 1025px) {
    .mahitiContainer {
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: space-around;
      align-items: center;
      margin: 0px;
    }
    
    .carouselCont {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: space-around;
      width: 100%;
    }
    
    .sadariKaran,
    .talukaMahiti,
    .paryatanCarousel {
      width: 40%;
      height: auto;
      margin: 5px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .sadariKaran h3,
    .talukaMahiti h3,
    .paryatanCarousel h3 {
      font-size: 15px;
      border-bottom: 2px solid blue;
      margin: 5px;
      text-align: center;
    }
    
    .paryatanCarousel img,
    .sadariKaran img,
    .talukaMahiti img {
      width: 100%;
      height: auto;
      object-fit: cover;
      margin-top: 5px;
      padding:5px;
    }
    .carousel-control-next, .carousel-control-prev {
      position: absolute;
      top: 20;
      bottom: 0;
      z-index: 1;
      display: flex
    ;
      align-items: center;
      justify-content: center;
      width: 15%;
      padding: 0;
      color: #fff;
      text-align: center;
      background: 0 0;
      border: 0;
      opacity: .5;
      transition: opacity .15sease;
      margin-top:50px;
    }
    
    }

@media (max-width: 769px) {
/* Base styles */
.mahitiContainer {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  margin: 0px;
}

.carouselCont {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  width: 100%;
}

.sadariKaran,
.talukaMahiti,
.paryatanCarousel {
  width: 30%;
  height: auto;
  margin: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sadariKaran h3,
.talukaMahiti h3,
.paryatanCarousel h3 {
  font-size: 15px;
  border-bottom: 2px solid blue;
  margin: 5px;
  text-align: center;
}

.paryatanCarousel img,
.sadariKaran img,
.talukaMahiti img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 5px;
  padding:5px;
}
.carousel-control-next, .carousel-control-prev {
  position: absolute;
  top: 20;
  bottom: 0;
  z-index: 1;
  display: flex
;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: 0 0;
  border: 0;
  opacity: .5;
  transition: opacity .15sease;
  margin-top:50px;
}

}






@media (max-width: 426px) {
  .mahitiContainer {
    background-color: #d5e4e8;
    height: auto;
    color: black;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
  }
  
  .carouselCont {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .sadariKaran,
  .talukaMahiti,
  .paryatanCarousel {
    width: 90%;
    height: auto;
    background-color: #fafafa;
    border: 2px solid rgb(255, 255, 255);
    margin: 10px 0;
    padding: 6px;
    text-align: center;
  }
  
  .sadariKaran h3,
  .talukaMahiti h3,
  .paryatanCarousel h3 {
    font-size: 14px;
    border-bottom: 2px solid blue;
    margin: 10px 0;
  }
  
  .paryatanCarousel {
    position: relative;
    max-width: 90%;
    margin: 10px 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
  }
  
  .paryatanCarousel img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin:2px;
  }
  .carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 20;
    bottom: 0;
    z-index: 1;
    display: flex
  ;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: .5;
    transition: opacity .15sease;
    margin-top:50px;
  }
  
}


@media (max-width: 400px) {
  .mahitiContainer {
    background-color: #d5e4e8;
    height: auto;
    color: black;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
  }
  
  .carouselCont {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .sadariKaran,
  .talukaMahiti,
  .paryatanCarousel {
    width: 90%;
    height: auto;
    background-color: #fafafa;
    border: 2px solid rgb(255, 255, 255);
    margin: 10px 0;
    padding: 10px;
    text-align: center;
  }
  
  .sadariKaran h3,
  .talukaMahiti h3,
  .paryatanCarousel h3 {
    font-size: 12px;
    border-bottom: 2px solid blue;
    margin: 10px 0;
  }
  
  .paryatanCarousel {
    position: relative;
    max-width: 95%;
    margin: 10px 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
  }
  
  .paryatanCarousel img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  .carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 20;
    bottom: 0;
    z-index: 1;
    display: flex
  ;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: .5;
    transition: opacity .15sease;
    margin-top:50px;
  }
  
}

@media (max-width: 379px) {
  .mahitiContainer {
    background-color: #d5e4e8;
    height: auto;
    color: black;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
  }
  
  .carouselCont {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .sadariKaran,
  .talukaMahiti,
  .paryatanCarousel {
    width: 90%;
    height: auto;
    background-color: #fafafa;
    border: 2px solid rgb(255, 255, 255);
    margin: 10px 0;
    padding: 10px;
    text-align: center;
  }
  
  .sadariKaran h3,
  .talukaMahiti h3,
  .paryatanCarousel h3 {
    font-size: 12px;
    border-bottom: 2px solid blue;
    margin: 10px 0;
  }
  
  .paryatanCarousel {
    position: relative;
    max-width: 95%;
    margin: 10px 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
  }
  
  .paryatanCarousel img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  .carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 20;
    bottom: 0;
    z-index: 1;
    display: flex
  ;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: .5;
    transition: opacity .15sease;
    margin-top:50px;
  }
  
}
@media (max-width: 321px) {
  /* Main container for all sections */
  .mahitiContainer {
    background-color: #d5e4e8;
    color: black;
    width: 100vw;
    display: flex;
    flex-direction: column; /* Stack all elements vertically */
    justify-content: center;
    align-items: center;
    padding: 10px;
    
   
  }

  /* Flex container to align all elements in a vertical column */
  .carouselCont {
    display: flex;
    flex-direction: column !important; /* Ensure vertical stacking */
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 15px;
 
  }

  /* Ensure each section is stacked vertically */
  .sadariKaran,
  .talukaMahiti,
  .paryatanCarousel {
    width: 100%; /* Full width to stack properly */
    background-color: #fafafa;
    border: 2px solid #fff;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column !important; /* Force vertical stacking */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  
  }

  /* Ensure headings are centered */
  .sadariKaran h3,
  .talukaMahiti h3,
  .paryatanCarousel h3 {
    font-size: 14px;
    border-bottom: 2px solid blue;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
  }

  /* Proper alignment for the carousel */
  .paryatanCarousel {
    position: relative;
    width: 100%; /* Full width */
    height: auto;
    display: flex;
    flex-direction: column !important; /* Ensures vertical stacking */
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
  }

  /* Ensure images fit inside the carousel */
  .paryatanCarousel img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }

  /* Center carousel controls */
  .carousel-control-next,
  .carousel-control-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: transparent;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.15s ease;
  }
}
