/* ============================================
   CREATIVE'S DEN - BRAND STYLES
   Colors: Black, White, Blue Accents
   Primary Font: Rubik Mono One
   ============================================ */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-blue: #0066FF; /* Nike Jordan 1 inspired blue */
    --color-blue-light: #3399FF;
    --color-gray: #f5f5f5;
    --color-gray-dark: #333333;
    --color-text: #000000;
    --color-text-light: #666666;
    
    --font-primary: 'Rubik Mono One', monospace;
    --font-secondary: 'Rowdies', sans-serif;
    --font-tertiary: 'Six Caps', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* Custom Cursor */
.custom-cursor {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-blue);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.8);
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: scale(1.5);
    background-color: var(--color-white);
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text);
    line-height: 1.6;
    cursor: none;
    background: 
        radial-gradient(ellipse at center, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 20%, rgba(0, 102, 255, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 102, 255, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at center bottom, rgba(0, 51, 153, 0.25) 0%, transparent 60%),
        linear-gradient(
            to bottom,
            #0d0d1a 0%,
            #151525 20%,
            #1a1a2e 40%,
            #151525 60%,
            #0d0d1a 80%,
            #050510 100%
        );
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(0, 51, 153, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: galaxyPulse 20s ease-in-out infinite;
}

@keyframes galaxyPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    z-index: 1000;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    top: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                -webkit-backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .logo {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
}

.navbar.scrolled .logo a {
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.navbar.scrolled .nav-toggle {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
}

.navbar.scrolled .nav-link { color: rgba(255, 255, 255, 0.95); }
.navbar.scrolled .nav-link:hover { color: #ffffff; }
.navbar.scrolled .nav-link.active { color: #ffffff; }

.nav-container {
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.4));
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(0.72rem, 1.1vw, 0.95rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-link::before,
.brand-link::after {
    content: '';
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85));
}

.brand-link::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), transparent);
}

.brand-link:hover,
.brand-link:focus {
    color: #ffffff;
    text-shadow: 0 0 16px rgba(0, 102, 255, 0.75);
}

.navbar.scrolled .brand-link {
    color: rgba(255, 255, 255, 0.95);
}

.logo a:hover {
    color: var(--color-blue);
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.7);
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

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

.nav-link {
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    border: none;
    font-size: 0.95rem;
    padding: 0.45rem 0.4rem;
    position: relative;
    overflow: visible;
    transition: color 0.25s ease;
    font-family: var(--font-secondary);
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,102,255,0), rgba(0,102,255,0.9), rgba(0,102,255,0));
    width: 0%;
    margin: 0 auto;
    transition: width 300ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link:focus {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 90%;
}

.nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.35);
}

.nav-link.active::after {
    width: 100%;
}

/* Hide mobile CTA on desktop */
.nav-cta-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                -webkit-backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(0, 102, 255, 0.5);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--color-white);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.nav-toggle:hover span {
    background-color: var(--color-blue);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.8);
}

.navbar.scrolled .nav-toggle:hover span {
    background-color: var(--color-white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.8rem 1.5rem;
    margin-top: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Optimize video performance */
    will-change: transform;
    transform: translateZ(0);
}

.hero-media-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('ShortPixelOptimized%20(3)/MAX_0054%20(1).JPG');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: heroLiquidZoom 4.5s ease-in-out infinite alternate;
    transform-origin: center;
    will-change: transform;
}

@keyframes heroLiquidZoom {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.055) translate3d(-0.5%, -0.35%, 0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(0, 0, 0, 0.55) 30%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.55) 70%,
        rgba(0, 0, 0, 0.38) 90%,
        rgba(0, 0, 0, 0.12) 98%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}


.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    z-index: 2;
    position: relative;
    animation: fadeInScale 1s ease-out 0.3s both;
    padding: 0 1rem;
}

