/* --------------------------------------------------------------------------
   Slideshow By InfoPixal Styles (Hero Quote & Review Slider + Standard)
   -------------------------------------------------------------------------- */

.ip-slideshow-wrapper {
    position: relative;
    overflow: hidden;
}

/* WPBakery Row Reset for Hero Slider */
.ip-hero-full-row,
.vc_row.ip-hero-full-row,
.vc_row.ip-hero-full-row .wpb_column,
.vc_row.ip-hero-full-row .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   HERO SECTION SLIDER (MATCHING layout.png PIXEL-PERFECT)
   ========================================================================== */
.ip-hero-section-wrapper {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f8fafc;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ip-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.96) 0%, 
        rgba(255, 255, 255, 0.88) 38%, 
        rgba(255, 255, 255, 0.40) 62%,
        rgba(255, 255, 255, 0.10) 100%
    );
    z-index: 1;
}

.ip-hero-inner-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 24px 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
}

/* LEFT COLUMN */
.ip-hero-left-col {
    flex: 1 1 56%;
    max-width: 660px;
    text-align: left;
}

.ip-hero-pre-title {
    margin-bottom: 8px;
}

.ip-pretitle-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.ip-hero-main-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.12;
    margin: 0 0 10px 0;
    letter-spacing: -0.4px;
    display: block;
}

.ip-title-navy {
    color: #0f2b48;
    margin-right: 8px;
}

.ip-title-orange {
    color: #f97316;
}

.ip-hero-desc-text {
    font-size: 14px;
    line-height: 1.45;
    color: #475569;
    margin: 0 0 16px 0;
    font-weight: 400;
    max-width: 540px;
}

/* 4 Feature Badges */
.ip-hero-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.ip-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cbd5e1;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.ip-feature-pill:hover {
    border-color: #0284c7;
    background: #ffffff;
    transform: translateY(-1px);
}

.ip-pill-icon {
    color: #0284c7;
    display: flex;
    align-items: center;
}

/* CTA Action Buttons */
.ip-hero-cta-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ip-hero-btn-orange {
    background: linear-gradient(135deg, var(--ip-brand-orange, #f97316) 0%, #ea580c 100%) !important;
    background-color: #f97316 !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.ip-hero-btn-orange:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45) !important;
    color: #ffffff !important;
}

.ip-hero-btn-phone {
    background: #ffffff !important;
    color: #0f2b48 !important;
    border: 1.5px solid #0284c7 !important;
    padding: 9px 20px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.ip-hero-btn-phone svg {
    color: #0284c7 !important;
    fill: #0284c7 !important;
}

.ip-hero-btn-phone:hover {
    background: #f0f9ff !important;
    border-color: #0369a1 !important;
    color: #0284c7 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15) !important;
}

/* SOCIAL CORNER (Bottom Left Rating Cards) */
.ip-hero-social-corner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ip-sc-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.ip-sc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.ip-sc-logo {
    display: flex;
    align-items: center;
}

.ip-sc-score-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ip-sc-score {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.ip-sc-stars {
    color: #fbbf24;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.ip-sc-count {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
    line-height: 1.2;
}

/* RIGHT COLUMN & QUOTE CARD (4 Clean 50/50 Rows) */
.ip-hero-right-col {
    flex: 1 1 42%;
    max-width: 460px;
    position: relative;
}

.ip-hero-quote-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ip-qc-header {
    background: #0f2b48;
    padding: 10px 14px;
    text-align: center;
    color: #ffffff;
}

.ip-qc-title {
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 1px 0;
    color: #ffffff;
}

.ip-qc-subtitle {
    font-size: 10px;
    color: #cbd5e1;
    margin: 0;
    font-weight: 400;
}

.ip-qc-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.ip-step-node {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
}

.ip-step-node.active {
    color: #0284c7;
}

.ip-step-num {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
}

.ip-step-node.active .ip-step-num {
    background: #0284c7;
    color: #ffffff;
}

.ip-step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 6px;
}

.ip-hero-quote-form {
    padding: 12px 14px;
}

.ip-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 6px;
}

.ip-form-group {
    margin-bottom: 0;
    text-align: left;
}

.ip-form-label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 2px;
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ip-form-input {
    width: 100% !important;
    padding: 6px 8px !important;
    height: 33px !important;
    line-height: 19px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    font-size: 11.5px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
    text-align: left !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.ip-form-input:focus {
    border-color: #0284c7 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12) !important;
}

.ip-form-input::placeholder {
    color: #94a3b8 !important;
    font-size: 11.5px !important;
    text-align: left !important;
    opacity: 1 !important;
}

/* Custom Dropdown Chevron (Single Clean Arrow) */
select.ip-form-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding-right: 22px !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 7px center !important;
    background-size: 11px !important;
}

/* Native Calendar Date Field with Consistent Box & Single Calendar Icon */
input[type="date"].ip-form-input {
    padding-right: 6px !important;
    cursor: pointer !important;
}

input[type="date"].ip-form-input::-webkit-calendar-picker-indicator {
    cursor: pointer !important;
    opacity: 0.65 !important;
    filter: invert(0.2) !important;
}

input[type="date"].ip-form-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1 !important;
}

.ip-form-submit-wrap {
    margin-top: 8px;
}

.ip-hero-quote-form .ip-qc-submit-btn,
#hero-quote-card .ip-qc-submit-btn,
#main .ip-hero-quote-form .ip-qc-submit-btn,
#main #hero-quote-card button[type="submit"] {
    width: 100% !important;
    background: linear-gradient(135deg, var(--ip-brand-orange, #f97316) 0%, #ea580c 100%) !important;
    background-color: #f97316 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 9px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.ip-hero-quote-form .ip-qc-submit-btn:hover,
#hero-quote-card .ip-qc-submit-btn:hover,
#main .ip-hero-quote-form .ip-qc-submit-btn:hover,
#main #hero-quote-card button[type="submit"]:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    background-color: #ea580c !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45) !important;
}

.ip-qc-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    color: #64748b;
    margin-top: 6px;
}

.ip-form-feedback {
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 11px;
    text-align: center;
    display: none;
}

/* BOTTOM TRUST RIBBON */
.ip-hero-trust-ribbon {
    background: #0f2b48;
    padding: 10px 0;
    width: 100%;
    position: relative;
    z-index: 5;
}

.ip-trust-ribbon-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
}

