.bandhavgarh-banner {
  height: 400px;
  position: relative;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.bandhavgarh-banner .heading.align-center {
  min-height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

section.bandhavgarh-banner h1 {
    margin: 0;
}

.bandhavgarh-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  /* shorthand for top, right, bottom, left: 0 */
  background: rgba(0, 0, 0, 0.5);
  /* black overlay with 50% opacity */
  z-index: 1;
}

.bandhavgarh-banner>* {
  position: relative;
  z-index: 2;
}

.best-things {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

.best-things .content-left,
.best-things .content-right {
  width: 50%;
}

.best-things .content-left {
  background-color: var(--secondary-color);
  padding: 0 5rem;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.best-things .content-left p {
  color: #ffffff;
}

.content-right {
  display: flex;
  width: 50%;
  flex-wrap: wrap;
}

.best-things-box {
  width: 50%;
  padding: 2rem;
  border-top: 1px solid var(--primary-color);
}

.best-things-box:nth-child(1),
.best-things-box:nth-child(3) {
  border-right: 1px solid var(--primary-color);
}

.best-things-box:nth-child(3),
.best-things-box:nth-child(4) {
  border-bottom: 1px solid var(--primary-color);
}

.best-things-box h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.book-now {
  padding-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.book-now a {
  text-decoration: none;
}

p {
  color: #000000;
}

.turist-attraction-main{
  padding-top: 60px;
}

.road-distance-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.road-distance-table th {
  background-color: #2b663c;
  color: #ffffff;
  padding: 12px;
  text-align: left;
}

.road-distance-table td {
  padding: 10px;
  border: 1px solid #ddd;
  color: #333;
  width: 33.33%;
}

.road-distance-table.pricing-table td{
	width: 20%;
}

.road-distance-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.road-distance-table tr:hover {
  background-color: #ffece7;
}

.road-distance-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #c15538;
  margin-top: 20px;
}

.turist-attraction .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.accordion-button:not(.collapsed){
  color: #ffffff;
  background-color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 6.5L8 13l6.5-6.5L13.5 5 8 10.5 2.5 5z'/%3E%3C/svg%3E");
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 6.5L8 13l6.5-6.5L13.5 5 8 10.5 2.5 5z'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
	.best-things .content-left{
		padding: 0 2rem;
	}
	.best-things-box{
		padding: 1rem;
	}
}

@media (max-width: 900px) {
  section.bandhavgarh-content .header-button {
    display: flex;
    width: 100%;
  }
	.book-now{
		    padding-top: 1.5rem;

	}
}

@media (max-width: 600px) {
  .road-distance-table thead {
    width: 100%;
  }

  .road-distance-table,
  .road-distance-table tbody,
  .road-distance-table tr,
  .road-distance-table td {
    display: block;
    width: 100%;
  }

  .road-distance-table tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
  }

  .road-distance-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .road-distance-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    font-weight: bold;
    color: #2b663c;
    text-align: left;
  }
  section.bandhavgarh-content .header-button{
        padding-top: 1rem;
  }
  .best-things{
    flex-direction: column;
  }
  .best-things .content-left, .best-things .content-right{
    width: 100%;
  }
  .best-things .content-left {
      padding: 1rem !important;
  }
  .turist-attraction-main {
    padding-top: 30px;
  }
  .turist-attraction-main div:nth-child(even) .row{
    flex-direction: column-reverse;
  }
  .turist-attraction-main .img-box {
    margin-bottom: 1rem;
  }
  .turist-attraction-main .content p{
    margin-bottom: 0;
  }
  .road-distance-table th{
    width: 400px;
    display: block;
  }
	.bandhavgarh-banner{
		height: 300px;
	}
	.bandhavgarh-banner .heading.align-center{
		    min-height: 240px;
	}
	.content-text h2,
	.heading h2,
	.content h2,
	.safari-timing-content h2{
		font-size:1.5rem;
	}
	.best-things-box h4{
		font-size:1.2rem;
	}
}
@media (max-width: 420px) {
  .road-distance-table th{
    width: 350px;
    display: block;
  }
}
@media (max-width: 390px) {
  .road-distance-table th{
    width: 320px;
    display: block;
  }
}

@media (max-width: 360px) {
   .road-distance-table th{
    width: 270px;
    display: block;
  }
}