html, body {
width: 100%;
overflow-x: hidden; 
font-family: 'Poppins', sans-serif;
background-color: #f8faff;
color: #1b2a41;
scroll-behavior: smooth;
margin: 0;
padding: 0;
}


/*-------------------- Section title --------------------*/
.page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1b2a41;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

/* Title underline */
.page-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #C79663, #A86B42);
  margin: 10px auto 0;
  border-radius: 2px;
}
/* =================  Voyages Section ================= */
/* Section */
.voyages-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Scroll Container */
.voyages-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.voyages-scroll::-webkit-scrollbar {
  height: 6px;
}

.voyages-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.voyages-scroll::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.voyages-scroll::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Inner container for cards */
.voyages-inner {
  display: inline-flex;
  gap: 25px;
  padding: 0 10px;
}

/* Card */
.voyage-card {
  width: 300px;
  flex-shrink: 0;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #f1f1f1;
}

.voyage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Image */
.voyage-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #f1f1f1;
}

/* Content */
.voyage-content {
  padding: 20px;
}

.voyage-title {
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voyage-desc {
  color: #718096;
  font-size: 14px;
  line-height: 1.5;
  margin: 10px 0 15px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Badge */
.badge.type {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 20px;
}

/* Buttons */
.voyage-actions {
  display: flex;
  gap: 10px;
}

.btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0056b3, #004494);
  color: white;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid #ddd;
  color: #666;
}

.btn-outline:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  opacity: 0.9;
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

.nav-btn:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* Modal Image Container */
.modal-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 15px;
  position: relative;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Modal */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .voyage-card {
    width: 280px;
  }
  
  .voyage-img {
    height: 180px;
  }
  
  .nav-btn {
    width: 36px;
    height: 36px;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  
  .modal-image-container {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .voyage-card {
    width: 260px;
  }
  
  .voyage-content {
    padding: 15px;
  }
  
  .voyage-actions {
    flex-direction: column;
  }
  
  .nav-btn {
    display: none;
  }
  
  .modal-image-container {
    height: 160px;
  }
}

/* =================  pourqoi choisir mon voyage ================= 
/* Modern Image Hover */
.corporate-img {
  transition: transform 0.5s ease, filter 0.5s ease;
}
.corporate-img:hover {
  transform: scale(1.08);
  filter: brightness(0.9);
}

/* Modern Title */
.modern-title {
  font-size: 32px;
  letter-spacing: 1px;
  color: #4e2d1b;
}

/* Feature Cards */
.feature-card {
  background: #fff;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Contact Button */
.modern-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 35px;
  background: #6b3e27;
  color: white;
  border-radius: 35px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  border: 1px solid transparent;
  text-decoration: none;
}

.modern-btn.gold-hover:hover {
  background: #8b5d3b;
  border-color: gold;
  color: #fff9e6;
  transform: translateY(-6px) scale(1.03);
}


/* Responsive Adjustments */
@media(max-width: 992px) {
  .corporate-img {
    height: auto;
  }
  .modern-title {
    font-size: 28px;
  }
  .feature-card {
    flex: 0 0 48%;
  }
}
@media(max-width: 576px) {
  .feature-card {
    flex: 0 0 100%;
  }
}
/* ===================== Avis des Voyageurs Section ===================== */

/* Modern Title */
.modern-title {
  font-size: 32px;
  font-weight: 900;
  color: #4e2d1b;
  letter-spacing: 1px;
}

/* Avis Cards */
.avis-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  background: #fff;
}

.avis-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

/* Avatar Circle */
.avatar-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #C19A6B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Comment Text */
.comment-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Quote Icon */
.quote-icon i {
  font-size: 1.3rem;
}

/* Rating Stars */
.rating-stars i {
  margin-right: 2px;
}

/* Hover Effect */
.hover-card {
  cursor: pointer;
}

/* Responsive Adjustments */
@media(max-width: 768px){
  .avis-card {
    margin-bottom: 20px;
  }
}

@media(max-width: 576px){
  .avis-card {
    flex-direction: column;
    text-align: center;
  }
  .avatar-circle {
    margin: 0 auto 10px auto;
  }
}