/* ===============================
   QUOTE PAGE LAYOUT – BLUE THEME
================================ */

.quote-shell {
  max-width: 1200px;
  margin: 15px auto;
  padding: 0 20px;
  background-color: var(--white);
  border-radius: 0px;
  box-shadow: none;
}

.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  align-items: start;
  padding: 40px;
}

/* For custom-layout on the contact page (to stack on desktop) */
.quote-wrap.custom-layout {
  grid-template-columns: 1fr; /* Make both sections stack */
}

/* LEFT PANEL */
.quote-left {
  min-height: 300px;
  padding: 40px 30px;
  background: linear-gradient(135deg, var(--brand-blue), #001f66);
  color: #ffffff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.quote-left .vehicle-card {
  padding: 0;
  border: none;
  box-shadow: none;
}

.quote-left h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
}

.quote-left p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 12px;
}

/* RIGHT PANEL */
.quote-right {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===============================
   QUOTE PAGE LAYOUT – BLUE THEME (Updated)
================================ */

/* Reduce gap between title/lead and first form row */
.quote-right h2 {
  color: var(--brand-blue);
  margin-bottom: 5px; /* previously 10px */
  gap: 5px;
}

.quote-lead {
  color: var(--text-muted);
  margin-bottom: 15px; /* previously 30px */
}
/* FORM */ 
.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

.form-row.two-col {
  grid-template-columns: 1fr 1fr; /* Set both columns to be equal width */
  gap: 15px;
}

/* Form group spacing */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px; /* slightly tighter spacing */
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
}

/* Blue bordered form fields */
.form-group input,
.form-group select,
.quote-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 2px solid var(--brand-blue);
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.quote-form textarea:focus {
  border-color: #001f66; /* deeper blue on focus */
  box-shadow: 0 0 0 3px rgba(0, 31, 102, 0.15);
  outline: none;
}

/* CTA button – arrow sliding animation remains the same */
.cta-white {
  position: relative;
  overflow: hidden;
  padding: 16px 28px;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  border-radius: 10px;
  background: var(--brand-blue);
  color: #fff;
  border: 2px solid var(--brand-blue);
}

.cta-white span {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cta-white::after {
  content: '→';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(-15px);
  opacity: 0;
  font-size: 18px;
  transition: all 0.3s ease;
}

.cta-white::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background: rgba(0, 31, 102, 0.15);
  transition: width 0.3s ease;
}

.cta-white:hover span {
  opacity: 0;
  transform: translateX(-20px);
}

.cta-white:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.cta-white:hover::before {
  width: 100%;
}

/* RIGHT PANEL IMAGES */
.quote-wrap .quote-right.custom-image img,
.quote-right img {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* Make date input same height as other text inputs */
.form-group input[type="date"] {
  height: 48px;             /* match typical input height */
  padding: 14px;            /* match text input padding */
  font-size: 15px;          /* match other inputs */
  border-radius: 10px;      /* match other inputs */
  border: 2px solid var(--brand-blue); /* blue border theme */
  box-sizing: border-box;   /* ensure proper sizing */
}

.form-group input[type="date"]:focus {
  border-color: #001f66; 
  box-shadow: 0 0 0 3px rgba(0,31,102,0.15);
  outline: none;
}

/* Make time input same height as other text inputs */
.form-group input[type="time"] {
  height: 48px;             /* match typical input height */
  padding: 14px;            /* match text input padding */
  font-size: 15px;          /* match other inputs */
  border-radius: 10px;      /* match other inputs */
  border: 2px solid var(--brand-blue); /* blue border theme */
  box-sizing: border-box;   /* ensure proper sizing */
}

.form-group input[type="time"]:focus {
  border-color: #001f66; 
  box-shadow: 0 0 0 3px rgba(0,31,102,0.15);
  outline: none;
}
/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .quote-shell {
    width: 100%; /* Make the quote-shell full-width on mobile */
    padding: 0;  /* Remove padding to allow full-width */
  }

  .quote-wrap {
    grid-template-columns: 1fr;  /* Stack the two panels on top of each other */
    padding: 20px;
  }

  .quote-left,
  .quote-right {
    padding: 30px;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;  /* Stack the two columns in the form */
  }

  .quote-left h3 {
    font-size: 20px;
  }

  .quote-left p,
  .vehicle-card p {
    font-size: 16px;
  }

  .form-group input,
  .form-group select {
    font-size: 16px;
    padding: 14px 16px;
  }

  .cta-white {
    padding: 18px 30px;
    font-size: 16px;
  }
}

/* ===============================
   DESKTOP ADJUSTMENTS
================================ */
@media (min-width: 1024px) {  
  .quote-wrap.custom-layout {
    grid-template-columns: 1fr; 
  }

  .map-container iframe {
    width: 550px;
    height: 150px;
  }
}

.map-container iframe {
  width: 100%;
  height: 150px;
}