.bold {
  font-size: 1.875rem;
  font-weight: 750;
}

/* Next Section are the Top section CSS */

.top {
  display: flex;
  flex-direction: column;

  height: 90vh;
  max-width: 100%;
}

.top-information { 
  flex: 1;
  display: flex;

  background-image: url(./images/bcift-drone-compressed.jpg);
  background-position-y: 40%;
  background-position-x: 95%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* This line of code are used to create a shadowy effect on the image */
.box-shadow {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  
  min-height: 100%;
  width: 100%;
  padding: 0px 0px 70px 90px;

  background-image: linear-gradient(90deg,rgba(43, 43, 43, 0.749) 0%, rgba(149, 149, 149, 0.01) 60%);
}

.top-information h1 {
  width: 30%;

  color: white;
  font-size: 4rem;
  line-height: 5rem;
}

.top-information p {
  width: 30%;
  margin-top: 0.5rem;

  color: rgb(219, 219, 219);
  line-height: 2rem;
}

.top-announcement {
  flex: 0.1;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #c1ffaf;
}

.top-announcement p{
  font-size: 1.2rem;
}

/* Next part is middle section */

.middle {
  display: flex;
  flex-direction: column;
  gap: 160px;
  
  background-color: #fff;

  padding: 80px 90px 90px 90px;
}

/* First Journey */

.journey {
  display: flex;
  flex-direction: column;
}

.journey h2{
  margin-bottom: 20px;
}

.journey p{
  margin: 0px 0 50px 0;
}

.journey-card-container .journey-card p {
  font-size: 1.3rem;
  color: white;
}

.journey-card-container .journey-card .bold {
  font-size: 1.8rem;
  font-weight: 600;
}

.journey-card-container {
  flex-shrink: 1;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.journey-card {
  flex-shrink: 1;
  display: flex;
  justify-content: space-between;

  width: 100%;
  padding: 20px 30px 25px 30px;
  
  border-radius: 20px;

  background: linear-gradient(90deg, #0c4a6e, #55aedf);
  
  color: #fff;
  /* box-shadow: 0px 5px 10px #000269; */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  transition: 0.3s ease;
}

.journey-card:hover{
  box-shadow: none;
}

.journey-card-left {
  display: flex;
  flex-direction: column;

  & .blue-filter {
    filter: invert(21%) sepia(99%) saturate(1040%) hue-rotate(194deg) brightness(96%) contrast(89%);;
  }
}

.journey-card-left p {
  margin-bottom: 0;
  margin-top: 0;

  font-size: 1.3rem;
}

.icon-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 70px;
  height: 70px;
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
  
  border: 4px solid #fff;
  border-radius: 50%;

  background-color: #fff;
  box-shadow: 0px 0px 0px 2.2px #005199 inset;
}

.journey-card a {
  display: flex;
  justify-content: center;

  align-self: flex-end;
  
  width: 90px;
  height: 40px;

  border-radius: 20px;
  border: 2px solid #fff;

  background: none;

  transition: transform 0.3s ease;
}

.journey-card a:hover{
  transform: scale(1.05);

  box-shadow: 0 0 15px rgb(116, 201, 250);
}

.journey-card .right-arrow {
  width: 100%;
  height: 100%;
}

/* Destination */
.destination {
  display: flex;
  gap: 50px;
}

.destination-title img {
  filter: invert(0%) sepia(0%) saturate(50%) hue-rotate(266deg) brightness(0%) contrast(105%);
}

.destination-left p{
  width: 80%;

  line-height: 2.2rem;
}

.destination-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  width: 36%;
}

.destination-left h2 {
  width: 70%;
  margin-top: 20px;
  margin-bottom: 30px;
}

.destination-right p {
  margin-top: 10px;

  font-size: 1.3rem;
  font-weight: 500;
}

.destination-right {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  gap: 40px;
}

.destination-right .destination-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;

  max-width: 500px;
  min-height: 620px;
  padding-bottom: 40px;

  color: #fff;
  box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.2);

  border-radius: 20px;

  cursor: pointer;
  transition: 0.2s ease;
}

.destination-right .destination-card:hover {
  box-shadow: none;
}

