* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 
body {
  font-family: sans-serif
}
 */


/* cards section */
.featured-travel-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
  box-shadow: #444444;
}

.featured-travel-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #111;

}

.featured-container {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

/* Large Featured Image */
.large-featured {
  flex: 2;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
  height: 44vh;
}

.large-featured img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.large-featured .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: white;
  padding: 15px 20px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.large-featured .caption h3 {
  margin: 0 0 5px;
  font-size: 1.3rem;
  box-shadow: #007bff;
}

.large-featured .caption p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.85;
}

/* Small cards container */
.small-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Each small card */
.small-card {
  display: flex;
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.small-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.small-card img {
  width: 100px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  flex-shrink: 0;
}

.small-card .text {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.small-card .text h4 {
  margin: 0 0 6px;
  font-weight: 700;
  color: #222;
}

.small-card .text p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
}

.small-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;

  /* Add these lines to center vertically */
  justify-content: center;
}


.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 6px;
  text-transform: uppercase;
  user-select: none;
}

.badge.sponsored {
  background-color: #007bff;
  color: white;
}

.badge.ad {
  background-color: #6c757d;
  color: white;
}

/* Responsive - Mobile & Laptop Layout Fix */
@media (min-width: 769px) {
  .small-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 50px;
  }

  .small-card {
    flex-direction: row;
  }
}

/* Mobile Devices */
@media (max-width: 990px) {
  .featured-container {
    flex-direction: column;
  }

  .small-features {
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
  }

  .small-card img {
    width: 80px;
  }
}


/* 2cards kai neechai ka section */
.testimonial-section {
  background-color: #f0f6ff;
  padding: 50px 20px;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #003366;
  margin-bottom: 40px;
}

.testimonial-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #ffffff;
  border: 2px solid #2a6cd3;
  border-radius: 12px;
  padding: 25px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: #ffb400;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.testimonial-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1b3c74;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.avatar {
  background-color: #2a6cd3;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
  }

  /* Nav links stacked vertically and full width */
  .nav-center {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    /* Full width */
    padding: 0 15px;
    /* Padding on sides */
    box-sizing: border-box;
  }

  /* Dropdown menu full width & static position on mobile */
  .dropdown-content {
    position: static;
    border: none;
    box-shadow: none;
    display: none;
    width: 100%;
    /* Full width */
    min-width: auto;
    /* Remove min width */
    margin-top: 0;
  }

  /* Show dropdown when active */
  .dropdown.active .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  /* Dropdown links full width and wrap text */
  .dropdown-content a {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    /* Allow wrapping */
  }
}

/* Desktop & general styles */
.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 15px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
  /* Optional max width */
  margin-left: auto;
  margin-right: auto;
}

.nav-center a,
.dropbtn {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 6px 8px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.dropdown-content a {
  padding: 10px 15px;
  color: #333;
  display: block;
  white-space: nowrap;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #f0f8ff;
  color: #007bff;
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}