/* Right Column: Hero Form */
.about-quote-form-col {
    background: #ffffff;
    padding: 45px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-quote-form-col .quote-card-header {
    text-align: left;
    margin-bottom: 22px;
}

.about-quote-form-col .quote-title-bar {
    margin: 0;
}

.form-field-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.req-star {
    color: #ef4444;
    font-weight: 800;
}

.about-hero-styled-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-hero-styled-form .hero-form-input,
.about-hero-styled-form .hero-form-select {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 14.5px !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    outline: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.about-hero-styled-form .hero-form-input:focus,
.about-hero-styled-form .hero-form-select:focus {
    border-color: #0064e5 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 100, 229, 0.12) !important;
}

.about-hero-styled-form .hero-quote-submit-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #0077ff 0%, #004bd6 60%, #002d99 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 75, 214, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 6px;
}

.about-hero-styled-form .hero-quote-submit-btn:hover {
    background: linear-gradient(135deg, #2b8eff 0%, #005ae6 60%, #0036a7 100%);
    box-shadow: 0 10px 28px rgba(0, 90, 230, 0.5);
    transform: translateY(-1px);
}

.quote-direct-contact {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 13.5px;
    /* Cung nam tren panel navy — #64748b chi dat ~2.0:1, gan nhu khong doc duoc. */
    color: #fff;
}

/* Xanh #0064e5 tren navy chi dat ~2.3:1. Vang la mau nhan san co cua chinh
   panel nay (nhan QUICK & EASY, chu STEP) nen vua doc ro vua dung he mau. */
.quote-direct-contact a {
    color: #e7b00a;
    font-weight: 600;
    text-decoration: underline;
}

.quote-direct-contact a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    body .container.main-content.quote-boxed-wrapper,
    .container.main-content.quote-boxed-wrapper,
    .quote-boxed-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }
    .quote-boxed-wrapper > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .about-quote-container-card {
        margin: 20px auto 35px auto !important;
        border-radius: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .about-quote-grid {
        grid-template-columns: 1fr;
    }
    .about-quote-steps-col {
        padding: 30px 18px !important;
    }
    .about-quote-form-col {
        padding: 30px 18px !important;
    }
    .form-row-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 690px) {
    body .container.main-content.quote-boxed-wrapper,
    .container.main-content.quote-boxed-wrapper,
    .quote-boxed-wrapper {
        padding-left: 8px !important;
        padding-right: 8px !important;
        width: 100% !important;
    }
    .about-quote-container-card {
        margin: 12px auto 25px auto !important;
        border-radius: 14px !important;
        width: 100% !important;
    }
    .about-quote-steps-col {
        padding: 24px 14px !important;
    }
    .about-quote-form-col {
        padding: 24px 14px !important;
    }
    .quote-steps-title {
        font-size: 24px !important;
    }
    .quote-steps-subtitle {
        font-size: 13px !important;
    }
    .quote-step-item {
        gap: 12px !important;
    }
    .quote-step-icon-wrap {
        width: 36px !important;
    }
    .quote-step-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
    }
    .quote-step-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
    .quote-step-heading {
        font-size: 15px !important;
    }
    .quote-step-desc {
        font-size: 12.5px !important;
    }
    .quote-card-title {
        font-size: 22px !important;
    }
    .about-hero-styled-form .hero-form-input,
    .about-hero-styled-form .hero-form-select {
        height: 44px !important;
        font-size: 13.5px !important;
        padding: 8px 12px !important;
    }
    .about-hero-styled-form .hero-quote-submit-btn {
        height: 48px !important;
        font-size: 14px !important;
    }
}

/* =========================================================

/* --------------------------------------------------------------------------
   Khung form dung chung cho khoi bao gia.
   Truoc day cac lop nay chi nam trong home.css — file chi nap o trang chu —
   nen form trong khoi dong khung o cac trang khac roi ve mot cot va nut mat nen.
   -------------------------------------------------------------------------- */
.hero-quote-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.hero-form-input,
.hero-form-select {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    font-size: 15px;
    font-family: inherit;
    color: #0c1e40;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

/*
 * Select phai co mui ten: khong co thi nguoi dung khong biet day la dropdown.
 * Ve bang background-image thay vi giu appearance mac dinh, de hai o input va
 * select cao bang nhau tren moi trinh duyet.
 */
.hero-form-select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
}

.hero-form-input:focus,
.hero-form-select:focus {
    border-color: #0064e5;
    box-shadow: 0 0 0 3px rgba(0, 100, 229, .12);
}

.hero-quote-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin: 4px 0 0;
    padding: 15px 20px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #ffffff;
    background: linear-gradient(135deg, #0077ff 0%, #004bd6 60%, #002d99 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow .25s ease, transform .25s ease;
}

.hero-quote-submit-btn:hover {
    box-shadow: 0 8px 22px rgba(0, 75, 214, .35);
    transform: translateY(-1px);
}

.hero-form-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 2px 0 0;
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 600px) {
    .form-row-two-col {
        grid-template-columns: 1fr;
    }
}
