.content-wrapper {
  position: relative;
  z-index: 2;
}

img {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  vertical-align: middle;
}

.fetcard {
  padding: 50px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.fetcard .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.fetcard .col-md-3 {
  flex: 1 1 22%;
  max-width: 22%;
  min-width: 250px;
}

.feature-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box .logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.feature-box i {
  font-size: 40px;
  color: #0d6efd;
  margin-bottom: 15px;
}

.feature-box h5 {
  font-size: 22px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .fetcard .col-md-3 {
      flex: 1 1 45%;
      max-width: 45%;
  }
}

@media (max-width: 768px) {
  .fetcard .col-md-3 {
      flex: 1 1 100%;
      max-width: 100%;
  }
}

/* Hospital-section */
.wrapper {
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 5rem;
}

.hs-content {
  flex: 1;
}

.main-heading {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.sub-heading {
  font-size: 1.8rem;
  color: #555;
  margin-bottom: 15px;
}

.welcome-text {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.about-us-button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
}

.about-us-button:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .row {
      flex-direction: column;
      text-align: center;
  }

  .hs-banner,
  .hs-content {
      max-width: 100%;
  }
}

/* Reasons Section */
.reasons-section {
  padding: 50px 0;
  background-color: #f8f8f8;
}

.row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.reasons-content {
  text-align: center;
}

.reasons-content h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.reasons-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

/* Grid layout for the cards */
.r-list {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  gap: 15px;
}

/* Icons */
.reason-icon img {
  width: 70px;
  height: auto;
}

/* Text inside the cards */
.reason-text {
  text-align: left;
}

.reason-text h5 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 5px;
}

.reason-text p {
  font-size: 1rem;
  color: #666;
  line-height: 1.4;
}

/* Flexbox for grid layout */
.reasons-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .reasons-container {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .reasons-container {
      grid-template-columns: 1fr; /* Single column on smaller screens */
  }
}