* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background-color: #fff !important;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.75); /* Transparent black */
}

nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 2rem;
}

.nav-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.logo {
    padding-top: 0.5rem;
}

.logo img {
    height: 70px;
}

.nav-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Top section with logos */
.additional-logos {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding-top: 0.5rem;
}

.additional-logos a {
    display: inline-flex;
}

.eworld-logo {
    height: 20px;
    width: auto;
}

.one-world-logo {
    height: 16px;
    width: auto;
}

/* Bottom section with menu */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.left-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links > a {
    text-decoration: none;
    text-transform: uppercase;
    color: #333;
    margin: 0 1rem;
    font-weight: bold;
    padding: 0.5rem 0 1rem;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
}

/* Update nav-links color for better visibility when scrolled */
header.scrolled .nav-links a {
    color: #fff;
    text-shadow: none;
}

/* Update dropdown styles to handle both About and Product menus */
.nav-links .dropdown {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0 1rem;
}

.nav-links .dropdown-trigger {
    text-decoration: none;
    text-transform: uppercase;
    color: #333;
    margin: 0 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1A1A1A;
    min-width: 250px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 20px 0;
}

.nav-links .dropdown-menu a {
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    display: block;
    margin: 0;
    font-weight: normal;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
    position: relative;
}

.nav-links .dropdown-menu a:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links .dropdown-menu a:hover {
    background-color: transparent;
    color: #e94724;
    padding-left: 35px;
}

/* Show dropdown on hover */
.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Scrolled header styles - remove since we always want dark dropdown */
header.scrolled .nav-links .dropdown-menu {
    background: #1A1A1A;
}

header.scrolled .nav-links .dropdown-menu a {
    color: #fff;
}

header.scrolled .nav-links .dropdown-menu a:hover {
    background-color: transparent;
    color: #e94724;
}

.right-nav {
    display: flex;
    align-items: center;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.right-nav-bottom {
    display: flex;
    align-items: center;
    background: #e94724;
    border-radius: 4px;
}

.language-dropdown {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
}

/* Update Language Dropdown Styles */
.language-select {
    background: transparent;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    padding-right: 0;
    padding-left: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
}

/* Update the dropdown icon position to left side */
.language-select::before {
    content: '';
    width: 15px;
    height: 12px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: 
        linear-gradient(
            to bottom,
            white 0%, white 20%,
            transparent 20%, transparent 40%,
            white 40%, white 60%,
            transparent 60%, transparent 80%,
            white 80%, white 100%
        );
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #e94724;
    min-width: 120px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.dropdown-content a {
    color: white;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-weight: bold;
}

.dropdown-content a:hover {
    background-color: rgba(255,255,255,0.1);
}

.language-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.contact-btn {
    background: transparent;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

/* Page Header Section */
.pg-header {
    height: 90vh;
    background-color: rgba(0, 0, 0, 0.75);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pg-header-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
    color: white;
}

.pg-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.pg-header-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facebook, .instagram, .blogger, .custom {
    background: none;
}

/* Footer Styles */
footer {
    background: #1A1A1A;
    color: #fff;
    padding: 5rem 0 0;
}

.footer-content {
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    padding: 0 5rem;
}

.footer-section {
    flex-basis: 25%;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

/* Add line after h3 */
.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0.1) 100%);
}

/* Remove line from last section (BECOME A DISTRIBUTOR) */
.footer-section:last-child h3::after {
    display: none;
}

.footer-section address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p {
    color: #fff;
    margin-bottom: 10px;
}

.footer-section hr {
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0.1) 100%);
    border: 0;
    height: 1px;
    margin: 60px auto 20px;
}

.app-holder {
    display: flex;
    gap: .25rem;
}

.app-holder img {
    width: 100%;
    max-width: 150px;
    border-radius: 4px;
}

.footer-section a {
    color: #fff;
}

.footer-section i {
    margin-right: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e94724;
}

.footer-section .join-us-btn {
    display: inline-block;
    background: #13b0b9;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    margin: 15px 0;
    transition: background 0.3s ease;
}

.footer-section .join-us-btn:hover {
    background: #13b0b9;
}

.footer-image {
    margin-top: 20px;
}

.footer-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.footer-bottom {
    margin-top: 4rem;
    padding: 1.5rem 5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-links {
    color: #fff;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e94724;
}

/* Specific modal styles for Terms and Sitemap */
#termsModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

#termsModal .modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 900px;
    border-radius: 5px;
    position: relative;
    overflow-y: scroll;
    max-height: 90vh;
    top: 50%;
    transform: translateY(-50%);
}

#termsModal .close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#termsModal .close-modal:hover
#termsModal .close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#termsModal .modal-body {
    margin-top: 20px;
}

#termsModal .modal-body p {
    line-height: 1.6;
    margin-bottom: 10px;
}

#termsModal .modal-body ul {
    padding-left: 1rem;
}

