
.section-enquiry .row-1 {
    align-items: flex-start;
}
.cards-enquiry {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.card-enquiry {
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-enquiry .card-body {
    display: flex;
    flex-direction: column;
}

.card-enquiry .card-content a:hover {
    color: var(--global-color-yellow-primary);
}

.section-enquiry form {
    max-width: 628px;
    margin: auto;
}

.section-enquiry .card-content h3{
    font-size: var(--fs-18);
    font-weight: var(--fw-900);
    margin-bottom: 2px;
}

.section-enquiry .card-content p{
    font-size: var(--fs-16);
    line-height: var(--lh-md);
}
.contact-form {
    background: var(--background-main-radial);
    border: 1px solid var(--global-color-blue-light-primary);
    border-radius: var(--br-20);
    padding: 20px 14px;
    width: 100%;
    box-sizing: border-box;
}
.contact-form .row-special {
    gap: 16px;
    margin: 0;
}
.contact-form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}
.contact-form-group label {
    display: block;
    font-size: var(--fs-14);
    font-weight: var(--fw-600);
    margin-bottom: 6px;
    color: var(--global-color-blue-primary);
    letter-spacing: 0.2px;
}
.contact-form-group label .required-star {
    color: var(--red);
    margin-left: 3px;
}
.contact-form-group input.form-control,
.contact-form-group textarea.form-control,
.contact-form-group .dropdown-trigger {
    padding: 12px 14px;
    border-radius: var(--br-10);
    border: 1px solid var(--global-color-blue-light-primary);
    font-size: var(--fs-13);
    background: var(--white);
    color: var(--global-color-blue-primary);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}
.contact-form-group input.form-control::placeholder,
.contact-form-group textarea.form-control::placeholder,
.contact-form-group .dropdown-trigger .trigger-text {
    color: var(--global-color-gray-lighter-secondary);
    font-size: var(--fs-13);
}
.contact-form-group textarea.form-control {
    height: 120px;
    max-height: 120px;
    resize: none;
}
.contact-form-group input.form-control:focus,
.contact-form-group textarea.form-control:focus,
.contact-form-group .custom-dropdown.active .dropdown-trigger {
    outline: none;
    border-color: var(--global-color-blue-secondary);
}
/* Country Phone Input Wrapper & Custom Dropdown Styling */
.country-phone-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    border-radius: var(--br-10);
    border: 1px solid var(--global-color-blue-light-primary);
    background: var(--white);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}
.country-phone-wrapper:focus-within,
.country-phone-wrapper.active {
    border-color: var(--global-color-blue-secondary) !important;
}
.country-phone-wrapper .country-select-dropdown {
    width: 95px;
    flex-shrink: 0;
    position: static;
}
.country-phone-wrapper .country-select-btn {
    border: none;
    border-right: 1px solid var(--global-color-blue-light-primary) !important;
    border-radius: var(--br-10) 0 0 var(--br-10);
    padding: 12px 6px 12px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.country-phone-wrapper .flag-icon img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.country-phone-wrapper .country-dial-code {
    font-size: var(--fs-13);
    font-weight: var(--fw-600);
    color: var(--global-color-blue-primary);
}

.country-phone-wrapper .phone-input {
    border: none !important;
    border-radius: 0 var(--br-10) var(--br-10) 0;
    background: transparent;
    flex-grow: 1;
    min-width: 0;
    padding: 12px 10px;
}

.country-phone-wrapper .phone-input:focus {
    outline: none;
    border: none;
}

.country-dropdown-list {
    min-width: 240px;
    max-width: 280px;
    max-height: 240px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 6px;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--global-color-blue-light-primary);
    border-radius: var(--br-10);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    scrollbar-width: thin;
    scrollbar-color: var(--global-color-blue-light-primary) transparent;
}

.country-dropdown-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--br-8);
    font-size: var(--fs-13);
    color: var(--global-color-blue-primary);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    margin-bottom: 2px;
}

.country-dropdown-list li:last-child {
    margin-bottom: 0;
}

.country-dropdown-list li:hover {
    background: var(--global-color-blue-light-primary);
    color: var(--global-color-blue-primary);
}

.country-dropdown-list li.selected {
    background: var(--global-color-yellow-lightest-primary);
    color: var(--global-color-yellow-primary);
    font-weight: var(--fw-600);
}

.country-dropdown-list li .flag img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.country-dropdown-list li .name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-dropdown-list li .dial {
    font-weight: var(--fw-600);
    color: var(--global-color-gray-lighter-secondary);
    font-size: var(--fs-12);
}

.custom-dropdown {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-dropdown .dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.custom-dropdown .dropdown-trigger .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: var(--global-color-blue-primary);
}

.custom-dropdown.active .dropdown-trigger .icon {
    transform: rotate(180deg);
}

.custom-dropdown .dropdown-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--global-color-blue-light-primary);
    border-radius: var(--br-10);
    padding: 6px;
    z-index: 100;
    max-height: 240px;
    overflow-y: auto;
    display: none;
    box-shadow: var(--box-shadow);
    scrollbar-width: thin;
    scrollbar-color: var(--global-color-blue-light-primary) transparent;
}

/* Thin Scrollbar for Custom Dropdowns */
.custom-dropdown .dropdown-options::-webkit-scrollbar,
.country-dropdown-list::-webkit-scrollbar {
    width: 5px;
}

