/* ================================================================
   vcpm-custom.css — Vashisht Cargo Packers and Movers
   All custom overrides: form, footer, service area, captcha
   ================================================================ */

/* ── Homepage quote form: white inputs over red background ────── */
.home2-request-quote .quote-form .form-group input,
.home2-request-quote .quote-form .form-group input[type="text"],
.home2-request-quote .quote-form .form-group input[type="tel"],
.home2-request-quote .quote-form .form-group input[type="email"],
.home2-request-quote .quote-form .form-group input[type="date"],
.home2-request-quote .quote-form .form-group select {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    border-radius: 4px !important;
    width: 100% !important;
    height: 50px !important;
    font-size: 14px !important;
    padding: 0 14px !important;
    box-shadow: none !important;
    -webkit-appearance: auto !important;
}
.home2-request-quote .quote-form .form-group input::placeholder {
    color: #888 !important;
    opacity: 1;
}
.home2-request-quote .quote-form .form-group select {
    padding-left: 10px !important;
    color: #555 !important;
}
.home2-request-quote .quote-form .form-group {
    margin-bottom: 16px !important;
}
.home2-request-quote .quote-form form .row {
    margin-left: -8px;
    margin-right: -8px;
}
.home2-request-quote .quote-form form .row [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

/* ── Service page forms: white inputs ─────────────────────────── */
.quote-form .form-group input[type="text"],
.quote-form .form-group input[type="tel"],
.quote-form .form-group input[type="email"],
.quote-form .form-group input[type="date"],
.quote-form .form-group select,
.quote-form .form-group textarea {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #dddddd !important;
    border-radius: 4px !important;
    width: 100% !important;
    height: 48px !important;
    font-size: 14px !important;
    padding: 0 14px !important;
    box-shadow: none !important;
}
.quote-form .form-group select {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    padding-left: 10px !important;
}
.quote-form .form-group textarea {
    height: 80px !important;
    padding: 12px 14px !important;
    resize: vertical !important;
}
.quote-form .form-group input::placeholder,
.quote-form .form-group textarea::placeholder {
    color: #aaaaaa !important;
    opacity: 1;
}
.quote-form .form-group {
    margin-bottom: 16px !important;
}

/* ── Contact page form: white inputs ──────────────────────────── */
.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="tel"],
.contact-form .form-group input[type="email"],
.contact-form .form-group textarea {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #cccccc !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* ── Service Area Grid ────────────────────────────────────────── */
.vcpm-service-area {
    background: #f4f6f8;
    padding: 36px 0 40px;
    margin: 0;
    overflow: hidden;
}
.vcpm-sa-title {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d20407;
}
.vcpm-sa-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px 16px;
}
.vcpm-sa-grid a {
    display: block;
    font-size: 13px;
    color: #444444;
    text-decoration: none;
    padding: 4px 0;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vcpm-sa-grid a:hover {
    color: #d20407;
    text-decoration: underline;
}
@media (max-width: 991px) {
    .vcpm-sa-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
    .vcpm-sa-grid { grid-template-columns: repeat(2, 1fr); gap: 4px 10px; }
    .vcpm-sa-grid a { font-size: 12px; }
    .vcpm-sa-title { font-size: 15px; }
}

/* ── Footer overrides ─────────────────────────────────────────── */
#footer { overflow: hidden; }
#footer .footer-main { padding: 40px 0 20px; }
#footer .inner-footer { padding-right: 18px; margin-bottom: 20px; }
#footer .inner-footer h3 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
#footer .inner-footer p,
#footer .inner-footer address p {
    font-size: 13px;
    color: #bbbbbb;
    line-height: 1.75;
    margin-bottom: 5px;
    word-break: break-word;
}
#footer .inner-footer > p { font-size: 13px; color: #bbbbbb; line-height: 1.75; }
#footer .inner-footer a {
    color: #bbbbbb;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.2;
    display: block;
    word-break: break-word;
}
#footer .inner-footer a:hover { color: #ffffff; }
#footer .footer-logo { margin-bottom: 12px; }
#footer .footer-logo img { max-width: 150px; height: auto; }
#footer address { font-style: normal; }

/* Phone / contact rows */
#footer .phone-num-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}
#footer .phone-num-box .icon-col {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    color: #bbbbbb;
    margin-top: 3px;
}
#footer .phone-num-box .phn {
    font-size: 13px;
    color: #bbbbbb;
    line-height: 1.5;
    word-break: break-word;
    min-width: 0;
}
#footer .phone-num-box .phn a {
    display: inline !important;
    color: #bbbbbb;
    line-height: inherit;
}
#footer .phone-num-box .phn a:hover { color: #ffffff; }

/* Text-box service/network links */
#footer .text-box a {
    color: #bbbbbb !important;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.2;
    display: block;
}
#footer .text-box a:hover { color: #ffffff !important; }
#footer .text-box p { display: none; } /* hide stray <p> wrappers */