/* Add these styles for the mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 30px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

header.scrolled .mobile-menu-btn span {
    background-color: #fff;
}

/* Update media queries for responsive navigation */
@media (max-width: 1200px) {
    .nav-links > a,
    .nav-links .dropdown-trigger {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        padding: 0.5rem 1rem;
    }

    .nav-wrapper {
        gap: 1rem;
    }

    .logo img {
        height: 50px;
    }

    .nav-right {
        width: 100%;
    }

    /* Only hide nav-content */
    .nav-content {
        display: none;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Show nav-content when nav-right has 'show' class */
    .nav-right.show .nav-content {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.75);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        animation: slideDown 0.3s ease-out;
        max-height: 50vh;
        overflow-y: scroll;
    }

    .nav-links .dropdown-trigger::after, .language-select::after {
        content: '';
        position: relative;
        top: 50%;
        border-top: 5px solid #fff;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        margin-left: .75rem;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    header.scrolled .nav-right.show .nav-content {
        background: #1A1A1A;
    }

    .left-nav, .right-nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links > a,
    .nav-links .dropdown,
    .nav-links .dropdown-trigger {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
        margin: 0;
        color: #fff;
    }

    .nav-links .dropdown {
        padding: 0;
    }

    .nav-links .dropdown-trigger {
        padding: 0.75rem 1rem;
        color: #fff;
    }

    .nav-links .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0;
        animation: fadeIn 0.3s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .dropdown-trigger.active + .dropdown-menu.show {
        display: block;
    }

    .right-nav-bottom {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: transparent;
    }

    .language-dropdown,
    .contact-btn {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
        background: transparent;
        color: #fff;
    }

    header.scrolled .nav-right.show .nav-content .language-dropdown,
    header.scrolled .nav-right.show .nav-content .contact-btn {
        color: #fff;
    }

    header.scrolled .nav-right.show .nav-content .language-select {
        color: #fff;
    }

    .dropdown-content {
        position: static;
        margin: 0.75rem -1rem -0.75rem;
        background-color: #1A1A1A;
        display: none;
        visibility: visible;
        opacity: 1;
    }

    .dropdown-content a {
        color: #fff;
        padding: 12px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-weight: normal;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .dropdown-content a:hover {
        background-color: transparent;
        color: #e94724;
        padding-left: 35px;
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .language-select.active + .dropdown-content.show {
        display: block;
    }

    header.scrolled .nav-right.show .nav-content .dropdown-content a {
        color: #fff;
    }

    #termsModal .modal-content {
        max-width: calc(100% - 4rem);
        margin: 0 2rem;
    }
}

@media (max-width: 768px) {
    .pg-header-content {
        padding: 0 2rem;
    }

    .pg-header-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .additional-logos {
        flex-wrap: wrap;
        gap: .5rem;
        justify-content: flex-start;
        padding-top: .75rem;
    }
    .pg-header-content h1 {
        font-size: 2rem;
    }

    .pg-header-content p {
        font-size: 1rem;
    }
}

/* Footer Responsive Styles */
@media (max-width: 1200px) {
    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-image img {
        height: 160px;
    }
}

@media (max-width: 992px) {
    footer {
        padding: 4rem 0 0;
    }

    .footer-content {
        flex-wrap: wrap;
        padding: 0 2rem;
    }

    .footer-section {
        flex-basis: calc(33.3333% - 1.34rem);
    }

    .footer-section:last-child {
        flex-basis: 100%;
    }

    .footer-bottom {
        padding: 1.5rem 2rem;
        margin-top: 3rem;
    }

    .footer-image img {
        height: 140px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-section, .footer-section:last-child {
        flex-basis: calc(50% - 0.94rem)
    }

    .footer-bottom {
        margin-top: 2.5rem;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-image img {
        height: 130px;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 2rem 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 25px;
    }

    .footer-section, .footer-section:last-child {
        flex-basis: 100%;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .footer-links {
        align-items: center;
    }

    .footer-links a {
        margin: 5px 0;
    }

    .footer-image img {
        height: 120px;
    }
}

/* Add these styles for nested dropdowns */
.nested-dropdown {
    position: relative;
}

.nested-dropdown-trigger {
    position: relative;
    padding-right: 25px !important;
}

.nested-dropdown-trigger::after {
    content: '›';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

.nested-dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background: #1A1A1A;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.nested-dropdown:hover > .nested-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nested-dropdown-menu a {
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nested-dropdown-menu a:hover {
    background-color: transparent;
    color: #e94724;
    padding-left: 35px;
}

/* Mobile responsive styles for nested dropdowns */
@media (max-width: 992px) {
    .nested-dropdown-menu {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        visibility: visible;
        opacity: 1;
    }

    .nested-dropdown-trigger.active + .nested-dropdown-menu.show {
        display: block;
    }

    .nested-dropdown-trigger::after {
        content: '⏷';
        position: relative;
        right: 0;
        margin-left: 0.5rem;
        transform: translateY(-50%) rotate(90deg);
    }
}