/**
 *   Theme Name:    VisaHub Child Theme
 *   Theme URI:     https://visahub.wporganic.com
 *   Author:        wp-organic
 *   Author URI:    https://wporganic.com/
 *   Description:   VisaHub Child Theme
 *   Version:       1.0.0
 *   License:       GNU General Public License v2 or later
 *   License URI:   https://www.gnu.org/licenses/gpl-2.0.html
 *   Tested up to:  5.6
 *   Requires PHP:  8.2
 *   Template:      visahub
 *   Text Domain:   visahub
 *   Tags:          two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
 *   
 *   -------------------------------
 *   Theme customization starts here
 *   -------------------------------
 */

/* Equal-height service cards for the AU/NZ package section on page 332 */
.page-id-332 .elementor-element.elementor-element-16bf67f {
    align-items: stretch;
    gap: 24px;
}

.page-id-332 .elementor-element.elementor-element-16bf67f > .elementor-element {
    display: flex;
    flex: 1 1 0;
}

.page-id-332 .elementor-element.elementor-element-6f746f1,
.page-id-332 .elementor-element.elementor-element-7537ab4 {
    width: 100%;
    min-width: 0;
}

.page-id-332 .elementor-element.elementor-element-6f746f1 > .e-con-inner,
.page-id-332 .elementor-element.elementor-element-7537ab4 > .e-con-inner {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.page-id-332 .elementor-element.elementor-element-e9057dc,
.page-id-332 .elementor-element.elementor-element-5fa1e3c {
    display: flex;
    flex: 1;
}

.page-id-332 .elementor-element.elementor-element-e9057dc > .elementor-widget-container,
.page-id-332 .elementor-element.elementor-element-5fa1e3c > .elementor-widget-container {
    display: flex;
    flex: 1;
}

.page-id-332 .elementor-element.elementor-element-e9057dc .elementor-icon-list-items,
.page-id-332 .elementor-element.elementor-element-5fa1e3c .elementor-icon-list-items {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.page-id-332 .elementor-element.elementor-element-e9057dc .elementor-icon-list-item:last-child,
.page-id-332 .elementor-element.elementor-element-5fa1e3c .elementor-icon-list-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .page-id-332 .elementor-element.elementor-element-16bf67f {
        gap: 16px;
    }
}

@media (min-width: 1025px) {
    #navigation-transparent ul ul {
        top: calc(100% + 2px) !important;
        transform: translateY(4px) !important;
    }

    #navigation-transparent li:hover > ul,
    #navigation-transparent li:focus-within > ul {
        transform: translateY(0) !important;
    }
}

@media (min-width: 1025px) {
    .header-version-one {
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
        position: sticky;
        top: 0;
        z-index: 200;
        backdrop-filter: blur(12px) saturate(160%);
    }

    .header-version-one .row {
        align-items: center;
        min-height: 90px;
    }

    .header-version-one img,
    .header-regular img {
        height: 60px;
        width: auto;
    }

    .header-version-one .col-xl-9,
    .header-regular .col-xl-9 {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    #navigation-transparent {
        position: relative;
        width: 100%;
        z-index: 5;
    }

    #navigation-transparent > ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 26px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #navigation-transparent > ul > li {
        position: relative;
        float: none;
        margin: 0;
    }

    #navigation-transparent > ul > li > a {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 0 0 8px;
        color: #16324b !important;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        letter-spacing: 0.01em;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transition: color 0.18s ease;
    }

    #navigation-transparent > ul > li > a::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: #b51f29;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.18s ease;
    }

    #navigation-transparent > ul > li.menu-item-has-children > a::after {
        content: "";
        width: 7px;
        height: 7px;
        margin-top: -2px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        opacity: 0.7;
    }

    #navigation-transparent > ul > li:hover > a,
    #navigation-transparent > ul > li.current-menu-item > a,
    #navigation-transparent > ul > li.current_page_item > a {
        color: #b51f29 !important;
    }

    #navigation-transparent > ul > li:hover > a::before,
    #navigation-transparent > ul > li.current-menu-item > a::before,
    #navigation-transparent > ul > li.current_page_item > a::before {
        transform: scaleX(1);
    }

    #navigation-transparent ul ul {
        left: -18px !important;
        min-width: 240px;
        margin: 0;
        padding: 8px;
        list-style: none;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(4px) !important;
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    #navigation-transparent li:hover > ul,
    #navigation-transparent li:focus-within > ul {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) !important;
    }

    #navigation-transparent ul ul li {
        height: auto;
        margin: 0;
    }

    #navigation-transparent ul ul li a {
        display: block;
        width: 100%;
        padding: 11px 14px;
        border: 0;
        border-radius: 12px;
        color: #16324b !important;
        background: transparent !important;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
        text-decoration: none;
        transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
    }

    #navigation-transparent ul ul li:hover > a,
    #navigation-transparent ul ul li a:hover {
        background: rgba(181, 31, 41, 0.08) !important;
        color: #b51f29 !important;
        padding-left: 17px;
    }
}

@media (min-width: 1025px) {
    #navigation-transparent > ul > li.menu-item-has-children {
        padding-bottom: 12px;
        margin-bottom: -12px;
    }

    #navigation-transparent > ul > li.menu-item-has-children > ul {
        top: 100% !important;
        left: -14px !important;
        min-width: 248px;
        padding: 8px 8px 10px;
    }

    #navigation-transparent > ul > li.menu-item-has-children > ul::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        right: 0;
        height: 12px;
    }

    #navigation-transparent > ul > li.menu-item-has-children > ul li + li {
        margin-top: 2px;
    }

    #navigation-transparent > ul > li.menu-item-has-children > ul li a {
        padding: 10px 13px;
        border-radius: 10px;
        font-size: 13.5px;
        line-height: 1.3;
    }

    #navigation-transparent > ul > li.menu-item-has-children > ul li:hover > a,
    #navigation-transparent > ul > li.menu-item-has-children > ul li a:hover {
        padding-left: 15px;
    }
}
