body {
    background: #f2f2f2;
   font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;

}

.main-card {
    max-width: 420px;
    margin: auto;
    background: #fff;
    min-height: 100vh;
    padding: 20px 18px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2px;
}

.header-flex .brand {
    font-weight: 700 !important;
    font-size: 28px;
    color: #2C2C2C;
    letter-spacing: -0.5px;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
    text-align: center;
    flex: 1;
    text-decoration:none
}

.header-flex .brand span {
    color: #A40000;
    /* //  background: linear-gradient(180deg, #A40000 22%, #3E0000 100%) !important; */
}

.header-flex .post-btn {
    background: linear-gradient(180deg, #A40000 22%, #3E0000 100%);
    color: #fff;
    border-radius: 13px;
    padding: 5px 0;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #FF8181;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(164, 0, 0, 0.2);
    white-space: nowrap;
    min-width: 76px;
}

.header-flex .icon-circle {
    background: linear-gradient(180deg, #A40000 22%, #3E0000 100%);
    color: #fff;
    width: 44px;
    height: 30px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #FF8181;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(164, 0, 0, 0.2);
}

.header-flex .icon-circle-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ============================================================
   SUBTITLE
   ============================================================ */
.subtitle {

    text-align: center;
    font-size: 16px;
    margin-top: 14px;
    margin-bottom: 22px;
    line-height: 1.5;
    font-weight: 700;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
}

.subtitle span {
    color: #000000;
    font-weight: 700;
}

/* ============================================================
   FORM
   ============================================================ */
.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-label {
    font-size: 15px;
    font-weight: 500;
    color: #202020;
    padding-left: 2px;
    margin-bottom: 2px;
}

/* ============================================================
   SELECT WRAPPER
   ============================================================ */
.select-wrapper {
    display: flex;
    align-items: center;
    background: rgba(247, 247, 247, 1);
    border: 1px solid rgba(49, 49, 49, 0.1);
    border-radius: 10px;
    /* border: 1.5px solid #E0E0E0; */
    overflow: hidden;
    height: 52px;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-icon-box {
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
}

.select-icon-img {
    width: 50%;
    height: 50%;
    object-fit: cover;
    border-radius: 50%;
}

.country-flag {
    width: 65%;
    height: 65%;
    object-fit: cover;
    border-radius: 50%;
}

.servicetype-flag {
    width: 50%;
    height: 50%;
    object-fit: cover;
    border-radius: 50%;
}

.select-divider {
    margin: 0 0 0 0 !important;
    /* margin: 0 10px 0 5px !important; old */
    width: 1px;
    height: 35px;
    background-color: #d0d0d0;
    flex-shrink: 0;
}

.custom-select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    /* font-family: 'Inter', sans-serif; */
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    padding: 0 36px 0 14px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    height: 100%;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.select-arrow .arrow-icon {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
}

.select-wrapper:focus-within .arrow-icon {
    transform: rotate(180deg);
}

/* ============================================================
   SELECT2 SINGLE
   ============================================================ */
.select2-container {
    width: 100% !important;
    flex: 1;
}

.select2-selection--single {
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
}

.select2-container--default .select2-selection--single {
    border: none !important;
    background: transparent !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 25px !important;
    line-height: normal !important;
    width: 100%;
    margin-left: -23px;
    color: #454444;
    font-size: 15px;
    font-weight: 400;
}

.select2-selection__arrow {
    display: none !important;
}

/* ============================================================
   LANGUAGE MULTI-SELECT — Pill tag design (text LEFT, X RIGHT)
   ============================================================ */
.multi-wrapper {
    border: 1.5px solid #E0E0E0 !important;
    background-color: #F7F7F7 !important;
    display: flex !important;
    align-items: center !important;
    /* Center icon and divider */
    height: auto !important;
    min-height: 52px;
    padding: 0 !important;
    /* Remove fixed padding to allow vertical centering */
    border-radius: 10px !important;
    overflow: visible !important;
}

.multi-wrapper .select-icon-box {
    width: 40px;
    min-width: 40px;
    flex-shrink: 0;
    align-self: center;
}

.multi-wrapper .select-divider {
    width: 1.5px;
    flex-shrink: 0;
    margin: 0 6px !important;
    align-self: center;
    height: 35px;
    background-color: #d0d0d0;
}

.multi-wrapper .select2-container {
    flex: 1;
    min-width: 0;
}


.insideflagImage {
    margin-left: -7px !important;
}

/* Select2 multiple base */
.select2-container--default .select2-selection--multiple {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    display: flex !important;
    /* Use flex for center alignment */
    align-items: center !important;
    overflow: visible !important;
}

/* Rendered tag list */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 4px 8px 4px 4px !important;
    width: 100%;
    align-items: center;
}

/* THE PILL TAG */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #A40000 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 2px 4px 2px 14px !important;
    /* Goal UI Padding */
    margin: 4px 6px 4px 0 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    color: #fff !important;
    font-weight: 700 !important;
    /* Goal UI Bold */
    font-size: 14px !important;
    height: 32px !important;
    white-space: nowrap;
    cursor: default;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* THE X BUTTON — black circle, RIGHT side */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    order: 2 !important;
    background: #000 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 22px !important;
    /* Goal UI Size */
    height: 22px !important;
    min-width: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    position: static !important;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove span {
    display: none !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove::after {
    content: "×";
    display: block;
    position: static;
    font-size: 14px;
    line-height: 1;
}

.select2-container--default .select2-search--inline {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-search--inline .select2-search__field {
    margin: 0 !important;
    height: 28px;
}

/* ============================================================
   GLASS DROPDOWN
   ============================================================ */
#group-service .select2-dropdown,
#group-country .select2-dropdown,
#group-multi-service .select2-dropdown {
    /* background: #e0e0e0 !important; */

    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    /* border: 1.5px solid rgba(255, 255, 255, 0.45) !important; */
    border: 0 1.5px 1.5px 1.5px solid rgba(255, 255, 255, 0.45) !important;
    background: rgba(247, 247, 247, 1);
    border: 1px solid rgba(49, 49, 49, 0.1);
    /* border-radius: 14px !important; */
    box-shadow: 0 8px 32px rgba(164, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    border-bottom-left-radius: 14px;
border-bottom-right-radius: 14px;
}

#group-service .select2-results__options,
#group-country .select2-results__options,
#group-multi-service .select2-results__options {
    background: transparent !important;
    padding: 4px 0;
}

.select2-results__options {
    max-height: 200px !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

#group-country .select2-results__options .select-divider {
    margin: 0 10px 0 0px !important;
    width: 0.5px;
    height: 35px;
    background-color: #d0d0d0;
    flex-shrink: 0;
}

#group-service .select2-results__options .select-divider {
    width: 0.5px;
    height: 35px;
    background-color: #d0d0d0;
    flex-shrink: 0;
}

#group-multi-service .select2-results__option {
    border-bottom: none !important;
    position: relative;
    padding-bottom: 8px !important;
}

#group-multi-service .select2-results__option::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background-color: #d0d0d0;
}

