
/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 */

/* ===== Brand colour (change here only) ===== */
:root {
    --cf7-bg: #272C3B;
    --cf7-text: #ffffff;
}
.wpcf7 form .wpcf7-response-output {

    border: 2px solid red !important;
}
/* ===== Vertical Sticky Button (global) ===== */
.sticky-cf7-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(180deg);
    z-index: 9999;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    padding: 14px 11px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
}

/* ===== Both buttons: same colour, no border, NO hover effect ===== */
button.sticky-cf7-btn,
button.sticky-cf7-btn:hover,
button.sticky-cf7-btn:focus,
button.sticky-cf7-btn:active,
button.cf7-header-btn,
button.cf7-header-btn:hover,
button.cf7-header-btn:focus,
button.cf7-header-btn:active,
.cf7-open-popup.elementor-button,
.cf7-open-popup.elementor-button:hover,
.cf7-open-popup.elementor-button:focus,
.cf7-open-popup .elementor-button,
.cf7-open-popup .elementor-button:hover,
.cf7-open-popup .elementor-button:focus {
    background-color: var(--cf7-bg) !important;
    color: var(--cf7-text) !important;
  
    border: none !important;
    outline: none;
    filter: none !important;
    transition: none !important;
}
.cf7-header-btn{
   border-radius:8px !important;

}

button.sticky-cf7-btn{
      border-radius:0px 8px 8px 0 !important;
}
/* Sticky button shape + shadow (same on hover) */
/*button.sticky-cf7-btn,*/
/*button.sticky-cf7-btn:hover,*/
/*button.sticky-cf7-btn:focus {*/
/*    border-radius: 10px 0 0 10px !important;*/
/*    box-shadow: -4px 0 14px rgba(0, 0, 0, 0.18) !important;*/
/*    padding: 14px 11px;*/
/*    transform: translateY(-50%) rotate(180deg) !important;*/
/*}*/

/* Header button shape + shadow (same on hover) */
/*button.cf7-header-btn,*/
/*button.cf7-header-btn:hover,*/
/*button.cf7-header-btn:focus,*/
/*.cf7-open-popup.elementor-button,*/
/*.cf7-open-popup.elementor-button:hover,*/
/*.cf7-open-popup .elementor-button,*/
/*.cf7-open-popup .elementor-button:hover {*/
/*    border-radius: 8px;*/
/*    padding: 12px 28px;*/
/*    font-weight: 600;*/
/*    letter-spacing: 0.5px;*/
/*    cursor: pointer;*/
/*    box-shadow: none !important;*/
/*    transform: none !important;*/
/*}*/

/* Keyboard focus ring (keeps the site accessible) */
button.sticky-cf7-btn:focus-visible,
button.cf7-header-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -4px;
}

/* ===== Popup Overlay ===== */
.cf7-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.cf7-popup-overlay.active {
    display: flex;
}

/* ===== Popup Box ===== */
.cf7-popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease;
}

.cf7-popup-box label {
    color: #434E4E !important;
}

.cf7-popup-box .contact-form-wrapper {
    border-radius: 0 !important;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Small Close Button ===== */
.cf7-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px !important;
    height: 26px;
    background: var(--cf7-bg) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 26px !important;
    text-align: center !important;
    cursor: pointer;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 10;
}

/*.cf7-popup-close:hover {*/
/*    background: #000000 !important;*/
/*    transform: scale(1.1);*/
/*}*/

/* ===== CF7 form spacing ===== */
.cf7-popup-content .wpcf7-form p {
    margin-bottom: 15px;
}

/* ===== Menu helpers ===== */
.padding-class-menu ul li a,
.block-menu ul li a {
    padding: 0 !important;
}

.block-menu {
    overflow-y: auto;
    min-height: 250px;
}

/* ========== RESPONSIVE (keep at the end) ========== */

/* Tablet */
@media (max-width: 1024px) {
    button.sticky-cf7-btn,
    button.sticky-cf7-btn:hover {
        padding: 12px 9px;
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    button.sticky-cf7-btn,
    button.sticky-cf7-btn:hover {
        padding: 9px 7px;
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .cf7-popup-overlay {
        padding: 12px;
    }

    .cf7-popup-box {
        max-width: 100%;
        border-radius: 10px;
        max-height: 85vh;
        max-height: 85dvh;
    }

    .cf7-popup-close {
        width: 24px;
        height: 24px;
        font-size: 15px;
        line-height: 24px;
        top: 8px;
        right: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    button.sticky-cf7-btn,
    button.sticky-cf7-btn:hover {
        padding: 10px 10px !important;
        font-size: 12.5px;
    }
}


/* Center mega menu on entire screen */
@media (min-width: 1025px) {

    section.main-class-menu {
        position: fixed !important;
        top: 175px !important;
        left: 50vw !important;
        right: auto !important;

        width: 1400px !important;
        max-width: calc(100vw - 40px) !important;

        transform: translateX(-50%) !important;
        margin: 0 !important;

        background: #ffffff !important;
        box-sizing: border-box !important;
        padding: 25px 30px !important;

        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        z-index: 99999 !important;
    }

    section.main-class-menu > .elementor-container {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        margin: 0 auto !important;
    }

    section.main-class-menu .elementor-column {
        width: 33.333% !important;
        padding: 0 15px !important;
    }

    section.main-class-menu .elementskit-navbar-nav {
        display: block !important;
    }

    section.main-class-menu .elementskit-navbar-nav > li {
        display: block !important;
        width: 100% !important;
    }

    section.main-class-menu .elementskit-navbar-nav > li > a {
        white-space: normal !important;
        line-height: 1.5 !important;
    }
}


.stick-head .htmega-menu-container ul {
  
    align-items: normal !important;
}







