/*PC VIEW*/
@media screen and (min-width: 767px) {
    .tripshomepage {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
  }
  
  /*Mobile VIEW*/
  @media screen and (max-width: 767px) {
    .tripshomepage {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
  }


.featured-trips {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 1400px; /* Increased max width for the section */
    margin: 0 auto;
  }
  
  .featured-trips h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .featured-trips p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
  }
  
  .trip-cards {
    display: flex;
    gap: 2rem; /* Increased spacing between cards */
    justify-content: space-between; /* Space cards evenly */
    flex-wrap: wrap;
  }
  
  .trip-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1;
    max-width: 400px; /* Increased card width */
    text-align: left;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  }
  
  .trip-image {
    height: 260px; /* Increased image height */
    background-size: cover;
    background-position: center;
    position: relative;
  }
  
  .trip-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.7rem 1.5rem; /* Slightly larger padding */
    border-radius: 8px;
    font-size: 1.2rem; /* Larger font size for price */
    font-weight: bold;
  }
  
  .trip-details {
    padding: 2rem; /* Increased padding inside the card */
  }
  
  .trip-details h3 {
    font-size: 1.7rem; /* Larger title font size */
    margin-bottom: 1rem;
  }
  
  .trip-details ul {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
  }
  
  .trip-details li {
    font-size: 1.1rem; /* Slightly larger text */
    margin-bottom: 0.5rem;
  }
  
  .trip-meta {
    font-size: 1rem; /* Slightly larger text */
    color: #777;
    margin-bottom: 1rem;
  }

  /* Animated Button */
.trip-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: #e98c25;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
  }
  
  .trip-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 1;
    transition: all 0.4s ease-in-out;
  }
  
  .trip-button:hover::before {
    left: 0;
  }
  
  .trip-button:hover {
    background-color: #28a3d8;
    color: #fff;
    transform: translateY(-3px);
  }
  
/* Mobile-Specific Adjustments */
@media screen and (max-width: 768px) {
    .trip-price {
        padding: 0.5rem 0.5rem;
        font-size: 1rem;
      }
    .trip-cards {
        flex-direction: column; /* Stack cards vertically */
        gap: 1.5rem; /* Reduce gap between cards */
      }
  
    .trip-card {
      max-width: 100%; /* Full width for smaller screens */
    }
  
    .trip-details {
      padding: 1rem; /* Reduced padding inside the card */
    }
  
    .trip-details h3 {
      font-size: 1.2rem; /* Smaller title font size */
      margin-bottom: 0.5rem; /* Reduced spacing below the title */
    }
  
    .trip-details ul {
      margin: 0 0 0.8rem; /* Reduced bottom margin for the list */
      padding: 0;
      list-style: none;
    }
  
    .trip-details li {
      font-size: 0.9rem; /* Smaller text size for list items */
      margin-bottom: 0.3rem; /* Reduced spacing between list items */
    }
  
    .trip-meta {
      font-size: 0.8rem; /* Smaller meta text */
      color: #777;
      margin-bottom: 0.5rem; /* Reduced spacing below meta details */
    }
  
    .trip-button {
      margin-top: 0.8rem; /* Adjust spacing above the button */
      padding: 0.6rem 1.2rem; /* Smaller button for mobile */
      font-size: 0.9rem; /* Reduced font size for button text */
    }
  
    .trip-image {
      height: 200px; /* Reduce image height for mobile */
    }

    .featured-trips p {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
  }
  
    .featured-trips h2 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }
}
  