.hero-logo {
    height: clamp(40px, 10vw, 90px);
    width: auto;
    margin: 0 auto 0.8rem;
    display: block;
    filter: drop-shadow(0 0 12px rgba(0, 102, 255, 0.5));
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 6.8vw, 4rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow: 
        0 0 20px rgba(0, 102, 255, 0.5),
        0 0 40px rgba(0, 102, 255, 0.3),
        3px 3px 10px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.01em;
    word-spacing: 0;
    line-height: 1.05;
    text-transform: uppercase;
    white-space: normal;
    text-wrap: balance;
    max-width: 100%;
    overflow: visible;
    animation: fadeInScale 0.8s ease-out;
    position: relative;
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 6vw;
        letter-spacing: 0;
    }
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.05em;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    font-weight: 300;
    padding: 0 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

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

/* ============================================
   CAROUSELS SECTION
   ============================================ */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 100vh;
    position: relative;
    overflow: visible;
    padding: var(--spacing-md);
    background: transparent;
}

.split-section::before {
    display: none;
}

.split-half {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-half:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

.portfolio-split {
    margin-right: 10px;
}

.services-split {
    margin-left: 10px;
}

.split-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.split-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    text-align: center;
}

.split-content p {
    color: var(--color-white);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    max-width: 90%;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.about-split-section .split-half {
    height: 80vh;
    min-height: 600px;
}

.story-split {
    margin-right: 10px;
}

.vision-split {
    margin-left: 10px;
}

.split-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    letter-spacing: 0.1em;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.split-half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: background 0.3s ease;
}

.split-half:hover::before {
    background: rgba(0, 0, 0, 0.4);
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--color-black);
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-blue);
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: var(--font-secondary);
    font-weight: 400;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.3), transparent);
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    color: var(--color-white);
    border-color: var(--color-blue-light);
    background: rgba(0, 102, 255, 0.15);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.35), 0 0 40px rgba(0, 102, 255, 0.2);
}

.btn-primary span,
.btn-secondary span {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.btn-secondary {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: var(--font-secondary);
    font-weight: 400;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25), 0 0 40px rgba(255, 255, 255, 0.15);
}

/* Galaxy Click Effect */
.galaxy-click-effect {
    position: fixed;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(0, 102, 255, 1) 0%, 
        rgba(0, 102, 255, 0.9) 10%,
        rgba(0, 102, 255, 0.7) 20%,
        rgba(0, 102, 255, 0.5) 30%,
        rgba(0, 102, 255, 0.3) 40%,
        rgba(0, 102, 255, 0.2) 50%,
        rgba(0, 102, 255, 0.1) 60%,
        transparent 80%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.3s ease-out,
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: width, height, opacity;
}

.galaxy-click-effect.active {
    width: 800px !important;
    height: 800px !important;
    opacity: 0.9 !important;
}

.btn-primary:active,
.btn-secondary:active {
    transform: scale(0.98) translateY(-1px);
}

.service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* ============================================
   SECTIONS
   ============================================ */

main {
    position: relative;
    z-index: 1;
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: var(--spacing-md);
    font-style: italic;
    font-family: var(--font-secondary);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.portfolio-category-section .section-title {
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.2;
    word-spacing: 0.05em;
}

.text-center {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ============================================
   SERVICES PREVIEW
   ============================================ */

.services-preview {
    background-color: var(--color-white);
}

.services-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    justify-content: center;
    overflow-x: auto;
    padding-bottom: var(--spacing-xs);
}

.services-grid::-webkit-scrollbar {
    height: 4px;
}

.services-grid::-webkit-scrollbar-track {
    background: var(--color-gray);
}

.services-grid::-webkit-scrollbar-thumb {
    background: var(--color-blue);
    border-radius: 2px;
}

.services-button-container {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.service-card {
    background-color: var(--color-gray);
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 220px;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   FEATURED WORK
   ============================================ */

.featured-work {
    background-color: var(--color-gray);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.work-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--color-white);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: var(--transition);
}

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

.work-overlay h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   WHY CHOOSE US / FEATURES
   ============================================ */

.why-choose-us {
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature {
    padding: var(--spacing-md);
}

.feature h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: transparent;
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.cta-section h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */

.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.8rem 1.5rem;
    margin-top: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 0, 0, 0.7) 70%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.page-hero h1 {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: var(--color-white);
    letter-spacing: 0.05em;
    line-height: 1.2;
    word-spacing: 0.1em;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    text-transform: uppercase;
}

.page-hero-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-content {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 0;
}

.about-content {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: stretch;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md);
    min-height: 400px;
}

.about-text-box {
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        #000000;
    padding: var(--spacing-lg);
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: galaxyPulse 15s ease-in-out infinite;
}

.about-text-box > * {
    position: relative;
    z-index: 1;
}

.about-text-box:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

.about-text-box h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-text-box p {
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.about-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid rgba(0, 0, 0, 0.6);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 400px;
}

.about-image-box:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

.about-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
    min-height: 400px;
}

