/* Service Pages Specific Styles */

/* Identity Service Background Animation */
.identity-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.2;
}

.floating-shape {
    position: absolute;
    animation: floatVertical 8s linear infinite;
    opacity: 0.6;
}

.floating-shape svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-yellow);
}

.floating-shape.orange svg {
    fill: var(--accent-orange);
}

.floating-shape.dark svg {
    fill: var(--dark-bg);
}

/* Different sizes and positions */
.shape-1 { width: 60px; height: 60px; left: 10%; animation-delay: 0s; }
.shape-2 { width: 80px; height: 80px; left: 20%; animation-delay: -2s; }
.shape-3 { width: 45px; height: 45px; left: 35%; animation-delay: -4s; }
.shape-4 { width: 70px; height: 70px; left: 50%; animation-delay: -6s; }
.shape-5 { width: 55px; height: 55px; left: 65%; animation-delay: -8s; }
.shape-6 { width: 90px; height: 90px; left: 80%; animation-delay: -1s; }
.shape-7 { width: 40px; height: 40px; left: 5%; animation-delay: -5s; }
.shape-8 { width: 65px; height: 65px; left: 75%; animation-delay: -3s; }
.shape-9 { width: 50px; height: 50px; left: 90%; animation-delay: -7s; }
.shape-10 { width: 75px; height: 75px; left: 15%; animation-delay: -2.5s; }
.shape-11 { width: 55px; height: 55px; left: 25%; animation-delay: -1.5s; }
.shape-12 { width: 65px; height: 65px; left: 45%; animation-delay: -3.5s; }
.shape-13 { width: 50px; height: 50px; left: 85%; animation-delay: -0.5s; }
.shape-14 { width: 70px; height: 70px; left: 30%; animation-delay: -4.5s; }
.shape-15 { width: 60px; height: 60px; left: 60%; animation-delay: -6.5s; }
.shape-16 { width: 85px; height: 85px; left: 12%; animation-delay: -1.8s; }
.shape-17 { width: 45px; height: 45px; left: 70%; animation-delay: -5.5s; }
.shape-18 { width: 75px; height: 75px; left: 95%; animation-delay: -7.2s; }
.shape-19 { width: 65px; height: 65px; left: 2%; animation-delay: -3.8s; }
.shape-20 { width: 55px; height: 55px; left: 40%; animation-delay: -6.8s; }

@keyframes floatVertical {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Make service-detail position relative for z-index context */
.service-detail {
    position: relative;
}

/* Ensure content is above the animation */
.detail-container {
    position: relative;
    z-index: 2;
}

.detail-image {
    position: relative;
    z-index: 2;
}

.detail-content {
    position: relative;
    z-index: 2;
}

/* Web Service Background Animation */
.web-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.2;
}

/* SEO Service Background Animation */
.seo-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.2;
}

/* Social Service Background Animation */
.social-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.2;
}

/* Motion Service Background Animation */
.motion-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.2;
}

/* Dev Service Background Animation */
.dev-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.2;
}

/* Shared floating animation for all services */
.floating-element {
    position: absolute;
    animation: floatVertical 8s linear infinite;
    opacity: 0.6;
}

.floating-element svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-yellow);
}

.floating-element.orange svg {
    fill: var(--accent-orange);
}

.floating-element.dark svg {
    fill: var(--dark-bg);
}

.floating-element.white svg {
    fill: white;
}

/* Web service specific elements */
.web-1 { width: 50px; height: 50px; left: 8%; animation-delay: 0s; }
.web-2 { width: 65px; height: 65px; left: 18%; animation-delay: -1.5s; }
.web-3 { width: 45px; height: 45px; left: 28%; animation-delay: -3s; }
.web-4 { width: 70px; height: 70px; left: 38%; animation-delay: -4.5s; }
.web-5 { width: 55px; height: 55px; left: 48%; animation-delay: -6s; }
.web-6 { width: 80px; height: 80px; left: 58%; animation-delay: -1s; }
.web-7 { width: 40px; height: 40px; left: 68%; animation-delay: -2.5s; }
.web-8 { width: 60px; height: 60px; left: 78%; animation-delay: -4s; }
.web-9 { width: 75px; height: 75px; left: 88%; animation-delay: -5.5s; }
.web-10 { width: 50px; height: 50px; left: 95%; animation-delay: -7s; }
.web-11 { width: 70px; height: 70px; left: 3%; animation-delay: -3.2s; }

