:root {
    --electric-blue: #007bff;
    --dark-blue: #0a0e1c;
    --white: #ffffff;
    --light-gray: #FAFCFF;
    --manrope: 'Manrope', sans-serif;
    --secondary-blue: #004d99;
    --text-color: #333333; /* A dark gray for text */
    --background-color: var(--light-gray);
    --card-background: var(--white);
    --border-color: rgba(0, 0, 0, 0.1);
    --subtitle-color: #DBEAFE;
    --primary-color: #007bff;
    --secondary-color: #2D3748;
    --text-color: #4A5568;
    --heading-color: #1A202C;
    --bg-light: #F7FAFC;
    --border-color: #E2E8F0;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --green-icon: #007bff;
    --orange-icon: #007bff;
    --purple-icon: #007bff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--manrope);
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card-background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 100;
    transition: opacity 0.5s ease-in-out;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--electric-blue);
}

.progress-bar-container {
    width: 80%;
    max-width: 400px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--electric-blue);
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* Main Content */
#main-content {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.hidden {
    display: none;
}

/* Navbar Container */
 .navbar-container {
    max-width: 1000px; /* Max width for desktop */
    background-color: #fff; /* Slightly lighter dark grey for navbar */
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); /* Darker, more prominent shadow */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px; /* Vertical and horizontal padding */
    box-sizing: border-box;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */

    /* Sticky properties for universal centering */
    position: sticky;
    top: 20px; /* Stick to 20px from the top of the viewport */
    left: 0; /* Allow it to stretch from left edge */
    right: 0; /* Allow it to stretch to right edge */
    margin: 0 auto; /* This centers the element when max-width is hit */

    z-index: 1000; /* Ensure it stays on top of other content */
    min-width: 320px; /* Minimum width for the navbar itself */
    transition: all 0.3s ease; /* Transition all relevant properties for smoothness */
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--electric-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo i {
    color: var(--electric-blue);
    width: 24px;
    height: 24px;
}

/* Navigation Links (Desktop) */
.navbar-links-desktop {
    display: flex; /* Always display on desktop */
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1; /* Allow links to take available space */
    justify-content: center; /* Center the links */
    transition: all 0.3s ease-in-out;
}

.navbar-links-desktop li {
    margin: 0 15px;
}

.navbar-links-desktop a {
    text-decoration: none;
    color: #0a0e1c; /* Off-white text for links */
    font-weight: 500;
    font-size: 1.05em;
    padding: 10px 5px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-links-desktop a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #007BFF; /* Blue accent color */
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar-links-desktop a:hover {
    color: #007BFF; /* Blue accent on hover */
}

.navbar-links-desktop a:hover::after {
    width: 100%;
    left: 0;
}

/* Auth Buttons Container (Desktop) */
.navbar-auth-desktop {
    display: flex; /* Always display on desktop */
    align-items: center;
    gap: 15px; /* Space between buttons */
}

.navbar-auth-desktop button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px; /* Rounded buttons */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
    font-family: inherit;
}

.navbar-auth-desktop .signup-btn {
    background-color: #007BFF; /* Blue accent primary button */
    color: #FFFFFF; /* White text for contrast */
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.navbar-auth-desktop .signup-btn:hover {
    background-color: #0056b3; /* Slightly darker blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.navbar-auth-desktop .login-btn {
    background-color: transparent;
    color: #007BFF; /* Blue accent text for login button */
    border: 2px solid #007BFF; /* Blue accent border */
}

.navbar-auth-desktop .login-btn:hover {
    background-color: rgba(0, 123, 255, 0.1); /* Subtle blue tint on hover */
    color: #007BFF;
    border-color: #007BFF;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-between;
    width: 25px; /* Reduced width */
    height: 18px; /* Reduced height */
    cursor: pointer;
    position: relative;
    z-index: 100; /* Ensure it's above other elements when open */
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--electric-blue); /* Light bars for dark background */
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger animation for 'x' shape */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg); /* Adjusted for new height */
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg); /* Adjusted for new height */
}