.about-image-box:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
        min-height: auto;
    }

    .about-text-box {
        padding: var(--spacing-md);
        min-height: auto;
    }

    .about-text-box h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: var(--spacing-sm);
    }

    .about-text-box p {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.7;
    }

    .about-image-box {
        min-height: 300px;
    }

    .about-image-box img {
        min-height: 300px;
    }

    .experience-card {
        padding: var(--spacing-md);
    }

    .experience-card h3 {
        font-size: clamp(0.95rem, 3.2vw, 1.1rem);
        letter-spacing: 0.05em;
    }

    .experience-card p {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        line-height: 1.7;
    }

    .client-item {
        padding: var(--spacing-md);
    }

    .client-item h3 {
        font-size: clamp(0.8rem, 3vw, 1rem);
        letter-spacing: 0.04em;
    }

    .client-item p {
        font-size: clamp(0.8rem, 3vw, 0.9rem);
    }

    .concept-content {
        padding: var(--spacing-md);
    }

    .concept-content p {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.7;
    }
}

.about-text {
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        #000000;
    padding: var(--spacing-lg);
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: galaxyPulse 15s ease-in-out infinite;
}

.about-text > * {
    position: relative;
    z-index: 1;
}

.about-text:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

.about-text h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-text p {
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    border: 3px solid rgba(0, 0, 0, 0.6);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-section {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
}

.carousel-wrapper {
    position: relative;
    margin-top: var(--spacing-lg);
    padding: 0 50px;
}

.experience-carousel,
.clients-carousel {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

.experience-card,
.client-item,
.process-step {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--spacing-md);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-white);
    border-color: var(--color-white);
    transform: scale(1.2);
}

.experience-grid {
    display: none;
}

.experience-card {
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        #000000;
    padding: var(--spacing-lg);
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-left: 4px solid var(--color-blue);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: galaxyPulse 15s ease-in-out infinite;
}

.experience-card > * {
    position: relative;
    z-index: 1;
}

.experience-card:hover {
    transform: translateX(5px) scale(1.02);
    border-color: rgba(0, 0, 0, 0.9);
    border-left-color: var(--color-blue);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
}

.experience-card h3 {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.experience-card p {
    color: var(--color-white);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.clients-section {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
}

.clients-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-white);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.8;
}

.clients-grid {
    display: none;
}

.client-item {
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        #000000;
    padding: var(--spacing-lg);
    text-align: center;
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-left: 4px solid var(--color-blue);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.client-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: galaxyPulse 15s ease-in-out infinite;
}

.client-item > * {
    position: relative;
    z-index: 1;
}

.client-item:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(0, 0, 0, 0.9);
    border-left-color: var(--color-blue-light);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
}

.client-item h3 {
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    line-height: 1.25;
    text-wrap: balance;
}

.client-item p {
    color: var(--color-white);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.den-concept {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
}

.concept-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        #000000;
    padding: var(--spacing-lg);
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.concept-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: galaxyPulse 15s ease-in-out infinite;
}

.concept-content > * {
    position: relative;
    z-index: 1;
}

.concept-content p {
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.concept-content .highlight {
    color: var(--color-blue);
    font-weight: 400;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.services-detail {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 0;
}

.service-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: stretch;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md);
    min-height: 400px;
    scroll-margin-top: 100px;
}

