* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

 html{touch-action: manipulation; -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; overscroll-behavior: none; -webkit-tap-highlight-color: transparent;}

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
            background-color: #ffffff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            color: #000;
        }

        /* Custom cursor */
        .custom-cursor {
            position: fixed;
            pointer-events: none;
            z-index: 9999;
            color: #ffffff;
            font-size: 14px;
            font-style: italic;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        /* Main content section */
        .hero-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 60px 60px 60px 100px;
            position: relative;
        }

        .content-wrapper {
            text-align: left;
            width: 100%;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        h1 {
            font-size: 8rem;
            font-weight: 300;
            font-style: italic;
            line-height: 0.95;
            letter-spacing: -0.02em;
            color: #000;
            margin-bottom: 40px;
            transform: translateY(20px);
            opacity: 0;
            margin-bottom: 5rem !important;
        }

        .cta-container {
            position: relative;
            display: inline-block;
            margin-top: 0;
            transform: translateY(20px);
            opacity: 0;
        }

        .arrow {
            position: absolute;
            left: 55px;
            top: -65px;
            width: 60px;
            height: 70px;
            animation: bounce 2s ease-in-out infinite;
        }

        .arrow svg {
            width: 100%;
            height: 100%;
        }

        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(10px);
            }
        }

        .cta-button {
            display: inline-block;
            padding: 16px 45px;
            border: 2px solid #000;
            border-radius: 50px;
            text-decoration: none;
            color: #000;
            font-size: 12px;
            letter-spacing: 1.5px;
            transition: all 0.3s ease;
            background-color: transparent;
            position: relative;
            cursor: none;
            font-weight: 400;
            text-transform: uppercase;
        }

        .cta-button:hover {
            background-color: #000;
            color: #fff;
            transform: scale(1.05);
        }

        /* Form section styles */
        .form-section {
            min-height: 100vh;
            padding: 40px 60px 40px 100px;
            display: flex;
            flex-direction: column;
            background-color: #ffffff;
            position: relative;
            opacity: 0;
            transform: translateY(20px);
        }

        .step-indicators {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 20px;
            opacity: 0;
        }

        .step-number {
            font-size: 18px;
            color: #ccc;
            font-weight: 300;
            transition: color 0.3s;
        }

        .step-number.active {
            color: #000;
        }

        .form-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 60px;
            opacity: 0;
        }

        .back-link {
            text-decoration: none;
            color: #000;
            font-size: 16px;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .back-link:hover {
            transform: translateX(-5px);
        }

        .toggle-container {
            width: 56px;
            height: 30px;
            background-color: #000;
            border-radius: 20px;
            position: relative;
            cursor: pointer;
        }

        .toggle-circle {
            position: absolute;
            right: 2px;
            top: 2px;
            width: 26px;
            height: 26px;
            background-color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 500;
        }

        .form-content {
            flex: 1;
            max-width: 800px;
            width: 100%;
            opacity: 0;
            transform: translateY(20px);
        }

        .form-content h2 {
            font-size: 4rem;
            font-weight: 300;
            margin-bottom: 80px;
            letter-spacing: -0.02em;
            line-height: 1.1;
            font-style: normal;
        }

        .contact-form {
            width: 100%;
        }

        .form-group {
            margin-bottom: 50px;
            position: relative;
            opacity: 0;
            transform: translateY(20px);
        }

        .form-group label {
            display: block;
            font-size: 28px;
            font-weight: 400;
            margin-bottom: 15px;
            color: #000;
        }
        
        .star-icon {
            display: inline-block;
            margin-right: 8px;
            font-size: 18px;
            vertical-align: middle;
        }

        .form-group input {
            width: 100%;
            padding: 0 0 10px 0;
            border: none;
            border-bottom: 2px solid #000;
            background-color: transparent;
            font-size: 18px;
            outline: none;
            transition: all 0.3s ease;
        }

        .form-group textarea {
            width: 100%;
            border-bottom: 2px solid #000;
            background-color: transparent;
            font-size: 18px;
            outline: none;
            resize: none;
            padding: 10px 0;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-bottom-color: #666;
        }

        /* Validation styles */
        .form-group input.valid,
        .form-group textarea.valid {
            border-bottom-color: #4CAF50;
        }

        .form-group input.invalid,
        .form-group textarea.invalid {
            border-bottom-color: #F44336;
            animation: shake 0.5s;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        .error-message {
            position: absolute;
            bottom: -25px;
            left: 0;
            font-size: 14px;
            color: #F44336;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .error-message.show {
            opacity: 1;
            transform: translateY(0);
        }

        /* Services section */
        .services-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 60px;
            opacity: 0;
            transform: translateY(20px);
        }

        .service-option {
            position: relative;
            flex: 1 0 calc(50% - 30px);
            min-width: 250px;
            padding: 0 0 15px 0;
            cursor: pointer;
            font-size: 28px;
            font-weight: 400;
            transition: all 0.3s ease;
            border-bottom: 2px solid transparent;
        }

        .service-option:hover {
            border-bottom: 2px solid #000;
        }

        .service-option.selected {
            border-bottom: 2px solid #000;
            font-weight: 500;
        }

        .service-option.selected::after {
            content: '✓';
            position: absolute;
            right: 0;
            top: 0;
            font-size: 24px;
            color: #4CAF50;
        }

        .services-error {
            display: block;
            color: #F44336;
            font-size: 18px;
            margin-top: -40px;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .services-error.show {
            opacity: 1;
            transform: translateY(0);
            animation: pulse 1.5s ease-in-out;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .form-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 60px;
            padding-top: 20px;
            position: relative;
            opacity: 0;
            transform: translateY(20px);
        }

        .page-counter {
            font-size: 24px;
            font-weight: 300;
            color: #666;
        }

        .next-arrow-indicator {
            position: absolute;
            right: 80px;
            bottom: 70px;
            width: 40px;
            height: 40px;
            animation: bounceArrow 2s ease-in-out infinite;
        }

        @keyframes bounceArrow {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-5px);
            }
        }

        .next-arrow-indicator svg {
            width: 100%;
            height: 100%;
        }

        .next-button {
            display: flex;
            align-items: center;
            gap: 15px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .next-button:hover {
            transform: translateX(5px);
        }

        .next-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .next-button svg {
            width: 30px;
            height: 30px;
        }

        /* Budget error styles */
        .budget-error {
            display: block;
            color: #F44336;
            font-size: 16px;
            margin-top: 10px;
            padding: 10px;
            background-color: #fff9f9;
            border-left: 3px solid #F44336;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }
        
        .budget-error.show {
            opacity: 1;
            transform: translateY(0);
        }

        /* Thank you page styles */
        .thank-you-section {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 40px;
            background-color: #f8f8f8;
            position: relative;
            opacity: 0;
        }

        .thank-you-content {
            max-width: 800px;
            width: 100%;
        }

        .thank-you-title {
            font-size: 5rem;
            font-weight: 300;
            margin-bottom: 40px;
            line-height: 1.1;
            min-height: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
            transform: translateY(20px);
            opacity: 0;
        }

        .thank-you-subtitle {
            font-size: 2rem;
            font-weight: 300;
            margin-bottom: 40px;
            line-height: 1.4;
            transform: translateY(20px);
            opacity: 0;
        }

        .countdown-timer {
            font-size: 2.5rem;
            font-weight: 300;
            margin: 40px 0;
            color: #333;
            display: flex;
            justify-content: center;
            gap: 10px;
            opacity: 0;
            transform: translateY(20px);
        }

        .countdown-unit {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 80px;
        }

        .countdown-value {
            font-size: 3rem;
            font-weight: 400;
        }

        .countdown-label {
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 5px;
        }

        .thank-you-message {
            font-size: 1.2rem;
            line-height: 1.6;
            max-width: 600px;
            margin: 40px auto;
            transform: translateY(20px);
            opacity: 0;
        }

        .thank-you-decoration {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            opacity: 0.05;
            overflow: hidden;
        }

        .thank-you-decoration span {
            position: absolute;
            font-size: 15rem;
            font-weight: bold;
            font-style: italic;
            transform: rotate(-15deg);
            opacity: 0.1;
        }

        .thank-you-decoration span:nth-child(1) {
            top: 10%;
            left: 5%;
        }

        .thank-you-decoration span:nth-child(2) {
            top: 30%;
            right: 10%;
        }

        .thank-you-decoration span:nth-child(3) {
            bottom: 20%;
            left: 15%;
        }

        /* Mobile styles */
        @media (max-width: 1024px) {
            h1 {
                font-size: 6rem;
                margin-bottom: 35px;
            }
            
            .hero-section, .form-section {
                padding: 40px 40px 40px 60px;
            }
            
            .form-content h2 {
                font-size: 3.2rem;
            }
            
            .thank-you-title {
                font-size: 4rem;
            }
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 4rem;
                margin-bottom: 30px;
            }

            .hero-section, .form-section {
                padding: 40px 20px 40px 40px;
            }

            .arrow {
                left: 50px;
                top: -70px;
                width: 50px;
                height: 70px;
            }

            .cta-container {
                margin-top: 40px;
            }
            
            .form-content h2 {
                font-size: 2.5rem;
                margin-bottom: 50px;
            }
            
            .error-message {
                font-size: 12px;
                bottom: -20px;
            }
            
            .service-option {
                font-size: 24px;
                flex: 1 0 100%;
            }
            
            .services-error {
                font-size: 16px;
                margin-top: -30px;
            }

            .budget-error {
                font-size: 14px;
            }
            
            .thank-you-title {
                font-size: 3rem;
                min-height: 150px;
            }
            
            .thank-you-subtitle {
                font-size: 1.5rem;
            }
            
            .countdown-timer {
                font-size: 1.8rem;
            }
            
            .countdown-value {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 3rem;
                margin-bottom: 30px;
            }
            
            .hero-section, .form-section {
                padding: 40px 20px;
            }
            
            .arrow {
                left: 40px;
                top: -60px;
                width: 40px;
                height: 60px;
            }
            
            .cta-container {
                margin-top: 30px;
            }
            
            .step-indicators {
                display: none;
            }
            
            .form-content h2 {
                font-size: 2rem;
                margin-bottom: 40px;
            }
            
            .error-message {
                font-size: 11px;
                bottom: -18px;
            }
            
            .service-option {
                font-size: 22px;
            }
            
            .services-error {
                font-size: 14px;
                margin-top: -20px;
            }

            .budget-error {
                font-size: 12px;
            }
            
            .thank-you-title {
                font-size: 2.5rem;
                min-height: 120px;
            }
            
            .thank-you-subtitle {
                font-size: 1.2rem;
            }
            
            .countdown-timer {
                font-size: 1.5rem;
                flex-wrap: wrap;
            }
            
            .countdown-unit {
                min-width: 70px;
            }
            
            .countdown-value {
                font-size: 2rem;
            }
            
            .thank-you-message {
                font-size: 1rem;
            }
        }

/* footer 8/

/* Typing Ticker Section */
.ticker-section {
    background-color: hsl(0, 0%, 100%);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ticker-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 31, 31, 0.5), transparent);
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Bottom border scan (new) */
.ticker-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 31, 31, 0.5), transparent);
    animation: scan 8s linear infinite;
}

