/* TRAVEL TIPS CSS */

/* COVER PHOTO */
.img-cover {
  position: relative;
  width: 100%;
  height: 130vh;
  overflow: hidden;
}

.text-cover {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 1;
  width: 80%;
  margin-top: -3%;
}


.text-cover h1{
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 80px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1;
}

.sub-description{
  text-align: center; 
  font-weight: 500;
  margin-top: -50px;
  font-size: 23px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .text-cover {
    width: 90%;
  }

  .text-cover h1 {
    font-size: 70px;
  }

  .sub-description {
    font-size: 18px;
    margin-top: -40px;
  }
}

.img-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); /* Adjust the colors and opacity as needed */
}
  
.img-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* white bg */
.travel{
  width: 91%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.travel .travel-tip{
  min-height: 100%;
  max-height: 100%;
  position: relative;
  margin-top: -80px;
  background-color: #f3f7fa;
  border-radius: 23px;
  padding: 10px 60px 60px 60px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.15);
}

.travel-tip strong{
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 50px;
}

.hr-tips{
  border: 2px solid #38422b; 
  margin: 30px 0; 
  margin-top: 20px;
}



/* travel tips */
.tips {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.tips img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 20px;
  border-radius: 8px;
}

.tips-text {
  padding: 20px;
  text-align: justify;
  margin-top: 20px;
}

/* Responsive styles */
@media (min-width: 768px) {
  .tips {
    display: flex;
    flex-direction: row;
  }

  .tips img {
    width: 300px;
    margin-right: 20px;
    margin-left: 30px;
  }

  .tips-text {
    flex: 1;
    padding: 0;
  }
}