/* ============================= GLOBAL ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================= SECTION WRAPPER ============================= */
.how-to-apply-section {
  background-image: url("../images/Rectangle 335 (1).png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover; /* RESPONSIVE FIX */
  width: 100%;
  height: auto;
  padding: 60px 0;
}

/* ============================= MAIN LAYOUT ============================= */
.how-to-apply-div {
  padding: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 70px;
}

/* ============================= LEFT COLUMN ============================= */
.how-to-apply-div-left-layout {
  width: 60%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 70px;
}

.left-layout-heading h4 {
  font-family: Merriweather;
  font-weight: 700;
  font-size: 36px;
  color: #ee1b22;
}

.left-layout-middle h5 {
  font-family: Poppins;
  font-weight: 600;
  font-size: 24px;
  color: #1c3f94;
  padding-bottom: 12px;
}

.left-layout-middle-para1,
.left-layout-middle-para2 {
  font-family: Poppins;
  font-size: 16px;
  line-height: 25px;
  color: #1c3f94;
}

.left-layout-middle-para2 {
  padding-top: 12px;
}

.left-layout-bottom button {
  padding: 15px 30px;
  background-color: #1c3f94;
  color: #fff;
  border-radius: 9px;
  font-family: Poppins;
  font-weight: 600;
  font-size: 16px;
}

/* ============================= RIGHT COLUMN ============================= */
.how-to-apply-div-right-layout {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.how-to-apply-div-right-layout-upper,
.how-to-apply-div-right-layout-lower {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  border: 1px solid #1c3f94;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  background-image: url("../images/Rectangle 333.png");
  background-size: cover;
  background-position: center;
}

.right-layout-heading h5 {
  font-family: Merriweather;
  font-weight: 700;
  font-size: 24px;
  color: #1c3f94;
}

.right-layout-middle p {
  font-family: Poppins;
  font-size: 16px;
  line-height: 25px;
  color: #1c3f94;
  text-align: center;
  margin: 0 auto;
}

/* Buttons */
.right-layout-bottom-first {
  padding: 12px 30px;
  background-color: #1c3f94;
  color: #fff;
  border-radius: 9px;
  font-family: Poppins;
  font-weight: 600;
  font-size: 16px;
}

.right-layout-bottom-second {
  padding: 12px 35px;
  background: transparent;
  color: #ee1b22;
  border: 2px solid #ee1b22;
  border-radius: 8px;
  font-family: Poppins;
  font-weight: 600;
  font-size: 16px;
}

/* ============================= RESPONSIVE ============================= */
/* ---------- TABLET (max-width: 992px) ---------- */
@media (max-width: 1300px) {


  .how-to-apply-div-left-layout,
  .how-to-apply-div-right-layout {
    width: 100%;
  }

  .how-to-apply-div-right-layout-upper,
  .how-to-apply-div-right-layout-lower {
    width: 90%;
    height: auto;
    padding: 30px 20px;
  }





    .how-to-apply-div {
    padding: 50px 40px;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
  .how-to-apply-section {
    background-size: cover; /* better for smaller screens */
  }

  .how-to-apply-div {
    padding: 35px 20px;
    gap: 40px;
  }

  .how-to-apply-div-left-layout {
    gap: 35px;
  }

  .left-layout-heading h4 {
    font-size: 30px;
    text-align: center;
    width: 100%;
  }

  .right-layout-middle p {
    padding: 0 20px;
  }

  .how-to-apply-div-right-layout-upper,
  .how-to-apply-div-right-layout-lower {
    width: 100%;
  }


}



/* ---------- MOBILE (max-width: 768px) ---------- */
@media (max-width: 760px) {
    .how-to-apply-div {
    padding: 50px 40px;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
  .how-to-apply-section {
    background-size: cover; /* better for smaller screens */
  }

  .how-to-apply-div {
    padding: 35px 20px;
    gap: 40px;
  }

  .how-to-apply-div-left-layout {
    gap: 35px;
  }

  .left-layout-heading h4 {
    font-size: 30px;
    text-align: center;
    width: 100%;
  }

  .right-layout-middle p {
    padding: 0 20px;
  }

  .how-to-apply-div-right-layout-upper,
  .how-to-apply-div-right-layout-lower {
    width: 100%;
  }
}

/* ---------- SMALL MOBILE (max-width: 480px) ---------- */
@media (max-width: 480px) {

  
  .right-layout-bottom {

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  .how-to-apply-div {
    padding: 25px 15px;
    gap: 25px;
  }

  .how-to-apply-div-left-layout {
    gap: 25px;
  }

  .left-layout-heading h4 {
    font-size: 24px;
  }

  .right-layout-middle p,
  .left-layout-middle-para1,
  .left-layout-middle-para2 {
    font-size: 14px;
    line-height: 22px;
  }

  .right-layout-bottom-first,
  .right-layout-bottom-second,
  .left-layout-bottom button {
    width: 100%;
    text-align: center;
  }
}