/* Scan animation */
@keyframes scan {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.ticker-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    color: #000000;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker-text {
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    margin-left: 3px;
    font-weight: 300;
    color: #fff;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
    .ticker-container {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ticker-container {
        font-size: 16px;
    }
}

 

/* Footer Styles */
footer {
    background-color: hsl(0, 0%, 100%);;
    color: #000000;
    padding: 50px 0 20px;
    font-size: 15px;
    backdrop-filter: blur(10px);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

/* Company Info Section */
.company-info h2 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.company-info p {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 14px;
}

.company-info a {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.company-info a:hover {
    opacity: 0.8;
}

/* Navigation Section */
.footer-nav {
    text-align: center;
}

.footer-nav ul {
    list-style: none;
    padding-top: 10px;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-style: italic;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: underline;
  text-decoration-thickness: 1px; 
  text-underline-offset: 2px;     
}

.footer-nav a:hover {
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter {
    text-align: right;
}

.newsletter h3 {
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.email-input {
    padding: 12px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    color: #000000;
    font-size: 14px;
    font-style: italic;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-bottom: 1px solid rgba(5, 5, 5, 0.8);
}

.email-input::placeholder {
    color: rgba(5, 5, 5, 0.6);
    font-style: italic;
}


.privacy-section {
    background-color: hsl(0, 0%, 100%);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.privacy-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.privacy-link {
    color: #000000;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.privacy-link:hover {
    opacity: 0.8;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
}

.privacy-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.privacy-checkbox label {
    font-size: 12px;
    font-style: italic;
    line-height: 1.4;
    cursor: pointer;
}

.flag-icon {
            width: 20px;
            height: 15px;
        }

.submit-button {
    padding: 12px 40px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #000000;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.submit-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: #000000;
    transition: all 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Center and style copyright */
.copyright {
  text-align: center;
  color: #000000;
  font-size: 14px;
  margin: 40px 0;
  text-decoration: none;
  
}

/* Remove link styles and match rest of text */
.footer-link {
  color: inherit;
  text-decoration: none;
  font-style: inherit;
  font-weight: inherit;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .newsletter {
        grid-column: 1 / -1;
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
    }

    .submit-button {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .company-info h2 {
        font-size: 18px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links span {
        display: none;
    }
}
        


    /* Menu Button */
.fsm-menu-button {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 50;
    background: black;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.fsm-menu-button:hover {
    background: #333;
}

.fsm-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 20px;
    justify-content: center;
}

.fsm-hamburger-line {
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.fsm-close-icon {
    display: none;
    width: 20px;
    height: 20px;
}

/* Menu Overlay */
.fsm-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: linear-gradient(135deg, #ffffff, #ffffff 100%);
    transform: translateY(100%);
    transition: transform 0.7s ease-in-out;
}

.fsm-menu-overlay.fsm-open {
    transform: translateY(0);
}

/* Header */
.fsm-menu-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 32px;
}

.fsm-logo {
    color: rgb(0, 0, 0);
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.7s ease;
}

.fsm-logo.fsm-animate {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.2s;
}

.fsm-logo-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fsm-logo-inner {
    width: 32px;
    height: 32px;
    background: rgb(0, 0, 0);
    border-radius: 4px;
}

/* safest override – keeps the text visible and forces it white */
.fsm-nav-item:hover .fsm-nav-item-title-static {
  color: #fff !important;
  opacity: 1 !important;   /* undo the “opacity: 0” that’s hiding it */
}

/* optional: smooth colour change without fading out */
.fsm-nav-item-title-static {
  transition: color 0.3s ease;  /* leave opacity alone */
}


.fsm-search-button {
    background: white;
    color: black;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateX(100%);
    opacity: 0;
}

.fsm-search-button.fsm-animate {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.fsm-search-button:hover {
    background: #f0f0f0;
}

/* Main Content */
.fsm-menu-content {
    display: flex;
    justify-content: space-between;
    padding: 24px 32px;
}

/* Navigation */
.fsm-navigation {
    display: flex;
    flex-direction: column;
}

.fsm-nav-item {
    position: relative;
    margin-bottom: 4px;
    cursor: pointer;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.7s ease;
}

.fsm-nav-item.fsm-animate {
    transform: translateX(0);
    opacity: 1;
}

.fsm-nav-item-bg {
    position: relative;
    overflow: hidden;
    background: transparent;
    width: 0%;
    min-width: 0px;
    transition: all 0.5s ease-out;
}

.fsm-nav-item:hover .fsm-nav-item-bg {
    background: rgb(0, 0, 0);
    width: 100%;
    min-width: 600px;
    color: white;
}

.fsm-nav-item-content {
    display: flex;
    align-items: center;
    padding: 16px 24px;
}

.fsm-nav-item-title {
    font-size: 5.2rem;
    font-weight: 300;
    color: rgb(0, 0, 0);
    transition: color 0.3s ease;
}

.fsm-nav-item-icon {
    margin-left: 32px;
    opacity: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.fsm-nav-item:hover .fsm-nav-item-icon {
    opacity: 1;
    transform: rotate(12deg);
    animation: fsm-pulse 2s infinite;
}

.fsm-nav-item-title-static {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 5.2rem;
    font-weight: 300;
    color: rgb(0, 0, 0);
    padding: 16px 0;
    transition: opacity 0.3s ease;
}

div#services-nav-item {
    height: 130px;
}

.fsm-nav-item:hover .fsm-nav-item-title-static:hover {
    opacity: 0;
    color: white;
}

.fsm-nav-item-title-static:hover {
  color: #ffffff !important;
}

.fsm-navigation a {
  text-decoration: none !important;
}

/* optional: also kill it on hover/focus */
.fsm-navigation a:hover,
.fsm-navigation a:focus {
  text-decoration: none !important;
}


/* Subscribe Section */
.fsm-subscribe-section {
    color: white;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.7s ease;
    margin-left: auto;
}

.fsm-subscribe-section.fsm-animate {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.5s;
}

.fsm-subscribe-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: rgb(0, 0, 0);
}

.fsm-subscribe-text {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.9;
    color: rgb(0, 0, 0);
}

.fsm-email-form {
    display: flex;
    margin-bottom: 48px;
    transform: translateY(32px);
    opacity: 0;
    transition: all 0.7s ease;
}

.fsm-email-form.fsm-animate {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.7s;
}

.fsm-email-icon {
    background: black;
    padding: 16px;
    border-radius: 6px 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fsm-email-input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.9);
    color: black;
    
    border-radius: 0 6px 6px 0;
    font-size: 1rem;
}

.fsm-email-input::placeholder {
    color: #666;
}

.fsm-email-input:focus {
    outline: none;
    background: white;
}

/* Social Links */
.fsm-social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.fsm-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: all 0.7s ease;
    transform: translateY(32px);
    opacity: 0;
}

.fsm-social-link.fsm-animate {
    transform: translateY(0);
    opacity: 1;
}

.fsm-social-link:hover {
    color: #000000;
}

.fsm-social-link-text {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* Footer */
.fsm-menu-footer {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: rgb(0, 0, 0);
    transform: translateY(32px);
    opacity: 0;
    transition: all 0.7s ease;
}

.fsm-menu-footer.fsm-animate {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 1s;
}

.fsm-footer-addresses {
    display: flex;
    gap: 64px;
}

.fsm-footer-address {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.fsm-footer-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.fsm-footer-email {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.fsm-login-button {
    background: black;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.fsm-login-button:hover {
    background: #333;
}

@keyframes fsm-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* SVG Icons */
.fsm-icon {
    width: 48px;
    height: 48px;
    stroke: white;
    fill: none;
    stroke-width: 1.5;
}

.fsm-small-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* pull the nav out of the flow and pin it top-right */
.fsm-nav-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  margin: 0;
  padding: 0;
}

/* --- Submenu Styles (Desktop) --- */
.fsm-nav-item--has-submenu {
    position: relative;
}

.fsm-submenu {
    position: absolute;
    top: 1rem;
    left: 100%;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    pointer-events: none;
}

.fsm-nav-item--has-submenu.fsm-open .fsm-submenu {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.fsm-submenu-item {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgb(0, 0, 0);
    padding: 8px 16px;
    cursor: pointer;
    background: transparent;
    border-radius: 999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fsm-submenu-item:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1E90FF;
}

.fsm-submenu-indicator {
    display: inline-block;
    margin-left: 16px;
    font-size: 4rem;
    transition: transform 0.3s ease;
}

.fsm-nav-item--has-submenu.fsm-open .fsm-submenu-indicator {
    transform: rotate(135deg);
}

.fsm-nav-item--has-submenu:hover .fsm-nav-item-bg,
.fsm-nav-item--has-submenu .fsm-nav-item-title:hover ~ .fsm-nav-item-bg,
.fsm-nav-item--has-submenu .fsm-nav-item-title-static:hover ~ .fsm-nav-item-bg {
    min-width: 600px;
}


/*
============================================
--- MOBILE OPTIMIZATION STYLES ---
============================================
*/

/* Hide mobile-only buttons on desktop */
.fsm-mobile-bottom-bar {
    display: none;
}

@media (max-width: 992px) {
   .fsm-menu-overlay.fsm-open ~ .fsm-menu-button {
    display: none;
}
}

/* Using 992px as a breakpoint for tablets and phones */
@media (max-width: 992px) {

    /* --- General Overlay Adjustments --- */
    .fsm-menu-overlay {
        background: #ffffff; /* Solid blue to match image */
        overflow-y: auto;    /* Allow scrolling on small screens */
        padding-bottom: 120px; /* Space for the fixed bottom bar */
    }

    /* Move the menu button to the top right */
    .fsm-menu-button {
         top: 1rem;
         right: 1rem;
         left: auto; /* Override desktop style */
    }
    
    .fsm-nav-container {
        top: 0;
        right: 0;
    }

    /* --- Mobile Header --- */
    .fsm-menu-header {
        padding: 1rem;
        justify-content: flex-start; /* Align logo to the left */
    }
    
    /* Hide the search button on mobile per your request */
    .fsm-search-button {
        display: none;
    }

    /* --- Mobile Content Layout --- */
    .fsm-menu-content {
        flex-direction: column; /* Stack nav and other content vertically */
        padding: 1rem;
        gap: 40px;
    }

    /* --- Mobile Navigation Links --- */
    .fsm-navigation {
        width: 100%;
    }
    
    .fsm-nav-item {
        margin-bottom: 0;
        height: auto !important; /* Override specific height on #services-nav-item */
    }

    /* Hide the complex desktop hover effect */
    .fsm-nav-item-bg {
        display: none;
    }
    
    /* Use the static title as the main visible link */
    .fsm-nav-item-title-static {
        position: static; /* Remove absolute positioning */
        padding: 8px 0;
        opacity: 1; /* Make it always visible */
        color: #000000;
        font-family: "Serif", "Times New Roman", Times, serif; /* Serif font like image */
        font-size: clamp(2.5rem, 10vw, 3.5rem); /* Responsive font size */
        font-weight: 400;
        line-height: 1.2;
    }
    
    /* Hide desktop-only title and icon */
    .fsm-nav-item-title,
    
    .fsm-nav-item:hover .fsm-nav-item-title-static {
  color: #fff !important;
  opacity: 1 !important;   /* undo the “opacity: 0” that’s hiding it */
}
   
    
    /* --- Mobile Secondary Links (using your social links) --- */
    .fsm-subscribe-section {
        max-width: 100%;
        transform: none !important; /* Disable desktop animations */
        opacity: 1 !important;
    }

    /* Hide the desktop subscribe form elements */
    .fsm-subscribe-title,
    .fsm-subscribe-text,
    .fsm-email-form {
        display: none;
    }
    
    .fsm-social-links {
        gap: 16px 24px; /* Row and column gap */
        margin-bottom: 40px;
    }

    .fsm-social-link {
        transform: none !important; /* Disable desktop animations */
        opacity: 1 !important;
        gap: 12px;
    }
    
    .fsm-social-link-text {
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        font-family: "monospace", "Courier New", Courier; /* Blocky font like image */
        text-transform: uppercase;
    }
    
    .fsm-small-icon { /* The arrow icon */
        width: 12px;
        height: 12px;
        stroke-width: 2.5;
    }

    /* --- Mobile Footer --- */
    .fsm-menu-footer {
        position: static; /* Let it flow in the document */
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 1rem;
        transform: none !important; /* Disable desktop animations */
        opacity: 1 !important;
        padding-top: 5rem;
    }

    .fsm-footer-addresses {
        flex-direction: column;
        gap: 16px;
    }
    
    .fsm-footer-address, .fsm-footer-email {
        font-family: "monospace", "Courier New", Courier;
    }

    /* Hide the desktop login button */
    .fsm-login-button {
        display: none;
    }
    
    /* --- Mobile Bottom Bar (SUBSCRIBE & CLOSE) --- */
    .fsm-mobile-bottom-bar {
        display: flex; /* Show the bar on mobile */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 60;
        padding: 12px;
        background-color: #ffffff; /* Match background */
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .fsm-mobile-subscribe-btn,
    .fsm-mobile-close-btn {
        flex: 1;
        padding: 16px;
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: background-color 0.2s ease;
    }

    .fsm-mobile-subscribe-btn {
        background-color: #FFFFFF;
        color: #000000;
        margin-right: 6px;
    }
    
    .fsm-mobile-close-btn {
        background-color: #000000;
        color: #FFFFFF;
        margin-left: 6px;
    }
    /*
  On mobile, the parent .fsm-nav-item needs to act as the
  positioning container for the hover effect.
*/
.fsm-nav-item {
    position: relative;
    overflow: hidden; /* Prevents content from spilling out */
}

/* 1. On hover, hide the static title (this rule already exists, but now it will work correctly) */
.fsm-nav-item:hover .fsm-nav-item-title-static {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* 2. Re-enable and style the hover container (.fsm-nav-item-bg) */
.fsm-nav-item:hover .fsm-nav-item-bg {
    display: block; /* Make it visible again */
    position: absolute; /* Overlay it on top of the static text's space */
    inset: 0; /* Same as top:0, left:0, bottom:0, right:0 */
    width: 100%;
    min-width: auto; /* Reset desktop style */
    background: black;
}

/* 3. Style the content inside the black hover box */
.fsm-nav-item:hover .fsm-nav-item-content {
    display: flex;
    justify-content: space-between; /* Pushes title left, icon right */
    align-items: center;
    padding: 0; /* Reset desktop padding */
    height: 100%;
}

/* 4. Show the title that lives inside the hover box and match its style */
.fsm-nav-item:hover .fsm-nav-item-title {
    display: block; /* Make it visible */
    padding: 8px 0;
    font-size: clamp(2.5rem, 10vw, 3.5rem); /* Match the static title font */
    font-weight: 400;
}

/* 5. Show the icon again and position it */
.fsm-nav-item:hover .fsm-nav-item-icon {
    display: block; /* Make it visible */
    opacity: 1; /* Ensure it's not transparent */
    margin-left: 1rem;
    animation: none; /* Disable the desktop pulse animation if not desired */
}
.fsm-nav-item--has-submenu .fsm-nav-item-title-static {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Style the '+' indicator */
.fsm-submenu-indicator {
    display: inline-block; /* Make sure it's visible */
    font-size: clamp(2.5rem, 10vw, 3.5rem); /* Match title font size */
    font-weight: 300;
    transition: transform 0.3s ease;
}

/* Rotate the '+' to an 'x' when the submenu is open */
.fsm-nav-item--has-submenu.fsm-open .fsm-submenu-indicator {
    transform: rotate(45deg);
}

/* Style the submenu container itself */
.fsm-submenu {
    display: block; /* Ensure it's not hidden */
    overflow: hidden; /* Crucial for the slide animation */
    max-height: 0; /* Hidden by default */
    padding-left: 1rem; /* Indent the submenu items */
    transition: max-height 0.4s ease-out; /* Animate the opening/closing */
}

/* When open, give it a max-height to reveal the content */
.fsm-nav-item--has-submenu.fsm-open .fsm-submenu {
    max-height: 200px; /* Adjust if you have more/taller items */
}

/* Style the individual submenu links */
.fsm-submenu-item {
    display: block; /* Ensure it's visible */
    padding: 8px 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85); /* Slightly transparent for hierarchy */
    cursor: pointer;
    transition: color 0.2s ease;
}

.fsm-submenu-item:hover {
    color: #afafaf; /* Brighten on hover */
}
/* IMPORTANT: Allow content to be visible outside the nav item's bounds */
.fsm-nav-item {
    overflow: visible; /* This was 'hidden', now it's 'visible' */
}

/* --- Style the "Services" item when it's open --- */

/* 1. When open, hide the original white "Services +" text */
.fsm-nav-item--has-submenu.fsm-open .fsm-nav-item-title-static {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* 2. When open, show the black bar background */
.fsm-nav-item--has-submenu.fsm-open .fsm-nav-item-bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    min-width: auto;
    background: black;
}

/* 3. When open, show the "Services" text that lives inside the black bar */
.fsm-nav-item--has-submenu.fsm-open .fsm-nav-item-title {
    display: block;
    padding: 8px 0;
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    font-weight: 400;
}

/* 4. When open, show and position the submenu on the right */
.fsm-submenu {
    position: absolute;
    top: 8px; /* Align with the parent item's padding */
    right: 1rem; /* A little space from the screen edge */
    
    /* Animation */
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}
.fsm-nav-item--has-submenu.fsm-open .fsm-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* 5. Style the individual submenu items */
.fsm-submenu-item {
    display: block;
    text-align: right; /* Align text to the right */
    padding: 2px 0;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}
.fsm-submenu-item:hover {
    color: rgb(141, 141, 141);
}
}
.fsm-nav-item-icon {
            margin-left: 32px;
            opacity: 0;
            transform: rotate(0deg);
            transition: all 0.3s ease;
        }

        .fsm-nav-item:hover .fsm-nav-item-icon {
            opacity: 1;
            transform: rotate(12deg);
            animation: fsm-pulse 2s infinite;
        }


        @media (max-width: 992px) {
    /* Fix the submenu positioning for mobile */
    .fsm-submenu {
        position: static; /* Change from absolute to static */
        top: auto;
        right: auto;
        left: auto;
        
        /* Remove the absolute positioning transforms */
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        
        /* Style as a dropdown list */
        padding-left: 1rem;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    /* When open, show the submenu */
    .fsm-nav-item--has-submenu.fsm-open .fsm-submenu {
        max-height: 200px; /* Adjust based on your content */
    }
    
    /* Style the submenu items for mobile */
    .fsm-submenu-item {
        display: block;
        text-align: left; /* Align to left instead of right */
        padding: 8px 0;
        font-size: 1.1rem;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.9);
        cursor: pointer;
        border-left: 2px solid rgba(255, 255, 255, 0.3); /* Optional: add a visual indicator */
        padding-left: 1rem;
    }
    
    .fsm-submenu-item:hover {
        color: rgb(0, 0, 0);
        border-left-color: white;
    }
    
    /* Ensure the parent nav item allows overflow */
    .fsm-nav-item--has-submenu {
        overflow: visible !important;
    }
    
    /* Fix the Services item styling when open */
    .fsm-nav-item--has-submenu.fsm-open .fsm-nav-item-bg {
        position: relative; /* Change from absolute */
        background: black;
        padding: 8px 0;
        border-radius: 4px;
    }
}

.fsm-nav-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}