/*
Theme Name: Hello Elementor Custom Child
Theme URI: https://wordpress.org/themes/hello-elementor/
Description: Hello Elementor child theme with editable custom header and footer templates.
Author: Custom Child Theme
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-custom-child
*/

/* Add your custom CSS below. Header and footer styles are in this file too. */

/*
Theme Name: Hello Elementor Jainex Child
Template: hello-elementor
Version: 1.0
*/

/* GLOBAL */
* {
    box-sizing: border-box;
}

:root {
    --jx-navy: #001326;
    --jx-footer: #171b2d;
    --jx-red: #ed1c2e;
    --jx-white: #ffffff;
}

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

.jx-header {
    width: 100%;
    background: var(--jx-navy);
    position: relative;
    z-index: 99999;
}

.jx-header-inner {
    max-width: 1200px;
    min-height: 66px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.jx-logo {
    flex-shrink: 0;
}

.jx-logo img {
    width: auto;
    max-width: 200px;
    max-height: 43px;
    display: block;
}

.jx-logo a {
    color: #fff;
    text-decoration: none;
}

/* NAVIGATION */

.jx-navigation {
    margin-left: auto;
}

.jx-main-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jx-main-menu li {
    position: relative;
    list-style: none;
    margin: 0;
}

.jx-main-menu > li > a {
    color: #f5f5f5;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 24px 0;
    display: block;
    transition: .3s;
}

.jx-main-menu > li > a:hover,
.jx-main-menu .current-menu-item > a {
    color: var(--jx-red);
}

/* DESKTOP SUBMENU */

.jx-main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    padding: 8px 0;
    margin: 0;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    z-index: 9999;
}

.jx-main-menu li:hover > .sub-menu {
    display: block;
}

.jx-main-menu .sub-menu a {
    display: block;
    color: #111;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.jx-main-menu .sub-menu a:hover {
    color: var(--jx-red);
    background: #f5f5f5;
}

/* CONTACT BUTTON */

.jx-contact-btn {
    background: var(--jx-red);
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 27px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 0 22px 0 22px;
    white-space: nowrap;
    transition: .3s;
}

.jx-contact-btn:hover {
    background: #c91425;
    color: #fff !important;
}

.jx-contact-btn span {
    font-size: 21px;
    margin-left: 5px;
    line-height: 0;
}

/* MOBILE TOGGLE */

.jx-menu-toggle {
    display: none;
}

/* =========================
   FOOTER
========================= */

.jx-footer {
    width: 100%;
    background: var(--jx-footer);
    color: #fff;
    padding: 55px 20px 20px;
    font-family: Arial, sans-serif;
}

.jx-footer-container {
    max-width: 1125px;
    margin: auto;
}

.jx-footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr 1.15fr 1.35fr;
}

/* FOOTER LOGO */

.jx-footer-brand img {
    width: 100%;
 

}

.jx-footer-brand p {
    color: #e0e1e7;
    font-size: 11px;
    line-height: 1.5;
    margin: 8px 0;
}

.jx-since {
    font-size: 32px;
    color: #fff;
    font-weight: 400;
    white-space: nowrap;
}

.jx-since span {
    color: var(--jx-red);
    font-weight: 500;
}

.jx-since .jx-gear {
    color: #fff;
    font-size: 27px;
}

/* FOOTER COLUMNS */

.jx-footer-column h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;

}

.jx-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jx-footer-menu li {
    list-style: none;
    padding: 0;
    margin: 0 0 3px;
}

.jx-footer-menu a,
.jx-contact-info a {
    color: #f0f0f3;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.65;
    transition: .3s;
}

.jx-footer-menu a:hover,
.jx-contact-info a:hover {
    color: var(--jx-red);
}

.jx-contact-info p {
    color: #f0f0f3;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 5px;
}

/* BOTTOM FOOTER */

.jx-footer-bottom {
    border-top: 1px solid #777b88;
    padding: 18px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.jx-copyright,
.jx-legal-links a {
    font-size: 12px;
    color: #d3d4da;
}

.jx-legal-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.jx-legal-links a {
    text-decoration: none;
}

.jx-legal-links a:hover {
    color: var(--jx-red);
}

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

@media(max-width: 900px) {

    .jx-header-inner {
        min-height: 55px;
        padding: 0 12px;
        gap: 10px;
    }

    .jx-logo img {
        max-width: 155px;
        max-height: 43px;
    }

    .jx-menu-toggle {

        display: flex;
        margin-left: auto;
        background: transparent;
        border: 0;
        font-size: 30px;
        cursor: pointer;
        padding: 0 5px;
    }

    .jx-close-icon {
        display: none;
    }

    .jx-menu-toggle.active .jx-open-icon {
 
        display: none;
    }

    .jx-menu-toggle.active .jx-close-icon {
        display: block;

    }

    .jx-contact-btn {
        display: none;
    }

    .jx-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 55px);
        overflow-y: auto;
        background: #fff;
        border: 5px solid var(--jx-navy);
        border-top: 0;
        margin: 0;
    }

    .jx-navigation.active {
background-color:#fff !important;
color:black !important;
        display: block;
    }

    .jx-main-menu {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .jx-main-menu li {
        display: block;
        border-bottom: 1px solid #c9c9c9;
    }

    .jx-main-menu > li > a {
        color: #080808;
        font-size: 16px;
        font-weight: 500;
        padding: 13px 15px;
        display: block;
    }

    .jx-main-menu > li > a:hover,
    .jx-main-menu .current-menu-item > a {
        color: var(--jx-red);
    }

    /* MOBILE SUBMENU */

    .jx-main-menu li.menu-item-has-children > a {
        padding-right: 45px;
        position: relative;
    }

    .jx-main-menu li.menu-item-has-children > a:after {
        content: "⌄";
        position: absolute;
        right: 18px;
        font-size: 20px;
    }

    .jx-main-menu li.menu-item-has-children.submenu-open > a:after {
        content: "⌃";
    }

    .jx-main-menu .sub-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 100%;
        padding: 0 0 0 20px;
        background: #fff;
        box-shadow: none;
    }

    .jx-main-menu li.submenu-open > .sub-menu {
        display: block;
    }

    .jx-main-menu .sub-menu li {
        border-bottom: 1px solid #ccc;
    }

    .jx-main-menu .sub-menu a {
        color: #111;
        font-size: 15px;
        padding: 13px 15px;
    }

    /* MOBILE FOOTER */

    .jx-footer {
        padding: 40px 20px 18px;
    }

    .jx-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 0 0 25px;
    }

    .jx-footer-bottom {
        padding: 18px 0 0;
    }
}

@media(max-width: 560px) {

    .jx-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .jx-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .jx-legal-links {
        gap: 12px;
    }

}
/* DESKTOP MENU */
.jx-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jx-navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.jx-navigation a {
    text-decoration: none;
    white-space: nowrap;
}

/* MOBILE MENU */
@media (max-width: 768px) {

    .jx-navigation {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .jx-navigation.active {
        display: flex;
    }

    .jx-menu-toggle {
        display: block;
    }

    .jx-header-inner {
        flex-wrap: wrap;
    }

    .jx-navigation a {
padding: 5px;
color: black !important;
        display: block;
        width: 100%;
    }
}

