/* =========================================================
   FLOATING CONTACT ICONS
========================================================= */

.floating-contact-buttons {
    position: fixed;
    right: 24px;
    bottom: 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    z-index: 9990;
}


/* =========================================================
   COMMON ICON BUTTON
========================================================= */

.floating-btn {
    width: 56px;
    height: 56px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    text-decoration: none;

    cursor: pointer;

    box-sizing: border-box;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   ICON
========================================================= */

.floating-btn i {
    display: block;

    color: #ffffff;

    font-size: 23px;

    line-height: 1;

    transition: transform 0.25s ease;
}


/* =========================================================
   HOVER
========================================================= */

.floating-btn:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.30);
}


.floating-btn:hover i {
    transform: scale(1.08);
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-btn {
    background: #25D366;
}


.whatsapp-btn:hover {
    background: #1ebe5d;
}


/* =========================================================
   CALL
========================================================= */

.call-btn {
    background: #1769ff;
}


.call-btn:hover {
    background: #0d58df;
}


/* =========================================================
   ENQUIRY
========================================================= */

.enquiry-btn {
    background: #e3a321;
}


.enquiry-btn:hover {
    background: #c88d18;
}


/* =========================================================
   TOOLTIP
========================================================= */

.floating-btn span {
    position: absolute;

    right: 68px;
    top: 50%;

    transform: translateY(-50%);

    padding: 7px 12px;

    border-radius: 5px;

    background: #222222;

    color: #ffffff;

    font-size: 13px;
    font-weight: 500;

    line-height: 1;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}


/* Tooltip arrow */

.floating-btn span::after {
    content: "";

    position: absolute;

    right: -5px;
    top: 50%;

    transform: translateY(-50%);

    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #222222;
}


/* Show tooltip */

.floating-btn:hover span {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .floating-contact-buttons {
        right: 16px;
        bottom: 18px;

        gap: 10px;
    }


    .floating-btn {
        width: 50px;
        height: 50px;
    }


    .floating-btn i {
        font-size: 21px;
    }


    .floating-btn span {
        right: 61px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .floating-contact-buttons {
        right: 12px;
        bottom: 14px;

        gap: 8px;
    }


    .floating-btn {
        width: 46px;
        height: 46px;
    }


    .floating-btn i {
        font-size: 19px;
    }


    /* Hide tooltip on mobile */

    .floating-btn span {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .floating-contact-buttons {
        right: 9px;
        bottom: 10px;

        gap: 7px;
    }


    .floating-btn {
        width: 43px;
        height: 43px;
    }


    .floating-btn i {
        font-size: 18px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.floating-btn:focus-visible {
    outline: 3px solid rgba(227, 163, 33, 0.45);

    outline-offset: 3px;
}






/* =========================================================
   ENQUIRY POPUP
========================================================= */




.enquiry-overlay {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    padding: 15px;

    box-sizing: border-box;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.65);

    z-index: 10000;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* =========================================================
   SHOW POPUP
========================================================= */

.enquiry-overlay.show {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   POPUP BOX
========================================================= */

.enquiry-popup {
    position: relative;

    width: 100%;

    max-width: 460px;

    /* NO SCROLL */
    max-height: 1200px;

    overflow: hidden;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 18px;

    padding: 25px 32px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.30);

    transform:
        translateY(25px)
        scale(0.96);

    transition:
        transform 0.3s ease;
}


/* Popup animation */

.enquiry-overlay.show .enquiry-popup {
    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.enquiry-close {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    padding: 0;

    border: none;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f2f2f2;

    color: #333333;

    font-size: 23px;

    line-height: 1;

    cursor: pointer;

    z-index: 10;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.enquiry-close:hover {
    background: #222222;

    color: #ffffff;

    transform: rotate(90deg);
}


/* =========================================================
   LOGO
========================================================= */

.enquiry-logo {
    width: 100%;

    text-align: center;

    margin-bottom: 5px;
}


.enquiry-logo img {
    display: inline-block;

    width: 125px;

    height: auto;

    max-width: 50%;

    object-fit: contain;
}


/* =========================================================
   HEADER
========================================================= */

.enquiry-header {
    width: 100%;

    text-align: center;

    margin-bottom: 14px;
}


.enquiry-small-title {
    display: block;

    margin-bottom: 3px;

    color: #e3a321;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.8px;

    line-height: 1.2;
}


.enquiry-header h2 {
    margin: 0 0 5px;

    color: #1f1f1f;

    font-size: 24px;

    font-weight: 700;

    line-height: 1.2;
}


.enquiry-header p {
    max-width: 450px;

    margin: 0 auto;

    color: #777777;

    font-size: 12px;

    line-height: 1.4;
}


/* =========================================================
   FORM
========================================================= */

.enquiry-form {
    width: 100%;

    margin: 0;

    padding: 0;
}


/* =========================================================
   EMAIL + MOBILE ROW
========================================================= */

.enquiry-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    width: 100%;
}


/* =========================================================
   FIELD
========================================================= */

.enquiry-field {
    width: 100%;

    margin: 0 0 10px;

    padding: 0;
}


.enquiry-field label {
    display: block;

    margin: 0 0 4px;

    color: #333333;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.2;
}


.enquiry-field label span {
    color: #e3342f;
}


/* =========================================================
   INPUT + TEXTAREA
========================================================= */

.enquiry-field input,
.enquiry-field textarea {
    display: block;

    width: 100%;

    box-sizing: border-box;

    margin: 0;

    border: 1px solid #dddddd;

    border-radius: 7px;

    outline: none;

    background: #ffffff;

    color: #333333;

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Input */

.enquiry-field input {
    height: 40px;

    padding: 0 11px;
}


/* Textarea */

.enquiry-field textarea {
    height: 68px;

    min-height: 68px;

    max-height: 68px;

    padding: 9px 11px;

    resize: none;

    line-height: 1.4;
}


/* Placeholder */

.enquiry-field input::placeholder,
.enquiry-field textarea::placeholder {
    color: #aaaaaa;

    opacity: 1;
}


/* Focus */

.enquiry-field input:focus,
.enquiry-field textarea:focus {
    border-color: #e3a321;

    box-shadow:
        0 0 0 2px rgba(227, 163, 33, 0.12);
}


/* =========================================================
   MOBILE NUMBER
========================================================= */

#popup-mobile {
    letter-spacing: 0.2px;
}


/* =========================================================
   CAPTCHA
========================================================= */

.enquiry-captcha {
    margin-top: 2px;
    overflow: hidden;
}

.enquiry-captcha .g-recaptcha {
    transform-origin: left top;
}

@media (max-width: 380px) {
    .enquiry-captcha .g-recaptcha {
        transform: scale(0.85);
    }
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.enquiry-submit {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    height: 43px;

    margin: 2px 0 0;

    padding: 0 15px;

    border: none;

    border-radius: 7px;

    background: #e3a321;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    line-height: 1;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}


.enquiry-submit:hover {
    background: #c88d18;

    transform: translateY(-1px);

    box-shadow:
        0 5px 14px rgba(200, 141, 24, 0.25);
}


.enquiry-submit:active {
    transform: translateY(0);
}


.enquiry-submit i {
    font-size: 15px;

    transition:
        transform 0.2s ease;
}


.enquiry-submit:hover i {
    transform: translateX(3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .enquiry-overlay {
        padding: 12px;
    }


    .enquiry-popup {
        max-width: 520px;

        padding: 22px 25px;
    }


    .enquiry-logo img {
        width: 115px;
    }


    .enquiry-header {
        margin-bottom: 12px;
    }


    .enquiry-header h2 {
        font-size: 22px;
    }


    .enquiry-header p {
        font-size: 11px;
    }


    .enquiry-field {
        margin-bottom: 9px;
    }


    .enquiry-field input {
        height: 38px;
    }


    .enquiry-field textarea {
        height: 62px;

        min-height: 62px;

        max-height: 62px;
    }


    .enquiry-submit {
        height: 42px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .enquiry-overlay {
        padding: 8px;
    }


    .enquiry-popup {
        width: 100%;

        max-width: 100%;

        /* IMPORTANT - NO SCROLL */

        max-height: none;

        overflow: hidden;

        padding: 20px 16px;

        border-radius: 14px;
    }


    /* Close */

    .enquiry-close {
        top: 9px;

        right: 9px;

        width: 31px;

        height: 31px;

        font-size: 20px;
    }


    /* Logo */

    .enquiry-logo {
        margin-bottom: 4px;
    }


    .enquiry-logo img {
        width: 105px;

        max-width: 45%;
    }


    /* Header */

    .enquiry-header {
        margin-bottom: 12px;

        padding: 0 8px;
    }


    .enquiry-small-title {
        font-size: 9px;

        letter-spacing: 1.4px;

        margin-bottom: 2px;
    }


    .enquiry-header h2 {
        font-size: 20px;

        margin-bottom: 4px;
    }


    .enquiry-header p {
        font-size: 11px;

        line-height: 1.35;
    }


    /* Keep email + mobile side by side */

    .enquiry-row {
        grid-template-columns: 1fr 1fr;

        gap: 9px;
    }


    /* Fields */

    .enquiry-field {
        margin-bottom: 8px;
    }


    .enquiry-field label {
        font-size: 11px;

        margin-bottom: 3px;
    }


    .enquiry-field input {
        height: 37px;

        padding: 0 9px;

        font-size: 12px;
    }


    .enquiry-field textarea {
        height: 58px;

        min-height: 58px;

        max-height: 58px;

        padding: 8px 9px;

        font-size: 12px;
    }


    /* Submit */

    .enquiry-submit {
        height: 41px;

        font-size: 13px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .enquiry-overlay {
        padding: 6px;
    }


    .enquiry-popup {
        padding: 17px 13px;

        border-radius: 12px;
    }


    .enquiry-logo img {
        width: 95px;
    }


    .enquiry-header {
        margin-bottom: 9px;
    }


    .enquiry-header h2 {
        font-size: 18px;
    }


    .enquiry-header p {
        font-size: 10px;

        line-height: 1.3;
    }


    .enquiry-row {
        gap: 7px;
    }


    .enquiry-field {
        margin-bottom: 7px;
    }


    .enquiry-field label {
        font-size: 10px;
    }


    .enquiry-field input {
        height: 35px;

        font-size: 11px;
    }


    .enquiry-field textarea {
        height: 53px;

        min-height: 53px;

        max-height: 53px;

        font-size: 11px;
    }


    .enquiry-submit {
        height: 39px;

        font-size: 12px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.enquiry-close:focus-visible,
.enquiry-submit:focus-visible {
    outline: 2px solid #e3a321;

    outline-offset: 2px;
}