/**
 * IOX Mega Menu Styles
 * Matches Music Academy of the West production site exactly
 */

:root {
    --maw-primary: #033849;
    --maw-teal: #00a39e;
    --maw-dark: #1c6177;
    --maw-text: #555555;
    --maw-light: #ffffff;
    --maw-black: #000000;
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.iox-site-header {
    position: relative;
    width: 100%;
    z-index: 9999;
    background-color: var(--maw-light);
}

.iox-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.iox-header-sticky:not(.is-sticky) {
    position: absolute;
}

.iox-header-sticky.is-sticky {
    animation: ioxSlideDown 0.3s ease-out;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

@keyframes ioxSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

body.has-iox-header.has-iox-sticky-header {
    padding-top: var(--iox-header-height, 0);
}

/* ==========================================================================
   WordPress Admin Bar Support
   ========================================================================== */
body.admin-bar .iox-site-header.iox-header-sticky {
    top: 32px;
}

body.admin-bar .iox-mega-panel-full {
    top: calc(var(--iox-header-height, 120px) + 32px);
}

body.admin-bar .iox-mobile-menu-panel {
    top: 32px;
    height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .iox-site-header.iox-header-sticky {
        top: 46px;
    }

    body.admin-bar .iox-mega-panel-full {
        top: calc(var(--iox-header-height, 120px) + 46px);
    }

    body.admin-bar .iox-mobile-menu-panel {
        top: 46px;
        height: calc(100dvh - 46px);
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar .iox-site-header.iox-header-sticky {
        top: 0;
    }

    body.admin-bar .iox-mobile-menu-panel {
        top: 0;
        height: 100dvh;
    }
}

/* ==========================================================================
   Header Container - Matches Production
   ========================================================================== */
.iox-header-wrapper {
    padding: 30px 60px;
    position: relative;
    display: block;
    background-color: var(--maw-light);
}

.iox-header-container {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
}

.iox-header-row {
    display: flex;
    width: 100%;
    align-items: center;
}

/* Logo Column - 16.666% */
.iox-header-logo-col {
    display: flex;
    min-width: 100px;
    min-height: 1px;
    width: 16.666%;
}

.iox-header-logo-col > div {
    align-content: center;
    align-items: center;
    flex-grow: 1;
    flex-wrap: wrap;
    display: flex;
    width: 100%;
}

.iox-header-logo {
    display: inline-block;
}

.iox-header-logo-img {
    cursor: pointer;
    object-fit: cover;
    vertical-align: middle;
    display: inline-block;
    height: 86px;
    width: auto;
    max-width: 120px;
}

/* Navigation Column - 66.666% */
.iox-header-nav-col {
    display: flex;
    min-height: 1px;
    width: 66.666%;
}

.iox-header-nav-col > div {
    align-content: center;
    align-items: center;
    flex-grow: 1;
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
    width: 100%;
}

/* CTA Column */
.iox-header-cta-col {
    display: flex;
    min-height: 1px;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

/* Icons Column */
.iox-header-icons-col {
    display: flex;
    min-height: 1px;
    align-items: center;
    justify-content: flex-end;
    padding-left: 15px;
}

.iox-header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.iox-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--maw-black);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
}

.iox-header-icon:hover {
    color: var(--maw-teal);
    background: rgba(0, 163, 158, 0.1);
}

.iox-header-icon svg {
    width: 22px;
    height: 22px;
}

/* Icon separator line */
.iox-header-icon-separator {
    width: 1px;
    height: 20px;
    background-color: #ccc;
    margin: 0 4px;
}

/* Cart widget in header */
.iox-header-cart-widget {
    display: flex;
    align-items: center;
}

.iox-header-cart-widget #iox-cart {
    position: relative;
}

.iox-header-cart-widget .iox-cart-carticon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--maw-black);
    transition: color 0.2s ease;
}

.iox-header-cart-widget .iox-cart-carticon:hover {
    color: var(--maw-teal);
}

.iox-header-cart-widget .iox-cart-carticon i {
    font-size: 22px;
}

.iox-header-cart-widget .iox-cart-number {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--maw-teal);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iox-header-cart-widget .iox-cart-closeicon {
    display: none;
}

/* Search widget in header */
.iox-header-search-widget {
    display: flex;
    align-items: center;
}

.iox-header-search-widget .iox-typesense-search-trigger {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    color: var(--maw-black);
    transition: color 0.2s ease;
}