.destination-right .singapore {
  background-image: url(./images/singapore-image-compressed.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
}

.destination-right .malaysia {
  background-image: url(./images/malaysia-image-compressed.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
}

.destination-right h3 {
  font-size: 50px;
  font-weight: 600;
}

/* Overview */
.overview {
  display: flex;
  gap: 45px;
}

.overview-image {
  flex: 0.6 1 auto;

  background-image: url(./images/Departure.jpg);
  background-size: cover;
  background-repeat: no-repeat;

  width: 65em;
  max-height: 100%;

  border-radius: 20px;
}

.overview-right {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  overflow-x: hidden;
}

.overview-right > h2,
.overview-right > p {
  padding-left: 30px;
}

.overview-right > p {
  width: 95%;

  margin-top: 30px;
  margin-bottom: 30px;
  
  line-height: 2.2rem;
}

.overview-card-container {
  display: flex;
  gap: 35px;

  border-radius: 10px;

  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  
  anchor-name: --overview-card-container;
}

.overview-card-container::-webkit-scrollbar {
  display: none;
}

.overview-card-container::scroll-button(right),
.overview-card-container::scroll-button(left) {  
  
  width: 2em;
  height: 2em;

  content: '>'; 

  position: fixed;
  position-anchor: --overview-card-container;
  position-area: right center;
  translate:-120%;

  border: none;
  border-radius: 50%;

  background-color: white;

  font-size: 1rem;
  color: #1b1b1b;

  cursor: pointer;
}

.overview-card-container::scroll-button(right):disabled,
.overview-card-container::scroll-button(left):disabled {
  opacity: 0.5;
  cursor: auto;
}

.overview-card-container::scroll-button(left) { 
  content: '<';

  position-area: left center; 
  translate: 120%;
}

.overview-card {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 10px;

  min-height: 270px;
  min-width: 350px;
  padding: 0px 20px 20px 0px;

  border-radius: 20px;
  
  background-image: url(./images/Cinnatoast-compressed.jpg);
  background-size: cover;
  background-repeat: no-repeat;

  box-shadow: inset 0px 0px 100px 1px #1b1b1b;

  color: #fff;
}

.card-1 {
  background-image: url(./images/Cinnatoast-compressed.jpg);
}

.card-2 { 
  background-image: url(./images/Starbucks.jpg); 
}

.card-3 {
  background-image: url(./images/QQ.jpg);
}

.card-4 {
  background-image: url(./images/QQ.jpg);
}

.card-5 {
  background-image: url(./images/QQ.jpg);
}


.overview-card .less-bold {
  font-size: 25px;
  font-weight: 500;
}

.overview-card > p {
  font-size: 1.3rem;
}

@media (min-width: 1920px) {
    .container {
    max-width: 1920px;
    margin: 0 auto;
  }
}

@media (max-width: 1244px) {
  header .top-information {
    background-size: cover;
  }

  .box-shadow h1,
  .box-shadow p {
    width: 50%;
  }
}


@media (max-width: 1010px) {
  h2 {
    font-size: 2.2rem;
  }

  p {
    font-size: 1.2rem;
  }

  .bold {
    font-size: 1.875rem;
    font-weight: 750;
  }

  /* Mobile design for the header section */
  .top .box-shadow {
    padding-right: 2em;
    padding-left: 2em;

    justify-content: center;
  }

  .box-shadow h1,
  .box-shadow p {
    width: 80%;
  }

  .top-announcement {
    padding-right: 2em;
    padding-left: 2em;

    text-align: center;
  }

  /* Mobile Design for Middle Section */
  .middle {
    padding-top: 3em;
    padding-right: 2em;
    padding-left: 2em;

    gap: 3.5em;
  }

  /* Mobile Journey Section */

  .journey-card-container {
    flex-direction: column;
  }

  .journey-card {
    justify-content: space-between;
    align-items: center;

    min-height: 8em;
  }

  .journey-card-left {
    flex-direction: row;
    align-items: center; 
    gap: 20px;
  }

  .icon-container {
    margin: 0;
  }

  .journey-card-information {
    display: flex;
    flex-direction: column;
    justify-content: center;

    color: #1b1b1b;
  }

  .journey-card a {
    align-self: center;
  }

  /* Destination section */
  .destination {
    flex-direction: column;
    gap: 30px;
  }

  .destination-left {
    width: 100%;

    gap: 1.3em;
  }

  .destination-title {
    display: flex;
    align-items: center;
  }

  .destination-title h2 {
    order: -1;

    width: 75%;
    margin: 0;
  }

  .destination-title img {
    height: 6.5em;
    margin: 0;
  }

  .destination-right .singapore,
  .destination-right .malaysia {
    min-height: 25em;
  }

  /* Mobile Overview Setting */
  .overview {
    flex-direction: column;
    gap: 2em;
  }

  .overview-image {
    width: 100%;
    height: 20em;

    background-position-y: 50%;
  }

  .overview-right h2,
  .overview-right p {
    padding-left: 0;
  }

  .overview-right p {
    margin: 1em 0 1em 0;
  }

  .overview-card-container {
    gap: 0;
  }

  .overview-card {
    min-width: 100%;
    min-height: 30em;

    scroll-snap-align: center;
  }

  .overview-card p {
    margin: 0;
  }
}

/* This is the mobile design, used 360 as standard */
@media (max-width: 610px) {
  .journey-card {
    gap: 20px;
  }

  .journey-card a {
    width: 100%;
  }
}

@media (max-width: 570px) {
  .destination-right {
    flex-direction: column;
  }
}

@media (max-width: 470px) {
  .top{
    height: 80vh;
  }

  .top-information{
    background-position: center;
  }

  .box-shadow {
    padding: 0;
    & h1{
      width: 100%;
      font-size: 2.5rem;
      line-height: 3rem;
    }
    & p{
      font-size: 1rem;
      line-height: 1.5rem;
    }
  }

  .top-announcement p{
    font-size: 0.8rem;
    padding: 5px 0;
  }

  h2{
    font-size: 1.5rem;
  }
  
  .middle{
    padding: 40px 20px;
    gap: 50px;
  }

  /* Plan Your Journey With BCIFT */
  .journey p{
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* 3 Journey Card */
  .journey-card-container{
    gap: 15px;
  }

  .journey-card {
    padding: 15px 15px;
    justify-content: space-between;
    min-height: 5em;
  }

  .journey-card a {
    width: 40px;
    height: 40px;
  }

  .journey-card img.right-arrow{
    width: 25px;
  }

  .journey-card-left {
    flex-direction: row;
    align-items: center; 
    gap: 10px;
  }

  .journey-card-left .journey-card-information{
    & p.bold{
      font-size: 1.2rem;
      margin-bottom: 3px;
    }
    & p{
      font-size: 0.8rem;
      margin-bottom: 0;
    }
  }

  .icon-container{
    width: 50px;
    height: 50px;
    border: 3px solid #fff;
    box-shadow: 0px 0px 0px 1.5px #005199 inset;
  }

  .icon-container img{
    width: 30px;
  }

  /* Connecting You To */
  .destination-left p{
    font-size: 1rem;
    width: 100%;
    line-height: 2rem;
  }

  .destination-title img{
    width: 60px;
    height: fit-content;
  }
  
  .destination-left{
    gap: 20px;
  }

  .destination-left h2{
    line-height: 2rem;
    width: 70%;
  }

  .destination-left p{
    line-height: 1.5rem;
  }

  .destination-right h3{
    font-size: 1rem;
  }

  .destination-right p{
    margin-top: 0;
    font-size: 0.8rem;
  }

  .destination-right{
    flex-direction: row;
    gap: 10px;
  }

  .destination-right .destination-card{
    min-height: 230px;
    padding-bottom: 10px;
  }

/* Your Comfort and Convenience Covered */
  .overview-image{
    height: 230px;
    margin-top: -20px;
  }

  .overview-right h2{
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .overview-right p{
    font-size: 1rem;
    width: 100%;
    line-height: 1.5rem;
  }

  .overview-card{
    padding: 20px;
    text-align: right;
    min-height: 230px;
    gap: 5px;
  }

  .overview-card-container .overview-card p.less-bold{
    font-size: 1.2rem;
  }

}