.custom-dropdown .dropdown-options::-webkit-scrollbar-track,
.country-dropdown-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--br-10);
}

.custom-dropdown .dropdown-options::-webkit-scrollbar-thumb,
.country-dropdown-list::-webkit-scrollbar-thumb {
    background: rgba(36, 134, 198, 0.35);
    border-radius: var(--br-10);
}

.custom-dropdown .dropdown-options::-webkit-scrollbar-thumb:hover,
.country-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: var(--global-color-blue-secondary);
}

.custom-dropdown.active .dropdown-options {
    display: block;
    animation: fadeInDown 0.25s ease;
}

.custom-dropdown .dropdown-trigger .trigger-text {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    flex-grow: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 8px;
    cursor: grab;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.custom-dropdown .dropdown-trigger .trigger-text.dragging {
    cursor: grabbing;
    user-select: none;
    scroll-behavior: auto;
}

.custom-dropdown .dropdown-trigger .trigger-text::-webkit-scrollbar {
    display: none;
}

.custom-dropdown .dropdown-trigger .selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--br-8);
    background: var(--background-main-radial-1);
    color: var(--white);
    font-size: var(--fs-12);
    font-weight: var(--fw-500);
    white-space: nowrap;
}

.custom-dropdown .dropdown-trigger .selected-badge .badge-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--br-50pr);
    width: 16px;
    height: 16px;
    color: var(--white);
    transition: all 0.2s ease;
}

.custom-dropdown .dropdown-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--br-8);
    font-size: var(--fs-13);
    color: var(--global-color-blue-primary);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    user-select: none;
    margin-bottom: 2px;
}

.custom-dropdown .dropdown-option:last-child {
    margin-bottom: 0;
}

.custom-dropdown .dropdown-option .option-text {
    flex-grow: 1;
    line-height: 1.3;
}

/* Custom Round Circle Checkbox */
.custom-dropdown .dropdown-option .custom-round-checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--global-color-blue-light-primary);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.custom-dropdown .dropdown-option:hover {
    background: var(--global-color-blue-light-primary);
}

.custom-dropdown .dropdown-option:hover .custom-round-checkbox {
    border-color: var(--global-color-yellow-primary);
}

/* Selected state with light yellow background, yellow text & checkmark */
.custom-dropdown .dropdown-option.selected {
    background: var(--background-special-card-light-linear);
    color: var(--global-color-blue-primary);
    font-weight: var(--fw-600);
}

.custom-dropdown .dropdown-option.selected .custom-round-checkbox {
    background: var(--global-color-yellow-primary);
    border-color: var(--global-color-yellow-primary);
    box-shadow: 0 0 6px rgba(220, 151, 0, 0.4);
}

.custom-dropdown .dropdown-option.selected .custom-round-checkbox::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-0.5px, -0.5px);
    display: block;
}

/* Validation Error Styles */
.contact-form-group.has-error input.form-control,
.contact-form-group.has-error textarea.form-control,
.contact-form-group.has-error .dropdown-trigger,
.contact-form-group.has-error .country-phone-wrapper {
    border-color: var(--red) !important;
}

.contact-form-group .error-msg {
    color: var(--red);
    font-size: var(--fs-12);
    margin-top: 4px;
    display: none;
}

.contact-form-group.has-error .error-msg {
    display: block;
}

.form-submit-wrapper {
    margin-top: 10px;
}

/* Custom Checkbox Styling */
.contact-form-group.form-checkbox-group label.custom-checkbox-label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid var(--global-color-yellow-primary);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.custom-checkbox-input:checked ~ .custom-checkbox-box {
    background: var(--global-color-yellow-primary);
    border-color: var(--global-color-yellow-lightest-primary);
}

.custom-checkbox-input:checked ~ .custom-checkbox-box::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox-label .checkbox-text {
    font-size: var(--fs-13);
    color: var(--global-color-gray-lighter-secondary);
    line-height: 1.4;
}

/* Disabled submit button state */
.contact-form button[disabled],
.contact-form .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* Progressive Media Queries (Mobile-First via min-width) */
@media screen and (min-width: 576px) {
    .contact-form {
        padding: 28px 22px;
        border-radius: var(--br-24);
    }
    .contact-form .row-special {
        gap: 20px;
    }
    .country-phone-wrapper .country-select-dropdown {
        width: 105px;
    }
    .country-phone-wrapper .country-select-btn {
        padding: 14px 10px 14px 14px;
    }
    .country-phone-wrapper .phone-input {
        padding: 14px 16px;
    }
    .contact-form-group label {
        font-size: var(--fs-14);
        margin-bottom: 8px;
    }
    .contact-form-group input.form-control,
    .contact-form-group textarea.form-control,
    .contact-form-group .dropdown-trigger {
        padding: 14px 18px;
        font-size: var(--fs-15);
    }
    .custom-checkbox-label .checkbox-text {
        font-size: var(--fs-14);
    }
}

@media screen and (min-width: 992px) {
    .contact-form {
        padding: 36px 30px;
    }
    .contact-form .row-special {
        gap: 25px;
    }
}
@media screen and (min-width: 1024px) {
    .section-enquiry form {
        max-width: 628px;
    }
}