/* SEO service specific elements */
.seo-1 { width: 55px; height: 55px; left: 12%; animation-delay: 0s; }
.seo-2 { width: 70px; height: 70px; left: 22%; animation-delay: -1.8s; }
.seo-3 { width: 45px; height: 45px; left: 32%; animation-delay: -3.6s; }
.seo-4 { width: 65px; height: 65px; left: 42%; animation-delay: -5.4s; }
.seo-5 { width: 85px; height: 85px; left: 52%; animation-delay: -7.2s; }
.seo-6 { width: 50px; height: 50px; left: 62%; animation-delay: -0.9s; }
.seo-7 { width: 60px; height: 60px; left: 72%; animation-delay: -2.7s; }
.seo-8 { width: 75px; height: 75px; left: 82%; animation-delay: -4.5s; }
.seo-9 { width: 40px; height: 40px; left: 92%; animation-delay: -6.3s; }
.seo-10 { width: 60px; height: 60px; left: 5%; animation-delay: -2.1s; }

/* Social service specific elements */
.social-1 { width: 50px; height: 50px; left: 10%; animation-delay: 0s; }
.social-2 { width: 65px; height: 65px; left: 20%; animation-delay: -1.6s; }
.social-3 { width: 45px; height: 45px; left: 30%; animation-delay: -3.2s; }
.social-4 { width: 70px; height: 70px; left: 40%; animation-delay: -4.8s; }
.social-5 { width: 55px; height: 55px; left: 50%; animation-delay: -6.4s; }
.social-6 { width: 80px; height: 80px; left: 60%; animation-delay: -0.8s; }
.social-7 { width: 40px; height: 40px; left: 70%; animation-delay: -2.4s; }
.social-8 { width: 60px; height: 60px; left: 80%; animation-delay: -4s; }
.social-9 { width: 75px; height: 75px; left: 90%; animation-delay: -5.6s; }
.social-10 { width: 55px; height: 55px; left: 5%; animation-delay: -1.2s; }

/* Motion service specific elements */
.motion-1 { width: 60px; height: 60px; left: 15%; animation-delay: 0s; }
.motion-2 { width: 75px; height: 75px; left: 25%; animation-delay: -1.4s; }
.motion-3 { width: 50px; height: 50px; left: 35%; animation-delay: -2.8s; }
.motion-4 { width: 65px; height: 65px; left: 45%; animation-delay: -4.2s; }
.motion-5 { width: 80px; height: 80px; left: 55%; animation-delay: -5.6s; }
.motion-6 { width: 45px; height: 45px; left: 65%; animation-delay: -7s; }
.motion-7 { width: 70px; height: 70px; left: 75%; animation-delay: -0.7s; }
.motion-8 { width: 55px; height: 55px; left: 85%; animation-delay: -2.1s; }
.motion-9 { width: 65px; height: 65px; left: 5%; animation-delay: -0.9s; }

/* Dev service specific elements */
.dev-1 { width: 55px; height: 55px; left: 5%; animation-delay: 0s; }
.dev-2 { width: 70px; height: 70px; left: 15%; animation-delay: -1.3s; }
.dev-3 { width: 45px; height: 45px; left: 25%; animation-delay: -2.6s; }
.dev-4 { width: 80px; height: 80px; left: 35%; animation-delay: -3.9s; }
.dev-5 { width: 60px; height: 60px; left: 45%; animation-delay: -5.2s; }
.dev-6 { width: 50px; height: 50px; left: 55%; animation-delay: -6.5s; }
.dev-7 { width: 75px; height: 75px; left: 65%; animation-delay: -0.65s; }
.dev-8 { width: 65px; height: 65px; left: 75%; animation-delay: -1.95s; }
.dev-9 { width: 85px; height: 85px; left: 85%; animation-delay: -3.25s; }
.dev-10 { width: 40px; height: 40px; left: 95%; animation-delay: -4.55s; }
.dev-11 { width: 70px; height: 70px; left: 1%; animation-delay: -1.7s; }

/* Dropdown Navigation - same styles as main nav */
.dropdown {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-bg);
    opacity: 0.8;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    user-select: none;
}

.dropdown:hover {
    opacity: 1;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.dropdown > span {
    /* Same as nav li, no additional styles needed */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-light) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(252, 207, 3, 0.1);
    color: var(--primary-yellow) !important;
}

.dropdown-menu a:visited {
    color: var(--text-light) !important;
}

.dropdown-menu a:active {
    color: var(--text-light) !important;
}

/* Service Hero Section */
.service-hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 12, 13, 0.6);
    z-index: 1;
}

.service-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    z-index: 5;
}

.service-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.1;
}

.service-hero h1 span {
    color: var(--primary-yellow);
    text-shadow: 0 0 20px rgba(252, 207, 3, 0.6);
}

.service-hero .hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    opacity: 0.9;
}