.service-text-box {
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        #000000;
    padding: var(--spacing-lg);
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: galaxyPulse 15s ease-in-out infinite;
}

.service-text-box > * {
    position: relative;
    z-index: 1;
}

.service-text-box:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

.service-text-box h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    word-spacing: 0.05em;
}

.service-text-box h3 {
    color: var(--color-white);
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    margin: var(--spacing-sm) 0 0;
    letter-spacing: 0.04em;
}

.service-text-box p {
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.service-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid rgba(0, 0, 0, 0.6);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 400px;
}

.service-image-box:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

.service-image-box img,
.service-image-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
    min-height: 400px;
}

.service-image-box:hover img,
.service-image-box:hover video {
    transform: scale(1.03);
}

.service-video {
    background: #000;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    background: #000;
}

.video-placeholder-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: var(--spacing-md);
    color: var(--color-white);
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25));
    text-shadow: 0 0 12px rgba(0, 102, 255, 0.6);
}

.video-placeholder-overlay span {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.video-placeholder-overlay small {
    max-width: 260px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    line-height: 1.4;
}

.service-detail-card {
    display: none;
}



.service-features {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-blue);
    font-weight: bold;
}

.service-text-box .service-note {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--color-blue);
    border-left: 4px solid var(--color-blue);
    border-radius: 5px;
    font-size: clamp(0.72rem, 0.9vw, 0.82rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}


.process-section {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
}

.process-carousel {
    overflow: hidden;
    position: relative;
}

.process-steps {
    display: none;
}

.process-step {
    text-align: center;
    padding: var(--spacing-lg);
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        #000000;
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: galaxyPulse 15s ease-in-out infinite;
}

.process-step > * {
    position: relative;
    z-index: 1;
}

.process-step:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-blue);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.process-step h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.process-step p {
    color: var(--color-white);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */

.portfolio-filters {
    background: transparent;
    padding: var(--spacing-md) 0;
    border-bottom: none;
    margin-top: 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25), 0 0 40px rgba(255, 255, 255, 0.15);
}

.portfolio-category-section {
    background: transparent;
    padding: var(--spacing-xl) 0;
}

.portfolio-container {
    max-width: 1320px;
}

.portfolio-carousel-wrapper {
    margin-top: var(--spacing-md);
    padding: 0 58px;
}

.portfolio-grid-section {
    display: none;
}

.portfolio-grid {
    display: none;
}

.portfolio-carousel {
    overflow: hidden;
    position: relative;
}

.portfolio-carousel .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: stretch;
}

.portfolio-carousel .portfolio-item {
    flex: 0 0 calc(50% - 16px);
    min-width: calc(50% - 16px);
    margin: 0 8px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    cursor: pointer;
    background-color: var(--color-gray);
    min-height: clamp(360px, 32vw, 520px);
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 14px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 5px;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--color-white);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portfolio-overlay p {
    display: none;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 48px;
    padding: 0.7rem 1rem;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.65);
    border: 2px solid var(--color-blue);
    border-radius: 999px;
    font-size: 0.85rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 22px rgba(0, 102, 255, 0.35);
}

.portfolio-item.hidden {
    display: none;
}

