
        :root {
            --text-dark: #111;
            --primary: #3498db;
            --secondary: #2ecc71;
            --bg-dark: #0f172a;
            --text-light: #ffffff;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            min-height: 200vh; /* For scroll demonstration */
        }

        /* ===== Header Container ===== */
        .smart-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(255, 255, 255, 2);
            color: var(--bg-dark);
            padding: 1rem 2rem;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }

        .smart-header.scrolled {
            background-color: rgba(44, 62, 80, 0.95);
            color: var(--text-light);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .smart-header.dark-mode {
            background-color: var(--bg-dark);
            color: var(--text-light);
        }

        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
        }

        /* ===== Logo Styles ===== */
        .logo {
            display: flex;
            align-items: center;
            gap: 0.2rem;
            text-decoration: none;
            height: 40px;
        }

        .logo-mark {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-mark img {
            width: 100%;
            height: auto;
            max-height: 40px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .logo-type {
            font-size: 1.7rem;
            font-weight: 750;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            transition: var(--transition);
        }

        .logo:hover .logo-mark img {
            transform: scale(1.1);
        }

        .smart-header.scrolled .logo-type {
            color: var(--text-light);
            background: none;
            -webkit-background-clip: initial;
            background-clip: initial;
        }

        /* ===== Navigation Styles ===== */
        .primary-nav {
            display: flex;
            align-items: center;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            align-items: center;
        }

        .nav-menu > li {
            position: relative;
            margin-left: 1.5rem;
        }

        .nav-link {
            color: inherit;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            padding: 0.5rem 0;
            display: inline-block;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: var(--transition);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Dropdown styles */
        .dropdown {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 4px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 10;
            list-style: none;
        }

        .dropdown-menu li {
            padding: 0.75rem 1.25rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .dropdown-menu li:last-child {
            border-bottom: none;
        }

        .dropdown-menu .nav-link {
            color: var(--bg-dark);
            white-space: nowrap;
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .smart-header.dark-mode .dropdown-menu {
            background-color: var(--bg-dark);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .smart-header.dark-mode .dropdown-menu .nav-link {
            color: var(--text-light);
        }

        /* Button styles */
        .header-button {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: white;
            padding: 0.6rem 0.6rem;
            border-radius: 4px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            margin-left: 1.5rem;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .header-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        /* Mobile styles */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }

        .toggle-line {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--text-dark);
            margin: 5px 0;
            transition: var(--transition);
        }

        .smart-header.scrolled .toggle-line,
        .smart-header.dark-mode .toggle-line {
            background-color: var(--text-light);
        }

        /* Hamburger animation */
        .mobile-toggle[aria-expanded="true"] .toggle-line:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .mobile-toggle[aria-expanded="true"] .toggle-line:nth-child(2) {
            opacity: 0;
        }

        .mobile-toggle[aria-expanded="true"] .toggle-line:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        @media (max-width: 992px) {
            .nav-menu > li {
                margin-left: 1rem;
            }
        }

        @media (max-width: 768px) {
        .mobile-toggle {
    display: block;
}

.primary-nav {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px); /* Subtract the height of the toggle */
    background-color: white;
    flex-direction: column;
    justify-content: flex-start; /* Changed from center to flex-start */
    align-items: center;
    clip-path: circle(0px at 90% -10%);
    -webkit-clip-path: circle(0px at 90% -10%);
    transition: all 0.5s ease-out;
    overflow-y: auto; /* Enable vertical scrolling */
    z-index: 1000;
    /* Remove pointer-events: none */
}

/* Add a class for when the menu is open */
.primary-nav.open {
    clip-path: circle(1500px at 90% -10%);
    -webkit-clip-path: circle(1500px at 90% -10%);
    pointer-events: auto; /* Re-enable pointer events when open */
}

            .primary-nav.active {
                clip-path: circle(1500px at 90% -10%);
                -webkit-clip-path: circle(1500px at 90% -10%);
                pointer-events: all;
            }

            .nav-menu {
                flex-direction: column;
                align-items: center;
                width: 100%;
                padding: 2rem;
            }

            .nav-menu > li {
                margin: 1rem 0;
                width: 100%;
                text-align: center;
                opacity: 0;
            }

            .dropdown-menu {
                position: static;
                display: none;
                width: 100%;
                background-color: rgba(0, 0, 0, 0.05);
                box-shadow: none;
                margin-top: 0.5rem;
                opacity: 1;
                visibility: visible;
                transform: none;
            }

            .dropdown.active .dropdown-menu {
                display: block;
            }

            .primary-nav.active > .nav-menu > li {
                opacity: 1;
            }

   .header-button {
    margin: 0rem 0 0;      /* 1.5rem top margin, 0 left/right */
    width: 80%;              /* 80% of parent width */
    max-width: 200px;        /* But never wider than 200px */
    text-align: center;      /* Horizontally centers the text */
    
    /* Additional properties you might want to consider: */
    display: block;          /* Makes it a block element */
    margin-left: auto;       /* These two properties together */
    margin-right: auto;      /* will center the button itself */
    padding: 0.5rem 0.5rem;    /* Add some padding for better appearance */
}

            /* Dark mode mobile */
            .smart-header.dark-mode .primary-nav {
                background: var(--bg-dark);
            }

            @keyframes navLinkFade {
                from {
                    opacity: 0;
                    transform: translateX(50px);
                }
                to {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
        }
