/*=====================================
  19. Home2 Destination Section CSS
========================================*/
.destination-card2 .destination-img {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 20px;
}
@media (max-width: 576px) {
  .destination-card2 .destination-img {
    border-radius: 10px;
  }
}
.destination-card2 .destination-img img {
  border-radius: 20px;
  transition: all 0.5s ease-out;
}
.destination-card2 .destination-img::after {
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-45deg);
  content: "";
  z-index: 1;
}
.destination-card2 .destination-content {
  padding: 20px 10px 0;
  text-align: center;
}
@media (max-width: 1199px) {
  .destination-card2 .destination-content {
    padding: 15px 10px 0;
  }
}
.destination-card2 .destination-content h5 {
  margin-bottom: 2px;
}
.destination-card2 .destination-content h5 a {
  color: var(--title-color);
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  transition: 0.5s;
}
.destination-card2 .destination-content h5 a:hover {
  color: var(--primary-color1);
}
@media (max-width: 1199px) {
  .destination-card2 .destination-content h5 a {
    font-size: 18px;
  }
}
@media (max-width: 576px) {
  .destination-card2 .destination-content h5 a {
    font-size: 19px;
  }
}
.destination-card2 .destination-content span {
  color: var(--text-color);
  font-family: var(--font-roboto);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}
@media (max-width: 991px) {
  .destination-card2 .destination-content span {
    font-size: 15px;
  }
}
.destination-card2:hover .destination-img img {
  transform: scale(1.1);
}
.destination-card2:hover .destination-img::after {
  height: 250%;
  transition: all 600ms linear;
  background-color: transparent;
}
.destination-card2.two .destination-img {
  width: 305px;
  height: 305px;
  border-radius: 50%;
}
@media (max-width: 1399px) {
  .destination-card2.two .destination-img {
    width: 270px;
    height: 270px;
  }
}
@media (max-width: 1199px) {
  .destination-card2.two .destination-img {
    width: 220px;
    height: 220px;
  }
}
@media (max-width: 767px) {
  .destination-card2.two .destination-img {
    width: 246px;
    height: 246px;
  }
}
@media (max-width: 576px) {
  .destination-card2.two .destination-img {
    width: 326px;
    height: 326px;
    margin: 0 auto;
  }
}
.destination-card2.two .destination-img img {
  width: 305px;
  height: 305px;
  border-radius: 50%;
}
@media (max-width: 1399px) {
  .destination-card2.two .destination-img img {
    width: 270px;
    height: 270px;
  }
}
@media (max-width: 1199px) {
  .destination-card2.two .destination-img img {
    width: 220px;
    height: 220px;
  }
}
@media (max-width: 767px) {
  .destination-card2.two .destination-img img {
    width: 245px;
    height: 245px;
  }
}
@media (max-width: 576px) {
  .destination-card2.two .destination-img img {
    width: 326px;
    height: 326px;
  }
}
.destination-card2.two .destination-img .arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  transition: 0.5s;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .destination-card2.two .destination-img .arrow {
    width: 35px;
    height: 35px;
  }
}
.destination-card2.two .destination-img .arrow svg {
  fill: none;
  stroke: var(--black-color);
  transition: 0.5s;
}
.destination-card2.two .destination-img .arrow:hover {
  background-color: var(--primary-color1);
}
.destination-card2.two .destination-img .arrow:hover svg {
  stroke: var(--white-color);
  transform: rotate(45deg);
}
.destination-card2.two .destination-img:hover .arrow {
  opacity: 1;
}
.destination-card2.two .destination-content h5 a {
  color: var(--title-color);
  background: linear-gradient(to bottom, var(--title-color) 0%, var(--title-color) 98%);
  background-size: 0px 1px;
  background-repeat: no-repeat;
  background-position: right 90%;
  transition: background-size 0.75s;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .destination-card2.two .destination-content h5 a {
    font-size: 17px;
  }
}
.destination-card2.two .destination-content h5 a:hover {
  background-size: 100% 1px;
  background-position: 0% 90%;
}
.destination-card2.three .destination-img .arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  transition: 0.5s;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .destination-card2.three .destination-img .arrow {
    width: 35px;
    height: 35px;
  }
}
.destination-card2.three .destination-img .arrow svg {
  fill: none;
  stroke: var(--black-color);
  transition: 0.5s;
}
.destination-card2.three .destination-img .arrow:hover {
  background-color: var(--primary-color1);
}
.destination-card2.three .destination-img .arrow:hover svg {
  stroke: var(--white-color);
  transform: rotate(45deg);
}
.destination-card2.three .destination-img:hover .arrow {
  opacity: 1;
}
.destination-card2.three .destination-content h5 a {
  color: var(--title-color);
  background: linear-gradient(to bottom, var(--title-color) 0%, var(--title-color) 98%);
  background-size: 0px 1px;
  background-repeat: no-repeat;
  background-position: right 90%;
  transition: background-size 0.75s;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .destination-card2.three .destination-content h5 a {
    font-size: 17px;
  }
}
.destination-card2.three .destination-content h5 a:hover {
  background-size: 100% 1px;
  background-position: 0% 90%;
}
.destination-card2.four {
  position: relative;
  border-radius: 20px;
}
@media (max-width: 576px) {
  .destination-card2.four {
    border-radius: 10px;
  }
}
@media (max-width: 1199px) {
  .destination-card2.four .destination-img img {
    min-height: 300px;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
@media (max-width: 991px) {
  .destination-card2.four .destination-img img {
    max-height: 320px;
    min-height: 320px;
    width: 100%;
  }
}
@media (max-width: 576px) {
  .destination-card2.four .destination-img img {
    max-height: 350px;
    min-height: 350px;
  }
}
.destination-card2.four .destination-content-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: end;
  z-index: 1;
}
@media (max-width: 576px) {
  .destination-card2.four .destination-content-wrap {
    border-radius: 10px;
  }
}
.destination-card2.four .destination-content {
  padding: 30px 35px;
  text-align: left;
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .destination-card2.four .destination-content {
    padding: 25px 20px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .destination-card2.four .destination-content {
    padding: 25px 15px;
  }
}
@media (max-width: 991px) {
  .destination-card2.four .destination-content {
    padding: 25px 20px;
  }
}
.destination-card2.four .destination-content span {
  color: var(--white-color);
}
.destination-card2.four .destination-content h5 {
  margin-bottom: 0;
  margin-top: 2px;
}
.destination-card2.four .destination-content h5 a {
  color: var(--white-color);
  font-size: 20px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .destination-card2.four .destination-content h5 a {
    font-size: 19px;
  }
}
.destination-card2.four .destination-content h5 a:hover {
  color: var(--primary-color1);
}

.home2-destination-section .destination-slider-area {
  position: relative;
}
@media (max-width: 576px) {
  .home2-destination-section .destination-slider-area .slider-btn-grp {
    display: none;
  }
}
.home2-destination-section .destination-slider-area .slider-btn-grp .slider-btn {
  position: absolute;
  top: calc(50% - 60px);
  left: -20px;
  z-index: 1;
}
.home2-destination-section .destination-slider-area .slider-btn-grp .slider-btn.destination-slider-next {
  left: unset;
  right: -20px;
}
