/* =========================================================
   POPULAR TRIPS SECTION – RESPONSIVE DESIGN
   Works with your Swiper JS setup and HTML structure
   ========================================================= */

/* ---------- SECTION HEADING ---------- */
.section-heading {
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
}

.section-heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  display: inline-block;
  position: relative;
}

.section-heading h2 span {
  color: #d33a0b;
}

.section-heading .line {
  width: 60px;
  height: 3px;
  background: #d33a0b;
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
  border-radius: 2px;
}

/* ---------- SWIPER STYLING ---------- */
.swiper {
  width: 100%;
  padding: 40px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- CARD BASE STYLE ---------- */
.card {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ---------- IMAGE STYLING ---------- */
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

/* ---------- CONTENT STYLING ---------- */
.card-content {
  padding: 18px;
  text-align: left;
}

.card-content .duration {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 5px;
}

.card-content .rating {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 8px;
}

.card-content .title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* ---------- PRICE SECTION ---------- */
.price-section {
  margin-bottom: 12px;
}

.price-section .price {
  font-size: 1rem;
  font-weight: 700;
  color: #d33a0b;
  margin-right: 10px;
}

.price-section .original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 0.9rem;
  margin-right: 10px;
}

.price-section .save {
  font-size: 0.85rem;
  color: #28a745;
  font-weight: 500;
}

/* ---------- CALLBACK BUTTON ---------- */
.callback-btn {
  background: #d33a0b;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.callback-btn i {
  margin-right: 6px;
}

.callback-btn:hover {
  background: #b12f08;
  transform: scale(1.03);
}

/* ---------- SWIPER NAVIGATION ---------- */
.swiper-button-next,
.swiper-button-prev {
  color: #d33a0b !important;
  transition: 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.1);
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

/* ---------- SMALL PHONES (max-width: 480px) ---------- */
@media (max-width: 480px) {
  .section-heading h2 {
    font-size: 1.5rem;
  }

  .section-heading {
    margin: 40px 0 20px;
  }

  .swiper {
    padding: 20px 0;
  }

  .card {
    max-width: 90%;
  }

  .card-img {
    height: 180px;
  }

  .card-content {
    padding: 14px;
  }

  .card-content .title {
    font-size: 1rem;
  }

  .callback-btn {
    font-size: 0.9rem;
    padding: 9px 10px;
  }

  .price-section .price {
    font-size: 0.95rem;
  }

  .price-section .original-price {
    font-size: 0.8rem;
  }

  .price-section .save {
    font-size: 0.8rem;
  }
}

/* ---------- PHONES TO TABLETS (481px–768px) ---------- */
@media (min-width: 481px) and (max-width: 768px) {
  .section-heading h2 {
    font-size: 1.8rem;
  }

  .card {
    max-width: 280px;
  }

  .card-img {
    height: 200px;
  }

  .card-content {
    padding: 16px;
  }
}

/* ---------- TABLETS (769px–1024px) ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-heading h2 {
    font-size: 2rem;
  }

  .swiper {
    padding: 30px 0;
  }

  .card {
    max-width: 300px;
  }

  .card-img {
    height: 220px;
  }

  .callback-btn {
    font-size: 1rem;
  }
}

/* ---------- LAPTOPS (1025px–1440px) ---------- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .section-heading h2 {
    font-size: 2.3rem;
  }

  .card {
    max-width: 320px;
  }

  .card-img {
    height: 240px;
  }
}

/* ---------- LARGE SCREENS (1441px and up) ---------- */
@media (min-width: 1441px) {
  .section-heading h2 {
    font-size: 2.5rem;
  }

  .card {
    max-width: 350px;
  }

  .card-img {
    height: 250px;
  }

  .card-content {
    padding: 20px;
  }

  .callback-btn {
    font-size: 1rem;
    padding: 12px 16px;
  }
}