/* Mobile: stack columns */
@media (max-width: 767px) {
    #footer .col-md-3 { width: 100% !important; float: none !important; }
    #footer .inner-footer {
        padding-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    #footer .phone-num-box .phn { font-size: 12px; }
}

/* Copyright bar */
.copayright { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.copayright .copyrigth-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}
.copayright .copyrigth-left ul li a {
    font-size: 12px;
    color: #aaaaaa;
    text-decoration: none;
}
.copayright .copyrigth-left ul li a:hover { color: #ffffff; }
.copayright .copyrigth-right p {
    font-size: 12px;
    color: #aaaaaa;
    margin: 0;
    text-align: right;
}
@media (max-width: 767px) {
    .copayright .copyrigth-right p { text-align: left; margin-top: 6px; }
}

/* ── Math Captcha (red-bg form variant — homepage) ────────────── */
.math-captcha-wrap { margin-bottom: 16px; }
.math-captcha-wrap label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
    font-weight: 600;
}
.math-captcha-row { display: flex; align-items: center; gap: 10px; }
.math-captcha-question {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 4px;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.math-captcha-input {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #dddddd !important;
    border-radius: 4px !important;
    height: 44px !important;
    font-size: 16px !important;
    padding: 0 12px !important;
    width: 90px !important;
    flex-shrink: 0;
    box-shadow: none !important;
}
.math-captcha-error {
    color: #ffbbbb;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

/* White-bg form variant (service pages, contact, get_quote) */
.form-white .math-captcha-wrap label { color: #555555; }
.form-white .math-captcha-question {
    background: #f4f6f8;
    color: #333333;
    border: 1px solid #dddddd;
}
.form-white .math-captcha-error { color: #c0392b; }

/* Auto-apply white variant when not inside red request-quote section */
#enquiry .math-captcha-wrap label,
.contact-form .math-captcha-wrap label,
.section-padding .math-captcha-wrap label { color: #555555; }
#enquiry .math-captcha-question,
.contact-form .math-captcha-question,
.section-padding .math-captcha-question {
    background: #f4f6f8;
    color: #333333;
    border: 1px solid #dddddd;
}
#enquiry .math-captcha-error,
.contact-form .math-captcha-error,
.section-padding .math-captcha-error { color: #c0392b; }

/* ── Prevent horizontal overflow globally ─────────────────────── */
body { overflow-x: hidden; }
.vcpm-service-area,
#footer,
.copayright { overflow-x: hidden; }

/* ── FIX: home2 request-quote section layout ──────────────────── */
/* Theme sets .request-quote-right { position:absolute; width:50% }
   which pulls it out of flow. Override the entire section to flexbox. */

/* Make the row a flex container so both columns sit side-by-side */
.home2-request-quote .container > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

/* Left col: form */
.home2-request-quote .request-quote-left {
    position: relative !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-right: 30px !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    padding-left: 30px !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* Right col: about text — normal flow, white background */
.home2-request-quote .request-quote-right {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    float: none !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 40px 30px !important;
    box-sizing: border-box !important;
    background: #fff !important;
}

/* White inputs inside red left column */
.request-quote-left input[type="text"],
.request-quote-left input[type="tel"],
.request-quote-left input[type="email"],
.request-quote-left input[type="date"],
.request-quote-left select {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    border-radius: 4px !important;
    height: 50px !important;
    width: 100% !important;
    font-size: 14px !important;
    padding: 0 14px !important;
    box-shadow: none !important;
}
.request-quote-left input::placeholder { color: #888 !important; }
.request-quote-left input[type="date"]  { color: #555 !important; }
.request-quote-left select              { color: #555 !important; }

/* Mobile: stack vertically */
@media (max-width: 767px) {
    .home2-request-quote .container > .row { display: block !important; }
    .home2-request-quote .request-quote-left {
        flex: none !important; max-width: 100% !important; width: 100% !important;
        padding: 30px 20px !important;
    }
    .home2-request-quote .request-quote-right {
        flex: none !important; max-width: 100% !important; width: 100% !important;
        padding: 30px 20px !important;
    }
}

/* ── About section (right col) text cleanup ───────────────────── */
.cargo-right-innar h3 {
    color: #222 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
}
.cargo-right-innar p {
    font-size: 14px !important;
    color: #555 !important;
    line-height: 1.85 !important;
    text-align: justify !important;
}

/* ── Service pages: Trust/Why Choose us box text ─────────────── */
section[id="enquiry"] ul li,
section[style*="background:#f9f9f9"] ul li,
.section-padding ul li {
    color: #333333 !important;
    font-size: 14px !important;
}
section[id="enquiry"] ul li i,
.section-padding ul li i { opacity: 1 !important; }
