/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Fonts */
@font-face {
    font-family: 'Edges';
    src: url('the_bold_font/THEBOLDFONT-FREEVERSION.woff') format('woff'),
         url('the_bold_font/THEBOLDFONT-FREEVERSION.ttf') format('truetype'),
         url('the_bold_font/THEBOLDFONT-FREEVERSION.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bucklane Script';
    src: url('bucklane_script/BucklaneScript_PERSONAL_USE_ONLY.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Breathing';
    src: url('breathing/Breathing Personal Use Only.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futurist Fixed Width';
    src: url('futurist_fixed_width/FUTRFW.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'R&C';
    src: url('r_c/R&C-Demo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Headliner No.45';
    src: url('headliner_no_45/HeadlinerNo.45 DEMO.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-logo h3 {
    font-family: 'poppins', sans-serif;
    font-size: 1.5rem;
    color: #f5b500;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-logo a:hover {
    color: #f5b500;
}

.logo-img {
    width: 50%;
   
    object-fit: contain;
    margin: 0;
}

.logo-text {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: #f5b500;
    background: rgba(245, 181, 0, 0.1);
    border-color: rgba(245, 181, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 181, 0, 0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f5b500, #ffd700);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 0.6rem 1.2rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.dropdown-link:hover {
    color: #f5b500;
    background: rgba(245, 181, 0, 0.05);
    border-left-color: #f5b500;
    padding-left: 1.5rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin: 15px 20px 15px 0;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #111111 100%);
    padding: 0;
    margin: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
}

.hero-video-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-cover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.7;
}

/* Desktop video - show by default */
.desktop-video {
    display: block;
}

/* Mobile video - hide by default */
.mobile-video {
    display: none;
}

/* Mobile responsive video switching */
@media (max-width: 768px) {
    .desktop-video {
        display: none;
    }
    
    .mobile-video {
        display: block;
        object-fit: cover;
        object-position: center;
        transform: scale(1.2);
        width: calc(100vw * 1.2);
        height: calc(100vh * 1.2);
        left: -10%;
        top: -10%;
    }
}


.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

.hero-text {
    color: #fff;
    max-width: 1200px;
    position: relative;
    z-index: 3;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.realisations-actions {
    display: flex;
    justify-content: center;
    margin: 2rem 0 3rem 0;
}

.btn-drive {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    font-size: 1.1rem;
    background: linear-gradient(45deg, #f5b500, #ffd700);
    color: #000;
    box-shadow: 0 4px 15px rgba(245, 181, 0, 0.3);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga" 1, "kern" 1;
}

.btn-drive:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 181, 0, 0.4);
    background: linear-gradient(45deg, #e6a300, #f5b500);
}

.btn-drive i {
    font-size: 1.2rem;
}

.hero-logo {
    margin-bottom: 2rem;
    text-align: center;
    display: none;
}

.hero-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

.hero-title {
    font-family: 'Edges', sans-serif;
    font-size: 4rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-subtitle {
    font-family: 'Edges', sans-serif;
    font-size: 6rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: normal;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.slogan-line1 {
    overflow: hidden;
    border-right: 3px solid #f5b500;
    white-space: nowrap;
    animation: typewriter 3s steps(40) 1s forwards, blink-caret 0.75s step-end 4s forwards;
    width: 0;
}

.slogan-line2 {
    overflow: hidden;
    border-right: 3px solid #f5b500;
    white-space: nowrap;
    animation: typewriter 3s steps(40) 2s forwards, blink-caret 0.75s step-end 5s forwards;
    width: 0;
}

.highlight-word {
    background: linear-gradient(135deg, #f5b500 0%, #ffd700 50%, #f5b500 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    position: relative;
    font-weight: bold;
}

.highlight-word::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(245, 181, 0, 0.2), rgba(255, 215, 0, 0.2));
    border-radius: 15px;
    z-index: -1;
    filter: blur(15px);
    animation: glow-pulse 2s ease-in-out infinite;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}



.btn {
    font-family: 'Edges', sans-serif;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #000000, #333333);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #000000;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #000000;
    color: #fff;
    transform: translateY(-3px);
}

.btn-video {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-video:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Introduction Section */
.introduction {
    padding: 6rem 0;
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.introduction::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png');
    background-size: 
        250px 125px,
        200px 100px,
        400px 200px,
        180px 90px,
        320px 160px,
        160px 80px,
        280px 140px,
        140px 70px;
    background-position: 
        5% 15%,
        85% 25%,
        45% 75%,
        95% 5%,
        15% 70%,
        75% 85%,
        60% 40%,
        25% 50%;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    animation: cloudFloat 20s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(5px) translateX(-5px);
    }
    75% {
        transform: translateY(-5px) translateX(3px);
    }
}

@keyframes slideKeywords {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.introduction-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.introduction-text {
    width: 100%;
    position: relative;
}

.introduction-title {
    font-family: 'Edges', sans-serif;
    font-size: 5rem;
    font-weight: normal;
    margin-bottom: 2rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: relative;
    z-index: 10;
}

.title-line1 {
    color: #ffd700;
    font-size: 2.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Edges', sans-serif;
}

.title-line2 {
    color: #fff;
    font-size: 3.5rem;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.introduction-subtitle {
    font-family: 'Breathing', cursive;
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 3rem;
    font-style: italic;
    letter-spacing: 1px;
    margin-top: -3.5rem;
    z-index: 20;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

.introduction-description {
    background: rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    border: none;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    position: relative;
}

.introduction-description p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 20;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.introduction-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    color: #ff6b35;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.floating-icon:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.floating-icon:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

.floating-icon:nth-child(4) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 4.5s;
}

.floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(245, 181, 0, 0.4);
    border-color: rgba(245, 181, 0, 0.6);
}

/* Introduction Animations */
@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(245, 181, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 50px rgba(245, 181, 0, 0.8);
    }
}

@keyframes subtitlePulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(-50%);
    }
    50% {
        transform: translateY(-20px) translateX(-50%);
    }
}

.floating-icon:nth-child(2) {
    animation-name: floatRight;
}

.floating-icon:nth-child(4) {
    animation-name: floatLeft;
}

@keyframes floatRight {
    0%, 100% {
        transform: translateY(-50%) translateX(0px);
    }
    50% {
        transform: translateY(-70px) translateX(0px);
    }
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateY(-50%) translateX(0px);
    }
    50% {
        transform: translateY(-30px) translateX(0px);
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 30px 40px, #fff, transparent),
        radial-gradient(1px 1px at 80px 60px, #ffd700, transparent),
        radial-gradient(2px 2px at 150px 30px, #fff, transparent),
        radial-gradient(1px 1px at 220px 70px, #ffd700, transparent),
        radial-gradient(2px 2px at 300px 50px, #fff, transparent),
        radial-gradient(1px 1px at 380px 40px, #ffd700, transparent),
        radial-gradient(2px 2px at 450px 60px, #fff, transparent),
        radial-gradient(1px 1px at 520px 30px, #ffd700, transparent),
        radial-gradient(2px 2px at 600px 70px, #fff, transparent),
        radial-gradient(1px 1px at 680px 50px, #ffd700, transparent);
    background-repeat: repeat;
    background-size: 300px 120px;
    opacity: 0.4;
    animation: twinkle 8s ease-in-out infinite alternate;
    z-index: 1;
}

.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 40% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    z-index: 2;
}

@keyframes twinkle {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    font-family: 'Breathing', cursive;
    font-size: 1.3rem;
    color: #ffd700;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
    letter-spacing: 1px;
}

.services-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 3rem 0;
    flex-wrap: nowrap;
    min-height: 350px;
    overflow-x: hidden;
    position: relative;
    z-index: 3;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 160px;
    height: 280px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(245, 181, 0, 0.3);
    border-color: rgba(245, 181, 0, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.service-thumbnail {
    width: 100%;
    height: 140px;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.service-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.service-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.service-card:hover .service-thumbnail img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.8rem 0.8rem 0.3rem 0.8rem;
    color: #fff;
    text-align: left;
    line-height: 1.2;
}

.service-card p {
    font-size: 0.7rem;
    line-height: 1.3;
    color: #ccc;
    text-align: left;
    margin: 0 0.8rem 0.8rem 0.8rem;
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}


/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #111111 100%);
    color: #fff;
}


.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1920px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 181, 0, 0.2);
    width: 100%;
    height: 180px;
}

.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-link:hover {
    text-decoration: none;
    color: inherit;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 181, 0, 0.2);
    border-color: rgba(245, 181, 0, 0.4);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.portfolio-image img,
.portfolio-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img,
.portfolio-item:hover .portfolio-image video {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.portfolio-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
}

.portfolio-text-overlay h3 {
    font-family: 'Headliner No.45', sans-serif;
    font-size: 180px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    font-weight: normal;
    letter-spacing: 0.1em;
    line-height: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #111111 100%);
    color: #fff;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.contact-item i {
    color: #f5b500;
    font-size: 2rem;
    margin: 0;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f5b500;
}

.contact-item p {
    color: #e0e0e0;
    line-height: 1.6;
}

.contact-item .social-links {
    justify-content: center;
    margin-top: 0.5rem;
}


/* Footer */
.footer {
    background: #0a0a0a;
    color: #fff;
    padding: 4rem 0 2rem;
    border-top: 1px solid #1a1a1a;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer h4 {
    color: #f5b500;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer ul li a:hover {
    color: #f5b500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
    border: 1px solid #333;
    border-radius: 50%;
}

.social-links a:hover {
    color: #f5b500;
    border-color: #f5b500;
}

.social-links a i {
    font-size: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #f5b500;
}

.footer-contact .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #999;
    font-size: 0.9rem;
}

.footer-contact .contact-item i {
    color: #f5b500;
    width: 16px;
    font-size: 0.9rem;
}

.footer-qr {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.footer-qr h4 {
    color: #f5b500;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.qr-code {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 2px solid #f5b500;
    padding: 6px;
    background: #fff;
    object-fit: contain;
}

.qr-container p {
    color: #ccc;
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

.footer-logo h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-logo p {
    color: #999;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navbar {
        background: transparent !important;
        backdrop-filter: none !important;
        transition: all 0.3s ease;
    }
    
    .navbar.scrolled {
        background: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(25px) !important;
    }
    
    .logo-img {
        width: 70%;
        height: 100px;
        margin: 0px 0 0px 20px;
        object-fit: contain;
    }
    
    .hero-video-background,
    .hero-video-overlay {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .hero-video-background::before {
        top: 0;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem 0;
        transform: translateX(100%);
        opacity: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 1.5rem 2rem;
        margin: 0.5rem 0;
        font-size: 1.2rem;
        font-weight: 500;
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 8px;
        position: relative;
        overflow: hidden;
        opacity: 0;
        transform: translateX(50px);
        animation: slideInRight 0.5s ease forwards;
    }
    
    .nav-menu .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu .nav-link:nth-child(5) { animation-delay: 0.5s; }
    
    .nav-menu .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(245, 181, 0, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-menu .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(245, 181, 0, 0.1);
        color: #f5b500;
        transform: translateX(10px);
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.3);
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-left: 1.5rem;
        margin-top: 0.3rem;
        padding: 0.3rem 0;
    }
    
    .dropdown-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: #999;
        border-left: 1px solid transparent;
    }
    
    .dropdown-link:hover {
        padding-left: 1.2rem;
        border-left-color: #f5b500;
        color: #f5b500;
        background: rgba(245, 181, 0, 0.03);
    }
    
    @keyframes slideInRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .hero-content {
        padding: 0 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-text {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 3.2rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.3;
        text-align: center !important;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        width: 100%;
    }
    
    .slogan-line1, .slogan-line2 {
        border: none;
        animation: mobileSloganSlide 1.2s ease 0.6s both;
        width: auto;
        overflow: visible;
        white-space: normal;
    }
    
    .slogan-line2 {
        animation-delay: 0.8s;
    }
    
    @keyframes mobileSloganSlide {
        0% {
            opacity: 0;
            transform: translateX(-50px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    
    
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding: 0;
        align-items: flex-start;
        overflow-x: visible;
    }
    
    .service-card {
        width: 100%;
        height: 200px;
        margin: 0;
        flex-shrink: 0;
        border: 1px solid #333;
        border-right: none;
        border-bottom: none;
    }
    
    .service-card:nth-child(3n) {
        border-right: 1px solid #333;
    }
    
    .service-card:nth-child(n+7) {
        border-bottom: 1px solid #333;
    }
    
    .service-card h3 {
        font-size: 0.7rem;
        margin: 0.5rem 0.5rem 0.2rem 0.5rem;
    }
    
    .service-card p {
        font-size: 0.6rem;
        line-height: 1.2;
        margin: 0 0.5rem 0.5rem 0.5rem;
    }
    
    .service-thumbnail {
        height: 100px;
    }
    
    .portfolio-grid {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .portfolio-item {
        height: 150px;
    }
    
    .portfolio-text-overlay h3 {
        font-size: 100px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-contact .contact-info {
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-qr {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .qr-code {
        width: 80px;
        height: 80px;
    }
    
    /* Portfolio Pages Mobile */
    .portfolio-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .portfolio-hero .hero-content p {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .gallery-item {
        border-width: 1px;
    }
    
    .gallery-item video {
        height: auto;
        max-height: 300px;
    }
    
    .gallery-overlay {
        padding: 1rem;
        border-top-width: 1px;
    }
    
    .gallery-overlay h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.1;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.2;
        padding: 0 0.5rem;
        text-align: center !important;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        width: 100%;
    }
    
    .slogan-line1, .slogan-line2 {
        border: none;
        animation: mobileSloganSlide 1.2s ease 0.6s both;
        width: auto;
        overflow: visible;
        white-space: normal;
    }
    
    .slogan-line2 {
        animation-delay: 0.8s;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-logo {
        display: block;
    }
    
    .introduction-content {
        max-width: 600px;
    }
    
    .introduction-title {
        font-size: 4rem;
    }
    
    .title-line1 {
        font-size: 2rem;
    }
    
    .title-line2 {
        font-size: 2.2rem;
    }
    
    .introduction-subtitle {
        font-size: 1.4rem;
        white-space: normal;
        line-height: 1.2;
        text-align: center;
        max-width: 100%;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        margin-bottom: 2rem;
        z-index: 1;
    }
    
    .introduction-description {
        padding: 2rem;
    }
    
    .introduction-description p {
        font-size: 1.1rem;
    }
    
    .hero-logo-img {
        width: 100px;
        height: 100px;
        animation: floating 3s ease-in-out infinite;
    }
    
    .clutch-rating {
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem 1.2rem;
        gap: 1rem;
    }
    
    .rating-label {
        font-size: 0.6rem;
    }
    
    .rating-score {
        font-size: 1rem;
    }
    
    .rating-stars i {
        font-size: 0.8rem;
    }
    
    .rating-button {
        width: 35px;
        height: 35px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .introduction-content {
        max-width: 500px;
    }
    
    .introduction-title {
        font-size: 3rem;
    }
    
    .title-line1 {
        font-size: 1.5rem;
    }
    
    .title-line2 {
        font-size: 2.2rem;
    }
    
    .introduction-subtitle {
        font-size: 1.1rem;
        white-space: normal;
        line-height: 1.3;
        text-align: center;
        max-width: 100%;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 0.8rem;
        margin-bottom: 1.5rem;
        z-index: 1;
        padding: 0 1rem;
    }
    
    .introduction-description {
        padding: 1.5rem;
    }
    
    .introduction-description p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    0%, 50% {
        border-color: #f5b500;
    }
    100% {
        border-color: transparent;
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.service-card,
.portfolio-item {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-text {
    animation: slideInFromBottom 1s ease forwards;
}

/* Clutch Rating Component */
.clutch-rating {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    animation: fadeInUp 1s ease 1.5s both;
}

.rating-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rating-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.rating-score {
    font-size: 1.1rem;
    color: #fff;
    font-weight: bold;
    font-family: 'Edges', sans-serif;
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
}

.rating-stars i {
    color: #ff4444;
    font-size: 0.9rem;
}

.rating-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.rating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.rating-button i {
    color: #000;
    font-size: 1rem;
}



/* Keywords Band Section */
.keywords-band {
    background: #2a2a2a;
    padding: 8px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.keywords-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.keywords-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap;
    overflow: hidden;
    animation: slideKeywords 60s linear infinite;
}

.keyword-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e0e0e0;
    font-family: 'Futurist Fixed Width', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 4px 15px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.keyword-item::after {
    content: '✦';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700;
    font-size: 0.7rem;
    font-weight: bold;
}

.keyword-item:last-child::after {
    display: none;
}

.keyword-item:hover {
    color: #ffd700;
    transform: translateY(-1px);
}

.keyword-item i {
    color: #ffd700;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    margin-right: 3px;
}

.keyword-item:hover i {
    transform: scale(1.1);
    color: #ffed4e;
}

/* Mobile Responsive for Keywords Band */
@media (max-width: 768px) {
    .keywords-container {
        padding: 0 15px;
        justify-content: flex-start;
    }
    
    .keyword-item {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    .keyword-item i {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .keywords-container {
        padding: 0 10px;
        justify-content: flex-start;
    }
    
    .keyword-item {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
    
    .keyword-item i {
        font-size: 0.55rem;
    }
    
    .portfolio-item {
        height: 120px;
    }
    
    .portfolio-text-overlay h3 {
        font-size: 80px;
    }
}

/* Portfolio Pages */
.portfolio-hero {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #111111 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-cover-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('cloud.png') repeat;
    background-size: 200px 100px;
    opacity: 0.1;
    animation: cloudFloat 20s linear infinite;
}

.portfolio-hero .hero-content {
    position: relative;
    z-index: 3;
}

.portfolio-hero .hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    color: #f5b500;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(245, 181, 0, 0.3);
    position: relative;
    z-index: 3;
}

.portfolio-hero .hero-content p {
    font-family: 'Breathing', cursive;
    font-size: 1.5rem;
    color: #ccc;
    font-style: italic;
    position: relative;
    z-index: 3;
}

.portfolio-gallery {
    padding: 4rem 0;
    background: #000;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #000;
    border: 2px solid #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(245, 181, 0, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 35px rgba(245, 181, 0, 0.3);
    border-color: #f5b500;
}

.gallery-item video {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    transition: all 0.4s ease;
    filter: grayscale(20%) contrast(1.1);
    background: #000;
    cursor: pointer;
}

/* Specific styling for trailer videos */
.trailers .gallery-item video {
    filter: none !important;
    max-height: 350px;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    background: #000 !important;
    object-fit: contain !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
    min-height: 200px !important;
}

.gallery-item:hover video {
    filter: grayscale(0%) contrast(1.2);
}

/* Override hover effects for trailer videos */
.trailers .gallery-item:hover video {
    filter: none !important;
    opacity: 1 !important;
}

/* Ensure trailer video overlays don't interfere */
.trailers .gallery-overlay {
    position: static !important;
    background: #000 !important;
    border-top: 2px solid #333 !important;
    z-index: 1 !important;
}

/* Ensure trailer gallery items are visible */
.trailers .gallery-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #000 !important;
    border: 2px solid #333 !important;
    overflow: visible !important;
}

/* Specific styling for BTS videos */
.bts .gallery-item video {
    filter: none !important;
    max-height: 350px;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    background: #000 !important;
    object-fit: contain !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
    min-height: 200px !important;
}

/* Ensure BTS video overlays don't interfere */
.bts .gallery-overlay {
    position: static !important;
    background: #000 !important;
    border-top: 2px solid #333 !important;
    z-index: 1 !important;
}

/* Ensure BTS gallery items are visible */
.bts .gallery-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #000 !important;
    border: 2px solid #333 !important;
    overflow: visible !important;
}

/* Override hover effects for BTS videos */
.bts .gallery-item:hover video {
    filter: none !important;
    opacity: 1 !important;
}

/* Events page video styling */
.events .gallery-item video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    opacity: 1 !important;
    object-fit: contain !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
    min-height: 200px !important;
}

/* Ensure Events video overlays don't interfere */
.events .gallery-overlay {
    position: static !important;
    background: #000 !important;
    border-top: 2px solid #333 !important;
    z-index: 1 !important;
}

/* Ensure Events gallery items are visible */
.events .gallery-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #000 !important;
    border: 2px solid #333 !important;
    overflow: visible !important;
}

/* Override hover effects for Events videos */
.events .gallery-item:hover video {
    filter: none !important;
    opacity: 1 !important;
}

/* Publicites page video styling */
.publicites .gallery-item video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    opacity: 1 !important;
    object-fit: contain !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
    min-height: 200px !important;
}

/* Ensure Publicites video overlays don't interfere */
.publicites .gallery-overlay {
    position: static !important;
    background: #000 !important;
    border-top: 2px solid #333 !important;
    z-index: 1 !important;
}

/* Ensure Publicites gallery items are visible */
.publicites .gallery-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #000 !important;
    border: 2px solid #333 !important;
    overflow: visible !important;
}

/* Override hover effects for Publicites videos */
.publicites .gallery-item:hover video {
    filter: none !important;
    opacity: 1 !important;
}

/* References page styling */
.references-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: visible;
}

.references-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png');
    background-size:
        150px 75px,
        100px 50px,
        120px 60px,
        80px 40px;
    background-position:
        20% 30%,
        80% 20%,
        10% 70%,
        90% 80%;
    background-repeat: no-repeat;
    opacity: 0.3 !important;
    z-index: 1;
}

.references-hero .hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.references-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', sans-serif;
}

.references-hero p {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
}

.references-hero h2 {
    font-family: 'Breathing', cursive;
    font-size: 2.5rem;
    color: #f5b500;
    margin-top: 1rem;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 1px;
}


.references-hero .hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.references-hero .cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    animation: cloudFloat 20s infinite linear;
}

.references-hero .cloud-1 {
    width: 80px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.references-hero .cloud-2 {
    width: 120px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.references-hero .cloud-3 {
    width: 100px;
    height: 50px;
    top: 30%;
    right: 30%;
    animation-delay: -14s;
}

.references-section {
    padding: 80px 0;
    background: #ffffff;
}

.references-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.references-section .section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #f5b500;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.references-section .section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.reference-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.reference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 181, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.reference-card:hover::before {
    left: 100%;
}

.reference-card:hover {
    border-color: #f5b500;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(245, 181, 0, 0.2);
}

.reference-logo {
    margin-bottom: 20px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
}

.reference-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.reference-card:hover .reference-logo img {
    transform: scale(1.05);
}

.reference-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.reference-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
}

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: #ffffff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f5b500;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

/* Responsive design for references page */
@media (max-width: 768px) {
    .references-hero h1 {
        font-size: 2.5rem;
    }
    
    .references-hero p {
        font-size: 1.2rem;
    }
    
    .references-section .section-header h2 {
        font-size: 2rem;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reference-card {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(245, 181, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-play-button:hover {
    background: rgba(245, 181, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button i {
    color: #000;
    font-size: 20px;
    margin-left: 3px;
}

.gallery-overlay {
    position: static;
    background: #000;
    color: #fff;
    padding: 1.5rem;
    border-top: 2px solid #333;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-overlay {
    border-top-color: #f5b500;
    background: #111;
}

.gallery-overlay h3 {
    font-family: 'Edges', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    color: #f5b500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(245, 181, 0, 0.3);
}

/* Active dropdown link */
.dropdown-link.active {
    color: #f5b500;
    background: rgba(245, 181, 0, 0.1);
    border-left-color: #f5b500;
}

/* References Section for main page */
.references {
    padding: 50px 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

/* References page specific styling */
body.references {
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

body.references .references-section {
    padding: 120px 0 80px 0;
    background: #ffffff;
    min-height: auto;
}

body.references .navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.references::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png');
    background-size: 
        250px 125px,
        200px 100px,
        400px 200px,
        180px 90px,
        320px 160px,
        160px 80px,
        280px 140px,
        140px 70px;
    background-position: 
        5% 15%,
        85% 25%,
        45% 75%,
        95% 5%,
        15% 70%,
        75% 85%,
        60% 40%,
        25% 50%;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    animation: cloudFloat 20s ease-in-out infinite;
}

@keyframes cloudFloat {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-5px) translateX(-3px);
    }
    75% {
        transform: translateY(-15px) translateX(8px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}





.references .section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.references .section-header h2 {
    font-family: 'Breathing', cursive;
    font-size: 4rem;
    color: #f5b500;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #f5b500, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #f5b500;
    background-clip: text;
    font-weight: normal;
}

.references .section-header p {
    font-family: 'Edges', sans-serif;
    color: #aaa;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands-container {
    position: relative;
    padding: 20px 0;
    z-index: 3;
}

.brands-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 100px;
    backdrop-filter: blur(20px);
    border: none;
    padding: 40px 0;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(255, 215, 0, 0.2),
        inset 0 2px 4px rgba(255, 215, 0, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(5deg) rotateY(-2deg);
    transition: transform 0.3s ease;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: slideLogos 20s linear infinite;
    white-space: nowrap;
}

.brands-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.6s ease;
}

.brands-grid:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-1deg) translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(255, 215, 0, 0.3),
        inset 0 2px 4px rgba(255, 215, 0, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.2);
}

.brands-grid:hover::before {
    left: 100%;
}

@keyframes slideLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-item:hover {
    transform: scale(1.1);
}

.brand-logo {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: all 0.4s ease;
}

.brand-item:hover .brand-logo {
    filter: none;
    transform: scale(1.1);
}

/* References Button */
.references-button-container {
    text-align: center;
    margin-top: 30px;
    position: relative;
    z-index: 3;
}

.references-btn {
    font-family: 'Edges', sans-serif;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #000;
    border: 2px solid rgba(255, 215, 0, 0.8);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    text-decoration: none;
}

.references-btn::before {
    content: none;
    display: none;
}

.references-btn:hover::before { display: none; }

.references-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    border-color: rgba(255, 215, 0, 1);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .references {
        padding: 40px 0;
    }
    
    .references .section-header h2 {
        font-size: 3rem;
        letter-spacing: 0.5px;
    }
    
    .references .section-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .brands-container {
        padding: 15px 0;
    }
    
    .brands-grid {
        max-width: 600px;
        padding: 30px 0;
    }
    
    .brands-track {
        gap: 40px;
    }
    
    .brand-logo {
        max-width: 100px;
        max-height: 60px;
    }
    
    .references-button-container {
        margin-top: 20px;
    }
    
    .references-btn {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .references .section-header h2 {
        font-size: 2.5rem;
        letter-spacing: 0.3px;
    }
    
    .brands-grid {
        max-width: 500px;
        padding: 25px 0;
    }
    
    .brands-track {
        gap: 30px;
    }
    
    .brand-logo {
        max-width: 80px;
        max-height: 50px;
    }
    
    .references-button-container {
        margin-top: 15px;
    }
    
    .references-btn {
        padding: 8px 20px;
        font-size: 0.75rem;
    }
}

/* Film Cover Styles */
.film-cover-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block !important;
    visibility: visible !important;
}

.film-cover-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.film-cover-image {
    width: 100%;
    height: auto;
    display: block !important;
    border-radius: 20px;
    transition: all 0.6s ease;
    visibility: visible !important;
    opacity: 1 !important;
}

.film-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.film-cover-container:hover .film-cover-overlay {
    opacity: 1;
}

.film-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-10px);
    animation: badgeFloat 3s ease-in-out infinite;
}

.film-badge i {
    font-size: 1rem;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(-10px); }
    50% { transform: translateY(-15px); }
}

.floating-elements {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.floating-elements .floating-icon {
    animation: float 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.5s);
}

.floating-elements .floating-icon:nth-child(1) { --i: 0; }
.floating-elements .floating-icon:nth-child(2) { --i: 1; }
.floating-elements .floating-icon:nth-child(3) { --i: 2; }
.floating-elements .floating-icon:nth-child(4) { --i: 3; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(2deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

/* Responsive adjustments for film cover */
@media (max-width: 768px) {
    .film-cover-container {
        max-width: 300px;
        transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    }
    
    .film-cover-container:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    }
    
    .floating-elements {
        margin-top: 1.5rem;
    }
}

/* Service Pages Styling */
.service-hero {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #111111 100%);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png'),
        url('cloud.png');
    background-size: 
        200px 100px,
        150px 75px,
        250px 125px,
        180px 90px;
    background-position: 
        10% 20%,
        80% 30%,
        50% 70%,
        20% 80%;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
    animation: cloudFloat 25s ease-in-out infinite;
}

.service-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    flex-direction: row-reverse;
}

.service-hero .hero-text {
    text-align: left;
}

.service-thumbnail-large {
    flex: 0 0 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.service-thumbnail-large:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(245, 181, 0, 0.2);
}

.service-thumbnail-large img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s ease;
    filter: brightness(0.9) contrast(1.1);
    border-radius: 20px;
    display: block;
    margin: 0 auto;
}

/* Specific adjustments for different service images */
.production-media .service-thumbnail-large {
    flex: none;
    width: auto;
    height: auto;
    max-width: 500px;
    max-height: 500px;
}

.production-media .service-thumbnail-large img {
    object-fit: contain;
    object-position: center;
    background: #000;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    transform: scale(1.5);
    transition: transform 0.6s ease;
}

.production-media .service-thumbnail-large:hover img {
    transform: scale(1.2);
}

.photographie .service-thumbnail-large img {
    object-position: center center;
}

.design-graphique .service-thumbnail-large img {
    object-position: center center;
}

.communication-publicite .service-thumbnail-large img {
    object-position: center center;
}

.formation .service-thumbnail-large img {
    object-position: center center;
}

.couverture-mediatique .service-thumbnail-large img {
    object-position: center center;
}

.service-thumbnail-large:hover img {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05);
}

/* Add a subtle overlay for better framing */
.service-thumbnail-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 20px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-thumbnail-large:hover::after {
    opacity: 0.7;
}

.service-hero .hero-text {
    flex: 1;
    color: #fff;
    text-align: left;
}

.service-hero .hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #f5b500;
    text-shadow: 0 0 20px rgba(245, 181, 0, 0.3);
    line-height: 1.2;
    position: relative;
}

.service-hero .hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f5b500, #ffd700);
    border-radius: 2px;
}

.service-hero .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #ccc;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-bottom: 2rem;
}

.service-details {
    padding: 6rem 0;
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 30px 40px, #fff, transparent),
        radial-gradient(1px 1px at 80px 60px, #ffd700, transparent),
        radial-gradient(2px 2px at 150px 30px, #fff, transparent),
        radial-gradient(1px 1px at 220px 70px, #ffd700, transparent);
    background-repeat: repeat;
    background-size: 300px 120px;
    opacity: 0.3;
    animation: twinkle 10s ease-in-out infinite alternate;
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-description {
    margin-bottom: 4rem;
}

.service-description h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #f5b500;
    text-align: center;
    position: relative;
}

.service-description h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #f5b500, #ffd700);
    border-radius: 2px;
}

.service-description > p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-family: 'Inter', sans-serif;
}

.service-description h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.specialization-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.specialization-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 181, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.specialization-item:hover::before {
    left: 100%;
}

.specialization-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 181, 0, 0.2);
    border-color: rgba(245, 181, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.specialization-item i {
    font-size: 3rem;
    color: #f5b500;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.specialization-item:hover i {
    transform: scale(1.1);
    color: #ffd700;
}

.specialization-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.specialization-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    font-family: 'Inter', sans-serif;
}

.service-process {
    margin-top: 4rem;
}

.service-process h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #fff;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 350px;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f5b500, #ffd700);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(245, 181, 0, 0.3);
    position: relative;
    z-index: 2;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(245, 181, 0, 0.3), rgba(255, 215, 0, 0.3));
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #f5b500;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    font-family: 'Inter', sans-serif;
}

/* Service Pages Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        padding: 6rem 0 3rem;
        min-height: 60vh;
    }
    
    .service-hero .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .service-hero .hero-text {
        text-align: center;
    }
    
    .service-thumbnail-large {
        flex: none;
        width: 100%;
        max-width: 300px;
        transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    }
    
    .service-thumbnail-large:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    }
    
    .service-thumbnail-large img {
        height: 200px;
        object-fit: cover;
        object-position: center;
    }
    
    .service-hero .hero-text {
        text-align: center;
    }
    
    .service-hero .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .service-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .service-description h2 {
        font-size: 2rem;
    }
    
    .service-description > p {
        font-size: 1.1rem;
    }
    
    .specializations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .specialization-item {
        padding: 1.5rem;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .step {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .service-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .service-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-description h2 {
        font-size: 1.8rem;
    }
    
    .service-description h3 {
        font-size: 1.5rem;
    }
    
    .service-process h3 {
        font-size: 1.5rem;
    }
    
    .specialization-item {
        padding: 1.2rem;
    }
    
    .specialization-item i {
        font-size: 2.5rem;
    }
    
    .specialization-item h4 {
        font-size: 1.1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
}

/* Service Pages Scroll Animations */
.service-description,
.specializations-grid,
.service-process {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-description.animate,
.specializations-grid.animate,
.service-process.animate {
    opacity: 1;
    transform: translateY(0);
}

.specialization-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.specialization-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.specialization-item:nth-child(1) { transition-delay: 0.1s; }
.specialization-item:nth-child(2) { transition-delay: 0.2s; }
.specialization-item:nth-child(3) { transition-delay: 0.3s; }
.specialization-item:nth-child(4) { transition-delay: 0.4s; }

.step {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step.animate {
    opacity: 1;
    transform: translateX(0);
}

.step:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(2) { transition-delay: 0.3s; }
.step:nth-child(3) { transition-delay: 0.5s; }

/* Enhanced Service Hero Animations */
.service-hero .hero-content {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease 0.5s forwards;
}

.service-thumbnail-large {
    opacity: 0;
    transform: translateX(-50px) rotateY(-15deg);
    animation: slideInLeft 1s ease 0.8s forwards;
}

.service-hero .hero-text {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 1s forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service Page Loading Animation */
.service-hero::before {
    animation: fadeInBackground 1.5s ease forwards;
}

.service-hero::after {
    animation: fadeInClouds 2s ease 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInClouds {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.1;
        transform: translateY(0);
    }
}

/* Enhanced Hover Effects for Service Elements */
.service-hero .hero-text h1 {
    transition: all 0.3s ease;
}

.service-hero .hero-text h1:hover {
    transform: scale(1.02);
    text-shadow: 0 0 30px rgba(245, 181, 0, 0.5);
}

.service-hero .hero-text h1::after {
    transition: width 0.3s ease;
}

.service-hero .hero-text h1:hover::after {
    width: 120px;
}

/* Service Page Navigation Enhancement */
body.production-media .navbar,
body.photographie .navbar,
body.design-graphique .navbar,
body.communication-publicite .navbar,
body.formation .navbar,
body.couverture-mediatique .navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

/* Service Page Footer Enhancement */
.service-details + .contact {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #111111 100%);
    position: relative;
    overflow: hidden;
}

.service-details + .contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.service-details + .contact .container {
    position: relative;
    z-index: 2;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
