.rid-counter-icon img {
    max-width: 100%; /* Ensures the icon does not exceed the width of its container */
    height: auto;    /* Maintains the aspect ratio */
}
.rid-statistics {
    padding: 60px 0; /* Add some padding for better spacing */
}
.rid-counter {
    display: flex;
    align-items: center; /* Aligns items vertically */
    margin-bottom: 30px; /* Space between counters */
}
.rid-counter-text {
    margin-left: 15px; /* Space between icon and text */
}
.counter {
    font-size: 2em; /* Adjust font size for the counter */
    font-weight: bold; /* Make the counter bold */
}



.location-icon {
max-width: 50px; /* Set a maximum width for the icons */
height: auto; /* Maintain aspect ratio */
margin-bottom: 10px; /* Space between icon and text */
}

.location-card {
padding: 15px; /* Add some padding around the card */
text-align: center; /* Center the text */
}

.card {
    border: 1px solid #ddd; /* Optional: Add a border to the card */
    border-radius: 10px; /* Optional: Rounded corners */
    overflow: hidden; /* Optional: Hide overflow */
}

.carousel-item img {
    height: 400px; /* Set a fixed height for the images */
    object-fit: cover; /* Ensure the image covers the area without distortion */
}

  /* Add margin to the image slider */
  .image-slider-container {
    margin-top: 120px; /* Adjust the value for desired gap */
}


/* Why choose us section */
.why-choose-us {
    padding: 60px 0;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px; /* Space between cards */
    transition: transform 0.3s; /* Animation for hover effect */
}

.card:hover {
    transform: scale(1.05); /* Slightly enlarge card on hover */
}

.card-img-top {
    width: 100%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio */
}

.card-body {
    text-align: center; /* Center text in card */
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 20px; /* Adjust margin for smaller screens */
    }
}


/* we care section */

.we_care_sec {
    padding: 60px 0;
}

.we_care {
    margin: 0 auto;
    max-width: 960px;
}

.head {
    display: block;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.we_care_head {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tbs1,
.tbs2 {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s;
}

.tbs1.active,
.tbs1:hover,
.tbs2.active,
.tbs2:hover {
    background-color: #ddd;
}

.tab-content {
    padding: 0;
}

.com_cont,
.cap_cont {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideIn {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .item {
    opacity: 0.5; /* Initially hidden */
    transition: opacity 0.3s ease; /* Smooth transition */
  }

  #animatedContainer {
    opacity: 0; /* Initially hidden */
    transform: translateX(-100%); /* Start off-screen to the left */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
  }
  
  .visible {
    opacity: 1; /* Make visible */
    transform: translateX(0); /* Move to original position */
  }