.iox-header-search-widget .iox-typesense-search-trigger:hover {
    color: var(--maw-teal);
    background: transparent !important;
}

.iox-header-search-widget .iox-typesense-search-icon {
    font-size: 20px;
}

/* ==========================================================================
   Navigation Menu - Matches Production
   ========================================================================== */
.iox-mega-menu-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 15px;
}

.iox-mega-menu-nav {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.iox-mega-menu-desktop {
    display: inline-flex;
    height: auto;
    overflow: visible;
}

/* Menu Items */
.iox-mega-menu-item {
    flex-direction: column;
    display: flex;
    width: auto;
    position: relative;
}

.iox-mega-menu-item > a,
.iox-mega-menu-item > span {
    align-items: center;
    flex-grow: 1;
    padding: 15px 18px;
    display: flex;
    color: var(--maw-teal);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.iox-mega-menu-item > a:hover,
.iox-mega-menu-item > span:hover,
.iox-mega-menu-item.active > a,
.iox-mega-menu-item.active > span {
    color: var(--maw-dark);
}

.iox-menu-indicator {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.iox-mega-menu-item.active .iox-menu-indicator,
.iox-mega-menu-item:hover .iox-menu-indicator {
    transform: rotate(180deg);
}

/* ==========================================================================
   CTA Buttons - Matches Production
   ========================================================================== */
.iox-header-cta {
    background-color: var(--maw-teal);
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    display: inline-flex;
    width: auto;
    border-radius: 50px;
    overflow: hidden;
    color: var(--maw-light);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.iox-header-cta:hover {
    background-color: var(--maw-dark);
    color: var(--maw-light);
}

.iox-header-cta.iox-cta-secondary {
    background-color: transparent;
    color: var(--maw-teal);
    border: 2px solid var(--maw-teal);
}

.iox-header-cta.iox-cta-secondary:hover {
    background-color: var(--maw-teal);
    color: var(--maw-light);
}

/* ==========================================================================
   Mega Menu Dropdown Panel
   ========================================================================== */
.iox-mega-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--maw-primary);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 99999;
    min-width: 600px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.iox-mega-menu-item:hover > .iox-mega-panel,
.iox-mega-menu-item.active > .iox-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Full width mega panel - use fixed positioning anchored to viewport */
.iox-mega-panel-full {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    transform: translateX(0) translateY(10px) !important;
    top: var(--iox-header-height, 120px);
    margin: 0 !important;
}

.iox-mega-menu-item:hover > .iox-mega-panel-full,
.iox-mega-menu-item.active > .iox-mega-panel-full {
    transform: translateX(0) translateY(0) !important;
}

/* Ensure header container allows overflow for mega panels */
.iox-header-wrapper {
    overflow: visible !important;
}

.iox-header-container {
    overflow: visible !important;
}

.iox-header-row {
    overflow: visible !important;
}

.iox-header-nav-col {
    overflow: visible !important;
}

.iox-mega-menu-wrapper {
    overflow: visible !important;
}

.iox-mega-menu-nav {
    overflow: visible !important;
}

.iox-mega-menu-item {
    overflow: visible !important;
}

.iox-mega-panel-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* When mega panel has Elementor content with gradient, don't show dark bg */
.iox-mega-panel:has(.elementor-section) {
    background: transparent;
}

/* Mega Panel Typography */
.iox-mega-panel,
.iox-mega-panel * {
    color: var(--maw-light);
}

.iox-mega-panel .elementor-widget-heading .elementor-heading-title {
    color: var(--maw-light) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--maw-teal);
}

/* Menu Links in Mega Panel */
.iox-mega-panel .iox-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.iox-mega-panel .iox-menu-links li {
    margin-bottom: 10px;
}

.iox-mega-panel .iox-menu-links a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.iox-mega-panel .iox-menu-links a:hover {
    color: var(--maw-teal) !important;
}

/* Program Meta */
.iox-mega-panel .iox-program-meta {
    color: var(--maw-teal) !important;
    font-size: 14px;
    margin-bottom: 15px;
}

.iox-mega-panel .iox-program-instruments {
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 15px;
}

/* Contact Info */
.iox-mega-panel .iox-contact-info {
    color: var(--maw-light) !important;
    font-size: 14px;
    line-height: 1.8;
}

.iox-mega-panel .iox-contact-info a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
}

.iox-mega-panel .iox-contact-info a:hover {
    color: var(--maw-teal) !important;
}

/* Promo Boxes */
.iox-mega-panel .iox-promo-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.iox-mega-panel .iox-promo-box h4 {
    color: var(--maw-teal) !important;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
}

.iox-mega-panel .iox-promo-box p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.iox-mega-panel .iox-promo-btn {
    display: inline-block;
    padding: 8px 18px;
    background: var(--maw-teal);
    color: var(--maw-light) !important;
    text-decoration: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.iox-mega-panel .iox-promo-btn:hover {
    background: var(--maw-light);
    color: var(--maw-primary) !important;
}

/* ==========================================================================
   New Mega Menu Panel Styles (Matching Production)
   ========================================================================== */

/* Override dark background for gradient panels */
.iox-mega-panel .elementor-section[data-settings*="gradient"] {
    background: transparent !important;
}

/* Section titles in mega menu */
.mega-section-title {
    font-size: 26px;
    color: #000;
    margin-bottom: 1.5em;
    font-weight: 400;
}

/* Links list in mega menu */
.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mega-menu-links li {
    margin-bottom: 18px;
}

.mega-menu-links a {
    color: #333 !important;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-menu-links a:hover {
    color: #000 !important;
    text-decoration: underline;
}

/* Promo overlay for image backgrounds */
.mega-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 64%, rgba(0,0,0,1) 73%);
    opacity: 0.77;
    border-radius: 8px;
    pointer-events: none;
}

