/* ═══════════════════════════════════════════════════════════════
   request_css.css  —  Request a Quote page
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS TOKENS ─── */
:root {
  --rq-blue:   #1d4ed8;
  --rq-blue-d: #1e40af;
  --rq-blue-l: #eff6ff;
  --rq-green:  #16a34a;
  --rq-dark:   #111827;
  --rq-mid:    #374151;
  --rq-muted:  #6b7280;
  --rq-border: #e5e7eb;
  --rq-bg:     #f8fafc;
  --rq-white:  #ffffff;
  --rq-r:      10px;
  --rq-r2:     16px;
  --rq-shadow: 0 4px 20px rgba(17,24,39,.08);
  --rq-shadow2:0 8px 32px rgba(17,24,39,.12);
}

/* ─────────────────────────────────────────────
   HERO BANNER
───────────────────────────────────────────── */
.rq-hero {
  background: linear-gradient(140deg, #0a1c2e 0%, #1e3a5f 55%, #0b2340 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.rq-hero::before {
  content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 65% 85% at 92% 8%, rgb(19 30 111) 0%, #3949c4 65%);
    pointer-events: none;
}
.rq-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}
.rq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 6px 18px;
  margin-bottom: 22px;
}
.rq-hero-badge-dot {
  width: 7px;
  height: 7px;
  background: #fbbf24;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.rq-hero-badge span {
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
}
.rq-hero h1 {
 font-size: 46px;
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 7px;
    font-family: 'Poppins';
}
.rq-hero p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.78;
  max-width: 580px;
  margin: 0 auto 30px;
}
.rq-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 0;
}
.rq-hero-pill {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .86rem;
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   STATS BAR  (renders $raq_points from DB)
───────────────────────────────────────────── */
.rq-stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--rq-border);
  padding: 0;
}
.rq-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.rq-stat-card {
  padding: 32px 28px;
  text-align: center;
  border-right: 1px solid var(--rq-border);
  transition: background .2s;
}
.rq-stat-card:last-child { border-right: none; }
.rq-stat-card:hover { background: var(--rq-blue-l); }
.rq-stat-card h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900;
  color: var(--rq-blue);
  margin-bottom: 8px;
  line-height: 1.1;
}
.rq-stat-card p,
.rq-stat-card h2,
.rq-stat-card h3,
.rq-stat-card h4,
.rq-stat-card h5,
.rq-stat-card h6 {
 color: var(--rq-muted);
    font-size: .9rem;
    line-height: 1.65;
    margin: 0;
    font-family: 'Poppins';
    font-size: 15px;
}

/* ─────────────────────────────────────────────
   MAIN SECTION — 2-column layout
───────────────────────────────────────────── */
.rq-section {
  padding: 0px 0 20px;
  background-color: #fff;
}
.rq-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* ─────────────────────────────────────────────
   FORM CARD
───────────────────────────────────────────── */
.rq-form-card {
  background: var(--rq-white);
  border: 1px solid var(--rq-border);
  border-radius: 20px;
  padding: 42px 40px;
  box-shadow: var(--rq-shadow);
}
.rq-form-head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rq-border);
}
.rq-form-label {
  color: var(--rq-blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.rq-form-head h2 {
  font-size: 31px;
    line-height: 50px;
    margin-bottom: 10px;
    color: #111827;
    font-family: 'Poppins';
    font-weight: 600;
}
.rq-form-head p {
 color: var(--rq-muted);
    font-size: .9rem;
    line-height: 1.65;
    margin: 0;
    font-family: 'Poppins';
    font-size: 15px;
}

/* Row spacing inside form */
.rq-form-card .row {
  background: none !important;
  margin-left: -10px;
  margin-right: -10px;
}
.rq-form-card .row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 18px;
}

/* Fields */
.rq-form-card input[type="text"],
.rq-form-card input[type="email"],
.rq-form-card input[type="tel"],
.rq-form-card select,
.rq-form-card textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--rq-border);
  border-radius: var(--rq-r);
  font-size: .92rem;
  color: var(--rq-dark);
  background: #f9fafb;
  outline: none;
  transition: border-color .22s, box-shadow .22s, background .22s;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}
