.conveniently_location_section {
  background: #3f4d63;
  padding: 60px 0;
  color: #fff;
}

.conveniently_location_section .location_banner .header-row .left-header .title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
}

.conveniently_location_section .location_banner .left-tabs .nav-link {
  background: #6c7a92;
  color: #fff;
  padding: 14px 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
}

.conveniently_location_section .location_banner .left-tabs .nav-link.active {
  background: #ff6b2c;
  color: #ffffff;
}

.conveniently_location_section .location_banner .middle-content {
  background: #e9e9e9;
  padding: 15px 0px 0 0px;
  border-radius: 10px;
  height: 100%;
}

.conveniently_location_section .location_banner .left-tabs .nav-link {
  background: #A1B6DE;
  color: #000000;
  padding: 14px 5px;
  margin-bottom: 10px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.conveniently_location_section .location_banner .site-tabs .nav-link.active {
  background: #1f3c88;
  color: #fff;
}

.conveniently_location_section .location_banner .left-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -12px;
  width: 2px;
  height: 80%;
  background: #A1B6DE;
  border-radius: 2px;
  z-index: 999;
}

.sub-tabs {
  margin-top: 10px;
  border-bottom: 0.5px solid #153b89;
  margin: 6px 15px;
}

.sub-tabs .nav-link {
  font-size: 14px;
  color: #202020;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.sub-tabs .nav-link.active {
  color: #153b89;
}

.sub-tabs .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5px;
  width: 3px;
  height: 3px;
  background-color: red;
  border-radius: 50%;
  opacity: 0;
  transition: 0.3s;
}

.sub-tabs .nav-link.active::after {
  opacity: 1;
}

.details-box {
  border-radius: 8px;
  margin-top: 10px;
  color: #000;
}

.address_icon {
  background: #000000;
  width: 20px;
  height: 20px;
  color: #ffffff;
  padding: 5px;
  border-radius: 0px 4px 4px 0px;
}

.details-box p {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: #202020;
}

.conveniently_location_section .location_banner .map-box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  min-height: 320px;
}

.conveniently_location_section .location_banner .map-frame {
  width: 100%;
  height: 100%;
  border: none;
}

.conveniently_location_section .location_banner .header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.conveniently_location_section .location_banner .header-row .sub-title {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 5px;
  opacity: 0.8;
}

.conveniently_location_section .location_banner .header-row .underline {
  position: relative;
  display: inline-block;
}

.conveniently_location_section .location_banner .header-row .underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: #fff;
}

.conveniently_location_section .location_banner .header-row .right-header {
  font-size: 16px;
  width: 50%;
}

.site_wrapper .site-tabs .nav-link {
  background: #ffffff 0% 0% no-repeat padding-box;
  border: 0.5px solid #153b89;
  border-radius: 4px;
  color: #202020;
  display: flex;
  justify-content: center;
  padding: 4px 10px;
  margin: 0 5px;
}

.site_wrapper .site-tabs .nav-link :active {
  background: #203153 0% 0% no-repeat padding-box;
  border: 0.5px solid #153b89;
  border-radius: 4px;
}

.conveniently_location_section .location_banner .middle-content .details_wrapper .view-hostel {
  margin-top: 20px;
  text-align: right;
  margin-right: 10px;
}

.conveniently_location_section .location_banner .middle-content .details_wrapper .view-hostel a {
  color: #153b89;
  font-size: 15px;
  text-decoration: underline;
  font-weight: 600;
}

@media (min-width: 0px) and (max-width: 576px) {
  .conveniently_location_section {
    padding: 40px 0;
  }

  .conveniently_location_section .location_banner .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .conveniently_location_section .location_banner .left-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    top: 100%;
    bottom: -15px;
    margin: auto;
    left: 0;
    right: 0;
    width: 80%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
  }

  .conveniently_location_section .location_banner .header-row .right-header {
    width: 100%;
    font-size: 14px;
  }

  .conveniently_location_section .location_banner .header-row .left-header .title {
    font-size: 22px;
  }

  .conveniently_location_section .location_banner .left-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 15px;
  }

  .conveniently_location_section .location_banner .left-tabs .nav {
    flex-direction: row !important;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
    position: relative;
    overflow: visible;
  }

  .conveniently_location_section .location_banner .left-tabs .nav-link {
    height: auto;
    padding: 10px;
    font-size: 12px;
    width: 100%;
  }

  .conveniently_location_section .location_banner .header-row .sub-title {
    font-size: 10px;
  }

  .site_wrapper .site-tabs {
    display: flex;
    overflow-x: auto;
    margin-bottom: 10px;
  }

  .site_wrapper .site-tabs .nav-link {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .sub-tabs {
    overflow-x: auto;
    white-space: nowrap;
    margin: 6px 10px;
  }

  .sub-tabs .nav-link {
    font-size: 12px;
    margin-right: 10px;
  }

  /* DETAILS */
  .details-box p {
    font-size: 13px;
  }

  .address_icon {
    width: 16px;
    height: 16px;
    padding: 3px;
  }

  .conveniently_location_section .location_banner .middle-content .details_wrapper .view-hostel {
    text-align: right;
    margin-right: 5px;
  }

  .conveniently_location_section .location_banner .middle-content .details_wrapper .view-hostel a {
    font-size: 13px;
  }

  .conveniently_location_section .location_banner .map-box {
    margin-top: 15px;
    min-height: 100%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .conveniently_location_section {
    padding: 40px 0;
  }

  .conveniently_location_section .location_banner .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .conveniently_location_section .location_banner .header-row .right-header {
    width: 100%;
    font-size: 15px;
  }

  .conveniently_location_section .location_banner .header-row .left-header .title {
    font-size: 24px;
  }

  .conveniently_location_section .location_banner .left-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 15px;
  }

  .conveniently_location_section .location_banner .left-tabs .nav {
    flex-direction: row !important;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .conveniently_location_section .location_banner .left-tabs .nav-link {
    height: auto;
    padding: 10px;
    font-size: 14px;
    width: 100%;
  }

  .conveniently_location_section .location_banner .left-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    top: 100%;
    bottom: -15px;
    margin: auto;
    left: 0;
    right: 0;
    width: 80%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
  }

  .conveniently_location_section .location_banner .header-row .sub-title {
    font-size: 12px;
  }

  .site_wrapper .site-tabs {
    display: flex;
    overflow-x: auto;
    margin-bottom: 10px;
  }

  .site_wrapper .site-tabs .nav-link {
    font-size: 15px;
    padding: 6px 12px;
    white-space: nowrap;
  }

  .sub-tabs {
    overflow-x: auto;
    white-space: nowrap;
    margin: 6px 10px;
  }

  .sub-tabs .nav-link {
    font-size: 13px;
    margin-right: 10px;
  }

  .details-box p {
    font-size: 14px;
  }

  .address_icon {
    width: 16px;
    height: 16px;
    padding: 3px;
  }

  .conveniently_location_section .location_banner .middle-content .details_wrapper .view-hostel {
    text-align: right;
    margin-right: 5px;
  }

  .conveniently_location_section .location_banner .middle-content .details_wrapper .view-hostel a {
    font-size: 13px;
  }

  .conveniently_location_section .location_banner .map-box {
    margin-top: 15px;
    min-height: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .conveniently_location_section .location_banner .header-row .right-header {
    width: 100%;
  }

  .conveniently_location_section .location_banner .left-tabs .nav-link {
    height: 110px;
  }
}