.mega-promo-overlay-pink {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(202,24,123,1) 100%);
    opacity: 0.71;
}

/* Promo content positioning */
.mega-promo-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.mega-promo-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 150px;
}

.mega-promo-title {
    font-size: 26px;
    color: #fff;
    margin-bottom: 1.5em;
    text-align: center;
}

.mega-promo-heading {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

/* CTA Buttons in mega menu */
.mega-btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none;
    margin-bottom: 10px;
    transition: opacity 0.2s ease;
}

.mega-btn:hover {
    opacity: 0.9;
}

.mega-btn-teal {
    background-color: #00a39e;
}

.mega-btn-pink {
    background-color: #ca187b;
}

.mega-btn-orange {
    background-color: #f0991b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: 20px;
}

.mega-btn-link {
    color: #f0991b !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
}

.mega-btn-link:hover {
    text-decoration: underline;
}

/* Column with background image needs relative positioning */
.iox-mega-panel .elementor-column[data-settings*="background_image"] {
    position: relative;
}

/* Fallback Content Styles */
.iox-mega-fallback {
    padding: 10px 0;
}

.iox-mega-fallback-columns {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.iox-mega-fallback-col {
    min-width: 180px;
    flex: 1;
}

.iox-mega-fallback-col h4 {
    color: var(--maw-light) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--maw-teal);
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */
.iox-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--maw-black);
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
}

.iox-mobile-toggle:hover {
    color: var(--maw-teal);
}

.iox-toggle-close-icon {
    display: none;
}

.iox-mobile-toggle[aria-expanded="true"] .iox-toggle-open-icon {
    display: none;
}

.iox-mobile-toggle[aria-expanded="true"] .iox-toggle-close-icon {
    display: inline-flex;
}

/* ==========================================================================
   Mobile Menu Panel - Matches Production
   ========================================================================== */
.iox-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.iox-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.iox-mobile-menu-panel {
    background-color: var(--maw-black);
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    width: min(92vw, 420px);
    height: 100dvh;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.iox-mobile-menu-panel.active {
    transform: translateX(0);
}

.iox-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.iox-mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--maw-light);
    font-size: 24px;
}

.iox-mobile-close:hover {
    color: var(--maw-teal);
}

/* Mobile Navigation */
.iox-mega-menu-mobile {
    display: flex;
    flex-direction: column;
    padding: 0;
    flex: 1;
}

.iox-mobile-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.iox-mobile-menu-item > a,
.iox-mobile-submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--maw-light);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.iox-mobile-menu-item > a:hover,
.iox-mobile-submenu-trigger:hover {
    color: var(--maw-teal);
    background: rgba(255, 255, 255, 0.05);
}

.iox-mobile-submenu-trigger .iox-menu-indicator {
    color: var(--maw-light);
    transition: transform 0.2s ease;
}

.iox-mobile-submenu-wrapper.active .iox-menu-indicator {
    transform: rotate(180deg);
}

.iox-mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: max-height 0.3s ease;
}

.iox-mobile-submenu-wrapper.active .iox-mobile-submenu {
    max-height: 2000px;
}

