/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body::-webkit-scrollbar {
    display: none;
}
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    /* Your other body styles, BUT AVOID overflow-y: scroll ! */
}
/* ... (your existing CSS reset, html, body, header, main, sections, footer, accessibility-widget) ... */

/* --- SCROLLBAR HIDING (ensure this is present) --- */
body::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; scrollbar-width: none; }
/* If using main as scroller: */
/* main::-webkit-scrollbar { display: none; } */
/* main { -ms-overflow-style: none; scrollbar-width: none; } */


/* --- SIDEBAR STYLES --- */
.sidebar {
    position: fixed;
    top: 0;
    right: -320px; /* Start off-screen (width + some buffer) */
    width: 300px; /* Adjust width as needed */
    height: 100vh;
    background-color: #dedede; /* Light grey background as in image */
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
    z-index: 1005; /* Above overlay, header, etc. */
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth slide */
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Allow scrolling within sidebar if content is long */
}
.sidebar.open {
    right: 0; /* Slide in */
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #dcdcdc;
}
.sidebar-logo {
    height: 40px; /* Adjust as needed */
}
.close-sidebar-btn {
    background: none;
    border: none;
    font-size: 2.5rem; /* Large X */
    color: #005073; /* Bulltick teal */
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.sidebar-nav {
    padding: 20px 0; /* Top/bottom padding */
    flex-grow: 1; /* Takes up available space to push actions to bottom */
}
.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-nav li a.sidebar-link {
    display: block;
    padding: 15px 30px;
    text-decoration: none;
    color: #555; /* Dark grey text for links */
    font-size: 1.1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.sidebar-nav li a.sidebar-link:hover,
.sidebar-nav li a.sidebar-link.active-section-link { /* For active section highlighting */
    background-color: #f5f5f5;
    color: #005073; /* Bulltick teal on hover/active */
}

/* Decorative birds background (optional) */


.sidebar-actions {
    z-index: 2;
    /* border-top: 1px solid #dcdcdc; */ /* Optional separator */
}
.sidebar-action-btn {
    display: flex; /* Align icon and text */
    align-items: center;
    padding: 15px 30px;
    text-decoration: none;
    color: #fff; /* White text */
    background-color: #005073; /* Bulltick teal */
    font-size: 1.1rem;
    font-weight: 500;
    border-top: 1px solid #006a99; /* Separator lines, adjust color */
    transition: background-color 0.2s ease;
}
.sidebar-action-btn:first-child {
    border-top: none; /* No top border for the first button */
}
.sidebar-action-btn:hover {
    background-color: #003f5a; /* Darker teal on hover */
}
.sidebar-action-btn i {
    margin-right: 12px;
    font-size: 1.2em; /* Slightly larger icon */
    width: 20px; /* Consistent icon width */
    text-align: center;
}


/* PAGE OVERLAY (dim background when sidebar is open) */
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1002; /* Below sidebar, above main content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s linear;
}
.page-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s 0s linear;
}


/* Hamburger Menu Transformation (Optional) */
.hamburger-menu.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Adjust body when sidebar is open to prevent scrolling of main content (if body doesn't have overflow:hidden) */
body.sidebar-open-no-scroll {
    overflow: hidden; /* Prevent body scrolling when sidebar is open */
}


/* Side Dot Navigation (.side-navigation) - Adjust for mobile if sidebar is primary */
@media (max-width: 1024px) { /* Or your preferred breakpoint for hiding dots */
    .side-navigation#desktop-side-dots {
        display: none; /* Hide dot navigation when sidebar is more suitable */
    }
}
/* OR, if MAIN is your scrolling container and body has overflow:hidden */
main::-webkit-scrollbar {
    display: none;
}
main {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    overflow-y: auto; /* This MUST be present for main to scroll */
    /* Your other main styles */
}
html, body {
    overflow: hidden; /* If main is the scroller */
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

/* --- HIDE SCROLLBAR --- */
body::-webkit-scrollbar { /* Chrome, Safari, Opera */
    display: none;
}
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    /* overflow-y: hidden; /* This would PREVENT body scrolling. Only use if JS fully controls scrolling of a child element. */
    /* overflow-x: hidden; /* Good to prevent horizontal scroll. */

    background-color: #e9edf0;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    color: #333;
    position: relative; /* For child absolute positioning context */
    /* margin: 0; /* Already in * reset */
    /* padding: 0; /* Already in * reset */
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Consistent padding */
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.1); /* Optional: Slight bg for header over content */
    backdrop-filter: blur(20px); /* Optional: Frosted glass effect */
}

.logo img {
    height: 120px; /* Adjusted for a more standard header logo size */
    width: auto;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px; /* Clickable area */
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #005073; /* Bulltick dark teal */
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Main Content Area */
main {
    width: 100%;
    /* padding-top: 85px; /*  Adjust to match header height to prevent overlap if header is fixed and opaque */
                        /* This depends on your exact header height and if sections handle their own top spacing */
}

/* Content Sections */
.content-section {
    min-height: 90vh; /* Most sections take significant viewport height */
    padding: 80px 10%; /* More vertical padding for content */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* For video overlays and other absolute children */
    overflow: hidden; /* Contains absolute positioned video/overlay */
    border-bottom: 1px solid #d0d8e0; /* Visual separator */
}
.content-section:last-child {
    border-bottom: none;
}
/* Add padding-top to the first section if main doesn't have it */
/* and header is fixed */
#bulltick-intro { /* Or your first section's ID */
    padding-top: 100px; /* Example: value > header height */
}


.section-content-wrapper {
    max-width: 800px;
    width: 100%; /* Ensure it takes available width up to max-width */
    color: #333; /* Default text color if not overridden by specific section styles */
    position: relative; /* To ensure it's above video/overlay if it has z-index */
    z-index: 3; /* Default for content wrappers over video/overlay */
}

.content-section h2 { /* General h2 styling for sections */
    font-size: 2.8rem;
    color: #005073;
    margin-bottom: 30px;
    font-weight: 700;
}

.content-section p { /* General p styling for sections */
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #4A4A4A;
    max-width: 700px; /* Constrain paragraph width for readability */
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section Specific Styles */
.hero-section { /* ID: #bulltick-intro */
    min-height: 100vh;
    padding: 100px 12% 60px; /* Top (for fixed header), Sides, Bottom */
    color: #FFFFFF;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    border-bottom: none;
}
.hero-section .hero-content {
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
    /* margin-top: 350px; /* This seems very large, might push content too far down */
                        /* Consider vertical centering or less top margin */
    margin-top: 15vh; /* Example: 15% of viewport height from top (after padding) */
    z-index: 2;
}
.hero-section .hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 25px;
}
.hero-section .hero-content .tick-accent::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -2px;
    width: 70%;
    height: 5px;
    background-color: #FFC300;
    border-radius: 3px;
}
.hero-section .hero-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #f0f0f0;
}
.hero-section .hero-content .view-about-us {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 500;
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.hero-section .hero-content .view-about-us .arrow {
    color: #FFC300;
    margin-left: 8px;
    font-weight: bold;
}
.hero-section .hero-content .view-about-us:hover { color: #FFC300; }
.hero-section .hero-content .view-about-us:hover .arrow { color: #e6a100; }

/* General Section Background Video & Overlay */
.section-background-video {
    position: absolute;
    top: 0; /* Cover full section */
    left: 0; /* Cover full section */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transform: translate(-50%, -50%); Not needed if top/left/width/height are 100% */
    z-index: 1;
}
.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35); /* Default overlay */
    z-index: 2;
    pointer-events: none;
}

/* --- Specific Section Styles (National Sales, Wealth Management, etc.) --- */
/* These will set their specific text colors and fallback background colors */

.national-sales-styled {
    background-color: #2c3e50;
    color: #dfe6e9;
}
.national-sales-styled h2 { color: #ffffff; }
.national-sales-styled p { color: #000000; } /* <<< CHECK THIS: Was #b2bec3. Black on dark video? Revert if needed */

.wealth-management-styled {
    background-color: #1c2833;
    color: #ecf0f1;
}
.wealth-management-styled h2 { color: #ffffff; }
.wealth-management-styled p { color: #bdc3c7; }

.alternative-investments-styled {
    background-color: #34495e;
    color: #e8ecf1;
}
.alternative-investments-styled h2 { color: #ffffff; }
.alternative-investments-styled p { color: #dde3ea; }

.wealth-protection-styled {
    background-color: #2c3e50;
    color: #f0f0f0;
}
.wealth-protection-styled h2 { color: #ffffff; }
.wealth-protection-styled p { color: #e0e0e0; }

/* Technology Section */
.technology-section-styled {
    background-color: #f0e5e0;
    color: #4a4a4a; /* Base text color for this section (dark) */
}
.technology-overlay { /* Specific overlay for this section */
    background-color: rgba(255, 208, 177, 0.23); /* Very light warm overlay */
}
.technology-section-styled .section-swoosh-logo {
    width: 150px;
    margin: 0 auto 25px auto;
    display: block;
}
.technology-section-styled h2 { color: #333; } /* Dark heading */
.technology-section-styled p { color: #000000; } /* Dark paragraph text */
.technology-section-styled .tech-suite-intro { color: #000000; font-weight: 500; margin-top:30px; margin-bottom:25px; }

.tech-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 30px;
    margin-top: 10px;
}
.tech-logo-img { /* For actual images */
    height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.85;
}
/* Remove placeholder logo styles if using <img> tags */

/* Contact Section */
.contact-section-styled {
    background-color: #222; /* Fallback if video fails, dark */
    /* No static map background if using video */
    text-align: left; /* As per design for contact details */
    color: #f0f0f0; /* Base text color (light) */
}
.contact-content-area {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-details-column {
    flex: 0 0 45%;
    padding-right: 30px;
    z-index: 2;
}
.contact-map-visual-spacer { flex: 0 0 55%; }
.contact-swoosh-logo { width: 160px; margin-bottom: 20px; }
.contact-email { color: #FFC300; font-weight: 500; margin-bottom: 30px; display:block; }
.location-block { margin-bottom: 25px; }
.location-block h3 { color: #004762; } /* Darker teal for subheadings, adjust if hard to read on video */
                                   /* Consider #FFFFFF or #FFC300 for better contrast if video is dark */
.location-block address { font-style: normal; font-size: 0.9rem; line-height: 1.6; color: #676767; }
                                     /* This grey will be hard to read on dark video. Change to #dcdcdc or lighter */


/* Side Navigation */
.side-navigation {
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 1001; /* Above fixed header */
}
.side-navigation ul { list-style: none; }
.side-navigation li { margin-bottom: 18px; text-align: right; position: relative; cursor: pointer; }
.side-navigation li a {
    display: block;
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 1.5px solid #AEB6BF;
    border-radius: 50%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.side-navigation li.active a { background-color: #f0b909; border-color: #e6a100; }
.side-navigation li:not(.active):hover a { border-color: #707070; }
.side-navigation li .nav-text {
    display: none;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85em;
    color: #707070;
    white-space: nowrap;
    padding: 2px 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.side-navigation li.active .nav-text { display: inline-block; color: #d19d00; font-weight: 500; }

/* Accessibility Widget */
.accessibility-widget {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background-color: #0072CE;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}
.accessibility-widget:hover { background-color: #005ea6; }
.accessibility-widget img { width: 24px; height: 24px; }

/* --- Footer Styles (Add if not already present) --- */
.page-footer {
    background-color: #ffffff;
    color: #5f6368;
    padding: 30px 5%;
    font-size: 0.75rem;
    line-height: 1.5;
    border-top: 1px solid #e0e0e0;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.footer-copyright { display: flex; align-items: center; margin-bottom: 10px; flex: 1 1 200px; color: #3c4043; }
.footer-b-logo { height: 22px; margin-right: 10px; opacity: 0.8; }
.footer-disclaimers { flex: 2 1 400px; margin-left: 20px; }
.footer-disclaimers p { margin-bottom: 5px; font-size: 0.75rem; color: #5f6368; /* ensure p inherits footer font size and color */ }
.footer-links { text-align: left; padding-top: 10px; border-top: 1px solid #ebebeb; margin-top: 15px; }
.footer-links a { color: #005073; text-decoration: none; margin-right: 10px; display: inline-block; margin-bottom: 5px; }
.footer-links a:hover { text-decoration: underline; }
.footer-links a:last-child { margin-right: 0; }


.sidebar-birds-bg{
    position: absolute;
    bottom: 0px;
    width: 100%;
    left: 0px;
    background-image: url(bg-menu.jpg);
    min-height: 550px;
        flex-grow: 2;
    background-repeat: no-repeat;
    background-position: center bottom;
    opacity: .7;
    pointer-events: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .content-section { padding: 60px 8%; } /* Consistent tablet padding */
    .hero-section { padding: 100px 8% 50px; }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px; /* Reduced header padding */
        /* background-color: rgba(255, 255, 255, 0.7); /* Consider more opacity for mobile */
    }
    /* main { padding-top: 65px; } /* Adjust if main needs global top padding */
    #bulltick-intro { padding-top: 80px; /* Adjust for smaller header */ }

    .logo img { height: 35px; }
    .content-section {
        padding: 50px 5%;
        min-height: auto; /* Allow natural flow */
    }
    .content-section h2 { font-size: 2.2rem; }
    .hero-section { min-height: 90vh; padding: 80px 5% 40px; }
    .hero-section .hero-content { margin-top: 10vh; }
    .hero-section .hero-content h1 { font-size: 2.8rem; }
    .hero-section .hero-content p { font-size: 0.95rem; }

    .technology-section-styled h2 { font-size: 2.2rem; }
    .technology-section-styled p { font-size: 0.95rem; }
    .tech-logo-img { height: 30px; }

    .contact-section-styled { padding-top: 60px; padding-bottom: 30px; min-height: auto; }
    .contact-content-area { flex-direction: column; }
    .contact-details-column { flex: 1 1 100%; padding-right: 0; text-align: center; }
    .contact-swoosh-logo { margin-left: auto; margin-right: auto; }
    .contact-map-visual-spacer { display: none; }

    .footer-top-row { flex-direction: column; }
    .footer-disclaimers { margin-left: 0; margin-top: 15px; }
    .footer-links { text-align: center; }

    .side-navigation { display: none; }
}

@media (max-width: 480px) {
    .hero-section .hero-content { text-align: center; }
    .hero-section { justify-content: center; align-items: center; }
    .content-section h2 { font-size: 1.9rem; } /* Further reduce heading size */
    .hero-section .hero-content h1 { font-size: 2.4rem; }
}