.irm-627-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background Images */
.irm-627-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.irm-627-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.irm-627-bg-img.active {
    opacity: 1;
}

/* Overlay */
.irm-627-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Default color set by Elementor control */
}

/* Menu Layout */
.irm-627-menu-wrapper {
    position: relative;
    z-index: 2;
    padding-left: 10vw;
    width: 100%;
}

.irm-627-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.irm-627-nav li {
    margin: 0;
    padding: 0;
}

/* Menu Items */
.irm-627-menu-item {
    position: relative;
    display: inline-block;
    font-size: 48px; /* Fallback, usually overridden by Elementor Typography */
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

/* Hover Underline Effect */
.irm-627-menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    transition: width 0.3s ease;
}

.irm-627-menu-item:hover::after {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .irm-627-menu-wrapper {
        padding-left: 5vw;
    }
    
    .irm-627-menu-item {
        font-size: 32px;
    }
}