@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Roboto:wght@300;400;500;900&display=swap");



main {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: 50vh;
  column-gap: 3rem;
  padding-block: min(20vh, 3rem);
  background-color: #fff;
}

.bg {
  position: fixed;
  top: -4rem;
  left: -12rem;
  z-index: -1;
  opacity: 0;
}

.bg2 {
  position: fixed;
  bottom: -2rem;
  right: -3rem;
  z-index: -1;
  width: 9.375rem;
  opacity: 0;
}

main > div span {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  color: #717171;
}

main > div h1 {
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
  background-color: #005baa;
  background-image: linear-gradient(45deg, #005baa, #000000);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

main > div hr {
  display: block;
  background: #005baa;
  height: 0.25rem;
  width: 6.25rem;
  border: none;
  margin: 1.125rem 0 1.875rem 0;
}

main > div p {
  line-height: 1.6;
}

main a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  color: #717171;
  font-weight: 500;
  background: #fff;
  border-radius: 3.125rem;
  transition: 0.3s ease-in-out;
}

main > div > a {
  border: 2px solid #c2c2c2;
  margin-top: 2.188rem;
  padding: 0.625rem 1.875rem;
}

main > div > a:hover {
  border: 0.125rem solid #005baa;
  color: #005baa;
}

#card-title {
  font-family: 'Blankers', sans-serif;
  padding: 10px;
  color: #005baa;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: #495057;
}

/* Main Swiper */
.main-swiper {
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
}

.main-swiper .swiper-slide {
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* .main-swiper .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.main-swiper .swiper-slide:hover {
  transform: scale(1.02);
} */

.main-swiper .swiper-slide h2 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  padding: 0 2rem;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-swiper .swiper-slide p {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  padding: 0 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Thumbs Swiper */
.thumbs-swiper {
  width: 100%;
  padding: 0;
  margin-top: 1rem;
}

.thumbs-swiper .swiper-slide {
  width: 150px;
  height: 100px;
  opacity: 0.4;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid #005baa;
}

/* Navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #005baa;
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #005baa;
  color: white;
}

/* Pagination */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #005baa;
  transform: scale(1.2);
}

.btn-primary {
  background-color: #005baa;
  border-color: #005baa;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #004a8f;
  border-color: #004a8f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 91, 170, 0.2);
}

.card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 91, 170, 0.2);
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: #005baa;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #005baa, #00a0e9);
}

