/* 
 * UnlimitedTech Graphic Charter Implementation
 * Style: Brushed Metal, Futuristic, Premium
 */

:root {
    /* --- Palette Officielle --- */
    --gold: #D4AF37;
    /* Gold Metallic */
    --gold-dim: #aa8c2c;
    --silver: #C0C0C0;
    /* Silver Metallic */
    --blue-dark: #1D2433;
    /* Fond Principal: Dark Textured Blue */
    --grey-charcoal: #2F2F31;
    /* Fond Secondaire */

    --blue-glow: #4A90E2;
    /* Lights / Neon */
    --black-graphite: #0E0E0E;
    /* Contrast */

    /* Gradients Métalliques */
    --metal-silver: linear-gradient(145deg, #e0e0e0 0%, #a0a0a0 100%);
    --metal-gold: linear-gradient(135deg, #D4AF37 0%, #FUD765 40%, #B8860B 100%);
    --metal-dark: linear-gradient(180deg, #2F2F31 0%, #1D2433 100%);

    /* Fonts */
    --font-heading: 'Orbitron', 'Montserrat', sans-serif;
    /* Proxy for Headlined Tech */
    --font-body: 'Montserrat', sans-serif;
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    ul,
    ol {
        list-style: none;
    }


    body {
        background-color: var(--blue-dark);
        color: #ffffff;
        font-family: var(--font-body);
        font-size: 16px;
        line-height: 1.6;
        /* Texture subtile "Métal Brossé" via bruit si possible, sinon fond uni propre */
        background-image: repeating-linear-gradient(45deg,
                rgba(255, 255, 255, 0.01) 0px,
                rgba(255, 255, 255, 0.01) 1px,
                transparent 1px,
                transparent 10px);
    }

    /* Typography */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: var(--font-heading);
        text-transform: uppercase;
        letter-spacing: 2px;
        /* Espacement +10% approx */
        color: white;
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: clamp(3rem, 6vw, 5rem);
        font-weight: 900;
        line-height: 1;
        /* Effet Métallique Argent/Blanc sur le titre */
        background: linear-gradient(to bottom, #ffffff 0%, #C0C0C0 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
        /* Blue Glow léger */
    }

    h2 {
        font-size: 2rem;
        color: var(--gold);
        border-bottom: 2px solid var(--gold);
        display: inline-block;
        padding-bottom: 10px;
    }

    p {
        color: var(--silver);
        font-weight: 300;
        line-height: 1.8;
        /* Interligne aéré */
        margin-bottom: 1.5rem;
    }

    a {
        text-decoration: none;
        transition: 0.3s;
    }

    /* Utilities */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 4rem;
        /* Augmenté à 4rem (64px) pour vraiment dégager les bords */
    }

    .section {
        padding: 6rem 0;
    }

    .grid {
        display: grid;
        gap: 2rem;
    }

    .grid-2 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    /* Buttons & UI Elements */
    .btn {
        display: inline-block;
        padding: 1rem 2.5rem;
        font-family: var(--font-heading);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: none;
        cursor: pointer;
        position: relative;
        clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
        /* Forme futuriste */
        transition: 0.3s;
    }

    .btn-primary {
        background: url('../img/backor.jpg');
        /* Image de fond 'Barre Or' */
        background-size: cover;
        background-position: center;
        color: #ffffff;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
        /* Ombre portée sur le texte pour lisibilité max sur l'or */
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
        /* Glow doré au survol */
        color: #fff;
        filter: brightness(1.2);
        /* Éclaircir l'image au survol */
    }

    .btn-outline {
        background: transparent;
        border: 1px solid var(--silver);
        color: var(--silver);
        clip-path: none;
        border-radius: 4px;
    }

    .btn-outline:hover {
        border-color: var(--gold);
        color: var(--gold);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    }

    /* Header */
    header {
        background: transparent;
        /* Transparent header for hero overlap */
        padding: 1.5rem 0;
        position: fixed;
        width: 100%;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    header.scrolled {
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 0;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-family: var(--font-heading);
        font-size: 2.2rem;
        font-weight: bold;
        color: #fff;
        letter-spacing: 2px;
    }

    .logo span {
        color: var(--gold);
    }

    .nav-links {
        display: flex;
        gap: 2rem;
    }

    .nav-links a {
        color: white;
        font-family: var(--font-heading);
        font-size: 0.9rem;
        text-transform: uppercase;
        font-weight: 600;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--gold);
    }

    .hero {
        padding-top: 180px;
        padding-bottom: 4rem;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .hero-logo {
        position: absolute;
        width: 240px;
        z-index: 10;
        opacity: 0.8;
        top: 30%;
        /* Position par défaut desktop, descendue pour éviter conflit */
        left: 7%;
        transform: translateY(-50%);
    }





    /* Background Image */
    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('../img/logo3D.png') no-repeat center right;
        background-size: cover;
        z-index: -2;
    }

    @media (max-width: 768px) {
        .hero-bg {
            background-position: center bottom !important;
            opacity: 0.6;
            /* Slight opacity to improve text readability if needed */
        }
    }

    /* Geometric Overlays */
    .shape-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    /* Shape 1: Main Dark Blue Diagonal Block */
    .shape-1 {
        background: rgba(29, 36, 51, 0.92);
        /* Dark Blue */
        clip-path: polygon(0 0, 75% 0, 55% 100%, 0% 100%);
    }

    /* Shape 2: Gold/Blue Accent Diagonal */
    .shape-2 {
        background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
        clip-path: polygon(75% 0, 85% 0, 65% 100%, 55% 100%);
        backdrop-filter: blur(5px);
    }

    .hero-tag {
        color: white;
        font-family: var(--font-heading);
        border-left: 3px solid var(--gold);
        padding-left: 1rem;
        font-size: 0.9rem;
        display: inline-block;
        margin-bottom: 2rem;
        text-transform: uppercase;
        letter-spacing: 3px;
    }

    .hero-socials {
        position: absolute;
        bottom: 2rem;
        right: 2rem;
        z-index: 10;
        display: flex;
        gap: 1.5rem;
    }

    .hero-socials a {
        color: white;
        font-size: 0.9rem;
        text-transform: uppercase;
        font-weight: bold;
    }

    /* Cards (Services / Project) */
    .card,
    .service-card,
    .project-card {
        /* Background Image 'backor.jpg' with Dark Overlay for readability */
        background: linear-gradient(180deg, rgba(20, 20, 20, 0.85) 0%, rgba(20, 20, 20, 0.95) 100%), url('../img/backor.jpg');
        background-size: cover;
        background-position: center;
        border: 1px solid #444;
        padding: 2rem;
        position: relative;
        transition: 0.4s;
    }

    .card:hover,
    .service-card:hover,
    .project-card:hover {
        border-color: var(--silver);
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.15);
        /* Blue Glow */
        transform: translateY(-5px);
    }

    .service-card h3 {
        color: var(--gold);
        font-size: 1.3rem;
    }

    /* Network Page Special */
    .network-visual {
        border: 1px solid var(--gold);
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
    }

    /* Footer Premium */
    footer {
        background: #0b0e14;
        /* Plus sombre que le body pour ancrer le bas */
        border-top: 1px solid var(--gold-dim);
        padding: 5rem 0 2rem 0;
        margin-top: 5rem;
        position: relative;
        overflow: hidden;
    }

    /* Effet Glow au dessus du Footer */
    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 1px;
        background: var(--gold);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .footer-col h4 {
        color: #fff;
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        border-left: 2px solid var(--gold);
        padding-left: 10px;
    }

    .footer-col ul {
        list-style: none;
    }

    .footer-col ul li {
        margin-bottom: 0.8rem;
    }

    .footer-col ul li a {
        color: var(--silver);
        font-size: 0.9rem;
        transition: 0.3s;
    }

    .footer-col ul li a:hover {
        color: var(--gold);
        padding-left: 5px;
    }

    .footer-desc {
        font-size: 0.9rem;
        color: #888;
        margin-bottom: 1rem;
    }

    .footer-email {
        color: var(--blue-glow);
        font-weight: bold;
    }

    .social-links {
        display: flex;
        gap: 10px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        border: 1px solid var(--silver);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
        font-family: var(--font-heading);
        font-size: 0.8rem;
    }

    .social-icon:hover {
        border-color: var(--gold);
        color: var(--gold);
        background: rgba(212, 175, 55, 0.1);
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #555;
        font-size: 0.8rem;
    }

    .footer-bottom .signature {
        color: var(--gold);
        font-family: var(--font-heading);
        letter-spacing: 2px;
        margin: 0;
        font-size: 0.9rem;
    }

    /* === ABOUT PAGE PREMIUM STYLES === */
    .hero-section-about {
        padding-top: 180px;
        padding-bottom: 6rem;
        padding-left: 4rem;
        padding-right: 4rem;
        /* Padding augmenté à 4rem (64px) pour vraiment dégager les bords */
    }

    .about-story {
        max-width: 95%;
        /* Limiter à 95% pour créer de l'espace sur les côtés */
    }

    .about-story p {
        margin-bottom: 1.5rem;
        line-height: 1.8;
        color: #e0e0e0;
        padding-left: 2rem;
        /* Marge à gauche sur toutes les lignes du paragraphe */
    }

    .hero-section-about h1 {
        padding-left: 2rem;
        /* Marge à gauche pour le titre */
    }

    .layout-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
        margin-top: 3rem;
    }

    .quote-box {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(74, 144, 226, 0.1));
        border-left: 4px solid var(--gold);
        padding: 2rem;
        margin: 2.5rem 0;
        font-style: italic;
        font-size: 1.2rem;
        color: #fff;
        border-radius: 8px;
    }

    .vision-list li {
        padding: 1rem 0;
    }

    .highlight-gold {
        color: var(--gold);
        font-weight: 600;
    }

    /* Animations */
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: 0.6s ease-out;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Mobile */
    @media (max-width: 768px) {

        /* === OVERFLOW PREVENTION === */
        body {
            overflow-x: hidden;
        }

        .container {
            padding: 0 3rem;
            /* Augmenté à 3rem (48px) pour vraiment dégager les bords */
            overflow-x: hidden;
            max-width: 100%;
        }

        .section {
            padding: 4rem 0;
            /* Augmenté de 3rem à 4rem pour plus d'air */
            overflow-x: hidden;
        }

        /* Ajouter de l'espace pour les paragraphes et titres */
        h1,
        h2,
        h3 {
            margin-left: 0;
            margin-right: 0;
        }

        p {
            margin-left: 0;
            margin-right: 0;
            max-width: 100%;
            line-height: 1.8;
            /* Augmenté pour meilleure lisibilité */
        }

        /* === NAVIGATION === */
        .hamburger {
            display: flex;
        }

        .nav-links {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(10, 10, 15, 0.95);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            transform: translateY(-100%);
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            z-index: 1500;
        }

        .nav-links.active {
            transform: translateY(0);
        }

        .nav-links a {
            font-size: 1.5rem;
        }

        header {
            padding: 1rem 0;
        }

        .logo {
            font-size: 1.5rem;
        }

        /* === TYPOGRAPHY === */
        h1 {
            font-size: 2rem !important;
        }

        h2 {
            font-size: 1.5rem;
        }

        h3 {
            font-size: 1.2rem;
        }

        p {
            font-size: 0.95rem !important;
        }

        /* === HERO SECTION === */
        .hero {
            padding-top: 140px;
            /* Augmenté de 120px pour plus d'espace en haut */
            padding-bottom: 3rem;
            /* Augmenté de 2rem à 3rem */
            min-height: auto;
            overflow: hidden;
            /* Restaurer overflow hidden sur mobile pour éviter débordements */
        }

        .hero-logo {
            width: 160px !important;
            /* Agrandi encore */
            top: 2% !important;
            /* Remonté au maximum (2%) */
            left: 5% !important;
            opacity: 0.8 !important;
            transform: translateY(0) !important;
        }

        .hero-content-geometric {
            text-align: left;
            padding: 2rem 0;
            /* Augmenté de 1rem à 2rem pour plus d'espace */
        }

        .hero-tag {
            font-size: 0.75rem;
            margin-bottom: 1.5rem;
            /* Augmenté pour plus d'espace */
            display: inline-block;
        }

        .shape-1 {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
            opacity: 0.9;
        }

        .shape-2 {
            display: none;
        }

        /* === GRIDS === */
        .grid-2,
        .grid-3 {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        /* === BUTTONS === */
        .btn {
            padding: 0.8rem 1.5rem;
            font-size: 0.9rem;
            width: 100%;
            text-align: center;
            display: block;
        }

        .btn-primary,
        .btn-outline {
            width: 100%;
        }

        /* === CARDS === */
        .card,
        .service-card,
        .project-card,
        .glass-card {
            padding: 2rem;
            /* Augmenté de 1.5rem à 2rem pour plus d'espace */
            margin: 0;
            height: auto !important;
            /* Force auto height to show full content */
            overflow: visible !important;
            /* Ensure content isn't clipped */
        }

        /* Ajouter de l'espace aux éléments de contenu */
        .hero-content-geometric,
        .about-story,
        .contact-info {
            padding: 1rem 0;
        }

        /* === FOOTER === */
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .footer-bottom {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }

        /* === IMAGES === */
        .tv-container {
            height: 250px;
        }

        /* === CAROUSEL === */
        .carousel-container>* {
            flex: 0 0 85vw;
        }

        /* === ABOUT PAGE MOBILE === */
        .hero-section-about {
            padding-top: 140px;
            padding-bottom: 4rem;
        }

        .layout-grid {
            grid-template-columns: 1fr;
            /* Une seule colonne sur mobile */
            gap: 3rem;
        }

        .about-story p {
            font-size: 1rem;
            line-height: 1.8;
        }

        .quote-box {
            padding: 1.5rem;
            font-size: 1.1rem;
            margin: 2rem 0;
        }

        .glass-card {
            margin-top: 2rem;
        }
    }

    /* Tablet adjustments */
    @media (min-width: 769px) and (max-width: 1024px) {
        .container {
            padding: 0 1.5rem;
        }

        h1 {
            font-size: 3rem;
        }

        .grid-3 {
            grid-template-columns: repeat(2, 1fr);
        }

        .footer-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* --- Carousel --- */
    .carousel-container {
        overflow-x: auto;
        display: flex;
        gap: 2rem;
        padding-bottom: 2rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: var(--gold) var(--blue-dark);
    }

    .carousel-container::-webkit-scrollbar {
        height: 8px;
    }

    .carousel-container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
    }

    .carousel-container::-webkit-scrollbar-thumb {
        background-color: var(--gold);
        border-radius: 4px;
    }

    .carousel-container>* {
        flex: 0 0 350px;
        scroll-snap-align: start;
    }

    /* --- TV Slideshow --- */
    .tv-container {
        position: relative;
        width: 100%;
        height: 400px;
        overflow: hidden;
        /* Glass Card Effect */
        background: rgba(10, 10, 15, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .tv-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        z-index: 0;
    }

    .tv-container img.active {
        opacity: 1;
        z-index: 1;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Styles */
@media (max-width: 768px) {

    /* Show Hamburger on Left */
    .hamburger {
        display: flex;
        order: -1;
        /* Move to start of flex container */
    }

    /* Adjust nav layout for left hamburger */
    nav {
        flex-direction: row;
    }

    /* Adjust logo positioning */
    .logo {
        margin-left: 15px;
        font-size: 1.6rem;
        order: 0;
    }

    /* Mobile Menu Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1500;
        padding-top: 60px;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Reposition Hero Logo in Header on Mobile */
    .hero-logo {
        position: fixed !important;
        top: 10px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 150px !important;
        z-index: 2001 !important;
    }

    /* Adjust header logo text to make room */
    .logo {
        margin-left: 60px;
        font-size: 1.6rem;
    }

    /* Optimize Hero Text */
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    /* Show Golden Diagonal Bar on Mobile */
    .shape-overlay {
        display: block;
    }

    /* Reduce blue bar to show background image on right */
    .shape-1 {
        clip-path: polygon(0 0, 60% 0, 40% 100%, 0% 100%) !important;
    }

    .shape-2 {
        clip-path: polygon(60% 0, 70% 0, 50% 100%, 40% 100%) !important;
    }
}

/* =========================================
   PREMIUM ANIMATIONS & EFFECTS
   ========================================= */

/* 1. Shimmer Effect on H1 Title */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

h1 {
    background: linear-gradient(90deg,
            #ffffff 0%,
            #C0C0C0 25%,
            #ffffff 50%,
            #C0C0C0 75%,
            #ffffff 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}

/* 2. Pulse Effect on CTA Buttons */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    50% {
        box-shadow: 0 4px 25px rgba(212, 175, 55, 0.8);
    }
}

.btn-primary {
    animation: pulse 3s ease-in-out infinite;
}

/* 3. Breathing Effect on Geometric Shapes */
@keyframes breathing {

    0%,
    100% {
        opacity: 0.92;
    }

    50% {
        opacity: 0.98;
    }
}

.shape-1 {
    animation: breathing 6s ease-in-out infinite;
}

/* 4. Global Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWJlbGVuY2UgYmFzZUZyZXF1ZW5jeT0iLjc1IiBzdGl0Y2hUaWxlcz0ic3RpdGNoIiB0eXBlPSJmcmFjdGFsTm9pc2UiLz48ZmVDb2xvck1hdHJpeCB0eXBlPSJzYXR1cmF0ZSIgdmFsdWVzPSIwIi8+PC9maWx0ZXI+PHBhdGggZD0iTTAgMGgzMDB2MzAwSDB6IiBmaWx0ZXI9InVybCgjYSkiIG9wYWNpdHk9Ii4wNSIvPjwvc3ZnPg==');
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* 5. Enhanced Card Glow */
.card:hover,
.service-card:hover,
.project-card:hover {
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.3),
        0 0 60px rgba(212, 175, 55, 0.2);
}

/* 6. Scroll Progress Indicator with Swimming Logos */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--blue-glow));
    z-index: 10000;
    transition: width 0.1s ease;
    overflow: hidden;
}

.progress-logos {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    gap: 30px;
    animation: swimLogos 10s linear infinite;
    white-space: nowrap;
}

.progress-logos img {
    height: 20px;
    width: auto;
    opacity: 0.8;
    filter: brightness(2) drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
}

@keyframes swimLogos {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    100% {
        transform: translateY(-50%) translateX(-100%);
    }
}

/* 7. Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

.back-to-top::before {
    content: '↑';
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* 8. Border Gradient Animation */
@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(192, 192, 192, 0.3);
    }

    50% {
        border-color: rgba(212, 175, 55, 0.8);
    }
}

.card,
.service-card {
    animation: borderGlow 4s ease-in-out infinite;
}

/* 9. Enhanced Glassmorphism */
.card,
.service-card,
.project-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 10. Parallax Container for Logo */
.hero-bg {
    transition: transform 0.1s ease-out;
}

/* 11. Infinite Logo Marquee */
.logo-marquee {
    background: linear-gradient(90deg,
            var(--blue-dark) 0%,
            rgba(29, 36, 51, 0.5) 50%,
            var(--blue-dark) 100%);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo-marquee::before,
.logo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--blue-dark) 0%, transparent 100%);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--blue-dark) 100%);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track img {
    height: 60px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.3s ease;
}

.marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}