body {
    font-family: 'Arial', sans-serif;
    background-color: #e0e0e0;
  }
  
  .amenities-section {
    text-align: center;
    padding: 10px 0;
    padding-top: 100px;
    margin-left: 15%;
    margin-right: 15%;
  }
  
  .amenities-section h2 {
    color: #101820;
    font-size: 1.5rem;
    padding-bottom: 50px;
  }
  
  .amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 2fr);
    gap: 15px; /* Reduce the gap between boxes */
    justify-content: center;
    margin-top: 50px;
  }
  
  .amenity-box {
    background-color: #333;
    padding-left: 0;
    padding-right: 0;
    padding: 10px; /* Reduced padding */
    border-radius: 30px; /* Reduced border radius */
    color: #fff;
    text-align: center; /* Centering text */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    font-size: 0.9rem; /* Reduced font size */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
  }
  
  .amenity-box:hover {
    transform: translateX(-5px); 
    background-color: #E9AB17;/* Reduced hover effect */
  }
  
  .amenity-box i {
    display: block;
    font-size: 1.5rem; /* Icon size reduced */
    margin-bottom: 5px; /* Reduced margin */
    color: #4cc15d;
  }
  
  .amenity-box p {
    font-size: 1rem; /* Reduced text size */
    margin-top: 5px; /* Reduced margin */
  }
  
  /* Media Query for Tablets */
  @media (max-width: 768px) {
    .amenities-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Media Query for Mobile Devices */
  @media (max-width: 480px) {
    .amenities-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  