#group-multi-service .select2-results__option {
    border-bottom: none !important;
    position: relative;
}

.select2-results__options::-webkit-scrollbar {
    display: none !important;
}

.select2-container--default .select2-results>.select2-results__options {
    padding: 0 !important;
}

.select2-results__option {
    text-align: center !important;
}

#group-service .select2-results__option,
#group-country .select2-results__option,
#group-multi-service .select2-results__option {
    background: transparent !important;
    color: #2b2b01 !important;
    font-size: 15px;
    font-weight: normal;
    /* border-bottom: 2px solid #ddd; */
    border-bottom: none !important;
    position: relative;
    transition: background 0.18s ease;
}

#group-service .select2-results__option::after {
    content: "";
    display: block;
    width: 70%;
    height: 0.5px;
    background-color: #ddd;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 20%;
}

#group-country .select2-results__option::after {
    content: "";
    display: block;
    width: 70%;
    height: 0.5px;
    background-color: #ddd;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 20%;
}


.optionText {
    text-align: center;
    flex: 1;
    width: 100%;
}

/* ============================================================
   INPUT WRAPPER (Location)
   ============================================================ */
.input-wrapper {
    display: flex;
    align-items: center;
    background-color: #F7F7F7;
    border-radius: 10px;
    border: 1.5px solid #E0E0E0;
    overflow: hidden;
    height: 52px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-icon-img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.custom-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    /* font-family: 'Inter', sans-serif; */
    font-size: 15px;
    color: #202020;
    padding: 0 16px;
    height: 100%;
}

