

body {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

button {
    cursor: pointer;
    border: none;
    text-decoration: none;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1244px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

#logo img {
    vertical-align: middle;
}


    
.nav-container {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 1);
}

.nav {
    /* max-width: 1024px; */
    /* margin: 0 auto;
    height: 50px;
    display: flex;
    padding: 0 22px; */
    /* align-items: center;
    justify-content: space-between; */
}

.logo a {
    color: #f5f5f7;
    color: rgba(0, 0, 0, .8);
    text-decoration: none;
    font-size: 21px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 1;
}

.nav-links {
    /* list-style: none;
    display: flex; */
    /* justify-content: center; */
    /* flex: 1; */
}

.nav-item {
    /* height: 44px;
    display: flex;
    align-items: center; */
}

.nav-item > a {
    color: #f5f5f7;
    color: rgba(0, 0, 0, .8);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
    /* padding: 0 10px; */
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item img {
    vertical-align: middle;
}

.nav-item:hover > a,
.nav-item a:hover div {
    opacity: 1;
    color: #1a56db;
}

.nav-item:hover .nav-item-arrow img {
    filter: invert(23%) sepia(90%) saturate(1960%) hue-rotate(212deg) brightness(94%) contrast(96%);
}

.submenu-container {
    position: absolute;
    top: 118px;
    left: 0;
    right: 0;
    /* width: 100vw; */
    /* background-color: rgba(255, 255, 255, .8); */
    /* padding: 50px 0; */
    visibility: hidden;
    opacity: 0;
    z-index: 100;
    pointer-events: none;
}

.submenu-content {
    left: 50%;
    transform: translateY(0) translateX(-50%);
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
    max-width: 1024px;
}

.nav-item:hover .submenu-container {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.submenu {
    /* max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
    max-width: 1024px; */
}

.submenu-column {
    flex: 1;
    min-width: 200px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.submenu-title {
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.product-box {
    text-align: center;
    margin-bottom: 30px;
}

.product-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #1d1d1f;
    font-weight: 600;
    font-size: 16px;
    background-color: #f5f5f7;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-box:hover .product-image {
    transform: translateY(-5px);
}

.product-name {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    display: block;
    transition: color 0.3s;
}

.product-box:hover .product-name {
    color: #0066cc;
}

.submenu-links {
    list-style: none;
}

.submenu-links li {
    margin-bottom: 12px;
}

.submenu-links a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 14px;
    /* transition: color 0.3s; */
}

.submenu-links a:hover {
    color: #0066cc;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 2000;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #1d1d1f;
    position: absolute;
    transition: all 0.3s;
}

/* .mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 6px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 12px;
} */

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px !important;
}

.mobile-menu-toggle.active span:nth-child(2) {
    transform: rotate(-45deg);
    top: 8px !important;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px !important;
}

.mobile-nav {
    display: none;
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 1900;
    padding: 0;
    overflow-y: auto;
    /* margin-top: 30px; */
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-sheet {
    background: #fafafc;
    margin: 0 auto;
    /* position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-100%); */
    width: 100%;
    height: 100dvh;
    min-height: 100vh;
    transition: transform .32s cubic-bezier(.4,0,.6,1), opacity .32s cubic-bezier(.4,0,.6,1);
    overflow-y: auto;
    will-change: transform, opacity;
    opacity: 0;
}

.mobile-nav.open .mobile-nav-sheet {
    /* transform: translateX(-50%) translateY(0); */
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    padding: 0 0;
    margin: 0;
    /* padding-top: 50px; */
    position: relative;
    will-change: transform, opacity;
}

.mobile-nav-item {
    margin: 0;
    padding: 0 20px;
    position: relative;
}

.mobile-nav-item > a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0 13px 0;
    font-weight: 500;
    transition: color .32s cubic-bezier(.4,0,.6,1);
}

/* .mobile-nav-item > a::after {
    content: '+';
    font-size: 20px;
    color: #86868b;
    font-weight: 400;
}

.mobile-nav-item.active > a::after {
    content: '−';
    color: #06c;
} */

.mobile-submenu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background: #fff;
    z-index: 20;
    transform: translateX(100%) scale(1);
    opacity: 0;
    will-change: transform, opacity;
    display: none;
    flex-direction: column;
    pointer-events: none;
}
.mobile-submenu-panel.active {
    display: flex;
    pointer-events: auto;
    /* box-shadow: 0 8px 32px rgba(0,0,0,0.12); */
}
.mobile-submenu-header {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    /* border-bottom: 1px solid rgba(60,60,67,0.12); */
}
.mobile-submenu-back {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    font-size: 16px;
    color: #1d1d1f;
    cursor: pointer;
    margin-right: 12px;
}
.mobile-submenu-back svg {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}
.mobile-submenu-title {
    font-size: 16px;
    font-weight: 600;
}
.mobile-submenu-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
    line-height: 1.3em;
}

.mobile-submenu-links {
    list-style: none;
    padding-inline-start: 0;
    margin-block-start: 0;
}
.mobile-submenu-links li {
    margin-bottom: 10px;
}
.mobile-submenu-links a {
    /* color: #1d1d1f;
    text-decoration: none;
    font-size: 28px;
    font-weight: 600;
    transition: color 0.2s; */
}

.mobile-submenu-links a:hover {
    color: #06c;
}

#submenu-markets-forex-cfd,
#submenu-markets-indices-cfd,
#submenu-markets-spot-metals-cfd,
#submenu-company-about-us,
#submenu-company-our-reviews,
#submenu-company-global-presences {
    min-height: 104px;
}