.service-hero .hero-tagline span {
    color: var(--primary-yellow);
    font-weight: 600;
}

/* Désactiver tous les effets hover sur la section hero */
.service-hero,
.service-hero *,
.service-hero::before,
.service-hero::after {
    pointer-events: none !important;
}

/* Réactiver les pointer-events uniquement pour la navigation */
.service-hero header,
.service-hero header *,
.service-hero .cta-button,
.service-hero .hamburger {
    pointer-events: auto !important;
}

/* Container pour la flèche entre les sections */
.hero-arrow-container {
    position: relative;
    height: 0;
    z-index: 10;
}

.scroll-arrow {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    position: absolute;
    top: -30px;
    left: calc(50% - 30px);
    background: var(--dark-bg);
    z-index: 1000;
}

.scroll-arrow:hover {
    background: var(--primary-yellow);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.scroll-arrow span {
    font-size: 1.5rem;
    font-weight: 600;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

/* Service Detail Section */
.service-detail {
    padding: 6rem 3rem;
    background: var(--dark-bg);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Animated background for service sections
.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(252, 207, 3, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 140, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(252, 207, 3, 0.01) 0%, transparent 50%);
    z-index: -1;
}

SEO page - Matrix effect
body.seo-page .service-detail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        );
    animation: matrixRain 4s linear infinite;
    z-index: -1;
    opacity: 0.6;
}

@keyframes matrixRain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
} */

/* Motion page - Floating elements */
/* body.motion-page .service-detail::after {
    content: '🎬 🎥 📽️ ✨ 💫';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatingElements 15s ease-in-out infinite;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: space-around;
} */

@keyframes floatingElements {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Dev page - Code symbols
body.dev-page .service-detail::after {
    content: '< /> { } [ ] ( ) = > + - * /';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    opacity: 0.08;
    animation: codeFlow 12s ease-in-out infinite;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

@keyframes codeFlow {
    0% { transform: translateX(-100px); }
    50% { transform: translateX(100px); }
    100% { transform: translateX(-100px); }
} */


.detail-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 700;
}

.detail-content h2 span {
    color: var(--primary-yellow);
}

.detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    opacity: 0.9;
}

.service-benefits {
    list-style: none;
    margin-top: 2rem;
}

.service-benefits li {
    padding: 0.75rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
}

.service-benefits li::before {
    content: '→';
    color: var(--primary-yellow);
    position: absolute;
    left: 0;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Service Examples Section - parallax style */
.service-examples {
    background: transparent;
    padding: 4rem 0 0 0;
    position: relative;
    overflow: hidden;
}

/* Animated background for examples section */
.service-examples::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(252, 207, 3, 0.02) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(249, 140, 0, 0.015) 0%, transparent 60%);
    animation: backgroundWave 25s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundWave {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(3%, -2%) rotate(1deg);
    }
}

.examples-container {
    width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.examples-bento-card {
    background: var(--card-bg);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out;
}

.examples-bento-card:hover {
    /* Hover effect disabled per user request */
}

.examples-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
}

.examples-bento-card:hover .examples-image {
    /* Image hover effect disabled per user request */
}

.examples-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 12, 13, 0.6);
    z-index: 1;
}

.examples-content {
    position: absolute;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 2rem;
    text-align: center;
}

.examples-content h2 {
    font-size: 3rem;
    color: var(--text-light);
    font-weight: 700;
    max-width: 100%;
    z-index: 2;
    margin: 0 auto;
}

.examples-content h2 span {
    color: var(--primary-yellow);
    z-index: 2;
}

.examples-grid {
    padding: 8rem 3rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 10;
}

/* Additional spacing for service pages with expanded overlays */
.service-page .examples-grid {
    gap: 6rem;
    margin-bottom: 3.5rem;
}

/* Project cards - Fixed blocks version */
.examples-grid .project-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
}

.examples-grid .project-mockup {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
}

