
/* ==============================================
   WEBOXORA — HEADER
   Astra Child Theme
   ============================================== */

.site-header {
    --wx-header-text: #172554;
    --wx-header-primary: #2455FF;
    --wx-header-hover: #163DD1;
    --wx-header-border: #E8EDF5;
    --wx-header-bg: #FFFFFF;

    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 100;
}

/* 1. MAIN HEADER */

.site-header .ast-primary-header-bar {
    background: var(--wx-header-bg);
    border-bottom: 1px solid var(--wx-header-border);
    box-shadow: 0 3px 18px rgba(11, 18, 61, .035);
}

#ast-desktop-header .site-primary-header-wrap {
    min-height: 84px;
}

#ast-desktop-header .ast-builder-grid-row {
    align-items: center;
    column-gap: 25px;
}

/* 2. LOGO */

.site-header .site-logo-img {
    display: flex;
    align-items: center;
}

.site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-header .custom-logo {
    width: 190px;
    max-width: 100%;
    height: auto;
    transition: opacity .2s ease;
}

.site-header .custom-logo-link:hover img {
    opacity: .85;
}

/* 3. DESKTOP NAVIGATION */

#ast-desktop-header .main-header-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    padding: 0 11px;
    color: var(--wx-header-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: color .2s ease;
}

/* Hover */

#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover {
    color: var(--wx-header-primary);
}

/* Active page */

#ast-desktop-header .main-header-menu > .current-menu-item > .menu-link,
#ast-desktop-header .main-header-menu > .current-menu-ancestor > .menu-link {
    color: var(--wx-header-primary);
    font-weight: 600;
}

/* Active underline */

#ast-desktop-header .main-header-menu > .menu-item > .menu-link::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 19px;
    height: 2px;
    border-radius: 4px;
    background: var(--wx-header-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover::after,
#ast-desktop-header .main-header-menu > .current-menu-item > .menu-link::after,
#ast-desktop-header .main-header-menu > .current-menu-ancestor > .menu-link::after {
    transform: scaleX(1);
}

/* 4. CTA BUTTON */

#ast-desktop-header .ast-header-button-1 .ast-custom-button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

#ast-desktop-header .ast-header-button-1 .ast-custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid var(--wx-header-primary);
    border-radius: 10px;
    background: var(--wx-header-primary);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(36, 85, 255, .14);
    transition: background .2s ease,
                box-shadow .2s ease,
                transform .2s ease;
}

#ast-desktop-header .ast-header-button-1 .ast-custom-button-link:hover .ast-custom-button {
    background: var(--wx-header-hover);
    border-color: var(--wx-header-hover);
    box-shadow: 0 8px 20px rgba(36, 85, 255, .22);
    transform: translateY(-2px);
}

/* Hide Astra alternate CTA link on desktop */

#ast-desktop-header .ast-header-button-1 .ast-builder-button-wrap > .menu-link {
    display: none;
}

/* 5. RESPONSIVE DESKTOP */

@media (min-width: 922px) and (max-width: 1200px) {

    .site-header .custom-logo {
        width: 155px;
    }

    #ast-desktop-header .main-header-menu {
        gap: 0;
    }

    #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
        font-size: 12px;
        padding: 0 7px;
    }

    #ast-desktop-header .ast-header-button-1 .ast-custom-button {
        padding: 10px 13px;
        font-size: 12px;
    }

    #ast-desktop-header .ast-builder-grid-row {
        column-gap: 10px;
    }
}

/* 6. MOBILE HEADER */

@media (max-width: 921px) {

    #ast-mobile-header .ast-primary-header-bar {
        background: #FFFFFF;
        min-height: 72px;
    }

    #ast-mobile-header .ast-builder-grid-row {
        min-height: 72px;
        align-items: center;
    }

    #ast-mobile-header .custom-logo {
        width: 165px;
    }

    /* Hamburger */

    #ast-mobile-header .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 1px solid #E8EDF5;
        border-radius: 10px;
        background: #F5F7FC;
        color: var(--wx-header-text);
        transition: background .2s ease;
    }

    #ast-mobile-header .menu-toggle:hover {
        background: #EAF0FF;
        color: var(--wx-header-primary);
    }

    /* Dropdown */

    #ast-mobile-header .ast-mobile-header-content {
        background: #FFFFFF;
        border-top: 1px solid #EEF1F7;
        box-shadow: 0 15px 25px rgba(11,18,61,.08);
    }

    #ast-mobile-header .main-header-menu {
        display: flex;
        flex-direction: column;
        padding: 14px 20px 22px;
        background: #FFFFFF;
    }

    #ast-mobile-header .main-header-menu > .menu-item {
        border: 0;
    }

    #ast-mobile-header .main-header-menu > .menu-item > .menu-link {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 11px 14px;
        margin: 2px 0;
        border-radius: 9px;
        color: var(--wx-header-text);
        font-size: 14px;
        font-weight: 500;
        transition: background .2s ease, color .2s ease;
    }

    #ast-mobile-header .main-header-menu > .menu-item > .menu-link:hover {
        background: #F1F5FF;
        color: var(--wx-header-primary);
    }

    #ast-mobile-header .main-header-menu > .current-menu-item > .menu-link {
        background: #EDF2FF;
        color: var(--wx-header-primary);
        font-weight: 600;
    }
}

/* 7. SMALL MOBILE */

