/* [ -- Master Stylesheet -- ] */
/* ----------------------------------------------------------
:: Template Name: ClassyNav - Executive Federation Premium Edition
:: Inspired By Layout Mechanics of: iamovers.org
:: Architecture: Dropdown Overlay System + Modernized High-Contrast Mobile UX
:: Brand Tones: Indigo Blue (#2b3990) | Saffron Orange (#f58220) | MFI Grey (#58595b)
---------------------------------------------------------- */

/* --- Base Structural Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul, ol {
    margin: 0;
    padding: 0;
}
ul li, ol li {
    list-style: none;
}
img {
    height: auto;
    max-width: 100%;
}
.bg-transparent {
    background-color: transparent !important;
}

.classy-nav-container {
    z-index: 1111;
    width: 100%;
    background-color: #ffffff;
}
.classy-nav-container a {
    text-decoration: none !important;
    outline: none;
    color: #58595b;
    display: inline-block;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Fixed Scroll Sticky Configuration --- */
.classy-nav-container.classy-sticky {
    position: fixed;
    z-index: 1050;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    box-shadow: 0 4px 20px rgba(43, 57, 144, 0.08);
}

/* --- Clean Modern Navbar Framework --- */
.classy-navbar {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 0 15px;
    position: relative;
}

/* --- 50% Upscaled Logo Engine Area --- */
.classy-navbar .nav-brand {
    max-width: 165px !important; 
    height: auto;
    display: flex;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}
.classy-navbar .nav-brand img {
    max-height: 70px;
    object-fit: contain;
}

/* --- Desktop Layout Engine --- */
.classynav ul {
    display: flex;
    align-items: center;
}
.classynav ul li {
    position: relative;
    display: inline-block;
}
.classynav ul li a {
    color: #58595b;
    padding: 0 16px;
    display: block;
    height: 90px;
    line-height: 90px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: capitalize;
}
.classynav ul li a:hover,
.classynav ul li a.active {
    color: #2b3990;
}

/* Premium Desktop Hover Slide Underline Track */
.breakpoint-off .classynav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 16px;
    width: 0;
    height: 3px;
    background-color: #f58220;
    transition: width 250ms ease;
}
.breakpoint-off .classynav > ul > li > a:hover::after,
.breakpoint-off .classynav > ul > li > a.active::after {
    width: calc(100% - 32px);
}

/* Desktop Dropdown Framework */
.breakpoint-off .classynav ul li .dropdown {
    width: 250px;
    position: absolute;
    background-color: #2b3990;
    border-top: 4px solid #f58220;
    top: 115%;
    left: 0;
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.breakpoint-off .classynav ul li .dropdown li {
    display: block;
    width: 100%;
}
.breakpoint-off .classynav ul li .dropdown li a {
    color: rgba(255, 255, 255, 0.95) !important;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 500;
    height: 44px;
    line-height: 44px;
    width: 100%;
}
.breakpoint-off .classynav ul li .dropdown li a:hover {
	background-color: rgba(255,255,255,0.07);
    color: #f58220 !important;
    padding-left: 28px;
}
.breakpoint-off .classynav ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

/* Desktop Font Indicator Arrows */
.classynav ul li.has-down > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", 'FontAwesome', sans-serif;
    font-weight: 900;
    font-size: 13px;
    color: #58595b;
    padding-left: 6px;
    transition: transform 250ms ease;
}
.classynav ul li.has-down:hover > a::after {
    color: #2b3990;
}