.examples-grid .project-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.examples-grid .project-overlay {
    position: relative;
    background: linear-gradient(
        135deg,
        var(--dark-bg) 0%,
        var(--gray-60) 50%,
        rgba(252, 207, 3, 0.1) 100%
    );
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 0 0 20px 20px;
    padding: 1.5rem;
    text-align: left;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.examples-grid .project-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.examples-grid .project-type {
    font-size: 0.9rem;
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.examples-grid .project-company {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.examples-grid .project-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* No hover effects - cards stay stable */

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    color: var(--dark-bg);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Desktop only - Rocket hover transformation */
@media (min-width: 769px) {
    .scroll-to-top:hover {
        background: var(--dark-bg);
        transform: scale(1.1);
        width: 180px;
        border-radius: 25px;
        padding: 0.75rem 1.5rem;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    }

    .scroll-to-top:hover::after {
        content: "Propulsez-vous";
        color: var(--text-light);
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 0.9rem;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
    }

    .scroll-to-top:hover img {
        opacity: 0;
    }
}

/* Force expanded overlays on service pages (desktop) */
.service-page .examples-grid .project-overlay {
    max-height: 220px !important;
    padding: 2rem 1.5rem 1.5rem !important;
    z-index: 1 !important;
}

.service-page .examples-grid .project-overlay h3,
.service-page .examples-grid .project-type,
.service-page .examples-grid .project-company,
.service-page .examples-grid .project-description {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* No hover effects - cards completely stable */

/* Mobile - Always show overlays since no hover */
@media (max-width: 768px) {
    .examples-grid .project-overlay {
        max-height: 220px !important;
        padding: 2rem 1.5rem 1.5rem !important;
        z-index: 1 !important;
        position: relative !important;
    }

    .examples-grid .project-overlay h3,
    .examples-grid .project-type,
    .examples-grid .project-company,
    .examples-grid .project-description {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Extra spacing between cards on mobile */
    .service-page .examples-grid {
        gap: 4rem;
        margin-bottom: 4rem;
    }
    
    .scroll-to-top {
        width: 140px;
        border-radius: 25px;
        padding: 0.75rem 1rem;
        background: var(--dark-bg);
    }

    .scroll-to-top {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .scroll-to-top::after {
        content: "Propulsez-vous";
        color: var(--text-light);
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 0.8rem;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        white-space: nowrap;
    }

    .scroll-to-top img {
        width: 20px;
        height: 20px;
        opacity: 1;
    }

    .scroll-to-top:hover {
        background: var(--accent-orange);
        transform: scale(1.05);
    }
}

.scroll-to-top span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-hero .hero-tagline {
        font-size: 1.2rem;
    }
    
    .detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .detail-content h2 {
        font-size: 2rem;
    }
    
    .examples-content h2 {
        font-size: 2rem;
        max-width: 100%;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
        gap: 3rem;
    }

    /* Force expanded overlays on mobile */
    .examples-grid .project-item {
        cursor: default;
        pointer-events: none;
        aspect-ratio: 16/12 !important;
    }

    .examples-grid .project-mockup {
        height: 60% !important;
        border-radius: 20px 20px 0 0 !important;
    }

    .examples-grid .project-overlay {
        height: 40% !important;
        max-height: none !important;
        padding: 1rem 1.5rem !important;
        z-index: 1 !important;
        position: relative !important;
        top: 0 !important;
        transform: none !important;
        background: linear-gradient(
            135deg,
            var(--dark-bg) 0%,
            var(--gray-60) 50%,
            rgba(252, 207, 3, 0.1) 100%
        ) !important;
        border-radius: 0 0 20px 20px !important;
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .examples-grid .project-overlay h3,
    .examples-grid .project-type,
    .examples-grid .project-company,
    .examples-grid .project-description {
        opacity: 1 !important;
        transform: translateY(0) !important;
        margin: 0 !important;
    }

    .examples-grid .project-overlay h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .examples-grid .project-overlay p {
        font-size: 0.9rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.3 !important;
    }
    
    /* Ensure dropdown styles are consistent with main style.css */
    .dropdown {
        width: calc(100% - 4rem) !important;
        text-align: center !important;
        border-bottom: 2px solid rgba(55, 55, 54, 0.2) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        margin: 0.5rem 2rem !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .dropdown > span {
        display: block !important;
        padding: 1.5rem 3rem !important;
        font-size: 1.5rem !important;
        color: var(--dark-bg) !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        position: relative !important;
        transition: all 0.3s ease !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px 12px 0 0 !important;
        width: 100% !important;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding: 0;
        backdrop-filter: none;
    }
    
    /* Mobile hamburger menu styles */
    .hamburger {
        display: block;
        background: none;
        border: none;
        color: var(--dark-bg);
        font-size: 2rem;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1002;
        order: 3;
        position: relative;
    }
    
    nav ul {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 100vw !important;
        background: var(--primary-yellow) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 0 !important;
        padding-top: 6rem !important;
        padding-bottom: 2rem !important;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1001 !important;
        overflow-y: auto !important;
    }
    
    nav ul.active {
        transform: translateY(0);
    }
    
    nav ul li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    nav li:not(.dropdown) {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(55, 55, 54, 0.1);
    }
    
    nav li:not(.dropdown) a {
        font-size: 1.5rem;
        color: var(--dark-bg);
        font-weight: 600;
        display: block;
        padding: 1rem 0;
        text-decoration: none;
    }
    
}