.list-unstyled li {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.list-unstyled li:hover {
  background-color: rgba(0, 91, 170, 0.05);
  transform: translateX(5px);
}

.list-unstyled li i {
  color: #005baa;
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 24px;
  text-align: center;
}

.list-unstyled li span {
  font-weight: 500;
  color: #333;
}

.alert {
  border: none;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
}

.alert ul {
  margin-bottom: 0;
}

.alert li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.alert li:last-child {
  margin-bottom: 0;
}

.alert strong {
  color: #005baa;
}

.text-primary {
  color: #005baa !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.swiper-slide a {
  margin: 1.25rem 1.563rem 3.438rem 1.563rem;
  padding: 0.438em 1.875rem;
  font-size: 0.9rem;
}

.swiper-slide a:hover {
  color: #005baa;
}

.swiper-slide div {
  display: none;
  opacity: 0;
  padding-bottom: 0.625rem;
}

.swiper-slide-active div {
  display: block;
  opacity: 1;
}

.swiper-slide--one {
  background: 
    url("/assets/images/7iv00660-1400x933-800x533.webp")
    no-repeat center center / cover;
}

.swiper-slide--two {
  background: 
    url("/assets/images/pc050800-1741x1306.webp")
    no-repeat center center / cover;
}

.swiper-slide--three {
  background: 
    url("/assets/images/3-underwater-observatory-tunnel-1741x1161.webp")
    no-repeat center center / cover;
}

.swiper-slide--four {
  background: 
    url("/assets/images/dji-18-1741x1306.webp")
    no-repeat center center / cover;
}

.swiper-slide--five {
  background: 
    url("/assets/images/7iv00778-1-1400x933.webp")
    no-repeat center center / cover;
}

.swiper-slide--one-oe {
  background: 
    url("/assets/images/oe-1.webp")
    no-repeat center center / cover;
}

.swiper-slide--two-oe {
  background: 
    url("/assets/images/oe-2.webp")
    no-repeat center center / cover;
}

.swiper-slide--three-oe {
  background: 
    url("/assets/images/oe-3.webp")
    no-repeat center center / cover;
}

.swiper-slide--four-oe {
  background: 
    url("/assets/images/oe-4.webp")
    no-repeat center center / cover;
}

.swiper-slide--five-oe {
  background: 
    url("/assets/images/oe-5.webp")
    no-repeat center center / cover;
  }

.swiper-slide--one-ge {
  background: 
    url("/assets/images/7iv00173-1-1400x933.webp")
    no-repeat center center / cover;
  }

.swiper-slide--two-ge {
  background: 
    url("/assets/images/7iv00237-1-1400x933.webp")
    no-repeat center center / cover;
  }

.swiper-slide--three-ge {
  background: 
    url("/assets/images/7iv00263-1400x933.webp")
    no-repeat center center / cover;
  }

.swiper-slide--four-ge {
  background: 
    url("/assets/images/7iv08957-enhanced-nr-1617x1079.webp")
    no-repeat center center / cover;
  }

.swiper-slide--five-ge {
  background: 
    url("/assets/images/7iv00240-1400x933.webp")
    no-repeat center center / cover;
  }

.swiper-slide--one--se {
  background: 
    url("/assets/images/sea-world-expedition/sea-world-expedition-inflatable-water-course-2.webp")
    no-repeat center center / cover;
  }

.swiper-slide--two--se {
  background: 
    url("/assets/images/sea-world-expedition/sea-world-expedition-snorkeling.webp")
    no-repeat center center / cover;
  }

.swiper-slide--three--se {
  background: 
  url("/assets/images/sea-world-expedition/sea-world-expedition-childrens-pool.webp")
  no-repeat center center / cover;
}

.swiper-slide--four--se {
  background: 
    url("/assets/images/sea-world-expedition/sea-world-expedition-inflatable-water-course.webp")
    no-repeat center center / cover;
  }

.swiper-slide--five--se {
  background: 
   url("/assets/images/sea-world-expedition/sea-world-expedition-photo-spot.webp")
   no-repeat center center / cover;
  }

  .twin-swe-1 {
    background: 
      url("/assets/images/sapi-island/twin-island-21.webp")
      no-repeat center center / cover;
    }
  
  .twin-swe-2 {
    background: 
    url("/assets/images/sapi-island/twin-island-15.webp")
    no-repeat center center / cover;
  }
  
  .twin-swe-3 {
    background: url("/assets/images/sapi-island/twin-island-10.webp")
    no-repeat center center / cover;
  }
  
  .twin-swe-4 {
    background: 
    url("/assets/images/sapi-island/twin-island-11.webp")
    no-repeat center center / cover;
  }
  
  .twin-swe-5 {
    background: 
    url("/assets/images/sapi-island/twin-island-13.webp")
    no-repeat center center / cover;
  }
  .twin-swe-6 {
    background: url("/assets/images/sapi-island/twin-island-9.webp")
    no-repeat center center / cover;
  }
  
  .twin-oe-1 {
    background: 
      url("/assets/images/sapi-island/twin-island-30.webp")
      no-repeat center center / cover;
    }
  
  .twin-oe-2 {
    background: 
    url("/assets/images/sapi-island/twin-island-26.webp")
    no-repeat center center / cover;
  }
  
  .twin-oe-3 {
    background: 
    url("/assets/images/sapi-island/twin-island-14.webp")
    no-repeat center center / cover;
  }
  
  .twin-oe-4 {
    background: 
    url("/assets/images/sapi-island/twin-oe-3.webp")
    no-repeat center center / cover;
  }

.twin-oe-5 {
  background: 
  url("/assets/images/sapi-island/twin-island-17.webp")
  no-repeat center center / cover;
}

.twin-oe-6 {
  background: 
  url("/assets/images/sapi-island/twin-island-16.webp")
  no-repeat center center / cover;
}

.sunset-1 {
  background: 
    url("/assets/sar/sunset/sunset-escapade-thumb.webp")
    no-repeat center center / cover;
  }

.sunset-2 {
  background: 
  url("/assets/sar/sunset/Couple-Enjoying-Sunset-Dinner-By-The-Sea.webp")
  no-repeat center center / cover;
}

.sunset-3 {
  background: 
  url("/assets/images/sunset-escapade/sunset-escapade-at-Kota-Kinabalu-3.webp")
  no-repeat center center / cover;
}

.sunset-4 {
  background: 
  url("/assets/images/sunset-escapade/sunset-escapade-at-Kota-Kinabalu-5.webp")  no-repeat center center / cover;
}

.sunset-5 {
  background: 
  url("/assets/images/sunset-escapade/sunset-escapade-at-Kota-Kinabalu-10.webp")  no-repeat center center / cover;

}

.sunset-6 {
  background: 
    url("/assets/images/scenic-sunset/scenic-sunset-1.webp")
      no-repeat 50% 50% / cover;
}

.sunset-7 {
  background: 
  url("/assets/images/sunset-escapade/sunset-escapade-at-Kota-Kinabalu-18.webp")  no-repeat center center / cover;

}

.sunset-8 {
  background: 
  url("/assets/images/sunset-escapade/sunset-escapade-at-Kota-Kinabalu-14.webp")  no-repeat center center / cover;

}

.sunset-9 {
  background: 
  url("/assets/images/scenic-sunset/scenic-sunset-4.webp")
  no-repeat center center / cover;
}
.sunset-10 {
  background: 
  url("/assets/images/sunset-escapade/sunset-escapade-at-Kota-Kinabalu-19.webp")  no-repeat center center / cover;
}
.promo-1 {
  background: 
    url("/assets/images/promo/promo-1.webp")
      no-repeat center center / cover;
}

.promo-2 {
  background: 
  url("/assets/images/promo/promo-2.webp")
      no-repeat center center / cover;
}

.promo-3 {
  background: 
  url("/assets/images/promo/promo-3.webp")
  no-repeat center center / cover;
}

.promo-4 {
  background: 
    url("/assets/images/promo/promo-4.webp")
  no-repeat center center / cover;
}

.promo-5 {
  background:
    url("/assets/images/promo/promo-5.webp")
    no-repeat center center / cover;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

@media screen and (min-width: 48rem) {
  main {
    display: flex;
    align-items: center;
  }
  .bg,
  .bg2 {
    opacity: 0.1;
  }
}

@media screen and (min-width: 93.75rem) {
  .swiper {
    width: 85%;
  }
}

/* Style the button */
#gp1 {
  background-color: #005baa;
  color: #fff;
}

.sar-pb {
  padding-bottom: 2rem;
}

/* Style the dropdown button */
.dropbtn {
  background-color: #005baa;
  color: #fff;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  margin-top: 2.188rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 3.125rem;
  transition: 0.3s ease-in-out;
  border: 2px solid #c2c2c2;
  margin-top: 2.188rem;
  padding: 0.625rem 1.875rem;
  display: inline-flex;
  align-items: center; /* Aligns iconurl(http://127.0.0.1:8000/cn/twin-oceanescapade.php) vertically with text */
  justify-content: center; /* Centers content */
    
}

.dropdown-icon {
  margin-left: 5px; /* Space between text and icon */
  transition: transform 0.3s ease; /* Animation effect */
  color: white;
}

/* Animation when hovering over the button */
.dropbtn:hover .dropdown-icon {
  transform: rotate(180deg); /* Rotates the icon 180 degrees */
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color:rgb(255, 250, 250) ;
  min-width: 184px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 30%;
  font-size: small;
  margin-top: 0.1rem;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  background-color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover 
  {
    background-color: #005baa;
    color: white;
  }

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: flow-root;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #005baac2;
  color: white;
  border: 0.125rem solid #005baa;
  font-weight: 900;
}

/* Responsive styling */
@media screen and (max-width: 600px) {
  .dropbtn, .dropdown-content a {
    width: 100%;
    text-align: center;
  }
  .dropdown:hover .dropdown-content {
  display: inline-block;
    }
}

@media (max-width: 991.98px) {
  .row.align-items-center {
    text-align: center;
  }
  
  .col-lg-5.text-lg-end {
    text-align: center !important;
    margin-top: 2rem;
  }
  
  #card-title {
    font-size: 2.8rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  #card-title {
    font-size: 2.2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-lg {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .main-swiper .swiper-slide {
    height: 350px;
  }
  
  .thumbs-swiper .swiper-slide {
    width: 100px;
    height: 70px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .main-swiper .swiper-slide {
    height: 250px;
  }
  
  .thumbs-swiper .swiper-slide {
    width: 80px;
    height: 60px;
  }
}

/* Title Section Styles */
.text-gradient {
  background: linear-gradient(45deg, #005baa, #00a0e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.booking-card {
  background: white;
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #005baa, #00a0e9);
}

.booking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 91, 170, 0.2);
}

.booking-card .text-center {
  padding: 2rem;
}

.booking-card h4 {
  color: black;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.booking-card .h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #dc2626, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.booking-card .text-muted {
  font-size: 1rem;
  color: #6c757d;
}

#bookNowButton {
  background: linear-gradient(45deg, #005baa, #00a0e9);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 91, 170, 0.3);
}

#bookNowButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 91, 170, 0.4);
  background: linear-gradient(45deg, #004a8f, #0088cc);
}

.booking-card .text-center small {
  font-size: 0.9rem;
  color: #6c757d;
}

.booking-card .text-center small i {
  color: #005baa;
}

.rating {
  display: inline-flex;
  gap: 2px;
}

.badge {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .booking-card {
    margin-top: 2rem;
  }
  
  .text-gradient {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .d-flex.align-items-center.mb-4 {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .text-gradient {
    font-size: 2rem;
  }
}

.video-section {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
}

.video-background {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: linear-gradient(45deg, #005baa, #00a0e9);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.video-overlay:hover {
  background: rgba(0, 0, 0, 0.5);
}

.play-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button i {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.play-button-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.youtube-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-section:hover .play-button {
  transform: scale(1.1);
}

.video-section:hover .play-button i {
  color: #005baa;
}
