/*  ------------------ Green Header --------------------- */

.breadcrumb-section {
  position: relative;
  width: 100%;
  display: flex;
  height: 150px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 55px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.greenColor-wrapper {
  width: 100%;
  display: flex;
  position: absolute;
  height: 100%;
  z-index: 1;
  top: 0;
  inset-inline-end: 0;
  justify-content: flex-end;
}

.greenColor {
  width: 40%;
  height: 150px;
  position: relative;
  /* background-color: #4da05b; */
}

.active-title {
  font-weight: 400;
  color: #545454;
  font-size: 16px;
}

/* gray color */
.gray1,
.gray2,
.gray3 {
  position: absolute;
  height: 100%;
  background-color: #d8d8d8;
}

.gray1 {
  width: 8px;
  inset-inline-end: calc(39vw - 38px);
}

.gray2 {
  width: 16px;
  inset-inline-end: calc(39vw - 23px);
}

.gray3 {
  width: 22px;
  inset-inline-end: calc(39vw - 0px);
}

/* Green Header Title */
.greenTitle-wrapper{
  width: 100%;
  display: flex;
  height: 100%;
  z-index: 2;
  align-items: center;
}
.greenTitle {
  width: 100%;
  max-width: 1350px;
  margin: 20px auto;
}

.bread-crumb-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 156%;
  margin-bottom: 5px;
}

.greenTitle div p {
  color: #787878;
  font-weight: 400;
  font-size: 15px;
  line-height: 156%;
  text-align: start;
}

.greenTitle div p span {
  font-weight: 500;
  line-height: 156%;
  text-align: start;
  margin: auto 5px;
}

.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  font-weight: 400;
  font-size: 15px;
  color: #787878;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li a {
  color: #545454;
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
}

.breadcrumb li a:hover {
  text-decoration: none;
}

.breadcrumb li span {
  margin: 0 5px;
  user-select: none;
}

.breadcrumb li.active-title {
  color: #545454;
  font-weight: 500;
  font-size: 15px;
  cursor: default;
  user-select: none;
}

/* Mobile screen */
@media (max-width: 767px) {

  .gray1,
  .gray2,
  .gray3 {
    display: none;
  }


  .greenColor {
    width: 40vw;
  }

  .greenTitle {
    margin: 20px auto;
  }

  .bread-crumb-title {
    font-weight: 600;
    font-size: 15px;
  }

  .greenTitle div p {
    font-size: 10px;
  }
}

/* Tablet Screen */
@media (min-width: 768px) and (max-width: 1024px) {

.gray1 {
  width: 8px;
  inset-inline-end: calc(38vw - 38px);
}

.gray2 {
  width: 16px;
  inset-inline-end: calc(38vw - 23px);
}

.gray3 {
  width: 22px;
  inset-inline-end: calc(38vw - 0px);
}

  .greenTitle {
    margin: 20px auto;
  }

  .bread-crumb-title {
    font-weight: 600;
    font-size: 20px;
  }

  .greenTitle div p {
    font-size: 15px;
  }
}

/* Small Laptop Screen */
@media (min-width: 1025px) and (max-width: 1280px) {
  .greenTitle div p {
    font-size: 20px;
    text-align: start;
  }
}

@media (min-width: 1281px) and (max-width: 1400px) {
  .greenTitle div p {
    font-size: 20px;
  }
}
@media (max-width:768px) {
      .gray1,
  .gray2,
  .gray3 {
    display: none;
  }
}

/* ----------- Services Cards -------------- */
.ServicesCards {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 30px;
}

.lendingContent {
    width: 100%;
    border-width: 1px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: black;
    border-radius: 20px;
    height: 100%;
}

.lendingContent img {
    max-width: 100%;
    height: auto;
}

.card-text {
    flex: 1;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.services-cards-title {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 20px;
}

.services-cards-desc {
    font-weight: 300;
    font-size: 16px;
    line-height: 176%;
}

.card-text h2 {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 20px;
    word-wrap: break-word;
}

.card-text p {
    font-weight: 300;
    font-size: 16px;
    line-height: 176%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

/* Mobile View */
@media (max-width: 767px) {
    .ServicesCards {
        display: grid;
        grid-template-columns: repeat(1,1fr);
        align-items: center;
    }


    .card-text {
        width: 100%;
        max-width: 373px;
        text-align: center;
        overflow: hidden;
        word-wrap: break-word;
    }

    .card-text h1 {
        font-weight: 600;
        font-size: 18px;
        margin: 0 30px;
    }

    .card-text p {
        padding: 20px;
        text-align: center;
        font-weight: 300;
        font-size: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Tablet screen */
@media (min-width: 768px) and (max-width: 1024px) {
    .ServicesCards {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 22px;
        margin: 20px 20px;
    }

    .card-text {
        flex: 1;
        overflow: hidden;
    }

    .card-text h1 {
        font-weight: 600;
        font-size: 15px;
    }

    .card-text p {
        font-weight: 400;
        line-height: 176%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Small laptop screen */
@media (min-width: 1025px) and (max-width: 1280px) {
    .ServicesCards {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 25px;
        margin: 30px 20px;
    }

    .card-text {
        flex: 1;
        overflow: hidden;
    }

    .card-text p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* News Card */
.news-cards-content {
    width: 100%;
    padding: 18px;
    margin: 0;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
}

.news-cards-image {
    border-radius: 15px;
    width: 100%;
}

.news-card-text {
    margin: auto;
    margin-top: 10px;
}

.news-card-title {
    font-weight: 700;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.date {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #8c8c8c;
}

.newsPara {
    font-weight: 400;
    font-size: 15px;
    margin-top: 5px;
    line-height: 178%;
    padding-bottom: 20px;
}

.newsPara span {
    color: #4da05b;
    font-weight: 300;
    font-size: 15px;
    word-break: break-word;
    white-space: nowrap;
}


/* Mobile: 1 card */
@media (max-width: 767px) {
    .newsCards {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 30px;
    }

    .news-cards-content {
        width: 100%;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .news-card-text {
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .newsPara {
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 160%;
    }

    .newsPara span {
        display: inline;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: nowrap;
    }
}

/* Tablet: 2 cards */
@media (min-width: 768px) and (max-width: 1024px) {
    .newsCards {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        margin: 0 auto;
        margin-top: 60px;
    }

    .news-cards-content {
        width: 100%;
        margin-bottom: 10px;
    }

    .news-card-text {
        width: 100%;
        max-width: 372px;
        margin: auto;
    }
}