:lang(zh-CN) #submenu-markets-forex-cfd,
:lang(zh-CN) #submenu-markets-indices-cfd,
:lang(zh-CN) #submenu-markets-spot-metals-cfd,
:lang(zh-CN) #submenu-company-about-us,
:lang(zh-CN) #submenu-company-our-reviews,
:lang(zh-CN) #submenu-company-global-presences,
:lang(zh-TW) #submenu-markets-forex-cfd,
:lang(zh-TW) #submenu-markets-indices-cfd,
:lang(zh-TW) #submenu-markets-spot-metals-cfd,
:lang(zh-TW) #submenu-company-about-us,
:lang(zh-TW) #submenu-company-our-reviews,
:lang(zh-TW) #submenu-company-global-presences,
:lang(ja) #submenu-markets-forex-cfd,
:lang(ja) #submenu-markets-indices-cfd,
:lang(ja) #submenu-markets-spot-metals-cfd,
:lang(ja) #submenu-company-about-us,
:lang(ja) #submenu-company-our-reviews,
:lang(ja) #submenu-company-global-presences,
:lang(ko-KR) #submenu-markets-forex-cfd,
:lang(ko-KR) #submenu-markets-indices-cfd,
:lang(ko-KR) #submenu-markets-spot-metals-cfd,
:lang(ko-KR) #submenu-company-about-us,
:lang(ko-KR) #submenu-company-our-reviews,
:lang(ko-KR) #submenu-company-global-presences,
:lang(vi) #submenu-markets-forex-cfd,
:lang(vi) #submenu-markets-indices-cfd,
:lang(vi) #submenu-markets-spot-metals-cfd,
:lang(vi) #submenu-company-about-us,
:lang(vi) #submenu-company-our-reviews,
:lang(vi) #submenu-company-global-presences,
:lang(hi-IN) #submenu-markets-forex-cfd,
:lang(hi-IN) #submenu-markets-indices-cfd,
:lang(hi-IN) #submenu-markets-spot-metals-cfd,
:lang(hi-IN) #submenu-company-about-us,
:lang(hi-IN) #submenu-company-our-reviews,
:lang(hi-IN) #submenu-company-global-presences {
    min-height: 84px;
}

:lang(en-US) #submenu-trading-deposits-withdrawals,
:lang(en-US) #submenu-trading-margin-leverage,
:lang(en-SG) #submenu-trading-deposits-withdrawals,
:lang(en-SG) #submenu-trading-margin-leverage,
:lang(en-AU) #submenu-trading-margin-leverage,
:lang(en-AU) #submenu-company-blog,
:lang(zh-AU) #submenu-company-blog {
    min-height: 104px;
}

:lang(vi) #submenu-trading-deposits-withdrawals,
:lang(vi) #submenu-trading-margin-leverage {
    min-height: 84px;
}

.btn-actions {
    /* min-width: 80px; */
    text-decoration: none;
}

.language-selector {
    cursor: pointer;
}

.language-selector svg {
    vertical-align: middle;
}

/* Responsive styles */
@media (max-width: 834px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-wrapper {
        display: block;
    }
    
    .mobile-nav {
        /* display: block; */

    }
    
    body.mobile-nav-open {
        overflow: hidden;
    }
}

@media (max-width: 734px) {
    .submenu-column {
        min-width: 150px;
    }
    
    .product-image {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .submenu {
        flex-direction: column;
    }
    
    .submenu-column {
        width: 100%;
    }
}

@keyframes fadeInDownMenuItem {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive helpers */
@media (max-width: 768px) {
    .flex-column-mobile {
        flex-direction: column;
    }
    .gap-mobile-small {
        gap: 16px !important;
    }
}




body {
    /* Default font primary */
    font-family: var(--font-primary);
}

ul, li {
    list-style-type: none;
}

.swiper-wrapper {
    width: 100%;
    height: max-content !important;
    padding-bottom: 64px !important;
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
    position: relative;
}
.swiper-pagination-bullet {
    background: #4F46E5;
}
.swiper-pagination-bullet-active {
    background: #4F46E5 !important;
}

.swiper-pagination-light .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
}
.swiper-pagination-light .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 1) !important;
}

.swiper-slide-prev,
.swiper-slide-next {
    /* opacity: 0.6; */
}

/* Thumbs */
.gallery-thumbs .swiper-slide,
.gallery-thumbs .gallery-thumbs-slide {
    width: auto;
    border-radius: 10px;
    opacity: 0.6;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.gallery-thumbs .swiper-slide-active,
.gallery-thumbs .gallery-thumbs-slide-active {
    opacity: 1;
    -webkit-filter: initial; /* Safari 6.0 - 9.0 */
    filter: initial;
    font-weight: bold;
    color: #231b93;
}

.gallery-thumbs img {
    cursor: pointer;
    width: auto;
    height: 150px;
    border-radius: 10px;
    object-fit: contain;
}

.gallery-thumbs-slide,
.gallery-thumbs-slide-vertical {
    cursor: pointer;
}


.section-feature-carousel-vertical .swiper-wrapper {
    height: 100% !important;
}


.section-feature-carousel-vertical .gallery-thumbs-slide {
    background-color: rgba(255, 255, 255, 0);
}

.section-feature-carousel-vertical .gallery-thumbs-slide-active {
    background-color: rgba(255, 255, 255, 0.2);
}

.section-feature-carousel-vertical .gallery-thumbs-slide-active .gallery-thumbs-slide-separator {
    background-color: var(--color-primary-600);
}


.nav-menu-list .nav-menu-item-btn {
    /* padding: 14px 16px 14px 0; */
    cursor: pointer;
}

.nav-list-item:hover .nav-menu-item-btn {
    color: var(--color-primary-600);
}

.nav-submenu-container {
    position: absolute;
    left: 0;
    margin-top: -5px;
    border: 0;
}