@media (max-width: 544px) {

    #ast-mobile-header .custom-logo {
        width: 145px;
    }

    #ast-mobile-header .ast-builder-grid-row {
        min-height: 66px;
    }

    #ast-mobile-header .main-header-menu {
        padding: 12px 15px 20px;
    }
}

/* 8. ACCESSIBILITY */

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 2px solid var(--wx-header-primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-header *::after {
        transition: none !important;
    }
}



/* ==================================================
   WEBOXORA — FOOTER
   Astra Child Theme
   ================================================== */

.site-footer {
    --wx-footer-bg: #0B123D;
    --wx-footer-text: #CBD5E1;
    --wx-footer-white: #FFFFFF;
    --wx-footer-accent: #50C9FF;
    --wx-footer-border: #34416A;

    background: var(--wx-footer-bg);
    color: var(--wx-footer-text);
    font-family: 'Inter', sans-serif;
}

/* 1. MAIN FOOTER */

.site-footer .site-primary-footer-wrap {
    background: var(--wx-footer-bg);
    border: 0;
    padding: 65px 0 45px;
}

.site-footer .site-primary-footer-inner-wrap {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 55px;
    align-items: start;
}

.site-footer .site-footer-section {
    min-width: 0;
}

.site-footer .widget {
    margin: 0 0 20px;
}

/* 2. LOGO */

.site-footer-primary-section-1 .wp-block-image {
    margin: 0 0 25px;
}

.site-footer-primary-section-1 .wp-block-image img {
    display: block;
    width: 210px !important;
    max-width: 100%;
    height: auto !important;
}

/* 3. BRAND DESCRIPTION */

.site-footer-primary-section-1 .widget_text p {
    color: var(--wx-footer-text);
    font-size: 14px;
    line-height: 1.85;
    max-width: 350px;
    margin: 0;
}

.site-footer-primary-section-1 #block-10 {
    margin-bottom: 8px;
}

.site-footer-primary-section-1 #block-10 p {
    color: var(--wx-footer-white);
    font-weight: 600;
    font-size: 15px;
}

.site-footer-primary-section-1 #block-11 {
    margin-bottom: 25px;
}

/* 4. FOOTER TITLES */

.site-footer .site-primary-footer-wrap .widget-title {
    color: var(--wx-footer-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.2px;
    margin: 0 0 25px;
    padding: 0;
    border: 0;
}

/* 5. NAVIGATION LINKS */

.site-footer .widget_nav_menu ul.menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .widget_nav_menu ul.menu li {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.site-footer .widget_nav_menu ul.menu li a {
    color: var(--wx-footer-text);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer .widget_nav_menu ul.menu li a:hover,
.site-footer .widget_nav_menu ul.menu li a:focus-visible {
    color: var(--wx-footer-accent);
}

.site-footer .widget_nav_menu ul.menu li.current-menu-item > a {
    color: var(--wx-footer-text);
}

.site-footer .widget_nav_menu ul.menu li.current-menu-item > a:hover {
    color: var(--wx-footer-accent);
}

/* 6. SOCIAL NETWORKS */

.site-footer .wp-block-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.site-footer .wp-block-social-links .wp-social-link {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}

.site-footer .wp-block-social-links .wp-social-link:hover {
    background: #2455FF;
    transform: translateY(-3px);
}

.site-footer .wp-block-social-links .wp-block-social-link-anchor {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 9px;
}

.site-footer .wp-block-social-links svg {
    width: 19px;
    height: 19px;
    fill: #FFFFFF;
}

/* 7. BOTTOM FOOTER */

.site-footer .site-below-footer-wrap {
    background: var(--wx-footer-bg);
    border: 0;
    padding: 0;
}

.site-footer .site-below-footer-inner-wrap {
    border-top: 1px solid var(--wx-footer-border);
    padding: 25px 0;
    align-items: center;
}

.site-footer .ast-footer-copyright p {
    color: var(--wx-footer-text);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.site-footer .site-below-footer-inner-wrap a {
    color: var(--wx-footer-text);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s ease;
}

.site-footer .site-below-footer-inner-wrap a:hover {
    color: var(--wx-footer-accent);
}

/* 8. TABLET */

@media (max-width: 921px) {

    .site-footer .site-primary-footer-wrap {
        padding: 30px;
    }

    .site-footer .site-primary-footer-inner-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }

    .site-footer .site-footer-primary-section-1 {
        grid-column: 1 / -1;
    }

    .site-footer-primary-section-1 .widget_text p {
        max-width: 500px;
    }

}

/* 9. MOBILE */

@media (max-width: 544px) {

    .site-footer .site-primary-footer-wrap {
        padding: 30px;
    }

    .site-footer .site-primary-footer-inner-wrap {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .site-footer .site-footer-primary-section-1 {
        grid-column: auto;
    }

    .site-footer-primary-section-1 .wp-block-image img {
        width: 190px !important;
    }

    .site-footer .site-primary-footer-wrap .widget-title {
        margin-bottom: 17px;
    }

    .site-footer .widget_nav_menu ul.menu {
        gap: 10px;
    }

    .site-footer .site-below-footer-inner-wrap {
        padding: 22px 0;
        text-align: center;
    }

    .site-footer .site-below-footer-inner-wrap > * {
        justify-content: center;
    }

    .site-footer .ast-footer-copyright p {
        text-align: center;
    }

}

@media (prefers-reduced-motion: reduce) {
    .site-footer a,
    .site-footer .wp-social-link {
        transition: none;
    }
}
