    /* Custom Fonts */
    @font-face {
        font-family: "f1";
        src: url("../fonts/Gilroy-Regular.ttf");
    }

    @font-face {
        font-family: "f2";
        src: url("../fonts/Gilroy-Medium.ttf");
    }

    @font-face {
        font-family: "f3";
        src: url("../fonts/Gilroy-SemiBold.ttf");
    }

    @font-face {
        font-family: "f4";
        src: url("../fonts/Gilroy-Bold.ttf");
    }

    @font-face {
        font-family: "f5";
        src: url("../fonts/Gilroy-RegularItalic.ttf");
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .robotics-body {
        font-family: "f1", -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        overflow-x: hidden;
    }

    /* Navigation Styles */
    .robotics-navbar {
        background-color: #ffffff;
        padding: 1.5rem 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        position: sticky;
        top: 0;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .robotics-navbar-scrolled {
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Logo Styles */
    .robotics-brand-link img {
        width: 200px;
    }

    /* Navigation Links */
    .robotics-nav-menu {
        align-items: center;
        gap: 0.25rem;
        flex-wrap: nowrap;
    }

    .robotics-nav-link {
        color: #1a1a1a;
        font-size: 1rem;
        font-family: "f2", sans-serif;
        padding: 0.625rem 1.125rem;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        white-space: nowrap;
    }

    .robotics-nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #000000;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .robotics-nav-link:hover {
        color: #000000;
    }

    .robotics-nav-link:hover::after {
        width: 70%;
    }

    .robotics-nav-link-active {
        color: #000000;
        font-family: "f3", sans-serif;
    }

    /* Contact Button */
    .robotics-contact-btn {
        background-color: #000000;
        color: #ffffff;
        font-size: 1rem;
        font-family: "f2", sans-serif;
        padding: 0.625rem 1.75rem;
        border: none;
        border-radius: 4px;
        text-decoration: none;
        transition: all 0.3s ease;
        white-space: nowrap;
        display: inline-block;
        margin-left: 0.75rem;
    }

    .robotics-contact-btn:hover {
        background-color: #333333;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    /* Mobile Menu Toggle */
    .robotics-menu-toggle {
        border: 2px solid #000000;
        padding: 0.5rem 0.75rem;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .robotics-menu-toggle:focus {
        box-shadow: none;
        border-color: #000000;
    }

    .robotics-menu-toggle:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .robotics-menu-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }


    .robotics-nav-link:focus,
    .robotics-nav-link:active,
    .robotics-contact-btn:focus,
    .robotics-contact-btn:active {
        outline: none !important;
        box-shadow: none !important;
    }

    /* Mobile Menu Styles */

    @media (max-width: 1051px) {
        .robotics-brand-link img {
            width: 180px;
        }
    }




    @media (max-width: 991px) {

        /* Make collapse look like a dropdown panel */
        .robotics-nav-collapse {
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-left: 0.75rem;
            margin-right: 0.75rem;
            padding: 0.75rem 0;
        }

        /* Menu list spacing */
        .robotics-nav-menu {
            width: 100%;
            padding: 0.25rem 0.75rem;
        }

        /* Each item spacing */
        .robotics-nav-menu .nav-item {
            width: 100%;
            margin: 0.25rem 0;
        }

        /* Link looks like a button row */
        .robotics-nav-link {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;

            padding: 0.9rem 1rem;
            border-bottom: none;
            /* remove old line */
            border-radius: 10px;

            transition: background 0.25s ease, transform 0.25s ease;
        }

        /* Hover / tap feel */
        .robotics-nav-link:hover {
            background: rgba(0, 0, 0, 0.04);
        }

        /* ✅ Active (selected) state on mobile */
        .robotics-nav-link.robotics-nav-link-active {
            background: rgba(0, 0, 0, 0.08);
            font-family: "f3", sans-serif;
            position: relative;
        }

        /* Left indicator bar for active link */
        .robotics-nav-link.robotics-nav-link-active::before {
            content: "";
            position: absolute;
            left: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 60%;
            border-radius: 999px;
            background: #000;
        }

        /* Contact button spacing in menu */
        .robotics-contact-btn {
            border-radius: 10px;
            margin: 0.75rem 0.75rem 0.5rem;
            width: calc(100% - 1.5rem);
            text-align: center;

        }


    }

    /* Tablet Optimization */
    @media (min-width: 768px) and (max-width: 991px) {
        .robotics-navbar {
            padding: 1.125rem 0;
        }

        .robotics-logo-team-text,
        .robotics-logo-subtitle-text {
            font-size: 1.25rem;
        }

        .robotics-logo-icon {
            width: 36px;
            height: 36px;
        }

        .robotics-logo-svg {
            width: 20px;
            height: 20px;
        }

        .robotics-nav-link {
            padding: 1rem 1.25rem;
        }
    }

    /* Small Mobile Optimization - Extra Small Screens */
    @media (max-width: 576px) {
        .robotics-navbar {
            padding: 0.875rem 0;
        }

        .robotics-logo-team-text {
            font-size: 1rem;
        }

        .robotics-logo-subtitle-text {
            font-size: 1rem;
        }

        .robotics-logo-icon {
            width: 32px;
            height: 32px;
        }

        .robotics-logo-svg {
            width: 18px;
            height: 18px;
        }

        .robotics-logo-text-wrapper {
            gap: 0.5rem;
        }

        .robotics-nav-link {
            padding: 0.875rem 1rem;
            font-size: 0.9375rem;
        }

        .robotics-contact-btn {
            margin: 1.25rem 0.75rem 0.5rem;
            width: calc(100% - 1.5rem);
            padding: 0.875rem 1.25rem;
            font-size: 0.9375rem;
        }

        .robotics-nav-collapse {
            padding: 1.25rem 0 0.875rem;
        }
    }

    /* Extra Small Screens - Very Narrow */
    @media (max-width: 380px) {
        .robotics-logo-team-text {
            font-size: 0.9375rem;
        }

        .robotics-logo-subtitle-text {
            font-size: 0.9375rem;
        }

        .robotics-logo-icon {
            width: 30px;
            height: 30px;
        }

        .robotics-logo-svg {
            width: 16px;
            height: 16px;
        }

        .robotics-logo-text-wrapper {
            gap: 0.375rem;
        }
    }

    /* Large Tablet/Small Desktop - Better spacing */
    @media (min-width: 992px) and (max-width: 1199px) {
        .robotics-nav-link {
            padding: 0.625rem 0.75rem;
            font-size: 0.9375rem;
        }

        .robotics-contact-btn {
            padding: 0.625rem 0.625rem;
            font-size: 0.6375rem;
            margin-left: 0.5rem;
        }

        .robotics-logo-team-text,
        .robotics-logo-subtitle-text {
            font-size: 1.125rem;
        }

        .robotics-logo-icon {
            width: 36px;
            height: 36px;
        }

        .robotics-logo-svg {
            width: 20px;
            height: 20px;
        }
    }

    /* Medium Desktop - Optimal spacing */
    @media (min-width: 1200px) and (max-width: 1399px) {
        .robotics-nav-link {
            padding: 0.625rem 0.875rem;
            font-size: 0.9375rem;
        }

        .robotics-contact-btn {
            padding: 0.625rem 1.5rem;
            margin-left: 0.5rem;
        }
    }

    /* Large Desktop */
    @media (min-width: 1200px) {
        .robotics-nav-link {
            padding: 0.625rem 1.25rem;
        }

        .robotics-contact-btn {
            margin-left: 1rem;
        }
    }

    /* Extra Large Desktop */
    @media (min-width: 1400px) {
        .robotics-nav-link {
            padding: 0.625rem 1.5rem;
        }
    }

    /* Ensure no horizontal overflow */
    .robotics-navbar {
        overflow-x: hidden;
    }

    .robotics-container-xl {
        width: 90%;
        margin: 0 auto;
        max-width: 100%;
        overflow-x: hidden;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    /* Navbar wrapper for proper flex layout */
    .robotics-nav-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 1rem;
    }

    /* Make navigation flex and prevent wrapping on desktop */
    @media (min-width: 992px) {
        .robotics-nav-collapse {
            display: flex !important;
            flex-basis: auto;
        }

        .robotics-nav-menu {
            flex-direction: row;
        }
    }

    /* Accessibility */
    .robotics-nav-link:focus,
    .robotics-contact-btn:focus,
    .robotics-menu-toggle:focus {
        outline: 2px solid #000000;
        outline-offset: 2px;
    }

    /* Smooth scrolling for anchor links */
    .robotics-smooth-scroll {
        scroll-behavior: smooth;
    }

    /* Prevent horizontal scroll on body */
    .robotics-body {
        max-width: 100vw;
        overflow-x: hidden;
    }