/* =============================================
   INSTANT QUOTE PAGE — css/booking-style.css
   Theme: #a5c615 Green & Dark Navy
   ============================================= */

.iq-section {
  background: #fdfdfd;
  padding: 60px 0 80px;
}

/* ── UNIFIED OUTER BORDERED CONTAINER ──────── */
.iq-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #b3b3b3;
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  /* align-items: start; এর ফলে ডানদিকের কার্ডটি ফর্মের সাথে খামোখা বড় হবে না */
  align-items: start; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media (max-width: 900px) {
  .iq-wrapper { 
    grid-template-columns: 1fr; 
    padding: 16px;
  }
}

/* ── FORM CARD ─ */
.iq-card {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* ── CARD TITLE ────────────────────────── */
.iq-card-title { margin-bottom: 20px; }

.iq-card-title h2 {
  font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.iq-title-line {
  height: 2px;
  width: 100%;
  background: #1a1a2e;
}

/* ── FORM ROW ──────────────────────────── */
.iq-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 12px;
  border: 1px solid #c8c8c8;
  overflow: hidden;
}

/* Label — #a5c615 Green block on left */
.iq-label {
  display: flex;
  align-items: center;
  background: #a5c615;
  color: #fff;
  font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
  font-size: 15px;
  font-weight: 600;
  padding: 0 16px;
  min-width: 160px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

/* Input */
.iq-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  font-family: inherit;
}

.iq-input::placeholder { color: #aaa; }
.iq-input:focus { background: #f9fdf2; }
.iq-input-date { cursor: pointer; }

/* ── TIME SELECTS ─────────────────────── */
.iq-time-group {
  display: flex;
  flex: 1;
}

.iq-select {
  flex: 1;
  border: none;
  border-left: 1px solid #ddd;
  outline: none;
  padding: 12px;
  font-size: 14px;
  color: #444;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") right 12px center no-repeat;
  background-size: 10px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.iq-select:first-child { border-left: none; }
.iq-select:focus { background-color: #f9fdf2; }

/* ── VEHICLES ROW ─────────────────────── */
.iq-vehicles-group {
  display: flex;
  flex: 1;
  align-items: stretch;
}

.iq-vehicle-select {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 14px;
  color: #444;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") right 12px center no-repeat;
  background-size: 10px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

/* ── TOGGLE BUTTONS ───────────────────── */
.iq-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #a5c615;
  color: #fff;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.iq-toggle-btn:hover { background: #8db00e; }

.iq-toggle-check {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.8);
  background: transparent;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.iq-toggle-check i {
  opacity: 0;
  transition: opacity 0.2s;
  color: #a5c615;
}

.iq-toggle-btn.active .iq-toggle-check {
  background: #fff;
  border-color: #fff;
}

.iq-toggle-btn.active .iq-toggle-check i {
  opacity: 1;
}

/* ── EXTRA CONTACT FIELDS ─────────────── */
.iq-extra-fields { margin-top: 14px; }

.iq-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
  margin-bottom: 12px;
}

.iq-row-2 .iq-row {
  flex-direction: column;
  border: 1px solid #c8c8c8;
  overflow: hidden;
  margin-bottom: 0;
}

.iq-row-2 .iq-label {
  min-width: unset;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
}

.iq-row-2 .iq-input { padding: 10px 12px; }

@media (max-width: 560px) {
  .iq-row-2 { grid-template-columns: 1fr; gap: 12px 0;}
}

/* ── SUBMIT BUTTON ────────────────────── */
.iq-submit-btn {
  width: 100%;
  padding: 15px;
  background: #1a1a2e; /* Dark Navy */
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s;
  border-radius: 4px;
  margin-top: 10px;
}

.iq-submit-btn:hover { background: #a5c615; color: #fff; }
.iq-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }

/* ── MESSAGES ─────────────────────────── */
.iq-msg {
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.iq-msg.success { background: #edfbf3; color: #1a6b3c; border: 1px solid #a8e6c3; }
.iq-msg.error { background: #fff0f0; color: #9b1c1c; border: 1px solid #fca5a5; }

/* ── VEHICLE PREVIEW CARD ──────── */
.iq-preview-col {
  /* position: sticky; */
  top: 24px; 
}

.iq-preview-card {
  background: #a5c615;
  border-radius: 6px;
  overflow: hidden;
}

/* ── CAROUSEL ─────────────────────────────────── */
.iq-carousel-wrap {
  position: relative;
  padding: 28px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iq-carousel-track-outer {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.iq-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
}

.iq-carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 348px;
}

.iq-carousel-slide img {
  max-width: 95%;
  max-height: 90%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}

/* Arrow buttons */
.iq-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.25);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  z-index: 2;
  transition: background 0.2s;
  padding: 0;
}

.iq-carousel-btn:hover { background: rgba(255,255,255,0.45); }
.iq-carousel-btn.prev  { left: 4px; }
.iq-carousel-btn.next  { right: 4px; }

/* Dots */
.iq-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px 0 4px;
}

.iq-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.iq-carousel-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.iq-preview-info {
  padding: 15px 20px 30px;
  text-align: center;
}

.iq-preview-info h3 {
  font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.iq-preview-specs {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 8px;
}

.iq-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.iq-spec i {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
}

.iq-spec span {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.iq-spec strong {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}


@media (max-width: 560px) {
  
  
  .iq-row {
    flex-direction: column;
    border: 1px solid #c8c8c8;
  }
  
  .iq-label {
    min-width: 100%;
    width: 100%;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
  }
  
  .iq-input, 
  .iq-select, 
  .iq-vehicle-select {
    width: 100%;
    border-left: none !important; 
    border-top: 1px solid #eee;
  }

  
  .iq-time-group {
    width: 100%;
    border-top: 1px solid #eee;
  }
  .iq-time-group .iq-select:first-child {
    border-left: none;
  }

  
  .iq-vehicles-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .iq-vehicle-select {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  
  .iq-toggle-btn {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 10px;
    justify-content: center; 
    width: 100%;
  }
  
  .iq-row-2 {
    grid-template-columns: 1fr;
    gap: 12px 0;
  }
  
  .iq-row-2 .iq-row {
    border: 1px solid #c8c8c8;
  }
  
  .iq-preview-specs {
    gap: 15px;
  }
  
  .iq-spec strong {
    font-size: 16px;
  }
}

/* Extra Small Mobile (Max-width: 360px) */
@media (max-width: 360px) {
  .iq-card-title h2 { font-size: 20px; }
  .iq-preview-info h3 { font-size: 20px; }
  .iq-toggle-btn { font-size: 12px; }
}
 
/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 600px) {
  .iq-label { min-width: 120px; font-size: 13px; }
  .iq-card-title h2 { font-size: 20px; }
  .iq-preview-img-wrap { padding-top: 20px; }
}