/* ================= ADANI FORM THEME ================= */
.rs-lead-form:not(#aboutDevLeadForm):not(#modalForm) {
  border-radius: 5px !important;
  background: #ffffff;
  /*box-shadow: 0 54px 5px rgba(11, 45, 82, .25);*/
  /* border-top: 6px solid #c9a24d; */
  max-width: 450px;
}
.input-p {
  padding: 4px !important;
}

/* Headings / labels */
.rs-lead-form .form-label {
  font-weight: 600;
  font-size: 13px;
  color: #0b2d52; /* Adani blue */
}
.border {
  border-bottom: 1px solid #ccc !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
}

/* Inputs */
.rs-lead-form .form-control,
.rs-lead-form .form-select {
  /*border-radius:12px;*/
  border: 0;
  padding: 12px 14px;
  font-size: 14px;
  transition: all 0.25s ease;
}

.rs-lead-form .form-control:focus,
.rs-lead-form .form-select:focus {
  border: none !important;
  border-bottom: 1px solid #c9a24d !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 0 0 rgba(201, 162, 77, 0.25);
}

/* Phone row spacing fix */
.rs-lead-form .d-flex.gap-2 {
  align-items: flex-start;
}

/* Checkbox */
/* Consent row fix */
.rs-lead-form .form-check {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding-left: 0px;
}

/* Checkbox */
.rs-lead-form .form-check-input {
  margin-top: 3px; /* aligns with first text line */
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* Consent text */
.rs-lead-form .form-check-label {
  font-size: 12px;
  line-height: 1.5;
  color: #555;
}

.rs-lead-form .form-check-input:checked {
  background-color: #0b2d52;
  border-color: #0b2d52;
}

/* Invalid feedback */
.rs-lead-form .invalid-feedback {
  font-size: 11px;
  margin-top: 4px;
}

/* ================= SUBMIT BUTTON ================= */
.rs-lead-form .btn-primary {
  background: linear-gradient(
    90deg,
    var(--brand-purple),
    var(--birla-blue),
    var(--brand-purple)
  );

  background-size: 300% 100%;
  animation: waveMix 4s ease-in-out infinite;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(11, 45, 82, 0.35);
}

/* Gold orbit border */
.rs-lead-form .btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid #c9a24d;
  animation: orbit 4s linear infinite;
  pointer-events: none;
}

/* Button hover */
.rs-lead-form .btn-primary:hover {
  background: #09223f;
  box-shadow: 0 14px 35px rgba(11, 45, 82, 0.45);
}

/* Spinner alignment */
.rs-lead-form .spinner-border {
  width: 18px;
  height: 18px;
}

/* ================= TRUST ICONS ================= */
.rs-lead-form .bi {
  color: #0b2d52;
}

.rs-lead-form .small {
  font-size: 11px;
  color: #444;
}

/* ================= ORBIT ANIMATION ================= */
@keyframes orbit {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 8%, 0 8%);
  }
  25% {
    clip-path: polygon(92% 0, 100% 0, 100% 100%, 92% 100%);
  }
  50% {
    clip-path: polygon(0 92%, 100% 92%, 100% 100%, 0 100%);
  }
  75% {
    clip-path: polygon(0 0, 8% 0, 8% 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 8%, 0 8%);
  }
}

/* mobile-cta styles moved from index.html inline */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(
    90deg,
    var(--brand-purple),
    var(--birla-blue),
    var(--brand-purple)
  );
  background-size: 300% 100%;
  animation: waveMix 4s ease-in-out infinite;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  display: none;
}
@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
  }
  body {
    padding-bottom: 40px;
  }
}
.mobile-cta .cta {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  padding: 10px 5px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  flex-direction: column;
  gap: 4px;
}
.mobile-cta .cta i {
  font-size: 16px;
}
.mobile-cta .call,
.mobile-cta .enquire {
  background: transparent;
  border-right: 1px solid white;
}
.mobile-cta .whatsapp {
  background: transparent;
}

.custom-modal-width {
  max-width: 600px; /* ideal for 2-column form modal */
  width: 100%;
}
/* Prevent overflow */
.modal-content {
  overflow: hidden;
}
/* Left panel width control */
.promise-section {
  max-width: 100%;
}
/* Ensure columns don’t stretch */
.modal .row {
  margin: 0;
}
.btn-close {
  /*background-color: var(--green);*/
  /*color: white;*/
  opacity: 1;
}

.promise-section {
  padding: 20px 20px;
  background: #fff;
  height: 100%;
}

.promise-title {
  color: var(--green);
  font-weight: 600;
  margin-bottom: 30px;
  font-size: 18px;
}

.promise-row {
  display: flex;
  justify-content: center;
  gap: 35px;
}

.promise-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 500;
  font-size: 14px;
}

.promise-item i {
  font-size: 28px;
}

/* MOBILE */
@media (max-width: 991px) {
  .promise-row {
    flex-direction: row;
    gap: 20px;
  }

  .promise-section {
    border-top: 1px solid #eee;
  }
  .custom-modal-width {
    max-width: 95%;
  }
  .promise-title {
    display: none;
  }
}
