body {
    font-family: 'Arial', sans-serif;
    background-color: #e0e0e0;
  }
  
  .amenities-section {
    text-align: center;
    padding: 5px 5px;
    padding-top: 10px;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 50px;
  }
  
  .amenities-section h2 {
    color: #fff;
    font-size: 1.5rem;
  
  }
  
  .amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 2fr);
    gap: 10px; /* Reduce the gap between boxes */
    justify-content: center;
    margin-top: 50px;
    margin-right: 10px;
  }
  
  .amenity-box {
    background-color: 	#2F4F4F;
    padding-left: 10;
    padding-right: 10;
    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: #f7be04;/* Reduced hover effect */
    color:#FFF
  }
  
  .amenity-box:hover i {
    display: block;
    font-size: 1.5rem; /* Icon size reduced */
    margin-bottom: 5px; /* Reduced margin */
    color: #fff
  }
  .amenity-box i {
    display: block;
    font-size: 1.5rem; /* Icon size reduced */
    margin-bottom: 5px; /* Reduced margin */
    color: #fff
  }
  
  .amenity-box p {
    font-size: 1rem; /* Reduced text size */
    margin-top: 5px; /* Reduced margin */
    color: #FFF;
  }
  .amenity-box:hover p {
    font-size: 1rem; /* Reduced text size */
    margin-top: 5px; /* Reduced margin */
    color: #FFF;
  }
  
  /* Media Query for Tablets */
  @media (max-width: 768px) {
    .amenities-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px; /* Reduce the gap between boxes */
      justify-content: center;
      margin-top: 50px;
      margin-right: 5px;
    }
  }
  
  /* Media Query for Mobile Devices */
  @media (max-width: 480px) {
    .amenities-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px; /* Reduce the gap between boxes */
      justify-content: center;
      margin-top: 50px;
      margin-right: 5px;
    }
  }
  