        /* General Styles and Layout */

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #f9f9f9;
            margin: 0;
            line-height: 1.6;
            color: #22223b;
        }


        .main-nav {
            background-color: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            position: relative;
        }


        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            height: 4rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo a {
            color: #406463;
            font-size: 1.5rem;
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            text-decoration: none;
            white-space: nowrap;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Header Logo Image Styling */
        .header-logo {
            height: 40px;
            width: auto;
            max-width: 200px;
            object-fit: contain;
            transition: opacity 0.3s ease;
            border-radius: 8px;
        }

        .header-logo:hover {
            opacity: 0.8;
        }

        /* Mobile Menu Button (visible on mobile) */

        .mobile-menu-button {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem;
            border-radius: 12px;
            color: #406463;
            background-color: transparent;
            border: none;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
        }

        .mobile-menu-button:hover,
        .mobile-menu-button:focus {
            color: #fff;
            background-color: #406463;
        }

        .mobile-menu-button svg {
            display: block;
            height: 1.5rem;
            width: 1.5rem;
        }

        /* Desktop Menu (hidden on mobile) */
        .desktop-menu-items {
            display: none;
        }

        @media (min-width: 768px) {

            .mobile-menu-button,
            .mobile-menu {
                display: none !important;
            }

            .desktop-menu-items {
                display: block;
            }

            .desktop-menu-items .menu-list {
                display: flex;
                align-items: center;
                list-style: none;
                margin: 0;
                padding: 0;
            }

            .desktop-menu-items .menu-item:not(:last-child) {
                margin-right: 1rem;
            }
        }


        .desktop-menu-items .menu-link {
            color: #22223b;
            padding: 0.5rem 1.2rem;
            border-radius: 24px;
            font-size: 1rem;
            font-weight: 500;
            text-decoration: none;
            transition: background 0.2s, color 0.2s;
        }

        .desktop-menu-items .menu-link:hover,
        .desktop-menu-items .menu-link:focus {
            background: #406463;
            border-radius: 24px;
            color: #fff;
        }

        /* Shared Submenu Styles */
        .has-submenu {
            position: relative;
            }

            .submenu-toggle-btn {
                all: unset;
                color: #22223b;
                display: block;
                padding: 1rem 2rem;
                border-radius: 24px;
                font-size: 1.15rem;
                font-weight: 600;
                text-decoration: none;
                background: transparent;
                box-shadow: none;
                transition: background 0.2s, color 0.2s;
                cursor: pointer;
            }
        .submenu-toggle-btn svg {
            display: inline;
            margin-left: 0.25rem;
            width: 1rem;
            height: 1rem;
            transition: transform 0.3s;
        }

        .submenu-toggle-btn.is-rotated svg {
            transform: rotate(180deg);
        }


        .submenu {
            list-style: none;
            padding: 0.5rem 0;
            margin: 0;
            background-color: #fff;
            border-radius: 0 0 15px 15px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        }

        .submenu-link {
            display: block;
            padding: 0.5rem 1.5rem;
            font-size: 1rem;
            color: #22223b;
            text-decoration: none;
            border-radius: 0;
            transition: background 0.2s, color 0.2s;
        }

        .submenu-link:hover,
        .submenu-link:focus {
            background: #406463;
            color: #fff;
             border-radius: 24px;
        }

        /* Mobile Specific Submenu Styles */
        .mobile-menu {
            display: none;
            padding: 0.5rem 0.5rem 0.75rem;
        }

        .mobile-menu.is-open {
            display: block;
        }



        .mobile-menu .menu-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .mobile-menu .menu-item {
            margin-bottom: 0.5rem;
        }

        .mobile-menu .menu-link {
            color: #22223b;
            display: block;
            padding: 1rem 2rem;
            border-radius: 24px;
            font-size: 1.15rem;
            font-weight: 600;
            text-decoration: none;
            background: transparent;
            box-shadow: none;
            transition: background 0.2s, color 0.2s;
        }

        .mobile-menu .menu-link:hover,
        .mobile-menu .menu-link:focus {
            background: #406463;
            color: #fff;
            border-radius: 24px;
        }


        .mobile-menu .submenu {
            background-color: #f9f9f9;
            box-shadow: none;
            border-radius: 0 0 10px 10px;
            padding-left: 1.5rem;
            display: none;
            overflow: hidden;
            transition: max-height 0.3s ease-in-out;
            max-height: 0;
        }

        .mobile-menu .submenu.is-open {
            display: block;
            max-height: 500px;
        }

        .mobile-menu .submenu-link {
            color: #22223b;
            padding: 0.5rem 1.5rem;
            font-size: 1rem;
            border-radius: 0;
            transition: background 0.2s, color 0.2s;
        }

        .mobile-menu .submenu-link:hover,
        .mobile-menu .submenu-link:focus {
            background: #406463;
            color: #fff;
            border-radius: 24px;
        }

        /* Desktop Specific Submenu Styles */

        .desktop-submenu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 180px;
            z-index: 2001;
            margin-top: 0.5rem;
            transform-origin: top;
            opacity: 0;
            transform: scaleY(0);
            transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
            background: #fff;
            border-radius: 0 0 15px 15px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
            padding: 0.5rem 0;
        }

        .desktop-submenu.is-open {
            display: block;
            opacity: 1;
            transform: scaleY(1);
        }


        .desktop-menu-items .submenu-toggle-btn {
            color: #22223b;
            background: transparent;
            border: none;
            border-radius: 24px;
            font-size: 1rem;
            font-weight: 500;
            padding: 0.5rem 1.2rem;
            transition: background 0.2s, color 0.2s;
        }

        .desktop-menu-items .submenu-toggle-btn:hover,
        .desktop-menu-items .submenu-toggle-btn:focus {
            background: #406463;
            color: #fff;
            border-radius: 24px;
        }

        /* Responsive logo sizing */
        @media (max-width: 768px) {
            .header-logo {
                height: 35px;
                max-width: 180px;
            }
        }

        @media (max-width: 480px) {
            .header-logo {
                height: 30px;
                max-width: 160px;
            }
        }