.floating-menu-wrapper {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 200;
    opacity: 0;
    transform: translateY(-100px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.floating-menu-wrapper.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.floating-menu-pill {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 6px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.floating-menu-pill.scrolled {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.float-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50px;
    background-color: #054629;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Keep icon stable */

.float-icon-btn i {
    flex-shrink: 0;
}

/* Contact text hidden by default */

.float-icon-btn .contact-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

/* Expand on hover - smooth slide right */

.float-icon-btn.expandable:hover {
    width: auto;
    padding: 0 20px 0 15px;
    justify-content: flex-start;
}

.float-icon-btn.expandable:hover .contact-text {
    max-width: 250px;
    opacity: 1;
    margin-left: 10px;
}

.float-icon-btn.text-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

/* Language button stays circular */

.float-icon-btn.text-btn:hover {
    width: 45px;
    padding: 0;
}

.float-menu-btn {
    height: 45px;
    background-color: #054629;
    border: none;
    border-radius: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.float-menu-btn:hover {
    background-color: #b08455;
    transform: scale(1.02);
}

.float-menu-btn .menu-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.float-menu-btn .hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.float-menu-btn .hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Active state for menu button (when menu is open) */

.float-menu-btn.active {
    background-color: #d9ad7f;
}

.float-menu-btn.active .hamburger-icon span:first-child {
    transform: rotate(45deg) translateY(5px);
}

.float-menu-btn.active .hamburger-icon span:last-child {
    transform: rotate(-45deg) translateY(-5px);
}

@media (max-width: 768px) {
    .floating-menu-wrapper {
        top: 15px;
        right: 15px;
    }

    .floating-menu-pill {
        padding: 4px;
        gap: 6px;
    }

    /* Hide phone, email, and language buttons on mobile */
    .float-icon-btn {
        display: none;
    }

    .float-menu-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .float-menu-btn .menu-text {
        display: none;
    }

    .float-menu-btn .hamburger-icon {
        width: 20px;
        gap: 4px;
    }

    .float-menu-btn .hamburger-icon span {
        height: 2px;
    }
}/* Bauhaus Pattern Styles */
.bauhaus-pattern-wrapper {
    --c-dark: #123f30;
    /* Deep Forest Green */
    --c-mid: #4d8b67;
    /* Sage/Leaf Green */
    --c-tan: #dcc2a6;
    /* Beige/Sand */
    --c-white: #ffffff;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;

    /* Flex layout to tile the blocks */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    /* Start from top */

    opacity: 0.15;
    /* Very subtle background */
    pointer-events: none;
    gap: 0;
    /* No gap between blocks */
}
/* The Main Pattern Container (The Block) */
.pattern-container {
    width: 300px;
    /* Fixed width to ensure consistent tile size */
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* Removed box-shadow for seamless background look */
}
/* --- Tile Base --- */
.pattern-container .tile {
    aspect-ratio: 1 / 1;
    /* Restore square aspect ratio */
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* --- Colors --- */
.pattern-container .bg-dark {
    background-color: var(--c-dark);
}
.pattern-container .bg-mid {
    background-color: var(--c-mid);
}
.pattern-container .bg-tan {
    background-color: var(--c-tan);
}
.pattern-container .bg-white {
    background-color: var(--c-white);
}
.pattern-container .color-dark {
    color: var(--c-dark);
}
.pattern-container .color-mid {
    color: var(--c-mid);
}
.pattern-container .color-tan {
    color: var(--c-tan);
}
.pattern-container .color-white {
    color: var(--c-white);
}
/* --- Shapes --- */
/* 1. The Leaf (Petal) */
.pattern-container .shape-leaf {
    width: 100%;
    height: 100%;
    border-radius: 0 100% 0 100%;
}
/* 2. The House */
.pattern-container .shape-house {
    width: 60%;
    height: 60%;
    background: currentColor;
    clip-path: polygon(50% 0%, 100% 35%, 100% 100%, 0% 100%, 0% 35%);
    position: relative;
}
/* House Chimney */
.pattern-container .shape-house::before {
    content: '';
    position: absolute;
    right: 15%;
    top: 10%;
    width: 15%;
    height: 20%;
    background: currentColor;
}
/* 3. The Arcs (Wifi/Rainbow) */
.pattern-container .shape-arcs {
    width: 180%;
    height: 180%;
    border-radius: 50%;
    border: 8px solid currentColor;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(-50%, 50%);
    box-shadow: 0 0 0 15px transparent, 0 0 0 23px currentColor;
}
/* 4. The Circle */
.pattern-container .shape-circle {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: currentColor;
}
/* 5. The "Sparkle" / Inverted Circle */
.pattern-container .shape-sparkle-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--c-tan);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pattern-container .shape-sparkle-inner {
    width: 60%;
    height: 60%;
    background: var(--c-dark);
    clip-path: polygon(50% 0%, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0% 50%, 39% 35%);
}
/* --- Utilities --- */
.pattern-container .rotate-90 {
    transform: rotate(90deg);
}
.pattern-container .rotate-180 {
    transform: rotate(180deg);
}
.pattern-container .rotate-270 {
    transform: rotate(270deg);
}
/* Grid Layout Response */
@media (max-width: 600px) {
    .pattern-container {
        width: 100%;
        /* On mobile, let it fill width if needed, or keep fixed */
        grid-template-columns: repeat(4, 1fr);
        /* Keep 4 columns for consistency */
    }
}