.container {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

h3 {
    margin: 0;
    font-size: 18px;
}

.location {
    color: gray;
    font-size: 14px;
}

h2 {
    margin: 10px 0;
    font-size: 24px;
    font-weight: bold;
}

p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.rent {
    font-size: 16px;
}

.date {
    font-size: 12px;
    color: gray;
}

.icon-box {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
}

.icon-box i {
    font-size: 18px;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 15px;
    }

    h3 {
        font-size: 16px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 13px;
    }

    .icon-box {
        padding: 8px;
    }

    .icon-box i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .card {
        padding: 12px;
        border-radius: 8px;
    }

    h3 {
        font-size: 14px;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 12px;
    }

    .icon-box {
        padding: 6px;
    }

    .icon-box i {
        font-size: 14px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.titlepart {
    text-align: center;
    margin-bottom: 20px;
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.icon-box {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 15px;
}

.icon-box i {
    font-size: 24px;
    color: #007bff;
}

h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}


.movingHorizontal {
    display: flex;
    gap: 10px; /* Adjust gap if needed */
    overflow-x: auto; /* Allow horizontal scrolling */
    white-space: nowrap;
  }
  
  .slide {
    height: 300px; /* Set a fixed height */
    width: 500px; /* Set a fixed width */
    flex: 0 0 auto; /* Prevent flexbox shrinking */
  }
  
  .inner_img {
    width: 100%;
    height: 100%;
  }
  
  .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container without distortion */
  }
  
  

  .testimonial-block {
    background: #fff;
    border: 2px solid #000000;
    border-radius: 10px;
    padding: 20px; /* Adds internal spacing */
    margin-bottom: 20px; /* Adds spacing between testimonials */
    transition: all 0.3s ease-in-out;
}

.testimonial-block:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px; /* Adds spacing below the text */
}

.testimonial-name {
    font-weight: bold;
    margin-top: 10px; /* Ensures proper spacing above the name */
}

.title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px; /* Adds space below the title */
}

.row {
    gap: 20px; /* Adds space between testimonial columns */
    justify-content: center; /* Centers content on smaller screens */
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    background: white;
    /* padding: 40px; */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .heading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
  }

  .item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .item i {
    margin-right: 10px;
    color: #007bff;
    font-size: 18px;
  }

  a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
  }

  a:hover {
    text-decoration: underline;
  }

  @media (max-width: 768px) {
    .container {
      padding: 20px;
    }

    .grid {
      grid-template-columns: 1fr;
    }
  }

  i.fa {
    font-family: FontAwesome !important;
    display: inline-block;
    visibility: visible;
    font-size: 18px;
}
