* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.legal-fragment-section {
  background: url("../images/Rectangle 373.png");
  background-size: cover;
  background-position: center;
}

.legal-fragment-div {
  padding: 45px 70px;
}

.legal-fragment-div-upper {
  padding: 0px 0px 0px 0px;
  max-width: 900px;
}

.legal-fragment-div-upper h4,
.legal-fragment-div-upper span {
  font-family: Merriweather;
  font-weight: 700;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #1c3f94;
}

.legal-fragment-div-upper span {
  color: #ee1b22;
}

.legal-fragment-div-upper p {
  font-family: Poppins;
  font-weight: 500;
  font-size: 16px;
  line-height: 27px;
  margin-top: 10px;
  color: #1c3f94;
}

/* ========================= MAIN FLEX ========================= */
.legal-fragment-div-lower {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* equal height both sides */
  gap: 15px;
  flex-wrap: nowrap;
  max-width: 1400px;
  margin: auto;
}

/* ========================= EQUAL HEIGHT FIX ========================= */
.legal-fragment-div-lower-left-layout,
.legal-fragment-div-lower-right-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ========================= LEFT COLUMN ========================= */
.legal-fragment-div-lower-left-layout {
  flex: 1 1 55%;
  max-width: 55%;
  background: #fff;
  padding: 20px 30px;
  border-radius: 5px;
  gap: 16px;
}

/* 🔵 ICON FIX — Prevent Stretching */
.legal-fragment-div-lower-left-layout img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.legal-fragment-div-lower-left-layout h5 {
  font-family: Merriweather;
  font-size: 24px;
  font-weight: 600;
  color: #ee1b22;
}

.legal-fragment-div-lower-left-layout div h6 {
  font-family: Poppins;
  font-weight: 600;
  font-size: 16px;
  color: #1c3f94;
}

.legal-fragment-div-lower-left-layout div p {
  font-family: Poppins;
  font-size: 16px;
  padding: 10px 10px 0px 30px;
  line-height: 20px;
  color: #1c3f94;
}

/* ========================= RIGHT COLUMN ========================= */
.legal-fragment-div-lower-right-layout {
  flex: 1 1 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 🔵 ICON FIX RIGHT BOX */
.legal-fragment-div-lower-right-layout img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  flex-shrink: 0;
}

/* RIGHT TOP BOX */
.legal-fragment-div-lower-right-layout-upper {
  background: #fff;
  padding: 20px 30px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 25px;
   height: 500px;
}

.legal-fragment-div-lower-right-layout-upper h5 {
  font-family: Merriweather;
  font-size: 24px;
  font-weight: 600;
  color: #ee1b22;
}

.legal-fragment-div-lower-right-layout-upper div h6 {
  font-family: Poppins;
  font-size: 16px;
  font-weight: 600;
  color: #1c3f94;
}

/* RIGHT BOTTOM BOX */
.legal-fragment-div-lower-right-layout-lower {
  background-color: #1c3f94;
  padding: 25px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  border-radius: 5px;
  text-align: left;
  height: 230px;
}

.legal-fragment-div-lower-right-layout-lower p {
  font-family: Poppins;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

/* ========================= TABLET ========================= */
@media screen and (max-width: 992px) {
  .legal-fragment-div {
    padding: 40px 10px;
  }

  .legal-fragment-div-upper h4,
  .legal-fragment-div-upper span {
    font-size: 30px;
  }

  .legal-fragment-div-lower {
    flex-wrap: wrap;
  }

  .legal-fragment-div-lower-left-layout,
  .legal-fragment-div-lower-right-layout {
    max-width: 100%;
    flex-basis: 100%;
  }
}

/* ========================= MOBILE ========================= */
@media screen and (max-width: 768px) {
  .legal-fragment-div {
    padding: 30px 10px;
  }

  .legal-fragment-div-upper h4,
  .legal-fragment-div-upper span {
    font-size: 26px;
  }

  .legal-fragment-div-upper p {
    font-size: 14px;
  }

  .legal-fragment-div-lower-left-layout div p {
    font-size: 14px;
    padding: 10px 10px 0px 15px;
  }

  .legal-fragment-div-lower-right-layout-lower {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================= SMALL MOBILE ========================= */
@media screen and (max-width: 500px) {
  .legal-fragment-div-upper h4,
  .legal-fragment-div-upper span {
    font-size: 22px;
  }

  .legal-fragment-div-lower-right-layout-upper div h6 {
    font-size: 14px;
  }
}
