
        /* Reset and base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header Styles */
        .header {
            background-color: #AAC6E1;
            height: 87px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 20px;
            position: relative;
            flex-wrap: nowrap;
            min-width: 320px;
            width: 100vw; /* Full viewport width */
            margin-bottom: 4px; /* gap to next element below*/
            transition: height 0.3s ease;
            gap: 40px; /* This controls the main spacing - ADJUST THIS */
        }

        /* Left group container */
        .header-left {
            display: flex;
            align-items: center;
            flex-shrink: 0;
            gap: 12px; /* Space between hamburger, nav, and language selector */
            /*order: 1;*/
        }

        /* Brand Text */
        .brand-text {
            color: #FB6602;
            font-family: 'La Belle Aurore', cursive;
            font-size: 36px;
            font-weight: 900;
            text-align: center;
            flex-shrink: 1;
            margin: 0;
            max-width: none;
            white-space: nowrap;
            transition: font-size 0.3s ease;
            /*order: 2; /* Middle position */
        }

        /* Logo */
        .logo {
            width: 80px;
            flex-shrink: 0;
            transition: width 0.3s ease;
            margin-left: 0;
        }

        .logo img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Right group - logo */
        .header-right {
            display: flex;
            align-items: center;
            flex-shrink: 0;
            /*order: 3; /* Explicit order */
        }

        /* Navigation - Compact from start */
        .nav-menu {
            display: flex;
            gap: 5px;
            flex-shrink: 0;
            margin-right: 0;
        }

        .nav-menu a {
            text-decoration: none;
            color: #333;
            font-weight: bold;
            padding: 6px 10px;
            border-radius: 5px;
            transition: background-color 0.3s;
            white-space: nowrap;
            font-size: 18px;
        }

        .nav-menu a:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }

        /* Hamburger menu (hidden by default) */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 3px;
            width: 30px;
            height: 25px;
            flex-shrink: 0;
        }

        .hamburger span {
            width: 30px;
            height: 6px;
            background-color: #333;
            transition: 0.3s;
        }

        /* Language Selector - Icon only */
        .language-selector {
            position: relative;
            display: inline-block;
            flex-shrink: 0;
            margin-left: 0;
        }

        .lang-dropdown {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            padding: 0;
            border: 1px solid #ccc;
            border-radius: 5px;
            background-color: #AAC6E1;
            cursor: pointer;
            width: 50px;
            height: 50px;
            background-image: url('images/languageiconwhiteonblueEN'); /*default image to keep it visible*/
            background-size: 25px 25px;
            background-position: center;
            background-repeat: no-repeat;
            color: transparent; /* Hide the selected text */
            font-weight: bold;
            text-align: center;
        }

        /* Style for the dropdown options */
        .lang-dropdown option {
            background-color: #1E3A8A; /* Dark blue background */
            color: white; /* White text */
            padding: 10px;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
        }

        /* Additional styling for better appearance */
        .lang-dropdown:focus {
            outline: none;
            border-color: #666;
        }

        /* Ensure the dropdown has proper contrast */
        .lang-dropdown option:checked {
            background-color: #2563EB; /* Slightly lighter blue for selected */
        }

        .lang-dropdown option:hover {
            background-color: #3B82F6; /* Lighter blue on hover */
        }

        /* Main Content */
        .main-content {
            flex-grow: 1;
            background-color: white;
            margin-top: 0;
            padding: 5px 10px;
            min-height: 300px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            text-align: center;
            font-family: 'Alegreya Sans', sans-serif;
        }

        /* Exclude the form from inheriting the font */
        .form-container,
        .radio-label,
        .input-group label,
        .form-input,
        .form-textarea,
        .conditions-btn,
        .calculate-btn,
        .book-btn {
            font-family: Arial, sans-serif !important;
        }

        .page-title {
            width: 100%;
            margin-top: 0;
            padding: 10px 10px 15px 10px; /* top - right - bottom - left */
            display: block;
            float: none;
            clear: both;
            order: 1;
        }

        .page-title h1 {
            color: #333;
            margin: 0;
            padding: 0;
            font-family: 'La Belle Aurore', cursive;
            line-height: 1.1;
            text-align: center; /* Or left, depending on your design */
            width: 100%;
        }

        .test-content {
            max-width: 600px;
            margin: 20px auto;
            margin-top: 0;
            display: block;
            float: none;
            clear: both;
            order: 2;
        }

        .test-content p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .test-content a {
            color: #050778;
            text-decoration: none;
            background-image: none;
            padding: 0;
            margin: 0;
        }

        .test-content a:hover {
            color: red;
        }

        .test-content a:active {
            color: #8A4437;
        }

        /* Footer Styles */
        .footer {
            background-color: #000;
            color: white;
            font-size: 14px;
            padding: 10px;
            text-align: center;
            width: 100vw; /* Full viewport width */
        }

        .footer a {
            color: yellow;
            text-decoration: none;
            background-image: none;
            padding: 0;
            margin: 0;
        }

        .footer a:hover {
            color: orange;
        }

        .footer a:active {
            color: #ADD8E6;
        }

        .footer p {
            margin: 5px 0;
            line-height: 1.5;
        }


  /* *************  Container content copiable to clipboard ******************  */
        .copyable-result {
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
            background-color: #f9f9f9;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .copyable-result:hover {
            background-color: #e9e9e9;
        }

        .copyable-result.copied {
            background-color: #d4edda;
            border-color: #c3e6cb;
        }



  /* *************   Responsive Breakpoints ****************** */
        @media (max-width: 1200px) {
            .nav-menu {
                gap:5px;
            }

            .nav-menu a {
                padding: 5px 8px;
                font-size: 18px;
            }

            .header {
                gap: 50px; /* Reduce gap slightly for large screens */
              }
        }

        @media (max-width: 1000px) {
            .brand-text {
                font-size: 34px;
            }

            .header {
                gap: 40px; /* Reduce gap slightly for large screens */
              }
        }

        @media (max-width: 950px) {
            .brand-text {
                font-size: 32px;
            }

            .header {
                gap: 15px; /* Reduce further */
                padding: 0 10px;

            }
        }

        @media (max-width: 900px) {
            .brand-text {
                font-size: 32px;
            }
            .logo {
                width: 80px;
            }
            .header {
                gap: 10px; /* Continue reducing */
            }
        }

        @media (max-width: 850px) {
            .brand-text {
                font-size: 30px;
            }
            .header {
                height: 80px;
            }
            .lang-dropdown {
                height: 45px;
                width: 45px;
                background-size: 25px 25px;
            }
            .logo {
                width: 75px;
            }
        }

        @media (max-width: 800px) {
            .brand-text {
                font-size: 28px;
            }
            .logo {
                width: 70px;
            }
        }

        @media (max-width: 764px) {


            .header {
                height: 70px;
                padding: 4px 25px;
                display: flex;
                flex-wrap: nowrap;
                justify-content: space-between;
                align-items: center;
                gap: 0;
                overflow: visible;
                position: relative;
            }

            /* Reset and constrain all header children */
           .header > * {
               flex-shrink: 1;
               min-width: 0; /* Allow elements to shrink below content size */
           }

            .header-left {
                display: flex;
                align-items: center;
                gap: 8px;
                flex-shrink: 0;
                position: relative; /* ADD THIS */
            }

            .hamburger {
                display: flex;
                span: 6px;
                /*order: 1;*/
            }

            .nav-menu {
                display: none !important;
                position: absolute;
                top: 100%;
                left: 0;
                background-color: #AAC6E1;
                flex-direction: column;
                width: max-content; /* Size to longest content */
                min-width: 80px; /* Reasonable minimum */
                max-width: 150px; /* Reasonable maximum */
                padding: 4px 0;
                border: 1px solid rgba(0,0,0,0.1);
                border-radius: 0 0 5px 5px;
                z-index: 1000;
                gap: 0;
                box-sizing: border-box;
                white-space: nowrap;
            }

            .nav-menu.active {
                display: flex !important;
            }

            .nav-menu a {
                text-align: center;
                padding: 10px;
                border: 1px solid rgba(0,0,0,0.1);
                font-size: 14px;
            }

            .language-selector {
                order: 2;
                margin-left: 0px;
                margin-right: 0px;
                flex-shrink: 0;
            }


            .brand-text {
                /*order: 2;*/
                flex-grow: 1;
                flex-shrink: 1;
                margin: 0 10px;
                font-size: 34px;
                white-space: nowrap;
                text-align: center;
                min-width: 0;
                max-width: 100%; /* Prevent from growing too wide */
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .header-right {
                /*order: 3 !important;*/
                flex-shrink: 0;
                margin-left: auto; /* This pushes it to the right */
            }

            .logo {
                width: 65px;
                margin-left: 12px;
            }

            .lang-dropdown {
                height: 40px;
                width: 40px;
                background-size: 25px 25px;
            }
        }

        @media (max-width: 600px) {
            .brand-text {
                font-size: 34px;
            }

            .header {
                height: 70px;
            }

            .logo {
                width: 60px;
            }
        }

        @media (max-width: 500px) {
            .brand-text {
                font-size: 30px;
            }

            .header {
                height: 65px;
            }

            .logo {
                width: 55px;
            }

            .lang-dropdown {
                height: 36px;
                width: 36px;
                background-size: 25px 25px;
            }
        }

        @media (max-width: 440px) {
            .brand-text {
                font-size: 24px;
            }

            .header {
                height: 60px;
                padding: 6px 10px;
            }

            .logo {
                width: 50px;
            }

            .lang-dropdown {
                height: 32px;
                width: 32px;
                background-size: 25px 25px;
            }

            .hamburger {
                width: 30px;
            }

            .hamburger span {
                width: 30px;
                height: 6px;
            }
        }

        @media (max-width: 360px) {
            .brand-text {
                font-size: 20px;
                white-space: normal;
                display: flex;
                flex-direction: column;
                line-height: 1.1;
                min-width: 100px; /* Even smaller minimum width */
            }

            .header {
                height: 58px;
                padding: 4px 3px; /* Minimal padding */
            }

            .logo {
                width: 45px;
                min-width: 45px;
                margin-left: 5px;
            }

            .lang-dropdown {
                height: 30px;
                width: 30px;
                background-size: 20px 20px;
                min-width: 30px;
            }

            .hamburger {
                width: 25px;
                min-width: 25px;
            }

            .hamburger span {
                width: 25px;
                height: 4px;
            }
        }