/* Modal/Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

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

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.modal-content img,
.modal-content video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--color-white);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-blue);
}

.modal-info {
    color: var(--color-white);
    padding: var(--spacing-md);
    text-align: center;
}

.modal-info h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-info p {
    opacity: 0.9;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.contact-info h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    margin: var(--spacing-lg) 0;
}

.contact-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.contact-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--color-blue);
    border-left: 4px solid var(--color-blue);
    border-radius: 5px;
}

.contact-note p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 0.95rem;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: var(--transition);
    border-radius: 5px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: var(--spacing-md);
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.map-section {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
}

.map-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    margin-top: var(--spacing-lg);
}

.map-info {
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        #000000;
    padding: var(--spacing-lg);
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.map-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: galaxyPulse 15s ease-in-out infinite;
}

.map-info > * {
    position: relative;
    z-index: 1;
}

.map-info:hover {
    border-color: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

.map-info h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.map-info p {
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.map-info p:last-child {
    margin-bottom: 0;
}

.map-info strong {
    color: var(--color-white);
    font-weight: 600;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-why {
    background: transparent;
    padding: var(--spacing-xl) var(--spacing-md);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.why-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border: 3px solid rgba(0, 0, 0, 0.6);
    border-left: 4px solid var(--color-blue);
    border-radius: 10px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-item:hover {
    border-color: rgba(0, 0, 0, 0.9);
    border-left-color: var(--color-blue);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.why-item h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.why-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: 
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(5, 5, 16, 0.1) 5%,
            rgba(10, 10, 26, 0.3) 15%,
            rgba(15, 15, 37, 0.5) 30%,
            rgba(13, 13, 26, 0.7) 50%,
            rgba(10, 10, 20, 0.85) 70%,
            rgba(8, 8, 18, 0.95) 85%,
            rgba(5, 5, 16, 1) 100%
        );
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
    background-blend-mode: normal;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
}

.footer-brand a {
    display: inline-flex;
}

.footer-logo {
    width: min(220px, 100%);
    height: auto;
    display: block;
    filter: drop-shadow(0 0 14px rgba(0, 102, 255, 0.25));
}

.footer-section h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.footer-section h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-section p {
    color: var(--color-white);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--color-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
    font-weight: 300;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-copyright {
    max-width: 900px;
    margin: 1rem auto 0;
    font-size: 0.4rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 1rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.05em;
    font-family: var(--font-secondary);
}

.footer-copyright strong {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 0.08em;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-copyright a:hover {
    color: var(--color-blue);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 50%;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        transform: translate(-50%, -8px);
        flex-direction: column;
        gap: 0.5rem;
        background: 
            radial-gradient(ellipse at center, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse at 30% 20%, rgba(0, 102, 255, 0.2) 0%, transparent 40%),
            radial-gradient(ellipse at 70% 80%, rgba(0, 102, 255, 0.15) 0%, transparent 40%),
            radial-gradient(ellipse at center bottom, rgba(0, 51, 153, 0.25) 0%, transparent 60%),
            linear-gradient(
                to bottom,
                #0d0d1a 0%,
                #151525 20%,
                #1a1a2e 40%,
                #151525 60%,
                #0d0d1a 80%,
                #050510 100%
            );
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: min(360px, calc(100vw - 2rem));
        max-width: 360px;
        height: auto;
        min-height: 0;
        border-radius: 18px;
        text-align: center;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            inset 0 0 30px rgba(0, 0, 0, 0.1);
        border: 2px solid rgba(0, 102, 255, 0.5);
        padding: 1.5rem 1rem;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        isolation: isolate;
        box-sizing: border-box;
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        inset: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at center, rgba(0, 51, 153, 0.15) 0%, transparent 70%);
        pointer-events: none;
        z-index: -1;
        animation: galaxyPulse 20s ease-in-out infinite;
        border-radius: inherit;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(-50%, 0);
    }

    .nav-menu li {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        width: 100%;
    }

    body.menu-open .navbar {
        z-index: 10002;
    }

    .nav-link {
        margin: 0.35rem 0;
        width: 100%;
        max-width: none;
        min-height: 46px;
        font-size: 0.95rem;
        font-weight: 400;
        font-family: var(--font-secondary);
        padding: 0.75rem 1.5rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        border: 2px solid var(--color-blue);
        border-radius: 8px;
        background: rgba(0, 102, 255, 0.08);
        text-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link:focus,
    .nav-link.active {
        border-color: var(--color-blue-light);
        background: rgba(0, 102, 255, 0.15);
        box-shadow: 0 6px 25px rgba(0, 102, 255, 0.35), 0 0 40px rgba(0, 102, 255, 0.2);
    }

    /* Keep one Contact link in the menu. */
    .nav-cta-mobile {
        display: none !important;
    }

    .nav-cta-btn {
        background: transparent !important;
        color: var(--color-white) !important;
        border: 2px solid var(--color-blue) !important;
        border-radius: 8px !important;
        padding: 0.6rem 1.5rem !important;
        font-size: 0.9rem !important;
        font-weight: 400 !important;
        font-family: var(--font-secondary) !important;
        text-transform: none !important;
        letter-spacing: 0.05em;
        text-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        position: relative;
        overflow: hidden;
        display: block;
        text-align: center;
        width: 100%;
        white-space: nowrap;
    }

    .nav-cta-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.3), transparent);
        transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 0;
    }

    .nav-cta-btn:hover::before {
        left: 100%;
    }

    .nav-cta-btn:hover {
        color: var(--color-white) !important;
        border-color: var(--color-blue-light) !important;
        background: rgba(0, 102, 255, 0.15) !important;
        transform: translateY(-2px);
        text-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
        box-shadow: 0 6px 25px rgba(0, 102, 255, 0.35), 0 0 40px rgba(0, 102, 255, 0.2);
    }

    .nav-cta-btn:active {
        transform: scale(0.98) translateY(-1px);
    }

    .nav-cta-btn > * {
        position: relative;
        z-index: 1;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        width: 25px;
        height: 23px;
        padding: 0;
        z-index: 10001;
    }

    .nav-toggle.active {
        visibility: visible;
    }

    .hero {
        padding: 0.8rem 1rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-logo {
        height: clamp(86px, 24vw, 125px);
        margin-bottom: 1rem;
        filter: drop-shadow(0 0 18px rgba(0, 102, 255, 0.65));
    }

    .page-hero {
        padding: 0.8rem 1rem;
        min-height: 50vh;
    }

    .page-hero .container {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        white-space: normal;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .navbar {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 30px;
    }

    .nav-container {
        padding: 0.6rem 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    /* Optimize video for mobile - reduce opacity or use poster */
    .hero-video,
    .hero-media-placeholder {
        opacity: 0.92;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.52) 50%,
            rgba(0, 0, 0, 0.62) 100%
        );
    }

    .about-section,
    .service-section,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .service-text-box h2 {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
        line-height: 1.4;
        letter-spacing: 0.06em;
        word-spacing: 0.04em;
    }

    .map-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
        margin-top: var(--spacing-md);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 165px;
        max-width: 220px;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .work-grid,
    .portfolio-carousel .portfolio-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .split-section {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }

    .split-half {
        height: 50vh;
        min-height: 400px;
        margin: 0 !important;
        border-width: 2px;
    }

    .split-content {
        padding: var(--spacing-lg);
    }

    .split-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: var(--spacing-sm);
    }

    .services-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-card {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: var(--spacing-sm);
    }

    .carousel-wrapper {
        padding: 0 40px;
    }

    .experience-card,
    .client-item,
    .process-step,
    .portfolio-carousel .portfolio-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .about-split-section .split-half {
        height: 50vh;
        min-height: 400px;
    }

    /* Contact form improvements */
    .contact-form {
        gap: var(--spacing-sm);
    }

    /* Footer improvements */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
        justify-items: center;
    }

    .footer-section {
        width: 100%;
    }

    .footer-brand {
        width: 100%;
        justify-content: center;
    }

    .footer-brand a,
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    /* CTA section */
    .cta-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .cta-content {
        text-align: center;
    }

    /* Process steps */
    .process-steps {
        gap: var(--spacing-md);
    }

    .process-step {
        padding: var(--spacing-md);
    }

    .features-grid,
    .process-steps,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-xs);
    }

    .filter-btn {
        white-space: nowrap;
    }

    .portfolio-category-section {
        padding: var(--spacing-lg) 0;
    }

    .portfolio-category-section .container {
        padding: 0 var(--spacing-sm);
    }

    .portfolio-category-section .carousel-wrapper {
        padding: 0 30px;
    }

    .portfolio-carousel .portfolio-item {
        flex: 0 0 calc(100% - 12px);
        min-width: calc(100% - 12px);
        min-height: clamp(290px, 74vw, 460px);
        margin: 0 6px;
    }

    .portfolio-category-section .carousel-btn {
        z-index: 2;
        background: rgba(0, 0, 0, 0.72);
    }
}

