/* =============================================================
   Dynamic Self-Contained Font loading for Tanker & IBM Plex Sans
   ============================================================= */
@font-face {
    font-family: 'Tanker';
    src: url('../fonts/tanker-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/ibm-plex-sans-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/ibm-plex-sans-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.bot-custom-header {
    position: relative;
    width: 100%;
    z-index: 99999;
    /* padding: 14px 0; */
    background: transparent;
    transition: background 0.3s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

/* .admin-bar .bot-custom-header {
    top: 32px;
} */

/* @media screen and (max-width: 782px) {
    .admin-bar .bot-custom-header {
        top: 46px;
    }
} */

/* .bot-custom-header.is-inner-header {
    background: #171919;
} */

.bot-custom-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.bot-custom-header .logoBox {
    display: flex;
    align-items: center;
}

.bot-custom-header .logoBox img {
    height: 48px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Center Capsule Nav Wrapper (No border on the section wrapper) */
.bot-custom-header .header-list-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    background: transparent !important;
}

/* Capsule Nav Bar (Border applied ONLY to the full nav menu list) */
.bot-custom-header ul.header-list,
.bot-custom-header .header-list {
    display: inline-flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    width: auto;
    box-sizing: border-box;
}

.bot-custom-header .header-list li {
    padding: 0;
    margin: 0;
    display: inline-block;
}

.bot-custom-header .header-list li a {
    display: inline-block;
    padding: 10px 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}



/* GET IN TOUCH Capsule Button */
.bot-custom-header .menuBtn {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bot-custom-header .menuBtn .contact-popup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    padding: 15px 26px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

:where(.bot-custom-header .menuBtn .contact-popup) {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
}



/* Mobile Hamburger Toggle */
.bot-custom-header .js-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bot-custom-header .js-nav-toggle:hover {
    border-color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
}

.bot-custom-header .js-nav-toggle span,
.bot-custom-header .js-nav-toggle span::before,
.bot-custom-header .js-nav-toggle span::after {
    content: "";
    display: block;
    width: 16px;
    height: 2px;
    background: #ffffff;
    position: relative;
    transition: transform 0.3s ease, top 0.3s ease;
}

.bot-custom-header .js-nav-toggle span::before {
    top: -5px;
    width: 16px;
}

.bot-custom-header .js-nav-toggle span::after {
    top: 3px;
    width: 16px;
}

/* Slide-Out Drawer Navigation */
.bot-custom-header .nav-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999998 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.bot-custom-header .nav-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.bot-custom-header .nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #171212;
    z-index: 999999 !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.bot-custom-header .nav-drawer.active {
    right: 0;
}

/* Prevent body scrolling when mobile drawer is open */
body.bot-nav-drawer-open {
    overflow: hidden !important;
}

/* Keep Nav Header widget above sibling columns when drawer is open */
body.bot-nav-drawer-open .elementor-widget-botvfx_header_nav,
body.bot-nav-drawer-open .elementor-widget-botvfx_header {
    z-index: 999999 !important;
    position: relative !important;
}

/* Hide separate Header Button widget when mobile drawer is open so it cannot bleed through */
body.bot-nav-drawer-open .elementor-widget-botvfx_header_button,
body.bot-nav-drawer-open .botvfx-header-btn-wrap {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.bot-custom-header .nav-drawer .drawer-close {
    align-self: flex-end;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    transition: background 0.2s ease;
}

nav.mobile-navigation ul li {
    margin: 0px;
}

.bot-custom-header .nav-drawer .drawer-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bot-custom-header .nav-drawer .drawer-close svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.bot-custom-header .nav-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    /* gap: 25px; */
}

.bot-custom-header .nav-drawer ul li a {
    color: #ffffff;
    transition: color 0.3s ease;
    display: block;
}

:where(.bot-custom-header .nav-drawer ul li a) {
    font-family: 'Tanker', sans-serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
}

.bot-custom-header .nav-drawer ul li a:hover,
.bot-custom-header .nav-drawer ul li a.active-menu {
    color: var(--p-red, #a91e22);
}

/* =============================================================
   CONTACT FORM POPUP MODAL STYLING
   ============================================================= */
.mfp-bg,
.contact-popup-mfp-wrap.mfp-bg {
    z-index: 9999998 !important;
    background: rgba(0, 0, 0, 0.85) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.contact-popup-mfp-wrap.mfp-bg.mfp-ready {
    opacity: 0.85 !important;
}

.contact-popup-mfp-wrap.mfp-bg.mfp-removing {
    opacity: 0 !important;
}

/* Hide header button while popup is open so it cannot bleed through */
body.bot-contact-popup-open .botvfx-header-btn-wrap,
body.bot-contact-popup-open .menuBtn {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.mfp-wrap,
.contact-popup-mfp-wrap.mfp-wrap {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    z-index: 9999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.contact-popup-mfp-wrap.mfp-wrap .mfp-container {
    padding: 5px !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    text-align: right !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
}

.contact-popup-mfp-wrap.mfp-wrap .mfp-container:before {
    display: none !important;
    content: none !important;
}

.contact-popup-mfp-wrap.mfp-wrap .mfp-content {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    max-width: 1073px !important;
    height: 96dvh !important;
    max-height: 96dvh !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    text-align: left !important;
}

#contactPopup.mfp-hide {
    display: none !important;
}

.mfp-wrap #contactPopup,
.mfp-content #contactPopup {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    justify-content: flex-end !important;
}

.mfp-wrap .mfp-close,
.contact-container .mfp-close,
.contact-popup-box .mfp-close {
    display: none !important;
}

.comm-popup-container.contact-container {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    box-sizing: border-box !important;
}

.contact-popup-box {
    max-width: 1093px !important;
    width: 100% !important;
    height: 98dvh !important;
    max-height: 98dvh !important;
    background: #a22727 !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 0px !important;
    margin: 0 !important;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.7) !important;
    transform: translateX(110%) !important;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Active state slides in smoothly from the right */
.contact-container.active .contact-popup-box,
.mfp-ready .contact-container.active .contact-popup-box {
    transform: translateX(0%) !important;
}

.contact-popup-box .popup-float-btn-1 {
    background: #a91e22;
    padding: 0 10px 16px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    position: relative;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    border-bottom: none;
}

.contact-popup-box #contactClose,
.contact-popup-box .js-popup-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin: 0;
}

.contact-popup-box #contactClose:hover,
.contact-popup-box .js-popup-close-btn:hover {
    transform: scale(1.08) rotate(90deg);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.contact-popup-box #contactClose svg,
.contact-popup-box .js-popup-close-btn svg {
    width: 14px;
    height: 14px;
    display: block;
}

.contact-popup-box .comm-popup-hdn {
    font-family: 'Tanker', sans-serif;
    font-size: 48px;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.5px;
    text-align: left;
}

.contact-popup-box .contact-cont {
    background: #121313;
    padding: 24px;
    display: flex;
    flex-direction: row;
    gap: 48px;
    flex-wrap: nowrap;
    box-sizing: border-box;
    border-radius: 10px;
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.contact-popup-box .contact-data-wrap {
    max-width: 285px;
    width: 100%;
    flex: 0 0 285px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.contact-popup-box .contact-data {
    margin-bottom: 24px;
}

.contact-popup-box .contact-data-wrap .contact-data1 {
    margin-top: 100px;
}

.contact-popup-box .comm-card-hdn {
    font-family: 'Tanker', sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
}

.contact-popup-box .contact-data a {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    color: #bbbbbb;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.contact-popup-box .contact-data a:hover {
    color: #ffffff;
}

.contact-popup-box .wpcf7,
.contact-popup-box .contact-form-wrap {
    flex-grow: 1;
    width: 100%;
}

.contact-popup-box .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.contact-popup-box .form-row-full,
.contact-popup-box .wpcf7-form p,
.contact-popup-box .wpcf7-form .w100 {
    width: 100%;
    margin: 0;
}

.contact-popup-box .form-row-2col {
    display: flex;
    gap: 16px;
    width: 100%;
}

.contact-popup-box .form-row-2col .col-half,
.contact-popup-box .form-row-2col .w50 {
    flex: 1;
    width: 50%;
}

.contact-popup-box .wpcf7-form-control.wpcf7-text,
.contact-popup-box .wpcf7-form input[type="text"],
.contact-popup-box .wpcf7-form input[type="email"],
.contact-popup-box .wpcf7-form input[type="tel"] {
    width: 100%;
    height: 48px;
    background: rgba(116, 117, 119, 0.1);
    border: 1px solid rgba(249, 249, 250, 0.15);
    border-radius: 60px;
    padding: 0 22px;
    color: #ffffff;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.contact-popup-box .wpcf7-form-control.wpcf7-textarea,
.contact-popup-box .wpcf7-form textarea {
    width: 100%;
    background: rgba(116, 117, 119, 0.1);
    border: 1px solid rgba(249, 249, 250, 0.15);
    border-radius: 20px;
    height: 120px;
    padding: 14px 22px;
    color: #ffffff;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    resize: vertical;
}

.contact-popup-box .wpcf7-form input::placeholder,
.contact-popup-box .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
    opacity: 1;
}

.contact-popup-box .wpcf7-form-control.wpcf7-text:focus,
.contact-popup-box .wpcf7-form-control.wpcf7-textarea:focus,
.contact-popup-box .wpcf7-form input:focus,
.contact-popup-box .wpcf7-form textarea:focus {
    border-color: #ffffff;
    background: rgba(116, 117, 119, 0.18);
}

.contact-popup-box .wpcf7-form h3,
.contact-popup-box .wpcf7-form h4,
.contact-popup-box .wpcf7-form label.section-heading,
.contact-popup-box .wpcf7-form .project-about-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0px 0 20px 0;
}

.contact-popup-box .contact-radio-wrap,
.contact-popup-box .wpcf7-radio {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 24px !important;
    margin-top: 6px !important;
    margin-bottom: 16px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(116, 117, 119, 0.25) !important;
    width: 100% !important;
}

.contact-popup-box .wpcf7-form p:has(.wpcf7-radio),
.contact-popup-box .wpcf7-form-control-wrap:has(.wpcf7-radio) {
    grid-column: span 2;
}

.contact-popup-box .wpcf7-list-item {
    margin: 0;
    display: inline-block;
}

.contact-popup-box .wpcf7-list-item label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
    color: #bbbbbb;
    margin: 0;
    padding: 5px;
    padding-left: 36px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.contact-popup-box .wpcf7-list-item input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
}

.contact-popup-box .wpcf7-list-item label::before {
    content: "";
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
    position: absolute;
    left: 0;
    top: 2px;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.contact-popup-box .wpcf7-list-item label:has(input:checked)::before {
    border: 7px solid #ffffff;
    border-color: #ffffff;
}

.contact-popup-box .wpcf7-list-item label:has(input:checked) {
    color: #ffffff;
    font-weight: 700;
}

.contact-popup-box .wpcf7-submit,
.contact-popup-box .wpcf7-form input[type="submit"] {
    grid-column: span 2;
    width: fit-content;
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 0 35px;
    height: 40px;
    line-height: 38px;
    border-radius: 40px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-popup-box .wpcf7-submit:hover,
.contact-popup-box .wpcf7-form input[type="submit"]:hover {
    background: #ffffff;
    color: #121313;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.15);
}

.contact-popup-box .wpcf7-spinner {
    margin: 0 0 0 15px;
    background-color: #ffffff;
    display: inline-block;
    vertical-align: middle;
}

.contact-popup-box .wpcf7-response-output {
    grid-column: span 2;
    color: #ffffff;
    border: none;
    background: transparent;
    padding: 10px 0 0 0;
    margin: 0;
    font-size: 14px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.contact-popup-box .wpcf7-mail-sent-ok {
    color: #2ecc71;
}

.contact-popup-box .wpcf7-validation-errors,
.contact-popup-box .wpcf7-mail-sent-ng {
    color: #e74c3c;
}

.contact-popup-box .wpcf7-form-control.wpcf7-not-valid {
    border-color: #e74c3c;
}

.contact-popup-box .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 12px;
    font-family: 'IBM Plex Sans', sans-serif;
    margin-top: 5px;
    margin-left: 10px;
    display: block;
}

@media (max-width: 768px) {
    .contact-popup-box {
        border-radius: 0;
        padding: 0 5px 5px 5px;
    }

    .contact-popup-box .popup-float-btn-1 {
        padding: 15px 20px;
    }

    .contact-popup-box .comm-popup-hdn {
        font-size: 24px;
    }

    .contact-popup-box .contact-cont {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
        max-height: calc(100vh - 65px);
    }

    .contact-popup-box .contact-data-wrap {
        max-width: 100%;
        padding: 20px;
    }

    .contact-popup-box .form-row-2col {
        flex-direction: column;
        gap: 14px;
    }

    .contact-popup-box .form-row-2col .col-half,
    .contact-popup-box .form-row-2col .w50 {
        width: 100%;
    }

    .contact-popup-box .wpcf7-form {
        gap: 14px;
    }

    .contact-popup-box .contact-radio-wrap,
    .contact-popup-box .wpcf7-radio {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .contact-popup-box .wpcf7-submit,
    .contact-popup-box .wpcf7-form input[type="submit"] {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .bot-custom-header .header-list-wrap {
        display: none;
    }

    .bot-custom-header .js-nav-toggle {
        display: flex;
    }

    .bot-custom-header {
        padding: 15px 0;
    }
}