

/* ===== HERO SLIDER ===== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slider .slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 2s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1.03);
  z-index: 1;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(75%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0; /* image behind */
}

/* ===== CAPTION ===== */
.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 3; /* ensures it's above the image */
  width: 90%;
  max-width: 800px;
  animation: fadeUp 1.2s ease forwards;
}

.caption h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);

}

.caption p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.btn-explore {
  display: inline-block;
  padding: 10px 25px;
  background: #ffcc00;
  color: #222;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-explore:hover {
  background: #23923f;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* ===== DOTS ===== */
.slider-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
  background: #ffe066;
  transform: scale(1.2);
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0; /* image behind */
}

/* Caption Text Styling */
.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2; /* ensures it's above the image */
  width: 90%;
  max-width: 800px;
  animation: fadeUp 1.2s ease forwards;
}

.caption h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.caption p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.btn-explore {
  display: inline-block;
  padding: 10px 25px;
  background: #ffcc00;
  color: #222;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-explore:hover {
  background: #fff;
  transform: translateY(-3px);
}

/* Caption Animation */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Responsive Caption */
@media (max-width: 768px) {
  .caption h2 {
    font-size: 2rem;
  }
  .caption p {
    font-size: 1rem;
  }
}


/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -20%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -40%);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
  }
  .caption h2 {
    font-size: 2rem;
  }
  .caption p {
    font-size: 1rem;
  }
  .search-bar-container {
    width: 90%;
    bottom: -40px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 60vh;
  }
  .caption h2 {
    font-size: 1.5rem;
  }
  .caption p {
    font-size: 0.9rem;
  }
  .search-bar-container {
    width: 95%;
    bottom: -30px;
  }
}

/* ===== DESTINATIONS HIGHLIGHT ===== */
.destinations-highlight {
  background-color: #d72027;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.destinations-highlight .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  animation: fadeInDown 1s ease-in-out;
}

.destinations-highlight .section-title i {
  font-size: 1.6rem;
  color: #fff;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.destination-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
  animation: fadeInUp 1.2s ease-in-out;
}

.image-wrapper {
  width: 220px;
  height: 260px;
  border-radius: 50% / 40%;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  border: 3px solid #fff;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover .image-wrapper {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.destination-card:hover img {
  transform: scale(1.1);
}

.destination-card h3 {
  margin-top: 20px;
  font-size: 1.2rem;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .image-wrapper {
    width: 200px;
    height: 240px;
  }
}

@media (max-width: 600px) {
  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .image-wrapper {
    width: 180px;
    height: 210px;
  }
  .destinations-highlight .section-title {
    font-size: 1.6rem;
  }
}

/* ===== FLOATING SEARCH BAR ===== */
.floating-search {
  position: relative;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
}

/* This centers the bar half on slider, half on red section */
.search-bar {
  position: absolute;
  top: -60px; /* Adjust this to perfectly balance between both sections */
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  border-radius: 50px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  width: 90%;
  animation: fadeInUp 1.2s ease;
}

.search-field {
  background: #f7f7f7;
  border-radius: 40px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.search-field input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  width: 100%;
}

.search-field i {
  color: #d72027;
  font-size: 1.2rem;
}

.search-btn {
  background: #d72027;
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: #b9181e;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .search-bar {
    flex-direction: column;
    border-radius: 25px;
    padding: 15px;
    top: -40px;
  }
  .search-btn {
    width: 100%;
  }
}

/* malaysia */

.malaysia-carousel-section {
  background: #f9f9f9;
  text-align: center;
  padding: 70px 0;
  position: relative;
}

.malaysia-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.malaysia-subtitle {
  color: #555;
  max-width: 750px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.malaysia-subtitle span {
  color: #e63946;
  font-weight: 600;
}

.malaysia-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 90%;
  margin: auto;
}

.malaysia-carousel {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.malaysia-slide {
  min-width: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.malaysia-slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.malaysia-slide:hover img {
  transform: scale(1.05);
}

.malaysia-caption {
  position: absolute;
  bottom: 30px;
  left: 40px;
  color: #fff;
  text-align: left;
}

.malaysia-caption h3 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
}

.malaysia-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e63946;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  transition: 0.3s;
  z-index: 10;
}

.malaysia-btn:hover {
  background: #ff4d5a;
}

.malaysia-prev {
  left: 10px;
}

.malaysia-next {
  right: 10px;
}

@media (max-width: 768px) {
  .malaysia-caption h3 {
    font-size: 1.2rem;
  }
  .malaysia-slide img {
    height: 300px;
  }
}