.iox-mobile-mega-content {
    padding: 15px 20px;
}

.iox-mobile-mega-content .iox-menu-links a {
    padding: 8px 0;
    display: block;
}

/* Mobile submenu fallback styles */
.iox-mobile-submenu-section {
    margin-bottom: 20px;
}

.iox-mobile-submenu-title {
    color: var(--maw-teal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.iox-mobile-submenu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.iox-mobile-submenu-links li {
    margin-bottom: 8px;
}

.iox-mobile-submenu-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: block;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.iox-mobile-submenu-links a:hover {
    color: var(--maw-teal);
}

/* Mobile CTA */
.iox-mobile-menu-cta {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.iox-mobile-cta-btn {
    display: block;
    padding: 14px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.iox-mobile-cta-btn.primary {
    background: var(--maw-teal);
    color: var(--maw-light);
}

.iox-mobile-cta-btn.primary:hover {
    background: var(--maw-light);
    color: var(--maw-primary);
}

.iox-mobile-cta-btn.secondary {
    background: transparent;
    color: var(--maw-light);
    border: 2px solid var(--maw-light);
}

.iox-mobile-cta-btn.secondary:hover {
    background: var(--maw-light);
    color: var(--maw-black);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .iox-header-container {
        max-width: 1024px;
    }

    .iox-mega-menu-item > a,
    .iox-mega-menu-item > span {
        padding: 15px 12px;
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .iox-mega-menu-desktop {
        display: none !important;
    }

    .iox-mobile-toggle {
        display: flex !important;
    }

    .iox-header-nav-col {
        display: none !important;
    }

    .iox-header-cta-col {
        display: none !important;
    }

    .iox-header-logo-col {
        flex: 1;
        width: auto;
    }

    .iox-header-icons-col {
        display: flex !important;
        flex-shrink: 0;
    }

    .iox-header-wrapper {
        padding: 10px 20px;
    }

    .iox-header-row {
        justify-content: space-between;
    }

    /* Hide search/user/cart on small mobile, keep hamburger */
    .iox-header-icon.iox-icon-search,
    .iox-header-icon.iox-icon-user,
    .iox-header-icon.iox-icon-cart {
        display: flex;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .iox-header-logo-col {
        width: auto;
    }
}

@media (max-width: 767px) {
    .iox-header-wrapper {
        padding: 10px 20px;
    }

    .iox-header-container {
        max-width: 767px;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.iox-menu-trigger:focus,
.iox-mobile-toggle:focus,
.iox-mobile-close:focus {
    outline: 2px solid var(--maw-teal);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Elementor Editor
   ========================================================================== */
.elementor-editor-active .iox-mega-panel {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 10px;
}

.elementor-editor-active .iox-mega-panel-full {
    position: relative;
    width: 100%;
}

.elementor-editor-active .iox-mobile-menu-panel {
    position: relative;
    transform: none;
    width: 100%;
    height: auto;
}

.elementor-editor-active .iox-mobile-menu-overlay {
    display: none;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #00a39e;
}

.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-links li {
    margin-bottom: 8px;
}

.footer-legal-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #00a39e;
}

@media (max-width: 767px) {
    .footer-links,
    .footer-legal-links {
        text-align: center;
    }

    .footer-links li,
    .footer-legal-links li {
        justify-content: center;
    }
}

/* ==========================================================================
   Elementor Editor Mode - Hide Header/Menu
   ========================================================================== */
body.elementor-editor-active .iox-site-header,
body.elementor-editor-preview .iox-site-header {
    display: none !important;
}

body.elementor-editor-active .iox-mobile-menu-panel,
body.elementor-editor-active .iox-mobile-menu-overlay,
body.elementor-editor-preview .iox-mobile-menu-panel,
body.elementor-editor-preview .iox-mobile-menu-overlay {
    display: none !important;
}

body.elementor-editor-active .iox-mega-panel,
body.elementor-editor-active .iox-mega-panel-full,
body.elementor-editor-preview .iox-mega-panel,
body.elementor-editor-preview .iox-mega-panel-full {
    display: none !important;
}

/* Remove header padding in editor mode */
body.elementor-editor-active.has-iox-header.has-iox-sticky-header,
body.elementor-editor-preview.has-iox-header.has-iox-sticky-header {
    padding-top: 0 !important;
}

/* Also hide in Elementor's iframe preview */
.elementor-editor-active .iox-site-header,
.elementor-editor-preview .iox-site-header {
    display: none !important;
}
