/* ============================================
   BOOK A DEMO PAGE – page-specific styles
   Common styles live in styles.css
   ============================================ */

/* ---- Section wrapper (full bleed) ---- */
.book-demo-section {
  padding-top: 72px; /* offset for fixed nav */
  background: #f3f4f6;
  padding-bottom: 48px;
}

/* ---- Split layout ---- */
.book-demo-page {
  /* background: #ffffff; */
  display: flex;
  align-items: stretch;
  /* min-height: calc(100vh - 72px); */
}

/* ---- LEFT PANEL ---- */
/* Background bleeds to left screen edge; content aligns to container left */
.book-demo-left {
  flex: 0 0 50%;
  background: radial-gradient(ellipse at top left, #0d2d6e, #031c52 60%, #010e29);
  color: #ffffff;
  /* Right-side content padding fixed; left padding tracks Bootstrap container margin */
  padding: 64px 56px 64px max(24px, calc((100vw - 1320px) / 2 + 24px));
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 680px;
  border-radius: 0% 0 15% 0;
}

/* decorative background glow */
/* .book-demo-left::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(119, 206, 255, 0.08);
  top: -120px;
  right: -160px;
  pointer-events: none;
} */

.bdl-top {
  position: relative;
  z-index: 1;
}

.bdl-logo {
  margin-bottom: 48px;
}

.bdl-logo img {
  height: 32px;
}

.bdl-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #77ceff;
  margin-bottom: 16px;
}

.bdl-headline {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 48px;
  max-width: 420px;
}

.bdl-headline span {
  color: var(--red-color);
  /* color: #77ceff; */
}

/* Feature bullet list */
.bdl-features {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bdl-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.bdl-feat-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(119, 206, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bdl-feat-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--red-color);
  /* stroke: #77ceff; */
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bdl-feat-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.bdl-feat-text span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ---- Bottom: trusted badge + logos ---- */
.bdl-bottom {
  position: relative;
  z-index: 1;
}

.bdl-trusted-badge {
  display: inline-block;
  background: rgba(119, 206, 255, 0.15);
  border: 1px solid rgba(119, 206, 255, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #77ceff;
  margin-bottom: 20px;
}

.bdl-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.bdl-logos span {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- RIGHT PANEL ---- */
/* Background bleeds to right screen edge; content aligns to container right */
.book-demo-right {
  flex: 1;
  /* background: #ffffff; */
  padding: 64px max(24px, calc((100vw - 1320px) / 2 + 24px)) 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bdr-inner {
  /* min-width: 480px; */
  /* max-width: 480px; */
  width: 100%;
}

.bdr-inner h2 {
  font-size: 28px;
  font-weight: 600;
  color: #031c52;
  margin-bottom: 8px;
}

.bdr-inner p.bdr-subtitle {
  font-size: 15px;
  color: #375188;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Form fields */
.book-demo-right .form-item {
  margin-bottom: 32px;
}

.book-demo-right .form-item label span:not(.optional-hint) {
  color: var(--red-color);
}

.book-demo-right .form-item label {
  color: #031c52;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: block;
}

.book-demo-right .form-item .form-control,
.book-demo-right .form-item .form-select {
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 2px;
  margin-top: 12px;
  padding-left: 12px;
  background: transparent;
  font-size: 16px;
  color: #031c52;
  transition: border-color 0.2s;
}

.book-demo-right .form-item .form-control:focus,
.book-demo-right .form-item .form-select:focus {
  border-color: #77ceff;
  box-shadow: none;
  background: transparent;
  outline: none;
}

.book-demo-right .form-item textarea.form-control {
  resize: none;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 2px;
  margin-top: 12px;
  padding-left: 12px;
}

.book-demo-right .form-item-wrapper {
  display: flex;
  gap: 16px;
}

.book-demo-right .form-item-wrapper .form-item {
  flex: 1;
}

/* Optional label hint */
.optional-hint {
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}


/* .form-check.consent-checkbox {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-check.consent-checkbox p {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.form-check.consent-checkbox .form-check-input {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 2px solid #e5e7eb;
  background: transparent;
  transition: border-color 0.2s, background-color 0.2s;
} */

.custom-checkbox-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 28px 0;
}

.custom-checkbox {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: 2px solid #adb5bd;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 2px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.custom-checkbox.checked {
  background-color: #0d2d6e;
  border-color: #0d2d6e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M4 10l4 4 8-8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.custom-checkbox.error {
  border-color: #dc3545;
}

.custom-invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 4px;
}

.custom-invalid-feedback.visible {
  display: block;
}

.custom-label {
  font-size: 0.9rem;
  cursor: pointer;
}

.custom-recaptcha {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 4px;
  margin-bottom: 0;
}

/* Submit button */
.book-demo-right .bd-submit-btn {
  width: 100%;
  border-radius: 4px;
  background-color: #77ceff;
  color: #031c52;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  padding-top: 15px;
  padding-bottom: 15px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.book-demo-right .bd-submit-btn:hover {
  background-color: #35b3fc;
}

.book-demo-right .bd-submit-btn:active {
  background-color: #4fbbfa;
}

.book-demo-right .bd-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success state override */
.book-demo-right .form-submitted-success {
  text-align: left;
  padding-top: 8px;
}

.book-demo-right .fss-check {
  margin-bottom: 20px;
}

.book-demo-right .fss-check img {
  width: 48px;
}

.book-demo-right .form-submitted-success h4 {
  font-size: 24px;
  font-weight: 600;
  color: #031c52;
  margin-bottom: 10px;
}

.book-demo-right .fss-intro {
  color: #555;
  font-size: 15px;
  margin-bottom: 28px;
}

/* Error alert */
.book-demo-right .error-alert {
  margin-bottom: 16px;
  border-radius: 8px;
  font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1280px) {
  .book-demo-left {
    border-radius: 5% 0 5% 0;
  }
}

@media (max-width: 992px) {
  .book-demo-section {
    padding-top: 72px;
  }

  .book-demo-page {
    flex-direction: column;
    min-height: unset;
  }

  .book-demo-left {
    flex: none;
    padding: 48px 32px;
    display: none; /* hide left panel on smaller screens */
  }

  .bdl-headline {
    font-size: 30px;
  }

  .book-demo-right {
    padding: 48px 32px;
  }

  .bdr-inner {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .form-item-wrapper{
    flex-direction: row !important;
  }
}

@media (max-width: 576px) {

  .form-item-wrapper{
    flex-direction: column !important;
  }

  .book-demo-left {
    padding: 40px 20px;
  }

  .bdl-headline {
    font-size: 26px;
  }

  .book-demo-right {
    padding: 40px 20px;
  }

  .book-demo-right .form-item-wrapper {
    flex-direction: column;
    gap: 0;
  }
}