.rq-form-card input[type="text"]:focus,
.rq-form-card input[type="email"]:focus,
.rq-form-card input[type="tel"]:focus,
.rq-form-card select:focus,
.rq-form-card textarea:focus {
  border-color: var(--rq-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29,78,216,.1);
}
.rq-form-card input::placeholder,
.rq-form-card textarea::placeholder {
  color: #9ca3af;
  font-size: .88rem;
}
.rq-form-card select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.rq-form-card select option[value=""] { color: #9ca3af; }
.rq-form-card textarea {
  height: 130px !important;
  resize: vertical;
  padding: 14px 16px !important;
  line-height: 1.6;
}

/* Error labels */
.rq-form-card label.error {
  display: block;
  margin-top: 5px;
  font-size: .78rem;
  color: #dc2626;
  font-weight: 500;
}
.rq-form-card input.error,
.rq-form-card select.error,
.rq-form-card textarea.error {
  border-color: #dc2626;
  background: #fef2f2;
}

/* reCAPTCHA row alignment */
.rq-form-card .g-recaptcha {
  transform-origin: left center;
  margin-bottom: 4px;
}

/* Submit button */
.rq-form-card input[type="submit"],
.rq-form-card .submit {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, var(--rq-blue) 0%, #2563eb 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--rq-r);
  cursor: pointer;
  letter-spacing: .3px;
  box-shadow: 0 4px 18px rgba(29,78,216,.42);
  transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.rq-form-card input[type="submit"]:hover,
.rq-form-card .submit:hover {
  background: linear-gradient(135deg, var(--rq-blue-d) 0%, var(--rq-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,78,216,.5);
}
.rq-form-card input[type="submit"]:active,
.rq-form-card .submit:active {
  transform: translateY(0);
}

/* Success / error alerts at top of form */
.rq-alert {
  padding: 14px 18px;
  border-radius: var(--rq-r);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rq-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.rq-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* CI3 flash alert override */
.rq-form-card .alert-success,
label.alert-success.hide-it {
  display: block !important;
  padding: 14px 18px;
  border-radius: var(--rq-r);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 20px;
  width: 100% !important;
}
.rq-form-card .alert-error,
label.alert-error.hide-it {
  display: block !important;
  padding: 14px 18px;
  border-radius: var(--rq-r);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 20px;
  width: 100% !important;
}

/* ─────────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────────── */
.rq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sticky on desktop */
@media (min-width: 1025px) {
  .rq-sidebar { position: sticky; top: 90px; }
}

.rq-sidebar-card {
  background: var(--rq-white);
  border: 1px solid var(--rq-border);
  border-radius: var(--rq-r2);
  padding: 18px 18px;
  box-shadow: var(--rq-shadow);
}

/* Why Choose card */
.rq-why-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--rq-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rq-border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins';
}
.rq-why-title i {
  color: var(--rq-blue);
  font-size: 1.1rem;
}
.rq-why-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rq-why-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.rq-why-icon {
  width: 28px;
  height: 28px;
  background: var(--rq-blue-l);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.rq-why-icon i { color: var(--rq-blue); font-size: .82rem; }
.rq-why-item-text strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--rq-dark);
  line-height: 1.35;
  font-family: 'Poppins';
}
.rq-why-item-text span {
  font-size: .78rem;
  color: var(--rq-muted);
  line-height: 1.5;
  font-family: 'Poppins';
}

/* Response time card */
.rq-response-card {
  background: linear-gradient(135deg, var(--rq-blue) 0%, #2563eb 100%);
  border-radius: var(--rq-r2);
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(29,78,216,.35);
}
.rq-response-card .rq-response-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.rq-response-card .rq-response-icon i {
  color: #fff;
  font-size: 1.4rem;
}
.rq-response-card h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: 'Poppins';
}
.rq-response-card p {
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  line-height: 1.6;
  margin: 0;
  font-family: 'Poppins';
}

/* Contact quick-links */
.rq-contact-card h4 {
  font-size: .88rem;
  font-weight: 800;
  color: var(--rq-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.rq-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rq-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--rq-bg);
  border: 1px solid var(--rq-border);
  transition: border-color .2s, background .2s;
}
.rq-contact-item:hover {
  border-color: var(--rq-blue);
  background: var(--rq-blue-l);
  text-decoration: none;
}
.rq-contact-item i {
  color: var(--rq-blue);
  font-size: 1rem;
  flex-shrink: 0;
}
.rq-contact-item span {
  font-size: .84rem;
  color: var(--rq-mid);
  font-weight: 600;
  line-height: 1.4;
}

/* Trust badges row */
.rq-trust-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rq-border);
}
.rq-trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--rq-muted);
  font-weight: 600;
}
.rq-trust-badge i { color: var(--rq-green); font-size: .8rem; }