/* Mobile Menu Content (Dropdown) */
.mobile-menu-content {
    display: flex; /* Flex container for links and auth buttons */
    flex-direction: column; /* Stack them vertically */
    width: calc(100% - 40px); /* Full width minus padding for mobile dropdown */
    max-width: 400px; /* Max width for mobile menu */
    text-align: center;
    position: absolute;
    top: 100%; /* Position right below the navbar */
    margin-top: 10px; /* Space between navbar and dropdown menu */
    left: 50%;
    transform: translateX(-50%) translateY(-20px); /* Initial hidden state with slide effect */
    background-color: #fff; /* Dark grey theme background for dropdown */
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); /* Darker shadow */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99;
    transition: all 0.3s ease-in-out;
    padding-bottom: 20px; /* Padding for buttons at the bottom */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Mobile specific links and auth buttons, nested inside mobile-menu-content */
.mobile-menu-content .navbar-links-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Ensure these are flex for stacking */
    flex-direction: column;
    width: 100%;
    padding-top: 20px;
}

.mobile-menu-content .navbar-links-mobile li {
    margin: 10px 0;
}

.mobile-menu-content .navbar-links-mobile a {
    text-decoration: none;
    color: #0a0e1c; /* Off-white text for mobile links */
    font-weight: 500;
    font-size: 1.1em;
    padding: 12px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}
.mobile-menu-content .navbar-links-mobile a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #007BFF; /* Blue accent */
    transition: width 0.3s ease, left 0.3s ease;
}
.mobile-menu-content .navbar-links-mobile a:hover {
    color: #007BFF; /* Blue accent on hover */
}
.mobile-menu-content .navbar-links-mobile a:hover::after {
    width: 100%;
    left: 0;
}


.mobile-menu-content .navbar-auth-mobile {
    display: flex; /* Ensure these are flex for stacking */
    flex-direction: column;
    width: 100%;
    padding: 10px 0 0;
    gap: 10px;
}

.mobile-menu-content .navbar-auth-mobile button {
    width: calc(100% - 60px); /* Adjust for parent padding and button margins */
    margin: 0 auto; /* Center buttons */
    max-width: 300px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobile-menu-content .navbar-auth-mobile .signup-btn {
    background-color: #007BFF;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.mobile-menu-content .navbar-auth-mobile .signup-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.mobile-menu-content .navbar-auth-mobile .login-btn {
    background-color: transparent;
    color: #007BFF;
    border: 2px solid #007BFF;
}

.mobile-menu-content .navbar-auth-mobile .login-btn:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007BFF;
    border-color: #007BFF;
}


/* Responsive Design - Media Queries */
@media (max-width: 768px) {
    .navbar-container {
        /* Allow sticky element to take full width of viewport minus fixed padding */
        padding: 10px 20px;
         /* Slightly less rounded on small screens */
        top: 15px; /* Stick closer to top on mobile */
        max-width: calc(100% - 40px); /* Allow it to be full width with 20px side margin */
        /* Remove any left/right/transform here as margin: auto is primary for centering */
        /* The margin: 0 auto; already ensures centering */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger on smaller screens */
    }

    /* Hide desktop links and auth buttons on mobile */
    .navbar-links-desktop,
    .navbar-auth-desktop {
        display: none;
    }

    /* Show mobile menu content when menu is open */
    .navbar-container.menu-open .mobile-menu-content {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0); /* Slide into view */
        pointer-events: auto;
        /* Width already set at 100% minus padding in .mobile-menu-content general rules */
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        font-size: 1.5em;
    }

    .navbar-container {
        padding: 10px 15px;
    }

    .hamburger-menu {
        width: 25px; /* Stay same as 768px */
        height: 18px; /* Stay same as 768px */
    }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1, h2, h3, h4 {
    color: var(--heading-color);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
}

section {
    padding: 4rem 0;
}

/* Utility Classes */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid transparent;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.primary-btn:hover {
    background-color: #3373DD;
}

.secondary-btn {
    background-color: transparent;
    color: var(--heading-color);
    border-color: var(--border-color);
}

.secondary-btn:hover {
    background-color: var(--border-color);
}

.blue-text {
    color: var(--primary-color);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-color: #D1D5DB;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6B7280;
    font-size: 1rem;
    font-weight: 600;
}

/* Section-specific Styles */
.about-section {
    padding-bottom: 0;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background-color: #FAFCFF;
}

@media (min-width: 768px) {
    .about-container {
        flex-direction: row;
        text-align: left;
    }
}

.about-content {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .about-content {
        text-align: left;
    }
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #DBEAFE;
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.about-badge i svg {
    color: #FBBF24;
}

.about-content h1 {
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 2rem;
}

.about-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .about-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
}