/* singapore */
/* SECTION (insert this where you want between header & footer) */
* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Poppins', sans-serif;
    }

    /* body {
      background-color: #d9251c; 
      color: #fff;
      overflow-x: hidden;
    } */

    /* ===== Container and Heading ===== */
    .tour-container {
      text-align: center;
      padding: 60px 20px;
    }

    .tour-heading {
      font-size: 2.5rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 50px;
      animation: fadeInDown 1s ease;
      position: relative;
      display: inline-block;
    }

    .tour-heading::after {
      content: "";
      display: block;
      width: 90px;
      height: 4px;
      background: #fff;
      margin: 10px auto 0;
      border-radius: 2px;
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ===== Grid Section ===== */
    .tour-section {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      padding: 10px;
    }

    /* ===== Card Styles ===== */
    .tour-card {
      background-color: #d9251c;
      border-radius: 20px;
      overflow: hidden;
      text-align: center;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
      transform: translateY(50px);
      opacity: 0;
      transition: all 0.7s ease;
      border: 3px solid #d72027;
    }

    .tour-card.visible {
      transform: translateY(0);
      opacity: 1;
    }

    .tour-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .tour-card:hover img {
      transform: scale(1.08);
    }

    .tour-info {
      padding: 20px 10px 30px;
    }

    .tour-info h3 {
      font-size: 1.2rem;
      letter-spacing: 1px;
      font-weight: 700;
      margin-bottom: 5px;
    }

    .tour-info p {
      font-size: 0.95rem;
      opacity: 0.9;
    }

    .tour-info p span {
      font-weight: 600;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .tour-section {
        gap: 20px;
      }
      .tour-card img {
        height: 200px;
      }
    }

    @media (max-width: 480px) {
      .tour-heading {
        font-size: 2rem;
      }
      .tour-info h3 {
        font-size: 1rem;
      }
      .tour-info p {
        font-size: 0.9rem;
      }
    }

    /* testimonials */

    .testimonials {
  background: #fff5f5;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.testimonials .section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #e31e26;
  margin-bottom: 10px;
  position: relative;
  animation: fadeInDown 1s ease-in-out;
}

.testimonials .section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-in-out;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;

}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  transition: all 0.4s ease;
  position: relative;
  animation: slideUp 1.2s ease-in-out;
  border: 1px solid #e31e26;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-img img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  /* border: 3px solid #e31e26; */
  margin-bottom: 15px;
}

.testimonial-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

.stars {
  color: #ffb400;
  margin: 8px 0;
  font-size: 1.1rem;
}

.testimonial-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}


/* =========== Animations =========== */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials .section-title {
    font-size: 1.8rem;
  }
}

/* blogs */

.blogs-masonry {
  padding: 80px 20px;
  background: #fff5f5;
  text-align: center;
}

.blogs-masonry .section-titles {
  font-size: 2.4rem;
  color: #e31e26;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-in-out;
}

.blogs-masonry .section-subtitles {
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-in-out;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 320px;
  gap: 20px;
}

.masonry-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  animation: slideUp 1.2s ease-in-out;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.masonry-item:hover img {
  transform: scale(1.1);
}

.masonry-item.tall {
  grid-row: span 2;
}

.masonry-item.wide {
  grid-column: span 2;
}

.blog-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  color: #fff;
  text-align: left;
  transition: all 0.3s ease;
}

.blog-overlay h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 10px;
}

.blog-overlay a {
  color: #ffb400;
  font-weight: 600;
  text-decoration: none;
}

.masonry-item:hover .blog-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .blogs-masonry .section-titles {
    font-size: 1.8rem;
  }
  .masonry-item.tall, .masonry-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* inquiry */

/* Quick Inquiry Section */
.inquiry-section {
  background: linear-gradient(135deg, #fff8f8, #fff);
  padding: 80px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.inquiry-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  gap: 60px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.inquiry-content {
  flex: 1;
  min-width: 350px;
  animation: fadeInLeft 1.2s ease;
}

.inquiry-content h2 {
  font-size: 2.6rem;
  color: #e31e26;
  margin-bottom: 10px;
  font-weight: 700;
}

.inquiry-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* FORM STYLING */
.inquiry-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  display: flex;
  gap: 20px;
  width: 100%;
}

.form-group.full {
  flex-direction: column;
}

.inquiry-form input,
.inquiry-form textarea {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
  background: #fff;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: #e31e26;
  box-shadow: 0 0 10px rgba(227, 30, 38, 0.15);
}

.submit-btn {
  background: #e31e26;
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #c81b22;
  transform: scale(1.05);
}

/* RIGHT SIDE IMAGE */
.inquiry-image {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1.2s ease;
}

.inquiry-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.inquiry-image img:hover {
  transform: scale(1.03);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .inquiry-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .inquiry-content p {
    margin-bottom: 20px;
  }
  .form-group {
    flex-direction: column;
  }
  .inquiry-image img {
    max-width: 400px;
  }
}

/* ANIMATIONS */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}





