/* Overall section styling */
.tourist-attractions {
    padding: 40px 20px;
    background-color: #f7f7f7;
    text-align: center;
    max-height: 600px; /* Limit the height */
    overflow-y: auto;  /* Enable vertical scrolling if content exceeds max height */
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px; /* Adjusted margin for spacing */
  }
  
  /* Section title */
  .section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
  }
  
  /* Wrapping the attraction cards */
  .attractions-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Grid layout for responsive design */
    gap: 15px; /* Space between cards */
    margin-top: 20px;
    max-height: 100%;
  }
  
  /* Card styling */
  .attraction-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 15px;
    transition: all 0.3s ease;
    text-align: left;
  }
  
  .attraction-card:hover {
    transform: scale(1.03); /* Slightly scale the card on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Deep shadow on hover */
  }
  
  .card-image {
    width: 100%;
    height: 180px;
    object-fit: cover; /* Ensure the image covers the card without stretching */
    border-bottom: 3px solid #e0e0e0; /* Border under the image */
    margin-bottom: 10px;
  }
  
  .attraction-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 10px 0;
  }
  
  .attraction-card p {
    font-size: 1rem;
    color: #777;
    margin-bottom: 10px;
  }
  
  @media (max-width: 768px) {
    /* Make sure the cards adjust for smaller screens */
    .attractions-wrapper {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
  
    .tourist-attractions {
      padding: 20px 10px;
    }
  
    .section-title {
      font-size: 1.6rem;
    }
  }
  
  @media (max-width: 480px) {
    /* Adjust for even smaller screens */
    .tourist-attractions {
      padding: 15px;
    }
  
    .section-title {
      font-size: 1.4rem;
    }
  
    .attraction-card {
      padding: 10px;
    }
  
    .card-image {
      height: 160px;
    }
  }
  