/* ─────────────────────────────────────────────
   SOCIAL STRIP
───────────────────────────────────────────── */
.rq-social-strip {
  background: var(--rq-white);
  
  padding: 5px 0;
}
.rq-social-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
      background-color: #235fe7;
    padding: 5px 14px;
    color: #fff;
    border-radius: 10px;
}
.rq-social-text h6 {
 margin: 0 0 0px;
    font-size: 28px;
    line-height: 41px;
    margin-bottom: 0px;
    font-family: 'Poppins';
    font-weight: 600;
    color: #fff;
}
.rq-social-text p {
 margin-bottom: 5px;
    color: #fff;
    font-family: 'Poppins';
    font-size: 17px;
}
.rq-social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.rq-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
     background-color:#fff;
  border: 1px solid var(--rq-border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
}
.rq-social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(17,24,39,.12);
  border-color: var(--rq-blue);
}
.rq-social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .rq-layout {
    grid-template-columns: 1fr 320px;
    gap: 32px;
  }
  .rq-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rq-stat-card:nth-child(2) { border-right: none; }
  .rq-stat-card:nth-child(3) { border-top: 1px solid var(--rq-border); }
  .rq-stat-card:nth-child(4) { border-top: 1px solid var(--rq-border); border-right: none; }
}

@media (max-width: 900px) {
  .rq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .rq-sidebar { position: static; }
  .rq-sidebar { flex-direction: row; flex-wrap: wrap; }
  .rq-sidebar .rq-sidebar-card { flex: 1 1 280px; }
  .rq-sidebar .rq-response-card { flex: 0 0 100%; }
}

@media (max-width: 768px) {
  .rq-form-head h2 {
    font-size: 23px !important;
    margin-bottom: 9px !important;
  
  }
  .rq-form-head{
    text-align: center;
  }
  .rq-hero { padding: 40px 0 44px;         margin-bottom: 0px;}
  .rq-hero h1 { font-size: 1.9rem; }
  .rq-stats-grid {
     grid-template-columns: repeat(2, 1fr); 
     
    }
  .rq-form-card { padding: 28px 22px; }
  .rq-section { 
    padding: 48px 0 0px;
    margin-top:0px;
   }
  .rq-social-inner { 
   flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 14px;
        text-align: center;
  }
  .rq-social-text h6{
        font-size: 21px !important;
  }
  .rq-social-text p {
    font-size: 16px !important;
  }
  .rq-sidebar { flex-direction: column; }
  .rq-sidebar .rq-sidebar-card { flex: 1 1 100%; }
}

@media (max-width: 540px) {
  .rq-stats-grid { grid-template-columns: 1fr 1fr; }
  .rq-stat-card { padding: 22px 16px; }
  .rq-form-card { padding: 22px 16px; }
  .rq-hero-pills { gap: 8px; }
  .rq-hero-pill { font-size: .78rem; padding: 6px 14px; }
  .rq-trust-row { gap: 12px; }
}
