/* =============================================
   GIGFLEX DEMO PAGE — Book a Live Demo Section
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* ----- Section Wrapper ----- */
.about-company-wrap {
  padding: 80px 0;
  background: #ffffff;
}

/* ----- Two-Column Layout ----- */
.demo-section-wrap {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

/* =============================================
   LEFT COLUMN
   ============================================= */
.demo-left-col {
  flex: 0 0 42%;
  max-width: 42%;
  /* display: flex;
  flex-direction: column; */
  gap: 24px;
  padding-top: 16px;
}

/* Badge */
.demo-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #00b6b829;
  color: #00b6b8;
  padding: 10px 16px;
  border-radius: 40px;
  width: fit-content;
  font-family: Inter;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 21px;
}

/* Main Heading */
.demo-main-heading {
  color: #111111;
  margin: 0;
  font-family: Inter;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: 0%;
  margin-bottom: 15px;
}

.demo-highlight {
  color: #00b6b8;
}

/* Sub Text */
.demo-sub-text {
  color: #3a3a3a;
  margin-bottom: 17px;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
}

/* Feature List */
.demo-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 28px;
  margin-bottom: 18px;
}

.demo-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: #3a3a3a;
  line-height: 22px;
  margin-left: 0px !important;
}

.demo-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  /* Icon will be placed by user — placeholder space reserved */
  color: #00bfbf;
}

/* Trust Bar */
.demo-trust-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 8px;
}

.demo-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #3a3a3a;
  font-family: Inter;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
}

.demo-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b6b8;
  flex-shrink: 0;
}

/* =============================================
   RIGHT COLUMN — FORM CARD
   ============================================= */
.demo-right-col {
  flex: 1;
  min-width: 0;
}

.demo-form-outer-card {
  border: 1px solid #00b6b84d;
  background: #00b6b80a;
  padding: 20px;
  border-radius: 26px;
}

.demo-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 40px 26px 40px;
  box-shadow: 0px 0px 24px 0px #00b6b81a;
}

/* Form Header */
.demo-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.demo-form-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-form-header-text h3 {
  color: #000;
  margin: 0 0 4px;
  font-family: Inter;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

.demo-form-header-text p {
  color: #3a3a3a;
  margin: 0;
  font-family: Inter;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* Form Grid Row */
.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 16px;
}

.demo-form-row--full {
  grid-template-columns: 1fr;
}

/* Form Group */
.demo-form-group {
  display: flex;
  flex-direction: column;
  /* gap: 6px; */
}

.demo-form-group label {
  color: #000;
  font-family: Inter;
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: capitalize;
}

.demo-required {
  color: #ff0000;
  font-size: 13px;
}

/* Inputs & Textarea */
.demo-booking-form input[type="text"],
.demo-booking-form input[type="email"],
.demo-booking-form input[type="tel"],
.demo-booking-form textarea,
.demo-booking-form select {
  width: 100%;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 13px;
  color: #3a3a3a;
  background: #ffffff;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  font-family: Inter;
  appearance: none;
  box-sizing: border-box;
  border: 1px solid #dfdfdf;
  height: 46px;
}

.demo-booking-form input[type="text"]:focus,
.demo-booking-form input[type="email"]:focus,
.demo-booking-form input[type="tel"]:focus,
.demo-booking-form textarea:focus,
.demo-booking-form select:focus {
  border-color: #00bfbf;
  box-shadow: 0 0 0 3px rgba(0, 191, 191, 0.12);
}

.demo-booking-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* Phone Input Wrapper — WP intl-tel-input compatible */
.demo-phone-wrap {
  border: 1px solid #dfdfdf;
  border-radius: 6px;
  overflow: visible;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  background: #ffffff;
  display: flex;
  align-items: stretch;
  position: relative;
}

.demo-phone-wrap:focus-within {
  border-color: #00bfbf;
  box-shadow: 0 0 0 3px rgba(0, 191, 191, 0.12);
}

/* The wpcf7-form-control-wrap span fills the wrap */
.demo-phone-wrap .wpcf7-form-control-wrap {
  flex: 1;
  display: flex;
  min-width: 0;
}

/* The .iti container WP intl-tel-input generates */
.demo-phone-wrap .iti {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
  width: 100%;
  position: relative;
}

/* Flag button */
.demo-phone-wrap .iti__flag-container {
  background: #f9fafb;
  border-right: 1px solid #dfdfdf;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* Ensure the country dropdown list has a high z-index to overlay sibling elements */
.demo-phone-wrap .iti__country-list {
  z-index: 99999 !important;
}

/* The actual tel input inside .iti */
.demo-phone-wrap input[type="tel"] {
  border: none !important;
  border-radius: 0 5px 5px 0 !important;
  box-shadow: none !important;
  outline: none !important;
  height: 46px !important;
  flex: 1;
  width: 100% !important;
  /* Split padding so we don't override the JS-calculated padding-left !important */
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  padding-right: 12px !important;
  padding-left: 52px; /* fallback, will be overridden inline by JS */
  min-width: 0;
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #3a3a3a;
  background: transparent;
}

.demo-phone-wrap input[type="tel"]:focus {
  border: none !important;
  box-shadow: none !important;
}

/* Input Validation Error Highlight */
.demo-booking-form input.input-error,
.demo-booking-form textarea.input-error {
  border-color: #dc3232 !important;
  box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.12) !important;
}

/* Select Wrapper */
.demo-select-wrap {
  position: relative;
  /* display: flex; */
}

.demo-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666666;
  pointer-events: none;
}

