/* Referral */
.section.referral {
  padding: 90px 0 40px;
  background-color: var(--light-color);
  text-align: center;
}

.section.referral .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

.section.referral .section-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section.referral .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
}

.section.referral .section-intro {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 50px;
}

.referral {
  background-color: var(--light-color);
  text-align: center;
  margin-top: 25px;
}

.referral-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.form-group textarea {
  height: 150px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .section.referral {
    padding: 40px 0 20px;
  }

  .section.referral .section-title {
    font-size: 1.8rem;
  }

  .section.referral .section-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .referral-form {
    padding: 20px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 8px;
  }

  .form-group textarea {
    height: 100px;
  }
}

@media (max-width: 480px) {
  .section.referral .section-title {
    font-size: 1.5rem;
  }

  .section.referral .section-title::after {
    width: 50px;
    height: 2px;
    bottom: -6px;
  }

  .referral-form {
    padding: 15px;
  }
}
