/* =====================================================
   Request A Quote Section — quote-form.css
   Place in: /wp-content/plugins/quote-form-shortcode/assets/
===================================================== */

:root {
    --raq-primary: #1A5AC2;
    --raq-primary-hover: #1448a1;
    --raq-bg-input: #f8f9fb;
    --raq-border: #e4e4e4;
}
/* ── OUTER: padding-top gives space for right card -125px float ── */
.raq-outer {
    position: relative;
    padding-top: 125px;
    font-family: 'Poppins', sans-serif;
}

/* ── SECTION: full background image ── */
.raq-section {
    position: relative;
    display: flex;
    align-items: flex-start;
    background-color: #181818;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 130px 0 130px;
	gap: 20px;
}

/* Dark overlay over bg image */
.raq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0.80);
    z-index: 0;
    pointer-events: none;
}

/* ── LEFT COLUMN ── */
.raq-left {
    flex: 0 0 50%;
    width: 50%;
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

.raq-left-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 30px;
}

.raq-top { flex: 1; }

/* Satisfied label */
.raq-satisfied-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 25px;
}

/* Testimonial swiper */
.raq-swiper { width: 100%; }

.raq-testimonial-text {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    line-height: 1.78;
	margin: 0px;
    margin-bottom: 26px;
	margin-right: 30px;
    font-style: normal;
    min-height: 80px;
}

.raq-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.raq-author-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.raq-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.raq-author-loc {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* Nav buttons */
.raq-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.raq-nav-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    padding: 0;
}

.raq-nav-btn:hover { background: #8cbc43; border-color: #8cbc43; }
.raq-nav-btn svg { width: 13px; height: 13px; }

/* Divider */
.raq-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 0 0 22px;
}

/* Clients */
.raq-clients-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.raq-clients {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.raq-client-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.55);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    cursor: default;
}

.raq-client-logo:hover { color: #fff; }
.raq-client-logo svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
}

/* ── RIGHT CARD (floating form) ── */
.raq-right {
    flex: 0 0 50%;
    width: 50%;
    background: #fff;
    margin-top: -125px;
    margin-bottom: 110px;
    padding: 50px 45px 60px 45px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.2);
    position: relative;
    z-index: 5;
}

.raq-form-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 10px;
}

.raq-form-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.65;
    margin-bottom: 22px;
}

/* ════════════════════════════════════
   CF7 FORM STYLES
   Override Contact Form 7 defaults
════════════════════════════════════ */
.raq-cf7-wrap .wpcf7-form {
    margin: 0;
}

/* Remove CF7 default paragraph spacing */
.raq-cf7-wrap .wpcf7-form p {
    margin-bottom: 0;
}

/* All inputs, select, textarea */
.raq-cf7-wrap input[type="text"],
.raq-cf7-wrap input[type="email"],
.raq-cf7-wrap input[type="tel"],
.raq-cf7-wrap input[type="number"],
.raq-cf7-wrap input[type="url"],
.raq-cf7-wrap select,
.raq-cf7-wrap textarea {
    width: 100% !important;
    padding: 12px 20px !important;
    border: 1.5px solid #e4e4e4 !important;
    background: #f8f9fb !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px !important;
    color: #444 !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s !important;
    display: block !important;
    margin-bottom: 12px !important;
}

