.citywiseloan {
  scroll-margin: 110px;
  padding: 40px 0;
  background: #f1fff0;
}

.citywiseloan .secTitle3 {
  text-align: center;
}

.citywiseloan h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #004135;
  line-height: 2.5rem;
  text-align: center;
}

.citywiseloan .desc {
  max-width: 700px;
  margin: 10px auto 30px;
  color: rgba(63, 63, 63, 0.8);
  text-align: center;
}

.citywise-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
}

.citywise-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  min-height: 132px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.citywise-card .left-img {
  flex-shrink: 0;
  width: 100px;
  height: 117px;
  border-radius: 12px;
  overflow: hidden;
  margin: auto 16px;
}

.citywise-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  margin: 0;
}

.citywise-card .right {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 15px 15px 0 0;
  text-align: left;
  position: relative;
}

.citywise-card a {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 14px;
  font-weight: 500;
  color: #004135;
  text-decoration: none;
  background: #f1fff0;
  padding: 8px 16px;
  border-radius: 12px 0 16px 0;
  transition: all 0.3s ease;
}

.citywise-card a:hover {
  background: #47ee40;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .citywiseloan h2 {
    font-size: 1.375rem;
    line-height: 1.625rem;
  }
  .citywise-cards {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 16px;
  }
  .citywise-card {
    flex-direction: column; /* stack vertically */
    align-items: center;
    min-height: auto;
    text-align: center;
    padding-bottom: 0px; /* space for button */
  }
  .citywise-card .left-img {
    width: 100%;
    height: 150px;
    margin: 0;
    border-radius: 12px 12px 0 0;
  }
  .citywise-card .left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .citywise-card .right {
    padding: 12px;
    align-items: flex-start;
    text-align: left;
    position: relative;
    width: 100%;
    justify-content: space-between;
  }
  .citywise-card h5 {
    margin: 10px 0;
    font-size: 15px;
    text-align: left;
    width: 100%;
    flex-grow: 1;
  }
  .citywise-card a {
    position: static;
    margin-top: 4px;
    display: inline;
    border-radius: 0;
    background: none;
    padding: 0;
    text-align: left;
    margin-top: auto;
  }
  .citywise-card a:hover {
    background: #47ee40;
  }
}

/*# sourceMappingURL=citywiseloan.css.map */