/* Premium "Join Now" Action Button Profile */
.classy-btn {
    min-width: 130px;
    padding: 0 24px;
    line-height: 44px;
    height: 44px;
    background: #2b3990;
    border-radius: 4px;
    color: #ffffff !important;
    margin-left: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(43, 57, 144, 0.2);
}
.classy-btn:hover, .classy-btn:focus {
    background: #f58220;
    box-shadow: 0 6px 15px rgba(245, 130, 32, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* --- Toggler & Canvas Base Properties --- */
.classycloseIcon {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2500;
    display: none;
}
.classycloseIcon .cross-wrap {
    width: 26px;
    height: 26px;
    cursor: pointer;
    position: relative;
}
.classycloseIcon .cross-wrap span {
    position: absolute;
    display: block;
    width: 100%;
    height: 2.5px;
    background: #2b3990;
    border-radius: 4px;
}
.classycloseIcon .cross-wrap span.top {
    top: 12px;
    transform: rotate(45deg);
}
.classycloseIcon .cross-wrap span.bottom {
    bottom: 11.5px;
    transform: rotate(-45deg);
}

.classy-navbar-toggler {
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: none;
    height: 30px;
    width: 32px;
}
.classy-navbar-toggler .navbarToggler span {
    background-color: #2b3990;
    border-radius: 3px;
    display: block;
    height: 3px;
    margin-top: 5px;
    width: 28px;
    transition: all 300ms ease;
}

/* ==========================================================
   IAMOVERS.ORG LUXURY RESPONSIVE INTERFACE (Max-Width: 1000px)
   ========================================================== */
@media screen and (max-width: 1000px) {
    .classy-navbar {
        height: 75px;
        padding: 0 20px;
    }
    
    /* Perfect Mobile Scaling For Logo Block (+50% Target) */
    .classy-navbar .nav-brand {
        max-width: 130px !important;
        margin-right: 0;
    }
    
    .classy-navbar-toggler {
        display: block;
    }
    .breakpoint-on .classycloseIcon {
        display: block;
    }
    
    /* IAMOVERS Style Menu Sheet - Drop-Down Canvas Engine.
       Instead of hiding off-screen horizontally, it deploys vertically from the header,
       featuring a corporate clean surface.
    */
    .breakpoint-on .classy-navbar .classy-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 2100 !important;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        transform: translateY(-20px);
        transition: opacity 400ms ease, transform 400ms cubic-bezier(0.16, 1, 0.3, 1), visibility 400ms;
    }
    
    /* Active expansion transition */
    .breakpoint-on .classy-navbar .classy-menu.menu-on {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Layout Inner Space Wrapper */
    .breakpoint-on .classynav {
        padding: 85px 30px 40px 30px;
    }
    .breakpoint-on .classynav ul {
        display: block;
        width: 100%;
    }
    .breakpoint-on .classynav ul li {
        display: block;
        width: 100%;
        position: relative;
        border-bottom: 1px solid #f1f3f7;
    }
    
    /* Menu Items Links Styling */
    .breakpoint-on .classynav ul li a {
        color: #1a1a1a;
        padding: 0 5px;
        font-size: 16px;
        font-weight: 600;
        height: 58px;
        line-height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: 'Poppins', sans-serif;
        border-bottom: none;
        width: 100%;
    }
    
    /* Dynamic active highlights */
    .breakpoint-on .classynav ul li a:hover,
    .breakpoint-on .classynav ul li.active > a {
        color: #2b3990 !important;
    }

    /* CRITICAL DROPDOWN EXPANSION REPAIR:
       The `.dd-trigger` covers the link layer on mobile touch devices.
       We update the layout to make it perfectly actionable.
    */
    .breakpoint-on .dd-trigger {
        display: block !important;
        position: absolute;
        width: 100%;
        height: 58px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100 !important; /* Higher depth index guarantees touch intercept */
        background-color: transparent;
        cursor: pointer;
    }
    
    /* High-Contrast Navigation Arrows */
    .breakpoint-on .classynav ul li.has-down > a::after {
        content: "\f107" !important;
        font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", 'FontAwesome', sans-serif !important;
        font-weight: 900 !important;
        font-size: 18px;
        color: #2b3990;
        position: relative;
        padding-left: 0;
        transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10;
    }
    
    /* 180-Degree Rotation animation when tracking trigger opens item */
    .breakpoint-on .classynav ul li.has-down.active > a::after {
        transform: rotate(180deg);
        color: #f58220;
    }
    
    /* Polished Nested Dropdown lists 
       Uses an elegant background block indent to structure columns clearly.
    */
    .breakpoint-on .classynav ul li .dropdown {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        background-color: #f8f9fc; 
        display: none; /* Controlled dynamically via JS dropdown click handler */
        padding: 8px 0;
        border-top: none !important;
    }
    
    .breakpoint-on .classynav ul li .dropdown li {
        border-bottom: none;
    }
    .breakpoint-on .classynav ul li .dropdown li a {
        color: #58595b !important;
        padding-left: 25px !important;
        font-size: 14.5px;
        font-weight: 500;
        height: 44px;
        line-height: 44px;
    }
    .breakpoint-on .classynav ul li .dropdown li a:hover {
        color: #f58220 !important;
        background: transparent !important;
    }
    
    /* CTA "Join Now" Full-Width Executive Mobile Button placement */
    .breakpoint-on .classy-btn {
        width: 100%;
        margin: 25px 0 0 0;
        height: 48px;
        line-height: 48px;
        border-radius: 4px;
        font-size: 14px;
        box-shadow: 0 4px 12px rgba(43, 57, 144, 0.15);
    }
}