/* SECTION 1 (marriage law hero section) */
.hero-container {
  width: 100%;
  padding: 0 40px;
  background-color: #f5dce9;
}

.hero-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 42px 0;
  padding-bottom: 0;
  position: relative;
}

.hero-deco-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 30px;
  right: 50%;
}

.hero-content {
  max-width: 610px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-head-para {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-head {
  display: flex;
  position: relative;
  z-index: 2;
}

.hero-txt-deco {
  position: absolute;
  top: -15px;
  left: -28px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
}

.hero-txt-deco img {
  animation: rotateInfinite 16s linear infinite;
  transform-origin: center;
}

@keyframes rotateInfinite {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hero-points-btn {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-points {
  display: flex;
  gap: 18px;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image-bg {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg img {
  max-width: 470px;
  width: 100%;
  min-width: 405px;
  min-height: 424px;
  height: auto;
  object-fit: contain;
}

.hero-main-img {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 6;
  left: 28.1%;
}

.hero-main-img img {
  max-width: clamp(231px, 20.8vw, 266px);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-txt {
  white-space: nowrap;
}

@media (max-width: 1140px) {
  .hero-container {
    padding: 0 20px;
  }

  .hero-wrapper {
    gap: 0;
    align-items: flex-start;
  }

  .hero-content {
    gap: 30px;
  }

  .hero-head-para p {
    max-width: 484px;
  }

  .hero-txt-deco {
    left: -14px;
    top: -12px;
  }

  .hero-txt-deco img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 1080px) {
  .hero-content {
    margin-right: -20px;
  }

  .hero-deco-image {
    right: 45%;
    bottom: 22px;
  }
}

@media (max-width: 1023.98px) {
  .hero-wrapper {
    padding: 40px 0;
    padding-bottom: 0;
    gap: clamp(35px, 6.6vw, 50px);
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    margin-right: unset;
    max-width: 589px;
    align-items: center;
    gap: clamp(35px, 5.3vw, 40px);
  }

  .hero-head-para {
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .hero-head-para p {
    max-width: 557px;
  }

  .hero-points-btn {
    max-width: 381px;
    width: 100%;
    align-items: center;
  }

  .hero-deco-image {
    bottom: 0;
    right: unset;
    left: 0;
  }

  .hero-image-bg img {
    min-width: unset;
    max-width: 409px;
    min-height: unset;
  }
}

@media (max-width: 760px) {
  .hero-deco-image img {
    width: 56px;
    height: 37px;
  }
}

@media (max-width: 640.98px) {
  .hero-container {
    padding: 0 16px;
  }

  .hero-wrapper {
    gap: 35px;
  }

  .hero-txt {
    white-space: wrap;
  }

  .hero-head {
    max-width: 343px;
  }

  .hero-txt-deco {
    top: -24px;
    left: -14px;
  }

  .hero-points-btn {
    gap: 35px;
  }

  .hero-points {
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .hero-main-img img {
    max-width: 180px;
  }

  .hero-image-bg img {
    max-width: 343px;
  }
}

@media (max-width: 374px) {
  .hero-main-img img {
    max-width: clamp(80px, 49vw, 180px);
  }

  .hero-points {
    flex-direction: column;
    gap: 13px;
    align-items: center;
  }
}

/* SECTION 2 (law protects you in marriage) */
.protects-container {
  width: 100%;
  padding: 0 50px;
}

.protects-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 80px 0;
}

.protects-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.protects-image img {
  max-width: 421px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.protects-content {
  max-width: 502px;
  display: flex;
  flex-direction: column;
  gap: clamp(35px, 5.3vw, 40px);
}

.protects-head-para {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.protects-head {
  max-width: 381px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.protects-points {
  display: flex;
  gap: 30px;
}

.protects-points-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.protects-point {
  display: flex;
  align-items: center;
  gap: 12px;
}

.protect-point-icon {
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background-color: var(--color-light-red);
}

.protects-point.p-4 p {
  max-width: 153px;
}

@media (max-width: 1023.98px) {
  .protects-container {
    padding: 0 20px;
  }

  .protects-wrapper {
    padding: 60px 0;
    gap: clamp(35px, 6.6vw, 50px);
    flex-direction: column;
  }

  .protects-image img {
    max-width: 327px;
  }

  .protects-content {
    max-width: 100%;
    align-items: center;
  }

  .protects-head-para {
    max-width: 506px;
    gap: 10px;
    align-items: center;
    text-align: center;
  }

  .protects-head {
    max-width: 338px;
    align-items: center;
    text-align: center;
  }

  .protects-points {
    max-width: 410px;
  }

  .protects-points-column {
    max-width: 190px;
    width: 100%;
  }
}

@media (max-width: 640.98px) {
  .protects-container {
    padding: 0 16px;
  }

  .protects-wrapper {
    padding: 50px 0;
    gap: 35px;
  }

  .protects-points {
    gap: 19px;
  }

  .protects-point {
    gap: 7px;
  }

  .protect-point-icon {
    width: 36px;
    height: 40px;
  }

  .protect-point-icon img {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 374px) {
  .protects-points {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .protects-points-column {
    max-width: 175px;
  }
}

/* SECTION 3 (your right to maintenance) */
.maintenance-container {
  width: 100%;
  padding: 0 30px;
  background-color: var(--color-light-red);
}

.maintenance-wrapper {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 0;
  position: relative;
}

.maintenance-head-para {
  position: relative;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.maintenance-head {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.maintenance-head-deco {
  position: absolute;
  top: 70px;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.maintenance-head-deco img {
  animation: rotateInfinite 8s linear infinite;
  transform-origin: center;
}

.maintenance-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 29px 0;
  background-color: var(--color-red);
  border-radius: 16px;
}

.maintenance-panel-intro {
  max-width: 660px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: var(--color-white);
}

.maintenance-point-list {
  max-width: 1056px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 54px;
}

.maintenance-point-item {
  max-width: 200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  text-align: center;
}

.maintenance-point-icon {
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.maintenance-point-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.maintenance-point-item p {
  color: var(--color-white);
}

.maintenance-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.maintenance-card {
  max-width: 589px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12.5px 26px;
  text-align: center;
  background-color: var(--color-white);
  border: 1px solid #f178b4;
  border-radius: 18px;
}

.maintenance-card h3 {
  color: var(--color-red);
}

@media (max-width: 1023.98px) {
  .maintenance-container {
    padding: 0 30px;
  }

  .maintenance-wrapper {
    padding: 60px 0;
    gap: 30px;
    align-items: center;
  }

  .maintenance-head-para {
    margin-bottom: 20px;
  }

  .maintenance-panel {
    gap: 10px;
    max-width: 708px;
    padding: 28px 20px;
  }

  .maintenance-point-list {
    max-width: 494px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
  }

  .maintenance-card-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 100%;
    width: 100%;
  }

  .maintenance-card {
    max-width: 708px;
    width: 100%;
    padding: 35px 30px;
    gap: 13px;
  }

  .maintenance-card p {
    max-width: 524px;
  }
}

@media (max-width: 760px) {
  .maintenance-head-deco {
    top: 10%;
    right: 0;
  }

  .maintenance-head-deco img {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 640.98px) {
  .maintenance-container {
    padding: 0 16px;
  }

  .maintenance-wrapper {
    padding: 50px 0;
  }

  .maintenance-head {
    max-width: 337px;
  }

  .maintenance-head-para {
    margin-bottom: 5px;
  }

  .maintenance-point-list {
    gap: 41px 30px;
  }

  .maintenance-panel {
    gap: 30px;
  }

  .maintenance-point-item {
    padding: 0;
    gap: 18px;
  }

  .maintenance-card {
    padding: 16px 28px;
  }
}

/* SECTION 4 (protection from cruelity) */
.cruelty-container {
  width: 100%;
  padding: 0 30px;
}

.cruelty-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 0;
}

.cruelty-head-para {
  display: flex;
  flex-direction: column;
}

.cruelty-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  text-align: center;
}

.cruelty-card-row {
  max-width: 1156px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.cruelty-card {
  max-width: 553px;
  width: 100%;
  background-color: #fff9fc;
  border: 1px solid #f3b4d4;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 43px 27px;
}

.cruelty-card-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cruelty-card-image img {
  max-width: 499px;
  width: 100%;
  height: auto;
  min-height: 170px;
  object-fit: cover;
}

.cruelty-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cruelty-point-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 48px;
}

.cruelty-point-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cruelty-point-icon {
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  background-color: var(--color-red);
  flex-shrink: 0;
}

.cruelty-card-content h3 {
  color: #0d0e10;
}

@media (max-width: 1120px) {
  .cruelty-card {
    padding: 18px 13px;
  }

  .cruelty-point-list {
    column-gap: 30px;
  }
}

@media (max-width: 1023.98px) {
  .cruelty-container {
    padding: 0 20px;
  }

  .cruelty-wrapper {
    padding: 60px 0;
    gap: clamp(35px, 6.6vw, 50px);
  }

  .cruelty-card-row {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .cruelty-card {
    max-width: 467px;
    padding: 28px 13px;
  }

  .cruelty-card-image {
    max-width: 433px;
    height: 170px;
    object-fit: cover;
    overflow: hidden;
    border-radius: 12px;
  }

  .cruelty-card-image img {
    max-width: 433px;
    object-fit: unset;
  }

  .cruelty-point-list {
    column-gap: 11px;
  }
}

@media (max-width: 640.98px) {
  .cruelty-container {
    padding: 0 16px;
  }

  .cruelty-wrapper {
    padding: 50px 0;
  }
}

@media (max-width: 580px) {
  .cruelty-card-image {
    max-width: 311px;
    height: 152px;
    object-fit: cover;
    overflow: hidden;
    border-radius: 12px;
  }

  .cruelty-card-image img {
    max-width: 311px;
    object-fit: unset;
    min-height: unset;
  }

  .cruelty-card-content {
    align-items: flex-start;
  }

  .cruelty-card {
    padding: 28px 16px;
  }

  .cruelty-point-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .cruelty-point-icon {
    width: 50px;
    height: 50px;
  }

  .cruelty-point-icon img {
    width: 30px;
    height: 30px;
  }
}

/* SECTION 5 (your rights) */
.rights-container {
  width: 100%;
  padding: 0 20px;
  background-color: var(--color-light-red);
}

.rights-wrapper {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 0;
}

.rights-head-para {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}

.rights-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}

.rights-head-deco {
  position: absolute;
  right: 0;
  top: -10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rights-content-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.rights-card-column {
  max-width: 623px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rights-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 25px 31px;
  background-color: var(--color-red);
  border-radius: 16px;
  min-height: 270px;
}

.rights-info-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rights-info-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--color-white);
}

.rights-info-card-icon img {
  width: 40px;
  height: 40px;
}

.rights-info-card-number {
  font-size: 44px;
  line-height: 56px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.67);
}

.rights-info-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-white);
  max-width: 538px;
}

.rights-info-card-body h3 {
  color: var(--color-white);
}

.rights-remedy-list {
  max-width: 517px;
  display: flex;
  flex-direction: column;
  gap: 59px;
  position: relative;
}

.rights-remedy-list::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 33px;
  width: 2px;
  height: 78%;
  background-color: #ffbcdf;
  flex-shrink: 0;
}

.rights-remedy-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.rights-remedy-icon {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #ffbcdf;
  flex-shrink: 0;
  margin-top: 8px;
  z-index: 5;
}

.rights-remedy-icon img {
  width: 38px;
  height: 38px;
}

.rights-remedy-text {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rights-remedy-text h3 {
  color: #3f3f41;
}

@media (max-width: 1100px) {
  .rights-content-row {
    flex-direction: column;
    gap: 40px;
  }

  .rights-remedy-list {
    max-width: 623px;
  }
}

@media (max-width: 1023.98px) {
  .rights-container {
    padding: 0 20px;
  }

  .rights-wrapper {
    padding: 60px 0;
    gap: clamp(35px, 6.6vw, 50px);
  }

  .rights-head {
    max-width: 391px;
  }

  .rights-content-row {
    width: 100%;
    gap: clamp(35px, 6.6vw, 50px);
  }

  .rights-card-column {
    max-width: 708px;
    width: 100%;
  }

  .rights-head-deco img {
    width: 90px;
    height: auto;
  }
}

@media (max-width: 640.98px) {
  .rights-container {
    padding: 0 16px;
  }

  .rights-wrapper {
    padding: 50px 0;
    gap: 35px;
  }

  .rights-head-deco img {
    width: 50px;
    height: auto;
  }
}

@media (max-width: 580px) {
  .rights-info-card {
    padding: 24px 12px;
    gap: 10px;
    min-height: unset;
  }

  .rights-info-card-icon {
    width: 50px;
    height: 50px;
  }

  .rights-info-card-icon img {
    width: 30px;
    height: 30px;
  }

  .rights-remedy-icon img {
    width: 30px;
    height: 30px;
  }

  .rights-info-card-body {
    gap: 18px;
  }

  .rights-info-card-number {
    font-size: 32px;
    line-height: 42px;
  }

  .rights-remedy-list {
    gap: 30px;
  }

  .rights-remedy-list::before {
    left: 23px;
    top: 15px;
    height: 74%;
  }

  .rights-remedy-icon {
    width: 50px;
    height: 50px;
  }

  .rights-remedy-icon img {
    width: 27px;
    height: 27px;
  }
}

/* SECTION 6 (rights to housing and shared residence) */
.residence-container {
  width: 100%;
  padding: 0 20px;
}

.residence-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 0;
}

.residence-head-para {
  display: flex;
  justify-content: center;
}

.residence-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}

.residence-card-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1136px;
  width: 100%;
}

.residence-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  padding: 16px 26px;
  padding-left: 0;
  background-color: var(--color-light-red);
  transition: all 0.2s ease;
  cursor: default;
}

.residence-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.13);
}

.residence-card:hover {
  background-color: var(--color-red);
  color: var(--color-white);
  transition: all 0.25s ease;
}

.residence-card-content {
  max-width: 996px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.residence-card-icon {
  width: 90px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.residence-card:hover > .residence-card-content > .residence-card-icon.c1 img {
  content: url("../../assets/icons/home-white-hover-icn.svg");
}

.residence-card:hover > .residence-card-content > .residence-card-icon.c2 img {
  content: url("../../assets/icons/wedding-ring-white-hover-icn.svg");
}

.residence-card:hover > .residence-card-content > .residence-card-icon.c3 img {
  content: url("../../assets/icons/social-justice-white-hover-icn.svg");
}

.residence-card-text {
  max-width: 874px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 43px;
}

.residence-card-text h3 {
  color: var(--color-red);
  max-width: 313px;
  width: 100%;
}

.residence-card:hover > .residence-card-content > .residence-card-text h3 {
  color: var(--color-white);
}

.residence-card-text p {
  max-width: 518px;
}

.residence-card-arrow {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background-color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.residence-card-arrow span {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1100px) {
  .residence-card {
    padding: 16px 13px;
    padding-left: 0;
  }

  .residence-card-text {
    gap: 23px;
  }

  .residence-card-text h3 {
    width: fit-content;
  }
}

@media (max-width: 1023.98px) {
  .residence-container {
    padding: 0 20px;
  }

  .residence-wrapper {
    padding: 60px 0;
    gap: clamp(35px, 6.6vw, 50px);
  }

  .residence-card-list {
    align-items: center;
  }

  .residence-card {
    max-width: 628px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fce8f0;
    border-radius: 16px;
    padding: 24px 20px;
    gap: 16px;
  }

  .residence-card-content {
    justify-content: unset;
  }

  .residence-card-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    flex: 1;
  }

  .residence-card-icon {
    max-width: 44px;
    width: 100%;
    height: auto;
  }

  /* Dissolve the wrapper so h3 and p become direct flex children */
  .residence-card-text {
    display: contents;
  }

  /* Force paragraph onto its own row */
  .residence-card-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640.98px) {
  .residence-container {
    padding: 0 16px;
  }

  .residence-wrapper {
    padding: 50px 0;
    gap: 35px;
  }

  .residence-head {
    max-width: 343px;
  }

  .residence-card {
    padding: 24px 13px;
    gap: 6px;
  }

  .residence-card-content {
    gap: 14px 10px;
  }

  .residence-card-icon {
    max-width: 30px;
  }

  .residence-card-icon img {
    width: 30px;
    height: 30px;
  }

  .residence-card-arrow {
    width: 40px;
    height: 40px;
  }
}

/* SECTION 7 (Your right as a mother) */
.mother-container {
  width: 100%;
  padding: 0 20px;
  background-color: var(--color-light-red);
}

.mother-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  padding: 80px 0;
  position: relative;
}

.mother-deco {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 13%;
  left: 8%;
}

.mother-content {
  max-width: 250px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mother-head-para {
  display: flex;
  max-width: 238px;
}

.mother-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mother-card-row {
  max-width: 827px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 35px;
}

.mother-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 27px 38px;
  border-radius: 16px;
  background-color: var(--color-white);
  position: relative;
  transition: all 0.2s ease;
  cursor: default;
}

.mother-card-deco {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
}

.mother-card-text {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.mother-card-text h3 {
  color: var(--color-red);
}

.mother-card:hover {
  background-color: var(--color-red);
  color: var(--color-white);
  transform: scale(1.008);
  transition: all 0.25s ease;
}

.mother-card:hover > .mother-card-text h3 {
  color: var(--color-white);
  transition: all 0.25s ease;
}

.mother-card:hover > .mother-card-icon.c1 img {
  content: url("../../assets/icons/baby-white-hover-icn.svg");
}

.mother-card:hover > .mother-card-icon.c2 img {
  content: url("../../assets/icons/children-charity-white-hover-icn.svg");
}

@media (max-width: 1126px) {
  .mother-wrapper {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .mother-deco {
    top: 141px;
    right: 10%;
    left: unset;
    bottom: unset;
  }

  .mother-content {
    max-width: 363px;
    width: 100%;
    align-items: center;
  }

  .mother-head-para {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 1023.98px) {
  .mother-wrapper {
    padding: 60px 0;
    gap: clamp(35px, 6.6vw, 50px);
  }

  .mother-card-row {
    flex-direction: column;
    gap: 30px;
    max-width: 708px;
  }

  .mother-deco {
    right: 15px;
    top: 10%;
  }
}

@media (max-width: 640.98px) {
  .mother-container {
    padding: 0 16px;
  }

  .mother-wrapper {
    padding: 50px 0;
    gap: 35px;
  }

  .mother-deco {
    top: 5%;
  }

  .mother-deco img {
    width: 20px;
    height: 20px;
  }

  .mother-content {
    gap: 35px;
  }

  .mother-card {
    padding: 16px 19px;
    gap: 18px;
  }

  .mother-card-deco img {
    width: 50px;
    height: 50px;
  }

  .mother-card-icon img {
    width: 40px;
    height: 40px;
  }

  .mother-card-text {
    gap: 30px;
  }
}

/* SECTION 8 (expect from legal process) */
.legal-container {
  width: 100%;
  padding: 0 30px;
}

.legal-wrapper {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 0;
}

.legal-head-para {
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.legal-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.legal-card-row {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.legal-card {
  flex: 1;
  max-width: 390px;
  min-height: 326px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 26px 45px;
  text-align: center;
  background-color: #fff0f8;
  border-radius: 18px;
  cursor: default;
  transition: all 0.2s ease;
}

.legal-card-icon {
  width: 88px;
  height: 82px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.legal-card-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.legal-card-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-card-text h3 {
  color: var(--color-red);
}

.legal-card:hover {
  background-color: var(--color-red);
  color: var(--color-white);
  transform: scale(1.008);
  transition: all 0.2s ease;
}

.legal-card:hover > .legal-card-text h3 {
  color: var(--color-white);
  transition: all 0.2s ease;
}

.legal-card:hover > .legal-card-icon.c1 img {
  content: url("../../assets/icons/document-white-hover-icn.svg");
}

.legal-card:hover > .legal-card-icon.c2 img {
  content: url("../../assets/icons/court-white-hover-icn.svg");
}

.legal-card:hover > .legal-card-icon.c3 img {
  content: url("../../assets/icons/handshake-white-hover-icn.svg");
}

@media (max-width: 1163px) {
  .legal-card-row {
    flex-wrap: wrap;
    gap: 30px 24px;
  }

  .legal-card {
    flex: unset;
  }
}

@media (max-width: 1023.98px) {
  .legal-container {
    padding: 0 20px;
  }

  .legal-wrapper {
    padding: 60px 0;
    gap: clamp(35px, 6.6vw, 50px);
  }
}

@media (max-width: 640.98px) {
  .legal-container {
    padding: 0 16px;
  }

  .legal-wrapper {
    padding: 50px 0;
    gap: 35px;
  }
}

@media (max-width: 580px) {
  .legal-card-row {
    padding: 0 16px;
  }

  .legal-card {
    padding: 37px 23px;
    gap: 18px;
    min-height: unset;
  }

  .legal-card-icon {
    width: unset;
    height: unset;
  }

  .legal-card-text {
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .legal-card-row {
    padding: 0;
  }
}
