@import url('./color.css');


.works_section .heading {
    font-size: 1.8vw;
    font-weight: 600;
    color: var(--dark-light-green);
    text-align: left;
}


.works_section .sub_heading {
    font-size: 2vw;
    font-weight: 400;
    color: var(--teal-dark);
    text-align: left;
    line-height: 40px;
}

.works_section .sub_heading span {
    font-weight: 700;
}

.apply_loan_btn{
    background-color: var(--purple-mid);
    width: fit-content;
    padding: 10px 20px;
    border-radius: 40px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);

}

.apply_loan_btn a {
    color: var(--white);
    font-size: 1.8vw;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply_loan_btn a .icon {
    color: var(--purple-mid);
    background-color: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.apply-loan-btn_div{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.works_section .card {
    background-color: var(--light-teal);
    border-radius: 20px;
    padding: 30px 20px 0px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow: hidden;
}   




.works_section .card .card_body .text{
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--teal-dark);
    text-align: left;
}




.how_it_work_text_section .step_number{
    font-size: 3vw;
    font-weight: 800;
}

.how_it_work_text_section .step_title{
    font-size: 1.3vw;
    font-weight: 600;
    color: var(--teal-dark);
    line-height: 30px;
}

.how_it_work_text_section .step_title span{
    font-weight: 800;
}

.how_it_work_text_section .step_text{
    font-size: 1vw;
    font-weight: 400;
    color: var(--teal-dark);
    line-height: 20px;
    text-align: left;
}


.works_section .card .card-body img{
    width: 210px;
    margin-top: 10px;
    border-radius: 10px;

}

.works_section_card_row {
    margin-top: 20px;
}   




/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
  .works_section .heading {
    font-size: 1.5rem;
    text-align: center;
  }

  .works_section .sub_heading {
    font-size: 1.8rem;
    text-align: center;
    line-height: 30px;
  }

  .apply_loan_btn {
    padding: 8px 15px;
    margin: 0 auto;
  }

  .apply_loan_btn a {
    font-size: 1.2rem;
  }

  .apply_loan_btn a .icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .apply-loan-btn_div {
    justify-content: center;
    margin: 15px 0;
  }

  .works_section .card {
    border-radius: 15px;
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .works_section .card .card_body .text {
    font-size: 1rem;
    text-align: center;
  }

  .how_it_work_text_section .step_number {
    font-size: 2.5rem;
    text-align: center;
  }

  .how_it_work_text_section .step_title {
    font-size: 1.3rem;
    line-height: 26px;
    text-align: center;
  }

  .how_it_work_text_section .step_text {
    font-size: 0.95rem;
    line-height: 22px;
    text-align: center;
  }

  .works_section .card .card-body img {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 10px auto;
  }

  .works_section_card_row {
    margin-top: 15px;
  }
}

