/* -------------- Banner Section ----------------- */
.banner-section {
  width: 100%;
  height: 100vh;
  max-height: 875px;
  margin-top: 81px !important;
  overflow: hidden;
  position: relative;
}
.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 1; 
}

.banner-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.banner-content-setion {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 600px;
  display: flex;
  top: 80px;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  color: var(--primary);
  padding: 0 1rem;
}

.banner-content {
  max-width: 900px;
}

.banner-content h1 {
  font-size: 2.75rem;
  font-weight: 600;
  font-family: var(--ff-primary);
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 20px;
}
/* ---------- Animation styles ---------- */
.banner-content h1 {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.banner-content.visible h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* -------------------------------partner-section---------------------- */
.distributor-form {
  padding: 100px 0;
}
.card {
  background-color: #f3f3f366;
  border-radius: 0;
  border: none;
}
.card-title {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: #2b2d37;
}
.form-check-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #6b748c;
}
.form-content {
  padding: 0 64px;
}
.form-control {
  border-radius: 0;
}
form label {
  font-weight: 400;
  font-size: 14px;
  color: #393939;
}
input::placeholder {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #b3b8c6 !important;
}
.form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
  margin-top: 2px;
  border-radius: 50% !important;
}

.form-check-input:focus {
  box-shadow: none;
  border-color: #ccc;
}

.form-check-input:checked {
  background-color: var(--secondary);
  border-color: var(--secondary);
}
.contact-submit-button {
  padding: 11px 30px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-weight: 600;
  border-radius: 0;
  border-radius: 8px;
}
.distributor-dropdown {
  position: relative;
}
.custom-distributor-dropdown {
  position: relative;
  border: 1px solid #ced4da;
  background-color: white;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #393939;
  font-weight: 500;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
}
input {
  border-radius: 4px !important;
}

.dropdown-distributor-arrow {
  font-size: 14px;
}
.custom-distributor-options {
  display: none;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #ced4da;
  position: absolute;
  width: 100%;
  background: #fff;
  z-index: 999;
}
.accordion-distributor-options {
  padding-left: 16px;
  background: #fff;
}

.accordion-distributor-arrow {
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.accordion-distributor-arrow i {
  display: inline-block;
  transition: transform 0.3s ease;
}

.custom-distributor-option {
  padding: 8px 16px;
  cursor: pointer;
}

.custom-distributor-option:hover {
  background-color: var(--secondary);
  color: white;
}

.accordion-item:hover {
  color: var(--secondary);
  background-color: var(--tertiary);
}
.selected,
textarea::placeholder,
input::placeholder {
  color: #b3b8c6;
  font-weight: 500;
  font-size: 14px;
}
.selected-filled {
  color: #393939 !important;
}

@media (max-width: 768px) {
  .form-content {
    padding: 0 20px;
  }

  .card-title {
    font-size: 20px;
  }

  .form-check-label {
    font-size: 13px;
    text-align: left;
  }

  .form-check-input {
    width: 16px;
    height: 16px;
  }

  .form-sub-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
  }

  .form-check {
    width: 100%;
    margin-bottom: 8px;
  }

  .form-check-label {
    margin-left: 8px;
  }

  .form-field {
    width: 100%;
    flex: 0 0 100%;
  }

  .form-control {
    font-size: 14px;
  }

  label {
    font-size: 13px;
  }

  input::placeholder {
    font-size: 13px;
  }

  .contact-submit-button {
    width: 100%;
    font-size: 15px;
    padding: 12px;
  }
  .form-control,
  .input-group-text,
  .custom-distributor-dropdown {
    height: 47px !important;
    line-height: 1.5;
  }
}
.email-control {
  text-transform: lowercase !important;
}
.email-control::placeholder {
  text-transform: capitalize !important;
}
.form-content,
.card {
  overflow: visible !important;
}

.custom-distributor-options {
  z-index: 9999 !important;
}

.distributor-dropdown {
  position: relative;
}