/* Tablet Styles (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .service-section {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .portfolio-carousel .portfolio-item {
        flex: 0 0 calc(50% - 14px);
        min-width: calc(50% - 14px);
        min-height: clamp(340px, 42vw, 460px);
        margin: 0 7px;
    }

    .experience-card,
    .client-item,
    .process-step {
        flex: 0 0 calc(50% - 14px);
        min-width: calc(50% - 14px);
    }

    .carousel-wrapper {
        padding: 0 50px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-section {
        grid-template-columns: 1fr;
        padding: var(--spacing-md);
    }

    .about-text-box {
        padding: var(--spacing-md);
    }

    .about-text-box h2 {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }

    .about-text-box p {
        font-size: clamp(0.95rem, 2vw, 1.05rem);
    }

    .experience-card {
        padding: var(--spacing-md);
    }

    .experience-card h3 {
        font-size: clamp(0.95rem, 2.4vw, 1.15rem);
        letter-spacing: 0.05em;
    }

    .experience-card p {
        font-size: clamp(0.9rem, 2vw, 0.98rem);
    }

    .client-item {
        padding: var(--spacing-md);
    }

    .client-item h3 {
        font-size: clamp(0.8rem, 2.2vw, 1rem);
        letter-spacing: 0.04em;
    }

    .concept-content {
        padding: var(--spacing-md);
    }

    .split-half {
        height: 50vh;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Typography */
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
        text-shadow: 
            0 0 15px rgba(0, 102, 255, 0.4),
            2px 2px 8px rgba(0, 0, 0, 0.9);
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
        white-space: normal;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: var(--spacing-md);
    }

    .portfolio-category-section .section-title {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .page-hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .page-hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding: 0.5rem 0.5rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-logo {
        height: clamp(92px, 30vw, 135px);
        margin-bottom: 1rem;
    }

    .hero-video,
    .hero-media-placeholder {
        opacity: 0.88;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.55);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
    }

    .page-hero {
        min-height: 45vh;
        padding: 0.5rem 0.5rem;
    }

    /* Navigation */
    .navbar {
        top: 5px;
        width: calc(100% - 10px);
    }

    .nav-container {
        padding: 0.5rem 0.8rem;
    }

    .logo img {
        height: 26px;
    }

    .brand-link {
        gap: 0.35rem;
        padding: 0;
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    .brand-link::before,
    .brand-link::after {
        width: 12px;
    }

    .nav-menu {
        width: min(320px, calc(100vw - 1.25rem));
        max-width: 320px;
        padding: 1.25rem 0.75rem;
        left: 50%;
        right: auto;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin: 0.25rem 0;
        width: 100%;
        min-height: 40px;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly */
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 155px;
        max-width: 210px;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    /* Sections */
    .split-section {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
        min-height: auto;
    }

    .split-half {
        height: 40vh;
        min-height: 300px;
        border-width: 2px;
    }

    .split-content {
        padding: var(--spacing-md);
    }

    .split-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: var(--spacing-sm);
    }

    .split-text {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }

    /* Services */
    .service-section {
        grid-template-columns: 1fr;
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
        min-height: auto;
    }

    .service-text-box {
        padding: var(--spacing-md);
    }

    .service-text-box h2 {
        font-size: clamp(1rem, 4.5vw, 1.4rem);
        line-height: 1.5;
        letter-spacing: 0.04em;
        word-spacing: 0.03em;
    }

    .service-image-box {
        min-height: 300px;
    }

    .service-image-box img,
    .service-image-box video,
    .video-placeholder {
        min-height: 300px;
    }

    .services-grid {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .service-card {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    /* Portfolio */
    .portfolio-carousel .portfolio-item {
        flex: 0 0 calc(100% - 12px);
        min-width: calc(100% - 12px);
        margin: 0 6px;
    }

    .portfolio-item {
        min-height: clamp(280px, 78vw, 420px);
        aspect-ratio: 4 / 3;
    }

    .carousel-wrapper {
        padding: 0 30px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .carousel-dots {
        margin-top: var(--spacing-sm);
    }

    /* About Section */
    .about-section {
        grid-template-columns: 1fr;
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }

    .about-text-box,
    .about-text {
        padding: var(--spacing-md);
    }

    .about-image-box {
        min-height: 300px;
    }

    .about-split-section .split-half {
        height: 50vh;
        min-height: 350px;
    }

    /* Experience & Clients */
    .experience-card,
    .client-item,
    .process-step {
        flex: 0 0 calc(100% - 10px);
        min-width: calc(100% - 10px);
        padding: var(--spacing-md);
    }

    .carousel-wrapper {
        padding: 0 40px;
    }

    .portfolio-category-section .carousel-wrapper {
        padding: 0 26px;
    }

    /* Contact Form */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
    }

    .contact-form-container {
        padding: var(--spacing-md);
    }

    .form-group {
        margin-bottom: var(--spacing-sm);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
        min-height: 44px; /* Touch-friendly */
    }

    .form-group textarea {
        min-height: 120px;
    }

    .contact-info {
        padding: var(--spacing-md);
    }

    .contact-item {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-sm);
    }

    /* Map */
    .map-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
    }

    .map-container {
        height: 300px;
        margin-top: var(--spacing-sm);
    }

    .map-info {
        padding: var(--spacing-md);
    }

    .map-info h3 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        margin-bottom: var(--spacing-sm);
    }

    .map-info p {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        line-height: 1.6;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
        justify-items: center;
    }

    .footer-section {
        width: 100%;
    }

    .footer-brand {
        width: 100%;
        justify-content: center;
    }

    .footer-brand a,
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo {
        width: min(190px, 80vw);
    }

    .footer-copyright {
        font-size: 0.35rem;
        padding: 0 0.5rem;
        text-align: center;
        line-height: 1.4;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 5% auto;
        padding: var(--spacing-sm);
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    /* CTA Section */
    .cta-section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .cta-content h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .cta-content p {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    /* Section Subtitles */
    .section-subtitle {
        font-size: 0.75rem;
        margin-top: -0.3rem;
    }
}

/* ============================================
   TOUCH & MOBILE OPTIMIZATIONS
   ============================================ */

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }

    .galaxy-click-effect {
        background: radial-gradient(circle,
            rgba(0, 102, 255, 0.45) 0%,
            rgba(0, 102, 255, 0.25) 35%,
            transparent 70%);
        transition: width 0.22s ease-out,
                    height 0.22s ease-out,
                    opacity 0.18s ease-out;
    }

    .galaxy-click-effect.active {
        width: 120px !important;
        height: 120px !important;
        opacity: 0.45 !important;
    }

    .btn,
    .btn-primary,
    .btn-secondary,
    .nav-link,
    .carousel-btn,
    .play-btn,
    .modal-close {
        min-height: 44px;
        min-width: 44px;
    }

    /* Disable hover effects on touch devices */
    .btn:hover,
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }

    .portfolio-item:hover {
        transform: none;
    }

    .service-card:hover {
        transform: none;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .page-hero {
        min-height: 60vh;
    }

    .split-half {
        height: 60vh;
        min-height: 400px;
    }
}

/* Small mobile devices (320px - 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }

    .section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .navbar {
        top: 5px;
        width: calc(100% - 10px);
    }

    .nav-container {
        padding: 0.4rem 0.6rem;
    }

    .logo a {
        font-size: 0.8rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    .split-content {
        padding: var(--spacing-sm);
    }

    .service-text-box,
    .about-text-box,
    .contact-form-container {
        padding: var(--spacing-sm);
    }

    .service-text-box h2 {
        font-size: clamp(0.95rem, 5vw, 1.3rem);
        line-height: 1.5;
        letter-spacing: 0.03em;
        word-spacing: 0.02em;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--color-blue);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-black);
    color: var(--color-white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