.about-image {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.about-image .image-placeholder {
    padding-top: 60%; /* Maintain aspect ratio */
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background-image: url(imgs/about-img-i.jpg);
    background-size: cover;
}



.about-stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 10px 15px -3px var(--shadow-color), 0 4px 6px -2px var(--shadow-color);
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .about-stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    margin: 0.5rem 0;
}

.stat-icon-wrapper {
    background-color: #EFF6FF;
    width: 48px;
    height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.stat-icon-wrapper i,
.stat-icon-wrapper svg {
    color: var(--primary-color);
}

.mission-section {
    background-color: #F9FAFB;
}

.mission-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .mission-container {
        flex-direction: row;
    }
}

.mission-image {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.mission-image .image-placeholder {
    padding-top: 60%; /* Maintain aspect ratio */
    position: relative;
    background-image: url(imgs/about-img-ii.jpg);
    background-size: cover;
}



.mission-content {
    flex: 1;
    text-align: left;
}

.mission-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mission-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #DBEAFE;
    border-radius: 50%;
}

.mission-icon  {
    color: var(--electric-blue);
}

.mission-content ul {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.mission-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.mission-content li i {
    color: green;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.built-for-section {
    padding: 6rem 0;
}

.built-for-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .built-for-container {
        flex-direction: row;
    }
}

.built-for-content {
    flex: 1;
}

.built-for-content h2 {
    margin-bottom: 1rem;
}

.built-for-content > p {
    margin-bottom: 2.5rem;
}

.features-list {
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: #DBEAFE;
    color: var(--primary-color);
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-text h4 {
    margin-bottom: 0.25rem;
}

.built-for-image {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.built-for-image .image-placeholder {
    padding-top: 60%; /* Maintain aspect ratio */
    position: relative;
    background-image: url(imgs/about-img-iii.jpg);
    background-size: cover;
}



.values-section {
    background-color: #fff;
    padding-bottom: 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
}

.value-card {
    background-color: #F7FAFC;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px var(--shadow-color);
}

.value-icon {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.value-icon i svg {
color: #fff; /* Core value icons are white */
}

/* Specific icon colors from the screenshot */
.value-card:nth-child(1) .value-icon { background-color: var(--primary-color); }
.value-card:nth-child(2) .value-icon { background-color: var(--green-icon); }
.value-card:nth-child(3) .value-icon { background-color: var(--orange-icon); }
.value-card:nth-child(4) .value-icon { background-color: var(--purple-icon); }

/* Responsive adjustments */
@media (max-width: 767px) {
    .mission-container, .built-for-container {
        text-align: center;
    }
    .mission-content ul, .features-list {
        text-align: left;
    }
}













.bullionfx-footer {
    background-color: #111827; /* Dark blue-grey background */
    color: #e2e8f0; /* Light text for contrast */
    padding: 40px 20px;
    box-sizing: border-box;
    width: 100%;
    border-top: 1px solid #2d3748; /* Subtle top border */
    display: flex;
    flex-direction: column; /* Stack content vertically on small screens */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text for simpler layout */
}

.footer-content-wrapper {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between main sections */
}

@media (min-width: 768px) {
    .bullionfx-footer {
        text-align: left; /* Align text left on larger screens */
    }
    .footer-content-wrapper {
        flex-direction: row; /* Arrange content in rows on larger screens */
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* Footer Branding */
.footer-brand {
    flex: 2; /* Takes more space on wider screens */
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center; /* Center brand elements on small screens */
}

@media (min-width: 768px) {
    .footer-brand {
        align-items: flex-start; /* Align brand elements left on larger screens */
    }
}

.footer-logo {
    font-size: 1.6em;
    font-weight: 700;
    color: #4299e1; /* BullionFX blue */
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo svg {
    width: 28px;
    height: 28px;
}

.footer-description {
    font-size: 0.9em;
    line-height: 1.5;
    color: #a0aec0;
    max-width: 400px; /* Limit width for readability */
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #2d3748;
    border-radius: 6px;
    color: #e2e8f0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    background-color: #4299e1;
    color: #ffffff;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Navigation Columns */
.footer-nav-group {
    flex: 1;
    margin-top: 20px; /* Space above nav columns on small screens */
}

@media (min-width: 768px) {
    .footer-nav-group {
        margin-top: 0; /* No extra margin on larger screens */
    }
}

.nav-heading {
    font-size: 1em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.88em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4299e1;
}

/* Copyright Section */
.footer-copyright {
    width: 100%;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #2d3748;
    font-size: 0.85em;
    color: #a0aec0;
}

button{
    font-family: inherit;
}