.custom-input::placeholder {
    color: #aaa;
}

/* ============================================================
   RADIO GROUP
   ============================================================ */
.service-need .radio-group {
    display: flex;
    gap: 10px;
}

.service-need .select-divider {
    margin: 0 7px 0 11px !important;
    /* margin: 0 10px 0 13px !important; */
    width: 1px;
    height: 35px;
    background-color: #d0d0d0;
    flex-shrink: 0;
}

.service-need .radio-group--three .radio-card {
    flex: 1;
}

.service-need .radio-card {
    display: flex;
    align-items: center;
    gap: 0;
    background-color: #F7F7F7;
    border: 1.5px solid #E0E0E0;
    border-radius: 10px;
    padding: 5px 12px;
    cursor: pointer;
    flex: 1;
    user-select: none;
    transition: all 0.2s ease;
    position: relative;
}

.service-need .radio-card:hover {
    background-color: #f1f1f1;
}

.service-need .radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.service-need .radio-outer {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #1d1c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
    background-color: #ffffff;
    padding: 0;
}

.service-need .radio-inner {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #333333;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
    transform: scale(1);
}

.service-need .radio-card input[type="radio"]:checked~.radio-outer {
    border-color: #A40000;
}

.service-need .radio-card input[type="radio"]:checked~.radio-outer .radio-inner {
    transform: scale(1);
    background-color: #A40000;
}

.service-need .radio-label-text {
    font-size: 15px;
    font-weight: 400;
    color: #454444;
    white-space: nowrap;
}

.service-availability .radio-group {
    display: flex;
    gap: 10px;
}

.service-availability .radio-group--three .radio-card {
    flex: 1;
}

.service-availability .radio-card {
    display: flex;
    align-items: center;
    background-color: #F7F7F7;
    border: 1.5px solid #E0E0E0;
    border-radius: 10px;
    padding: 5px 8px;
    cursor: pointer;
    flex: 1;
    user-select: none;
    transition: all 0.2s ease;
    position: relative;
}

.service-availability .select-divider {
    margin: 0 10px 0 5px !important;
    width: 1px;
    height: 25px;
    background-color: #d0d0d0;
    flex-shrink: 0;
}

.service-availability .radio-card:hover {
    background-color: #f1f1f1;
}

.service-availability .radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.service-availability .radio-outer {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #1d1c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
    background-color: #ffffff;
    position: relative;
    padding: 0;
}

.service-availability .radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /* background-color: #333333; */
    background: rgba(0, 0, 0, 0.82);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
    transform: scale(1);
}

.service-availability .radio-card input[type="radio"]:checked~.radio-outer {
    border-color: #A40000;
}

.service-availability .radio-card input[type="radio"]:checked~.radio-outer .radio-inner {
    transform: scale(1);
    background-color: #A40000;
}

.service-availability .radio-label-text {
    font-size: 15px;
    font-weight: 400;
    color: #454444;
    white-space: nowrap;
    padding-left: 4px;
}

/* ============================================================
   PRICE ROW
   ============================================================ */
.price-row {
    display: flex;
    gap: 10px;
}

.price-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    background-color: #F7F7F7;
    border: 1.5px solid #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
    height: 52px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    width: auto !important;
    flex-shrink: 0;
    cursor: pointer;
}

.price-icon-img {
    width: auto !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 18px;
    white-space: nowrap;
}

.price-divider {
    /* margin: 0 10px 0 5px !important; */
    margin: 0 0 0 0 !important;
    width: 1px;
    height: 35px;
    background-color: #d0d0d0;
    flex-shrink: 0;
}

.price-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
   
    font-size: 15px;
    color: #202020;
    padding: 0 12px;
    height: 100%;
}

.price-input::-webkit-inner-spin-button,
.price-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.price-input[type=number] {
    -moz-appearance: textfield;
}

/* ============================================================
   ILLUSTRATIONS
   ============================================================ */
.location-illustration {
    margin-top: 10px;
}

.location-img {
    width: 220px;
    max-width: 100%;
}

/* ============================================================
   SEND REQUEST BUTTON
   ============================================================ */
