body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}

/* Section */
.join-cause {
  margin-top: -8.2em;
  padding-top: 250px;
  padding-bottom: 50px;
  position: relative;
  background-image: url('/assets/wajabat/src/images/wholepagebg.png');
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}

/* Background circles */
.join-cause::before,
.join-cause::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.join-cause::before {
  width: 250px;
  height: 250px;
  background: rgba(16, 185, 129, 0.15);
  bottom: 80px;
  left: 40px;
}

.join-cause::after {
  width: 300px;
  height: 300px;
  background: rgba(239, 68, 68, 0.15);
  top: 50px;
  right: 50px;
}

/* Top Button */
.small-btn {
  background: #D62828 !important;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 8px 25px !important;
  font-size: 14px;
  font-weight: 500 !important;
  cursor: pointer;
  margin-top: 5em;
}

.formbottom {
  background-image: url('/assets/wajabat/src/images/circle-bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 700px;
  width: 100%;
  position: relative;
  align-items: center;
  padding-top: 3em;
}

/* Heading */
.main-heading {
  font-size: 65px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  color: #1e2939;
  margin: 20px 0;
}

.main-heading span {
  color: #ef4444;
}

/* Layout */
.content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  text-align: left;
}

/* Image Stack */
.image-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tilt-left {
  transform: rotate(-5deg);
}

.tilt-right {
  transform: rotate(5deg);
}

/* Text */
.text-box {
  max-width: 550px;
}

.text-box h4 {
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 1.5em;
  color: #111827;
}

.text-box p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.highlight {
  color: #ef4444;
}

/* Check Lines */
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1em;
  color: #6b7280;
  line-height: 1.6;
  font-size: 1em;
}

/* Check Lines */
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  font-size: 15px;
  color: rgb(68, 68, 68);
  font-weight: 400;
  line-height: 1.6;
  justify-content: flex-start; /* always left-aligned */
}

.check-line img {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

/* Tablet (<=992px) */
@media (max-width: 992px) {
  .check-line {
    justify-content: flex-start; /* keep left on tablets */
    text-align: left;
  }
}

/* Mobile (<=600px) */
@media (max-width: 600px) {
  .check-line {
    gap: 6px;
    font-size: 14px;
    justify-content: flex-start;
    text-align: left;
  }
  .image-stack img {
    width: 350px;
}
}


/* Buttons */
.join-btn {
  margin-top: 20px;
  background: #10b981;
  color: white;
  padding: 12px 26px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.join-btn:hover {
  background: #059669;
}

/* Form */
.form-box {
  margin-top: 50px;
  border-radius: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: 60px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group span {
  color: #ef4444;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
}

.register-btn {
  background: #10b981;
  color: white;
  padding: 12px 26px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.register-btn:hover {
  background: #059669;
}


body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}

/* Section */
.join-cause {
  margin-top: -8.2em;
  padding-top: 250px;
  padding-bottom: 50px;
  position: relative;
  background-image: url('/assets/wajabat/src/images/wholepagebg.png');
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}

/* Background circles */
.join-cause::before,
.join-cause::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.join-cause::before {
  width: 250px;
  height: 250px;
  background: rgba(16, 185, 129, 0.15);
  bottom: 80px;
  left: 40px;
}

.join-cause::after {
  width: 300px;
  height: 300px;
  background: rgba(239, 68, 68, 0.15);
  top: 50px;
  right: 50px;
}

/* Top Button */
.small-btn {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 6px 18px;
  font-size: 14px;
  cursor: pointer;
}

.formbottom {
  background-image: url('/assets/wajabat/src/images/circle-bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 700px;
  width: 100%;
  position: relative;
  align-items: center;
  padding-top: 3em;
}

/* Heading */
.main-heading {
  font-size: 65px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  color: #1e2939;
  margin: 20px 0;
}

.main-heading span {
  color: #ef4444;
}

/* Layout */
.content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  text-align: left;
}

/* Image Stack */
.image-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tilt-left {
  transform: rotate(-5deg);
}

.tilt-right {
  transform: rotate(5deg);
}

/* Text */
.text-box {
  max-width: 550px;
}

.text-box h4 {
  margin-top: 40px;
  font-size: 18px;
  font-weight: bold;
  color: #1E2939;
  text-transform: uppercase;
}

.text-box p {
  font-size: 15px;
  color: #444;
  font-weight: 400;
  line-height: 1.6;
}

.highlight {
  color: #ef4444;
}

/* Check Lines */
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  line-height: 1.5;
  font-size: 15px;
  color: rgb(68, 68, 68);
  font-weight: 400;
  line-height: 1.6;
}

F .check-line img {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

/* Buttons */
.join-btn {
  margin-top: 20px;
  background: #10b981;
  color: white;
  padding: 12px 26px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.join-btn:hover {
  background: #059669;
}

/* Form */
.form-box {
  margin-top: 50px;
  border-radius: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: 60px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 23px;
  color: #1E2939;
  font-weight: 600;
}

.form-group span {
  color: #ef4444;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border-radius: 50px;
  border: 1px solid #d1d5db;
  outline: none;
  font-size: 1em;
}

.register-btn {
  background: #10b981;
  color: white;
  padding: 10px 45px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.register-btn:hover {
  background: #059669;
}

.redeem-input {
  max-width: 700px;
  margin: 0 auto 1.5em;
}

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


/* ===================== Responsive Media Queries ===================== */

/* Tablet (<=992px) */
@media (max-width: 992px) {
  .main-heading {
    font-size: 45px;
  }

  .content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-box {
    max-width: 90%;
    text-align: center;
  }

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  font-size: 15px;
  color: rgb(68, 68, 68);
  font-weight: 400;
  line-height: 1.6;
  justify-content: flex-start; /* ensures left alignment */
}
@media (max-width: 992px) {
  .check-line {
    justify-content: flex-start !important; /* keep left-aligned on tablet/mobile */
  }
}

  @media (max-width: 600px) {
    .check-line {
        gap: 6px;
        font-size: 14px;
        text-align: left;
    }
}


  .form-group {
    margin-bottom: 40px;
  }
}

/* Mobile (<=600px) */
@media (max-width: 600px) {
  .join-cause {
    padding-top: 9em;
    padding-bottom: 3em;
    margin-top: -4em;
  }

  .main-heading {
    font-size: 32px;
    line-height: 1.3;
  }

  .text-box h4 {
    font-size: 16px;
    margin-top: 20px;
  }

  .text-box p {
    font-size: 14px;
  }

  .check-line {
    gap: 6px;
    font-size: 14px;
  }

  .join-btn,
  .register-btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }

  .formbottom {
    height: auto;
    padding: 2em;
  }

  .form-group {
    margin-bottom: 30px;
  }
}


.beforefooterpersonal {
  padding-top: 1em !important;
  padding-bottom: 6em !important;
  color: #fff !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  background-image: url("src/images/before.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 2px 50px rgba(0, 0, 0, 0.171);
  display: flex;
  /* NEW */
  justify-content: center;
  /* center horizontally */
}
