@media (max-width: 900px) {
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 28px;
        height: 28px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
        margin-left: 1vmin;
    }
    .menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        margin: 3px 0;
        background: #1e3c72;
        border-radius: 1px;
        transition: all 0.3s;
    }
    .nav-buttons {
        display: none !important;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 4px 16px rgba(30,60,114,0.10);
        z-index: 1001;
        padding: 0;
    }
    .nav-buttons.active {
        display: flex !important;
    }
    .nav-btn {
        width: 100%;
        text-align: center;
        margin: 0;
        font-size: 2.2rem;
        padding: 1.2rem 0;
        border-radius: 0;
        border-bottom: 1px solid #eee;
    }
    .nav-btn:last-child {
        border-bottom: none;
    }
        .header, .nav-container {
            height: 28px !important;
            min-height: 28px !important;
            padding: 0 2px !important;
        }
        .logo img {
            height: 14px !important;
        }
        .nav-btn {
            font-size: 1.1rem !important;
            padding: 0.4rem 0 !important;
        }
        .footer {
            position: relative !important;
            height: auto !important;
            min-height: 32px !important;
            padding: 0.5rem 0.2rem !important;
            font-size: 0.9rem !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            width: 100vw !important;
            box-sizing: border-box !important;
            overflow-x: hidden !important;
            background: white !important;
            color: #1e3c72 !important;
            z-index: 1000 !important;
            display: flex !important;
        }
    .footer-container {
        flex-direction: column !important;
        gap: 0.4rem !important;
        padding: 0 !important;
        max-width: 100vw !important;
        width: 100vw !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .footer-links {
        flex-direction: column !important;
        gap: 0.2rem !important;
        align-items: center !important;
        width: 100% !important;
        justify-content: center !important;
    }
    .footer-links a {
        font-size: 0.95rem !important;
        padding: 0.15rem 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    .footer-social {
        flex-direction: row !important;
        gap: 0.5rem !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 0.2rem !important;
    }
    .footer-social a {
        font-size: 1.1rem !important;
    }
}
@media (max-width: 480px) {
            .menu-toggle {
                width: 22px !important;
                height: 22px !important;
            }
            .menu-toggle span {
                width: 14px !important;
                height: 2px !important;
                margin: 2px 0 !important;
            }
            .rotating-element.element-3 .inner-img[alt="Circularity"] {
                width: 11vmin !important;
                height: 11vmin !important;
                max-width: none !important;
                max-height: none !important;
            }
            .element-3 .inner-img {
                width: 11vmin !important;
                height: 11vmin !important;
            }
            .info-box {
                margin-top: -1.5rem !important;
            }
            .main-content {
                padding-top: 38px !important;
            }
            .welcome-text {
                margin-top: 10px !important;
            }
    .footer {
        font-size: 0.85rem !important;
        padding: 0.2rem 0 !important;
    }
    .footer-links a {
        font-size: 0.95rem !important;
    }
    .footer-social a {
        font-size: 1rem !important;
    }
}

        /* CSS Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            font-size: 16px;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            background: url('https://mps-cdn-dev.s3.eu-west-1.amazonaws.com/assets/images/VS-MPS-Home.gif') center top/cover no-repeat fixed;
            min-height: 100vh;
            overflow-x: hidden;
            line-height: 1.5;
            color: #333;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(20, 30, 40, 0.72);
            z-index: 0;
            pointer-events: none;
        }

        /* Header Styles */
        .header {
            background: white;
            padding: 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 16px rgba(30,60,114,0.10);
            min-height: 5vmin;
            height: 5vmin;
        }

        .nav-container {
            width: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2vmin;
            height: 5vmin;
        }

        .logo img {
            height: 3vmin;
            border-radius: 6px;
            background: #fff;
            padding: 1px;
            box-shadow: 0 2px 8px rgba(30,60,114,0.08);
        }

        .nav-buttons {
            display: flex;
            gap: 0.6vmin;
            align-items: center;
        }

        .nav-btn {
            padding: 0.6vmin 1.2vmin;
            border: none;
            background: rgb(116, 197, 181);
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            font-size: 1vmin;
            font-weight: 600;
            letter-spacing: 0.4px;
            box-shadow: 0 2px 8px rgba(30,60,114,0.06);
            transition: all 0.18s;
            margin: 0 0.08vmin;
            line-height: 1.1;
        }

        .nav-btn:hover, .nav-btn.lca-login:hover {
            background: #1e3c72;
            color: rgb(116, 197, 181);
            transform: translateY(-2px) scale(1.04);
            box-shadow: 0 4px 16px rgba(30,60,114,0.13);
        }

        .nav-btn.lca-login {
            background: rgb(116, 197, 181);
            color: #fff;
            border: none;
        }

        /* Mobile menu toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 30px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 10;
        }

        .menu-toggle span {
            width: 30px;
            height: 3px;
            background: rgb(116, 197, 181);
            border-radius: 5px;
            transition: all 0.3s linear;
            position: relative;
            transform-origin: 1px;
        }

        /* Main Content */
        .main-content {
            padding-top: 6vmin;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            width: 100%;
            box-sizing: border-box;
            overflow: auto;
        }

        .welcome-text {
            text-align: center;
            color: white;
            margin-bottom: 2.3vmin;
            z-index: 10;
            padding: 0 1.5vmin;
        }

        .welcome-text h1 {
            font-size: 1.4vmin;
            margin-bottom: 0.8vmin;
            text-shadow: 1px 1px 6px rgba(30,60,114,0.08);
            font-weight: 700;
        }

        .welcome-text .subtitle {
            font-size: 0.8vmin;
            color: rgb(116, 197, 181);
            margin-bottom: 1.5vmin;
            font-weight: 500;
            letter-spacing: 0.2px;
        }

        .highlight {
            color: rgb(116, 197, 181);
        }

        .highlight-blue {
            color: #74c5b5;
        }

        .get-in-touch {
            background: #00bfae;
            color: #fff;
            padding: 0.8vmin 1.8vmin;
            border: none;
            border-radius: 30px;
            font-size: 1vmin;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.18s;
            text-decoration: none;
            display: inline-block;
            margin-top: 1.2vmin;
            box-shadow: 0 2px 8px rgba(30,60,114,0.08);
        }

        .get-in-touch:hover {
            background: #1e3c72;
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(30,60,114,0.13);
        }

        /* Animation Container */
        .animation-container {
            position: relative;
            width: 50vmin;
            height: 50vmin;
            margin: 20px auto;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .center-element {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 15vmin;
            height: 15vmin;
            border-radius: 50%;
            background: none;
            z-index: 100;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .center-element:hover {
            transform: translate(-50%, -50%) scale(1.04);
            box-shadow: 0 8px 24px rgba(0,191,174,0.3);
            z-index: 150;
        }

        .center-element .gear-img {
            width: 100%;
            height: 100%;
            position: absolute;
            border-radius: 50%;
            object-fit: contain;
            animation: rotate-img 16s linear infinite;
        }

        .center-static {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 96%;
            height: 96%;
            transform: translate(-50%, -50%);
            object-fit: contain;
            border-radius: 50%;
            z-index: 60;
        }

        .rotating-element {
            position: absolute;
            width: 9vmin;
            height: 9vmin;
            display: flex;
            justify-content: center;
            align-items: center;
            transform-origin: center;
            padding: 0;
            box-sizing: border-box;
            cursor: pointer;
            transition: box-shadow 0.3s ease;
            border-radius: 50%;
        }

        .rotating-element:hover {
            box-shadow: 0 8px 24px rgba(0,191,174,0.3);
            z-index: 150;
            border-radius: 50%;
        }

        .gear-leaf-wrapper {
            width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.3s ease;
        }

        .rotating-element:hover .gear-leaf-wrapper {
            transform: scale(1.04);
        }

        /* Rotating elements' gears (outer gears) */
        .rotating-element .gear-img {
            width: 145%;
            height: 145%;
            border-radius: 50%;
            object-fit: cover;
            animation: rotate-img 16s linear infinite;
        }

        /* Central gear (center element only) */
        .center-element .gear-img {
            width: 125%;
            height: 125%;
            border-radius: 50%;
            object-fit: cover;
            animation: rotate-img 16s linear infinite;
        }

        .inner-img, .leaf-img-static {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 68px;
            height: 68px;
            object-fit: cover;
            transform: translate(-50%, -50%);
            z-index: 2;
            border-radius: 50%;
            box-shadow: 0 6px 18px rgba(0,191,174,0.22);
        }

        /* Make leaf image smaller */
        .leaf-img-static {
            width: 58px;
            height: 58px;
        }

        /* Make ship image bigger */
        .element-4 .inner-img {
            width: 88px;
            height: 88px;
        }

        /* Make infinite image bigger */
        .element-3 .inner-img[alt="Circularity"] {
            width: 82px;
            height: 82px;
        }

        /* Default counter-rotation for leaf and circularity */
        .element-1 .leaf-img-static {
            animation: counter-rotate-img 16s linear infinite;
        }

        .element-3 .inner-img {
            animation: counter-rotate-img 16s linear infinite;
            animation-delay: -8s;
        }

        /* Specific counter-rotation for steel (element-2) */
        .element-2 .inner-img {
            animation: counter-rotate-img 16s linear infinite;
            animation-delay: -4s;
        }

        /* Specific counter-rotation for ship (element-4) */
        .element-4 .inner-img {
            animation: counter-rotate-img 16s linear infinite;
            animation-delay: -12s;
        }

        .element-1 {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(0deg) translateX(17.5vmin);
            animation: rotate 16s linear infinite;
        }

        .element-2 {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(90deg) translateX(17.5vmin);
            animation: rotate 16s linear infinite;
            animation-delay: -4s;
        }

        .element-3 {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(180deg) translateX(17.5vmin);
            animation: rotate 16s linear infinite;
            animation-delay: -8s;
        }

        .element-4 {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(315deg) translateX(17.5vmin);
            animation: rotate 16s linear infinite;
            animation-delay: -12s;
        }

        /* Animations */
        @keyframes rotate {
            0% {
                transform: translate(-50%, -50%) rotate(0deg) translateX(17.5vmin);
            }
            100% {
                transform: translate(-50%, -50%) rotate(360deg) translateX(17.5vmin);
            }
        }

        @keyframes rotate-img {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes counter-rotate-img {
            0% {
                transform: translate(-50%, -50%) rotate(0deg);
            }
            100% {
                transform: translate(-50%, -50%) rotate(-360deg);
            }
        }

        /* Info Box */
        .info-box {
            background: #fff;
            border: 2px solid #00bfae;
            padding: 1.5vmin;
            border-radius: 10px;
            max-width: 60vmin;
            width: 95%;
            font-size: 1.1vmin;
            color: #1e3c72;
            box-shadow: 0 3px 12px rgba(30,60,114,0.08);
            text-align: center;
            z-index: 100;
            margin-top: 2vmin;
        }

        .info-box h4 {
            color: #00bfae;
            margin-bottom: 0.8vmin;
            font-size: 1.3vmin;
        }

        /* Footer */
        .footer {
            background: white;
            color: #1e3c72;
            width: 100%;
            z-index: 1000;
            position: fixed;
            left: 0;
            bottom: 0;
            height: 4vmin;
            display: flex;
            align-items: center;
            padding: 0;
        }
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

        .footer-container {
            max-width: 90vmin;
            margin: 0 auto;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 3vmin;
            padding: 0 2vmin;
        }

        .footer-links {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 1.5vmin;
            flex-wrap: wrap;
            justify-content: center;
        }

        .footer-links a {
            color: #1e3c72;
            text-decoration: none;
            transition: color 0.2s;
            font-weight: 600;
            font-size: 1vmin;
        }

        .footer-links a:hover {
            color: #00bfae;
            text-decoration: underline;
        }

        .footer-social {
            display: flex;
            gap: 1.2vmin;
            align-items: center;
        }

        .footer-social a {
            color: #1e3c72;
            font-size: 1.6vmin;
            transition: color 0.2s;
        }

        .footer-social a:hover {
            color: #00bfae;
        }

        /* Popup Styles */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .popup-box {
            display: flex;
            align-items: center;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 24px rgba(30,60,114,0.18);
            padding: 20px;
            max-width: 90%;
            width: 500px;
            min-height: 120px;
            font-size: 16px;
            color: #1e3c72;
            position: relative;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .popup-overlay.active .popup-box {
            transform: translateY(0);
        }

        .popup-img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border-radius: 10px;
            margin-right: 20px;
            background: #f3f7fa;
            box-shadow: 0 2px 8px rgba(0,191,174,0.22);
        }

        .popup-close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            color: #1e3c72;
            cursor: pointer;
            font-weight: bold;
            background: none;
            border: none;
        }

        /* Responsive Styles */
        @media (max-width: 1024px) {
            .animation-container {
                width: 400px;
                height: 400px;
            }
            
            .center-element {
                width: 140px;
                height: 140px;
            }
            
            .rotating-element {
                width: 90px;
                height: 90px;
            }
            
            .element-1, .element-2, .element-3, .element-4 {
                transform: translate(-50%, -50%) rotate(var(--rotation)) translateX(160px);
            }
            
            @keyframes rotate {
                0% {
                    transform: translate(-50%, -50%) rotate(0deg) translateX(160px);
                }
                100% {
                    transform: translate(-50%, -50%) rotate(360deg) translateX(160px);
                }
            }
        }

        @media (max-width: 768px) {
            /* Fix infinity logo sizing for mobile */
            .element-3 .inner-img[alt="Circularity"],
            .element-3 .inner-img {
                width: 3.2vmin !important;
                height: 3.2vmin !important;
                max-width: 100%;
                max-height: 100%;
            }
            .nav-buttons {
                display: none;
                position: absolute;
                top: 5vmin;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                padding: 2vmin 0;
                box-shadow: 0 4px 16px rgba(30,60,114,0.10);
                z-index: 1001;
            }
            .nav-buttons.active {
                display: flex;
            }
            .nav-btn {
                width: 100%;
                text-align: center;
                margin: 1.2vmin 0;
                font-size: 2.8vmin;
                padding: 2.5vmin 0;
                border-radius: 0;
                border-bottom: 1px solid #eee;
            }
            .nav-btn:last-child {
                border-bottom: none;
            }
            .menu-toggle {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                width: 44px;
                height: 44px;
                background: transparent;
                border: none;
                cursor: pointer;
                z-index: 1100;
                margin-left: 1vmin;
            }
            .menu-toggle span {
                display: block;
                width: 32px;
                height: 4px;
                margin: 4px 0;
                background: #1e3c72;
                border-radius: 2px;
                transition: all 0.3s;
            }
            .animation-container {
                width: 30vmin;
                height: 30vmin;
            }
            .center-element {
                width: 10vmin;
                height: 10vmin;
            }
            .rotating-element {
                width: 6vmin;
                height: 6vmin;
            }
            .inner-img, .leaf-img-static {
                width: 3.5vmin;
                height: 3.5vmin;
            }
            .leaf-img-static {
                width: 3vmin;
                height: 3vmin;
            }
            .element-4 .inner-img {
                width: 4vmin;
                height: 4vmin;
            }
            .element-1, .element-2, .element-3, .element-4 {
                transform: translate(-50%, -50%) rotate(var(--rotation)) translateX(9vmin);
            }
            @keyframes rotate {
                0% {
                    transform: translate(-50%, -50%) rotate(0deg) translateX(9vmin);
                }
                100% {
                    transform: translate(-50%, -50%) rotate(360deg) translateX(9vmin);
                }
            }
            .welcome-text h1 {
                font-size: 3.5vmin;
            }
            .welcome-text .subtitle {
                font-size: 2vmin;
            }
            .info-box {
                font-size: 2.2vmin;
            }
        }

        @media (max-width: 480px) {
            /* Fix infinity logo sizing for small mobile */
            /* (removed conflicting small size) */
            .element-3 .inner-img {
                width: 13vmin !important;
                height: 13vmin !important;
            }
            .animation-container {
                width: 44vmin;
                height: 54vmin !important;
                min-height: 54vmin !important;
                margin-bottom: 2.5rem !important;
            }
            .welcome-text {
                margin-top: 5.5rem !important;
            }
            .center-element {
                width: 16vmin;
                height: 16vmin;
            }
            .rotating-element {
                width: 10vmin;
                height: 10vmin;
            }
            .inner-img, .leaf-img-static {
                width: 8vmin;
                height: 8vmin;
            }
            .leaf-img-static {
                width: 6.5vmin;
                height: 6.5vmin;
            }
            .element-4 .inner-img {
                width: 8vmin;
                height: 8vmin;
            }
            .element-1, .element-2, .element-3, .element-4 {
                transform: translate(-50%, -50%) rotate(var(--rotation)) translateX(15vmin);
            }
            @keyframes rotate {
                0% {
                    transform: translate(-50%, -50%) rotate(0deg) translateX(15vmin);
                }
                100% {
                    transform: translate(-50%, -50%) rotate(360deg) translateX(15vmin);
                }
            }
            .welcome-text h1 {
                font-size: 2.2vmin;
            }
            .popup-box {
                flex-direction: column;
                text-align: center;
            }
            .popup-img {
                margin-right: 0;
                margin-bottom: 1.5vmin;
            }
            .footer-links {
                flex-direction: column;
                gap: 1.2vmin;
            }
        }
