:root {
    --primary: #d500f9;
    --secondary: #651fff;
    --accent: #00e5ff;
    --dark-bg: #0a0a0a;
    --card-bg: #161616;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --gradient-main: linear-gradient(135deg, #d500f9 0%, #651fff 100%);
    --gradient-hover: linear-gradient(135deg, #ea80fc 0%, #b388ff 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Text Gradient Animation */
@keyframes gradientMov {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary), #ff00cc, var(--primary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientMov 8s ease infinite;
}

/* Footer Logo Animation */
footer .logo-img {
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

footer .logo:hover .logo-img {
    transform: rotate(360deg) scale(1.1);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(213, 0, 249, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(213, 0, 249, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(213, 0, 249, 0.1);
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 30px;
}


.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 20px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 50px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 5px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-muted);
    transition: var(--transition);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
}

.lang-option:hover,
.lang-option.active {
    background: rgba(213, 0, 249, 0.1);
    color: white;
}

.fi {
    width: 20px;
    border-radius: 2px;
}

/* Flag Icons CSS (Minimal implementation for Flags) */
.fi {
    background-size: cover;
    background-position: center;
    height: 15px;
    width: 20px;
    display: inline-block;
}

.fi-fr {
    background-image: url('https://flagcdn.com/w40/fr.png');
}

.fi-gb {
    background-image: url('https://flagcdn.com/w40/gb.png');
}

.fi-de {
    background-image: url('https://flagcdn.com/w40/de.png');
}

.fi-es {
    background-image: url('https://flagcdn.com/w40/es.png');
}

.fi-nl {
    background-image: url('https://flagcdn.com/w40/nl.png');
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Dark overlay for readability */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.hero::before {
    display: none;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Clients Marquee Animation */
.clients-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    max-width: 100vw;
    padding: 20px 0;
}

.clients-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
        /* Move half way + half gap */
    }
}

.client-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

/* Footer */
footer {
    background: #000;
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.9fr 0.9fr 1.4fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}


.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .lang-switcher {
        display: none;
        /* Hide default switcher on mobile */
    }

    .nav-links .lang-switcher {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 20px 0 0 0;
    }

    .nav-links .lang-btn {
        display: none;
        /* Hide button, show direct options */
    }

    .nav-links .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        display: flex;
        gap: 15px;
        padding: 0;
        min-width: auto;
    }

    .nav-links .lang-option {
        color: var(--text-muted);
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.05);
        padding: 8px 20px;
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links .lang-option:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .logo-img {
        height: 35px;
        /* Smaller logo on mobile */
    }

    .logo span {
        font-size: 1.4rem;
        /* Smaller text */
    }

    .logo {
        z-index: 1001;
        /* Keep logo above menu */
    }

    .hamburger {
        z-index: 1001;
        /* Keep hamburger above menu */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
        word-wrap: break-word;
        /* Ensure long words don't overflow */
    }

    /* Target the inline style h1 in the new hero structure */
    .hero-content-wrapper h1 {
        font-size: 2.2rem !important;
        /* Override inline styles */
        line-height: 1.2 !important;
    }

    .hero-content-wrapper .stat-badge {
        font-size: 0.8rem !important;
        /* Smaller badge text */
        white-space: normal;
        /* Allow text to wrap */
        text-align: left;
        max-width: 100%;
        display: inline-flex;
    }

    .hero-content-wrapper p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btns {
        display: none !important;
        /* Hide buttons on mobile if they still exist in DOM */
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Footer Mobile */
    footer {
        padding: 50px 0 30px;
        margin-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: left;
        /* Keep left aligned for consistency with icons */
    }

    .footer-brand {
        margin-bottom: 0;
    }

    .footer-col h4 {
        margin-bottom: 15px;
        font-size: 1.1rem;
        color: var(--primary);
        /* Highlight headers on mobile */
    }

    .footer-newsletter-card {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .solution-block {
        flex-direction: column !important;
        text-align: center;
    }
}

/* ROI Slideshow specific styles */
.roi-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.roi-slide.active {
    opacity: 1;
}

/* Services Portfolio Grid */
.service-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-portfolio-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.service-portfolio-card:hover {
    transform: translateY(-5px);
    background: #222;
    border-color: rgba(255, 255, 255, 0.1);
}

.service-portfolio-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-portfolio-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

/* Icon Colors */
.icon-blue {
    background: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.icon-black {
    background: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
}

.icon-red {
    background: #ff4757;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.icon-orange {
    background: #ffa502;
    box-shadow: 0 5px 15px rgba(255, 165, 2, 0.3);
}

.icon-purple {
    background: #5352ed;
    box-shadow: 0 5px 15px rgba(83, 82, 237, 0.3);
}

.icon-teal {
    background: #1e90ff;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
}

.icon-green {
    background: #2ed573;
    box-shadow: 0 5px 15px rgba(46, 213, 115, 0.3);
}

.portfolio-link {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.portfolio-link:hover {
    gap: 10px;
    color: #fff;
}

@media (max-width: 1200px) {
    .service-portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .service-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .service-portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Section Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.pricing-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Added border for dark theme */
    border-radius: 20px;
    padding: 30px;
    color: var(--text-color);
    /* Changed to variable */
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    border: 2px solid var(--secondary);
    box-shadow: 0 15px 50px rgba(101, 31, 255, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pricing-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

/* Match icon colors to the image */
.pricing-card:nth-child(1) .pricing-icon {
    background: var(--secondary);
}

.pricing-card:nth-child(2) .pricing-icon {
    background: #ff5722;
}

.pricing-card:nth-child(3) .pricing-icon {
    background: #00c853;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-color);
    /* Changed to variable */
}

.pricing-desc {
    color: var(--text-muted);
    /* Changed to variable */
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 5px;
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    /* Changed to variable */
    margin-bottom: 20px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
    list-style: none;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    /* Changed to variable */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: #00c853;
    font-size: 0.8rem;
    background: rgba(0, 200, 83, 0.1);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Override button styles for the white card */
.pricing-card .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    /* Changed for dark bg */
    color: #fff;
    /* Changed for dark bg */
}

.pricing-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    /* Changed hover */
    border-color: #fff;
    color: #fff;
}



@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 500px;
        margin: 0 auto;
    }
}