.raq-cf7-wrap input[type="text"]::placeholder,
.raq-cf7-wrap input[type="email"]::placeholder,
.raq-cf7-wrap input[type="tel"]::placeholder,
.raq-cf7-wrap textarea::placeholder { color: #bbb !important; }

.raq-cf7-wrap input[type="text"]:focus,
.raq-cf7-wrap input[type="email"]:focus,
.raq-cf7-wrap input[type="tel"]:focus,
.raq-cf7-wrap select:focus,
.raq-cf7-wrap textarea:focus {
    border-color: #8cbc43 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(140,188,67,0.1) !important;
}

/* Textarea */
.raq-cf7-wrap textarea {
    resize: vertical !important;
    min-height: 95px !important;
}

/* 2-col layout for name+email row */
.raq-cf7-wrap .raq-row {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.raq-cf7-wrap .raq-row .wpcf7-form-control-wrap {
    flex: 1;
    display: block;
}

/* Checkbox */
.raq-cf7-wrap .wpcf7-checkbox,
.raq-cf7-wrap .wpcf7-list-item {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin: 6px 0 18px !important;
}

.raq-cf7-wrap .wpcf7-list-item-label {
    font-size: 13.5px !important;
    color: #666 !important;
    cursor: pointer;
}

.raq-cf7-wrap .wpcf7-list-item input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    margin-bottom: 0 !important;
    accent-color: #8cbc43 !important;
    cursor: pointer !important;
}

/* Submit button */
.raq-cf7-wrap input[type="submit"],
.raq-cf7-wrap .wpcf7-submit {
    width: 100% !important;
    padding: 14px 20px !important;
    color: #fff !important;
font-family: 'Poppins', sans-serif;    
	font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s !important;
    display: block !important;
    margin-top: 0 !important;
}

.raq-cf7-wrap input[type="submit"]:hover,
.raq-cf7-wrap .wpcf7-submit:hover {
    box-shadow: 0 8px 28px rgba(140,188,67,0.38) !important;
    transform: translateY(-2px) !important;
}

/* CF7 validation error */
.raq-cf7-wrap .wpcf7-not-valid-tip {
    font-size: 11px !important;
    color: #e74c3c !important;
    margin-top: -8px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.raq-cf7-wrap .wpcf7-not-valid {
    border-color: #e74c3c !important;
}

/* CF7 response output */
.raq-cf7-wrap .wpcf7-response-output {
    margin: 12px 0 0 !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    border-radius: 0 !important;
}

.raq-cf7-wrap .wpcf7-mail-sent-ok {
    background: #f0fff4 !important;
    border-color: #8cbc43 !important;
    color: #276749 !important;
}

.raq-cf7-wrap .wpcf7-mail-sent-ng,
.raq-cf7-wrap .wpcf7-spam-blocked {
    background: #fff5f5 !important;
    border-color: #e74c3c !important;
    color: #c0392b !important;
}

/* Spinner */
.raq-cf7-wrap .wpcf7-spinner {
    margin-left: 10px !important;
}
.raq-form-title {
    color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
}

/* ── INPUT FIELDS ── */
.raq-cf7-wrap input[type="text"],
.raq-cf7-wrap input[type="email"],
.raq-cf7-wrap input[type="tel"],
.raq-cf7-wrap select,
.raq-cf7-wrap textarea {
    border: 1px solid var(--raq-border) !important;
    background: var(--raq-bg-input) !important;
    border-radius: 4px !important; /* Slightly rounded for a modern look */
    transition: all 0.3s ease !important;
}

/* Interaction State */
.raq-cf7-wrap input:focus,
.raq-cf7-wrap select:focus,
.raq-cf7-wrap textarea:focus {
    border-color: var(--raq-primary) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(26, 90, 194, 0.15) !important;
}

/* ── SUBMIT BUTTON ── */
.raq-cf7-wrap .wpcf7-submit {
    background-color: var(--raq-primary) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 16px 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.raq-cf7-wrap .wpcf7-submit:hover {
    background-color: var(--raq-primary-hover) !important;
    box-shadow: 0 10px 20px rgba(26, 90, 194, 0.3) !important;
    transform: translateY(-1px);
}

/* ── CHECKBOX ACCENT ── */
.raq-cf7-wrap input[type="checkbox"] {
    accent-color: var(--raq-primary) !important;
}

/* ── ERROR/SUCCESS MESSAGES ── */
.raq-cf7-wrap .wpcf7-mail-sent-ok {
    border: 2px solid var(--raq-primary) !important;
    background: #f0f7ff !important;
    color: var(--raq-primary) !important;
}
/* --- Global Form Container --- */
.raq-cf7-wrap {
    padding: 10px 0;
}

/* Remove WP default margin from p tags inside form */
.raq-cf7-wrap p {
    margin: 0 !important;
    padding: 0 !important;
}

/* --- The Grid System --- */
.raq-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.raq-row > span, 
.raq-row > div {
    flex: 1;
}

.raq-full-row {
    margin-bottom: 15px;
}

/* --- Input Styling --- */
.raq-cf7-wrap input[type="text"],
.raq-cf7-wrap input[type="email"],
.raq-cf7-wrap input[type="tel"],
.raq-cf7-wrap select,
.raq-cf7-wrap textarea {
    width: 100% !important;
    height: 50px;
    padding: 0 15px !important;
    background: #F4F7FA !important;
    border: 1px solid #DCE4EC !important;
    border-radius: 5px !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.raq-cf7-wrap textarea {
    height: 120px !important;
    padding-top: 15px !important;
}

/* Focus State */
.raq-cf7-wrap input:focus,
.raq-cf7-wrap select:focus,
.raq-cf7-wrap textarea:focus {
    background: #fff !important;
    border-color: #1A5AC2 !important;
    box-shadow: 0 0 0 4px rgba(26, 90, 194, 0.1) !important;
    outline: none !important;
}

/* --- Checkbox Styling --- */
.raq-acceptance {
    margin: 15px 0 20px;
}

.raq-cf7-wrap .wpcf7-list-item {
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.raq-cf7-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #1A5AC2;
    cursor: pointer;
}

.raq-cf7-wrap .wpcf7-list-item-label {
    font-size: 13px;
    color: #666;
}

/* --- Submit Button --- */
.raq-cf7-wrap .wpcf7-submit {
    width: 100% !important;
    height: 55px;
    background: #1A5AC2 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer;
    transition: 0.3s;
}

.raq-cf7-wrap .wpcf7-submit:hover {
    background: #1448a1 !important;
    box-shadow: 0 10px 20px rgba(26, 90, 194, 0.2);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .raq-row {
        flex-direction: column;
        gap: 15px;
    }
}
/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .raq-section { padding: 60px 60px 0 60px; }
}

@media (max-width: 900px) {
    .raq-outer { padding-top: 0; }
    .raq-section {
        flex-direction: column;
        padding: 50px 24px 0 24px;
    }
    .raq-left { width: 100%; flex: none; padding-bottom: 40px; }
    .raq-right {
        width: 100%; flex: none;
        margin-top: 0;
        margin-bottom: 40px;
        padding: 36px 24px 40px;
    }
    .raq-cf7-wrap .raq-row { flex-direction: column; gap: 0; }
}
button.raq-nav-btn {
    padding: 0px !important;
    border-radius: 80% !important;
}