.demo-select-wrap select {
  cursor: pointer;
  color: #555555;
}

/* Form Footer */
.demo-form-footer p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px ;
  flex-wrap: nowrap;
}

.demo-form-note {
  color: #3a3a3a;
  font-family: Inter;
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* Submit Button */
.demo-submit-btn {
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    background: #F04D23;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    white-space: nowrap;
    transition: background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
    flex-shrink: 0;
    font-family: Inter;
    font-weight: 700;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
}

.demo-submit-btn:hover {
  background: #e05510;
  box-shadow: 0 6px 20px rgba(242, 101, 34, 0.35);
  transform: translateY(-1px);
}

.demo-submit-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 990px)
   ============================================= */
@media (max-width: 990px) {
  .demo-section-wrap {
    flex-direction: column;
    gap: 40px;
  }

  .demo-left-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding-top: 0;
  }

  .demo-main-heading {
    font-size: 38px;
  }

  .demo-form-card {
    padding: 28px 28px 24px;
  }

  /* .demo-form-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  } */

  .about-company-wrap {
    padding: 60px 0 !important;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (max-width: 600px)
   ============================================= */
@media (max-width: 600px) {
  .about-company-wrap {
    padding: 44px 0 !important;
  }

  .demo-section-wrap {
    gap: 32px;
  }

  .demo-main-heading {
    font-size: 30px;
    letter-spacing: -0.3px;
    line-height: 36px;
  }

  .demo-sub-text {
    font-size: 14px;
  }

  .demo-form-card {
    padding: 20px 16px 20px;
    border-radius: 12px;
  }

  .demo-form-header {
    gap: 12px;
    margin-bottom: 20px;
  }

  .demo-form-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .demo-form-header-text h3 {
    font-size: 17px;
  }

  .demo-form-header-text p {
    font-size: 12.5px;
  }

  /* Stack all form rows to single column on mobile */
  .demo-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .demo-form-row--full {
    grid-template-columns: 1fr;
  }

  .demo-trust-bar {
    gap: 12px;
  }

  .demo-trust-item {
    font-size: 11.5px;
  }

  .demo-form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .demo-submit-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
    justify-content: center;
  }

  .demo-form-note {
    font-size: 11.5px;
  }

  .demo-badge {
    font-size: 12px;
    padding: 4px 12px;
  }
}