.ip-trust-pillar {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
}

.ip-trust-icon {
    color: #38bdf8;
    display: flex;
    align-items: center;
}

.ip-trust-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media screen and (max-width: 991px) {
    .ip-hero-bg-overlay {
        background: linear-gradient(180deg, 
            rgba(255, 255, 255, 0.97) 0%, 
            rgba(255, 255, 255, 0.92) 50%, 
            rgba(255, 255, 255, 0.85) 100%
        ) !important;
    }
    .ip-hero-inner-container {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 28px 18px !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .ip-hero-left-col {
        max-width: 540px !important;
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .ip-hero-desc-text {
        text-align: center !important;
    }
    .ip-hero-feature-pills {
        justify-content: center !important;
    }
    .ip-hero-cta-buttons {
        justify-content: center !important;
    }
    .ip-hero-social-corner {
        justify-content: center !important;
    }
    .ip-hero-right-col {
        max-width: 500px !important;
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
    .ip-hero-quote-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .ip-hero-main-title {
        font-size: 28px !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }
    .ip-trust-ribbon-inner {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    .ip-trust-divider {
        display: none !important;
    }
}

@media screen and (max-width: 600px) {
    .ip-hero-inner-container {
        padding: 20px 14px !important;
        gap: 18px !important;
    }
    .ip-hero-main-title {
        font-size: 24px !important;
        line-height: 1.25 !important;
    }
    .ip-pretitle-badge {
        font-size: 10.5px !important;
        padding: 4px 10px !important;
    }
    .ip-hero-desc-text {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
    .ip-hero-feature-pills {
        gap: 6px !important;
    }
    .ip-feature-pill {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
    .ip-hero-cta-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .ip-hero-btn-orange,
    .ip-hero-btn-phone {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
        box-sizing: border-box !important;
    }
    .ip-hero-social-corner {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .ip-sc-card {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .ip-hero-quote-card {
        width: 100% !important;
        margin: 0 auto !important;
    }
    .ip-form-row-2col {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-bottom: 6px !important;
    }
    .ip-form-input {
        height: 35px !important;
        font-size: 12px !important;
    }
}

@media screen and (max-width: 400px) {
    .ip-hero-inner-container {
        padding: 16px 10px !important;
    }
    .ip-hero-main-title {
        font-size: 21px !important;
    }
    .ip-qc-title {
        font-size: 14.5px !important;
    }
}

/* ════════════════════════════════════════════════════════════════════════
   WIZARD FORM BUILDER LAYOUT OVERRIDES (HERO SECTION ONLY)
   ════════════════════════════════════════════════════════════════════════ */
#hero-quote-card .ip-form-wrapper {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

#hero-quote-card .ip-slideshow-form-wrapper {
    padding: 16px 20px 20px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#hero-quote-card .ip-custom-front-form {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
}

#hero-quote-card h3.ip-form-header {
    display: none !important;
}

#hero-quote-card .ip-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
}

#hero-quote-card .ip-fields-grid .ip-form-group.width-50 {
    width: 100% !important;
}

#hero-quote-card .ip-fields-grid .ip-form-group.width-100 {
    grid-column: span 2 !important;
}

#hero-quote-card .ip-fields-grid .ip-form-group {
    margin-bottom: 6px !important;
    width: 100% !important;
}

#hero-quote-card .ip-form-group label {
    display: block !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

#hero-quote-card .ip-form-group input,
#hero-quote-card .ip-form-group input[type="tel"],
#hero-quote-card .ip-form-group select,
#hero-quote-card .ip-form-group textarea {
    width: 100% !important;
    padding: 6px 8px !important;
    height: 33px !important;
    line-height: 19px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    font-size: 11.5px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
}

#hero-quote-card .ip-form-group textarea {
    height: 60px !important;
}

#hero-quote-card .iti {
    width: 100% !important;
}

#hero-quote-card .ip-form-submit-row {
    margin-top: 15px !important;
    text-align: center !important;
    width: 100% !important;
}

#hero-quote-card .ip-form-submit-btn {
    width: 100% !important;
    background: #f97316 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px 24px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2) !important;
    display: block !important;
    text-align: center !important;
    font-family: 'Poppins', sans-serif !important;
    height: auto !important;
    line-height: normal !important;
}

#hero-quote-card .ip-form-submit-btn:hover {
    background: #ea580c !important;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.3) !important;
}

#hero-quote-card .ip-custom-front-form[data-enable-flags="no"] .ip-form-group input[type="tel"] {
    padding-left: 8px !important;
}
