html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

#main-header {
    display: none !important;
}

#page-container {
    padding-top: 0 !important;
}

.et_builder_inner_content {
    position: relative;
    z-index: 1;
}

.et_pb_section_0_tb_header {
    background-color: transparent !important;
    left: 0;
    padding: 0 !important;
    position: absolute !important;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.custom-header-wrapper {
    --aam-header-line: #252525;
    position: relative;
    z-index: 10000000;
}

.custom-header-wrapper.aam-header-white {
    --aam-header-line: #ffffff;
}

.custom-header-wrapper.aam-header-dark {
    --aam-header-line: #252525;
}

.nav-container {
    align-items: center;
    background-color: transparent !important;
    display: flex;
    height: 100px;
    justify-content: space-between;
    left: 0;
    padding: 0 80px;
    position: fixed;
    top: 0;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    z-index: 10000000;
}

.nav-container.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(16, 16, 16, 0.06);
}

.nav-container.scrolled .line {
    background: #333333;
}

.header-logo {
    line-height: 0;
    z-index: 999999;
}

.header-logo img {
    display: block;
    height: auto;
    max-width: 160px;
    transition: opacity 0.15s ease;
}

.fullwidth-open {
    cursor: pointer;
    display: block;
    height: 28px;
    position: relative;
    width: 28px;
    z-index: 999999;
}

.line {
    background: var(--aam-header-line);
    display: block;
    height: 3px;
    opacity: 1;
    position: absolute;
    transition: all 0.25s ease;
    width: 100%;
}

.line-1 {
    top: 6px;
}

.line-2 {
    top: 14px;
}

.line-3 {
    top: 22px;
}

.fullwidth-open.open .line-1 {
    top: 14px;
    transform: rotate(135deg);
}

.fullwidth-open.open .line-2 {
    opacity: 0;
}

.fullwidth-open.open .line-3 {
    top: 14px;
    transform: rotate(-135deg);
}

.fullwidth-menu {
    background: #000000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    height: 100vh;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: none;
    position: fixed !important;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    width: 400px;
    z-index: 999999;
}

.fullwidth-menu-open {
    opacity: 1 !important;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible !important;
}

.menu-close {
    cursor: pointer;
    height: 28px;
    position: absolute;
    right: 40px;
    top: 40px;
    width: 28px;
    z-index: 10;
}

.close-line {
    background: #101010;
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    top: 14px;
    width: 100%;
}

.close-line.line-1 {
    transform: rotate(45deg);
}

.close-line.line-2 {
    transform: rotate(-45deg);
}

.menu-inner {
    background: #ffffff;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100%;
    padding: 90px 40px 40px;
    position: relative;
    width: 100%;
}

.menu-items,
.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-items {
    text-align: left;
    width: 100%;
}

.menu-items li {
    list-style-type: none;
}

.menu-items > li {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(30px);
}

.menu-items a {
    color: #333333;
    display: block !important;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    padding: 5px 0;
    position: relative;
    text-decoration: none;
    transition: all 0.25s ease;
    width: 100%;
}

.menu-items > li > a {
    align-items: center;
    display: flex !important;
    justify-content: space-between;
}

.menu-items a:hover,
.menu-items li a.active {
    color: rgba(37, 37, 37, 0.7);
}

.menu-items .has-submenu > a::before {
    content: "\25BE";
    display: inline-block;
    font-size: 14px;
    margin-left: 8px;
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.menu-items .has-submenu.active > a::before {
    transform: rotate(180deg);
}

.sub-menu {
    display: none;
    margin: 5px 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 0 0 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub-menu.active {
    display: block;
    margin: 10px 0;
    max-height: 500px;
    opacity: 1;
}

.sub-menu li {
    margin-bottom: 8px;
    opacity: 1;
    transform: translateY(10px);
}

.sub-menu a {
    color: #666666;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.4;
    padding: 3px 0;
}

.submenu-social-icons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.submenu-social-icons a {
    color: #666666;
    font-size: 18px;
    transition: all 0.25s ease;
}

.submenu-social-icons a:hover {
    color: #e7262b;
    transform: translateY(-2px);
}

.menu-items > li:nth-child(2) a:hover {
    color: #976ad9;
}

.menu-items > li:nth-child(3) a:hover {
    color: #d96a73;
}

.menu-items > li:nth-child(4) a:hover {
    color: #6ad984;
}

.menu-items > li:nth-child(5) a:hover {
    color: #6ab3d9;
}

.menu-items > li:nth-child(6) .sub-menu li:nth-child(1) a:hover {
    color: #976ad9;
}

.menu-items > li:nth-child(6) .sub-menu li:nth-child(2) a:hover {
    color: #d96a73;
}

.menu-items > li:nth-child(6) .sub-menu li:nth-child(3) a:hover {
    color: #6ad984;
}

.menu-items > li:nth-child(6) .sub-menu li:nth-child(4) a:hover {
    color: #6ab3d9;
}

body.aam-header-menu-lock {
    overflow: hidden;
}

@media (max-width: 767px) {
    .nav-container {
        height: 100px;
        padding: 0 20px 10px;
    }

    .header-logo img {
        max-width: 140px;
    }

    .fullwidth-menu {
        width: 100vw;
    }

    .menu-inner {
        padding: 100px 30px 30px;
    }

    .menu-items a {
        font-size: 22px;
    }

    .sub-menu {
        padding-left: 15px;
    }

    .submenu-social-icons {
        margin-top: 30px;
    }

    .fullwidth-open {
        right: 0;
        top: 0;
    }

    .menu-close {
        right: 30px;
        top: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .fullwidth-menu {
        width: 400px;
    }

    .menu-items a {
        font-size: 22px;
    }
}
