body{
font-family: Montserrat;    
margin: 0px !important;
}
.referral-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.referral-image,
.referral-image-mobile-only {
  position: relative;
}

.referral-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  z-index: 1;
    position: relative;
}

/* Overlay text */
.referral-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 600px;
  z-index:96;
}

.referral-content h1 {
  
  font-weight: 600;
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #00B7AC;
}

.referral-content p {
  
  font-size: 18px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 30px;
}

.btn-referral {
  display: inline-block;
  background: linear-gradient(90deg, #034EA1 0%, #00B7AC 100%);
  color: #fff;
  
  font-weight: 600;
  font-size: 16px;
  padding: 14px 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-referral:hover {
  background: linear-gradient(90deg, #00B7AC 0%, #034EA1 100%);
}

/* Hide mobile banner by default */
.referral-image-mobile-only {
  display: none;
}

.common-bg {
  background-image: url(../images/left-bg.webp), url(../images/right-bg.webp);
  background-position: left top 100px, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, auto;
  background-attachment: fixed;
}

.referral-form {
  max-width: 90%;
  margin: 50px auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #034EA1;
  text-align: center;
}

.referral-form h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #0077a3;
}

form {
  text-align: left;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  width: 100%;
  margin-top: 15px;
}

label {
  font-size: 14px;
  font-weight: 500;
  color: #034EA1;
}

input,
select,
textarea {
  padding: 12px;
  border: 1px solid #c5d5e4;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  background-color: #fff;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

textarea {
  resize: none;
}

.form-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 25px 0;
  font-size: 13px;
  color: #666;
}

.form-agree a {
  color: #0077a3;
  text-decoration: none;
}

.form-agree a:hover {
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(90deg, #034EA1 0%, #00B7AC 100%);
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin: 30px 0 20px 0;
}

.submit-btn:hover {
  opacity: 0.9;
}

@media (max-width: 767px) {
  .form-row {
    flex-direction: column;
    gap: 35px;
  }
  label {
    margin-bottom: 10px;
  }
  .referral-content h1{
    text-align: left;
    font-size: 18px !important;
  }
  .referral-content p{
    text-align: left;
    max-width: 200px;
    margin-bottom: 0 !important;
  }
  .referral-content{
    text-align: left !important;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .referral-image {
    display: none;
  }

  .referral-image-mobile-only {
    display: block;
  }

  .referral-content {
    left: 5%;
    top: 45%;
    transform: translateY(-50%);
    max-width: 90%;
    text-align: center;
  }

  .referral-content h1 {
    font-size: 32px;
  }

  .referral-content p {
    font-size: 16px;
  }

  .btn-referral {
    padding: 12px 28px;
    font-size: 15px;
  }
}
.text-danger{
    color: red;
    font-size: 13px;
    position: absolute;
    margin: 10px 10px 10px 0;
}