.btn-section {
    display: flex;
    justify-content: center;
}

/* //new test */

.btn-send-request {
    /* background: #A40000; */
    background: linear-gradient(180deg, #A40000 22%, #3E0000 100%) !important;
    color: #fff;
    width: 75%;
    max-width: 232px;
    height: 47px;
    border-radius: 50px;
    border: 1px solid #FF8181;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
    font-size: 20px;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(164, 0, 0, 0.2);
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-send-request:active {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(164, 0, 0, 0.2);
}

/* .btn-send-request::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 30px;
    border-radius: 30px 0 0 0;
    border-left: 1px solid white;
    pointer-events: none;
} */

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding: 16px;
    width: 100%;
    max-width: 480px;
    margin-top: 1px;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #c0392b;
}

/* ============================================================
   MOBILE (max-width: 576px)
   ============================================================ */
@media (max-width: 576px) {

    html,
    body {
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        position: fixed;
        width: 100%;
    }

    body::-webkit-scrollbar {
        display: none !important;
    }

    body {
        background: #FFFFFF;
    }

    .container,
    .row,
    .col-12 {
        height: 100%;
        margin: 0;
        padding: 0;
    }

    .main-card {
        max-width: 100%;
        height: 100vh;
        min-height: 100vh;
        padding: 10px 12px;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Header */
    .header-flex {
        padding: 0;
    }

    .header-flex .brand {
        font-size: 28px;
        margin-left: 0;
    }

    .header-flex .icon-circle {
        width: 40px;
        height: 28px;
        min-width: 40px;
    }

    .header-flex .icon-circle img {
        width: 22px;
        height: 22px;
    }

    .header-flex .post-btn {
        font-size: 11px;
        padding: 5px 0;
        min-width: 68px;
    }

    /* Subtitle */
    .subtitle {
        font-size: 15px;
        margin: 6px 0 10px 0;
    }

    /* Form */
    .request-form {
        gap: 10px;
    }

    .form-group {
        gap: 3px;
    }

    .form-label {
        font-size: 12px;
        font-weight: normal;
        color: #000;
        padding-left: 2px;
    }

    .select-arrow .arrow-icon {
        width: 25px;
        height: 25px;
    }

    .servicetype-flag {
        width: 45%;
        height: 45%;
    }


    /* Inputs */
    .select-wrapper,
    .input-wrapper,
    .multi-wrapper,
    /* Ensure multi-select matches */
    .service-need .radio-card,
    .price-input-wrapper {
        height: 42px;
        min-height: 42px !important;
    }

    .select2-container--default .select2-selection--multiple {
        min-height: 42px !important;
    }

    .custom-select,
    .custom-input,
    .price-input {
        font-size: 15px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 15px;
    }

    /* Language pills on mobile */
    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        font-size: 12px !important;
        padding: 4px 8px 4px 10px !important;
        gap: 5px !important;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        font-size: 12px !important;
    }

    /* Radio */
    .radio-group {
        gap: 6px;
    }

    .radio-card {
        padding: 6px 8px;
    }

    .radio-label-text {
        font-size: 15px;
    }

    /* Price */
    .price-row {
        gap: 6px;
    }

    /* Button */
    .btn-send-request {
        max-width: 232px;
        font-size: 15px;
        padding: 18px 0;
        height: 40px;
    }

    /* Footer */
    .site-footer {
        padding: 20px 0;
    }

    .footer-link {
        font-size: 14px;
    }

    .footer-nav {
        gap: 14px;
    }

    .select2-container {
        left: 12px !important;


    }

    .select2-dropdown {
        width: 93% !important;
        top: -6px !important;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-brand-red {
    color: #A40000 !important;
}

.text-brand-dark {
    color: #202020 !important;
}

.text-black {
    color: #000000 !important;
}

.font-w-700 {
    font-weight: 700 !important;
}

.font-w-600 {
    font-weight: 600 !important;
}

.z-index-9999 {
    z-index: 9999 !important;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.bold-16 {
    font-size: 16px;
    font-weight: 600;
}

.btn-valid {
    background: linear-gradient(180deg, #A40000 22%, #3E0000 100%) !important;
}

.btn-invalid {
    background: #d17c86 !important;
}

.inside-flag-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}