/* ============================================
   LIV0 MEDIA — Luxury Website Styles
   Premium Austrian Media Company
   ============================================ */

/* ============================================
   AGRANDIR GRAND FONT - Width Variations
   ============================================ */

/* Agrandir Grand - Regular Width */
/* Note: Font files should be placed in fonts/ directory. If missing, system fonts will be used. */
@font-face {
    font-family: 'Agrandir Grand';
    src: url('fonts/AgrandirGrand-Regular.woff2') format('woff2'),
         url('fonts/AgrandirGrand-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Use swap to show fallback immediately, then swap when font loads */
}

@font-face {
    font-family: 'Agrandir Grand';
    src: url('fonts/AgrandirGrand-Medium.woff2') format('woff2'),
         url('fonts/AgrandirGrand-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir Grand';
    src: url('fonts/AgrandirGrand-Bold.woff2') format('woff2'),
         url('fonts/AgrandirGrand-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir Grand';
    src: url('fonts/AgrandirGrand-Heavy.woff2') format('woff2'),
         url('fonts/AgrandirGrand-Heavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Agrandir Grand - Narrow Width */
@font-face {
    font-family: 'Agrandir Grand Narrow';
    src: url('fonts/AgrandirGrand-NarrowRegular.woff2') format('woff2'),
         url('fonts/AgrandirGrand-NarrowRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir Grand Narrow';
    src: url('fonts/AgrandirGrand-NarrowBold.woff2') format('woff2'),
         url('fonts/AgrandirGrand-NarrowBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir Grand Narrow';
    src: url('fonts/AgrandirGrand-NarrowHeavy.woff2') format('woff2'),
         url('fonts/AgrandirGrand-NarrowHeavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Agrandir Grand - Wide Width */
@font-face {
    font-family: 'Agrandir Grand Wide';
    src: url('fonts/AgrandirGrand-WideRegular.woff2') format('woff2'),
         url('fonts/AgrandirGrand-WideRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir Grand Wide';
    src: url('fonts/AgrandirGrand-WideBold.woff2') format('woff2'),
         url('fonts/AgrandirGrand-WideBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir Grand Wide';
    src: url('fonts/AgrandirGrand-WideHeavy.woff2') format('woff2'),
         url('fonts/AgrandirGrand-WideHeavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Agrandir Grand - Tight Width */
@font-face {
    font-family: 'Agrandir Grand Tight';
    src: url('fonts/AgrandirGrand-TightRegular.woff2') format('woff2'),
         url('fonts/AgrandirGrand-TightRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir Grand Tight';
    src: url('fonts/AgrandirGrand-TightBold.woff2') format('woff2'),
         url('fonts/AgrandirGrand-TightBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors - White Theme */
    --black: #0A0A0A;
    --charcoal: #1A1A1A;
    --dark-gray: #2C2C2C;
    --medium-gray: #4A4A4A;
    --light-gray: #E5E5E5;
    --white: #FFFFFF;
    --soft-white: #FAFAFA;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-tertiary: #F5F5F5;
    
    /* Text Colors */
    --text-primary: #0A0A0A;
    --text-secondary: #2C2C2C;
    --text-muted: #6B6B6B;
    
    /* Primary Accent - Orange */
    --accent-primary: #FF6B35;
    --accent-secondary: #FF8C42;
    --accent-light: #FFB085;
    --accent-dark: #E55A1F;
    
    /* Legacy variables for compatibility */
    --gold: #FF6B35;
    --gold-warm: #FF8C42;
    --gold-antique: #E55A1F;
    --champagne: #FFF4F0;
    --ivory: #FFF8F5;
    
    /* Typography - Agrandir Grand with Width Variations */
    --font-primary: 'Agrandir Grand', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', system-ui, sans-serif;
    --font-display: 'Agrandir Grand Wide', 'Agrandir Grand', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-narrow: 'Agrandir Grand Narrow', 'Agrandir Grand', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-tight: 'Agrandir Grand Tight', 'Agrandir Grand Narrow', 'Agrandir Grand', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-wide: 'Agrandir Grand Wide', 'Agrandir Grand', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Effects */
    --blur: blur(20px) saturate(180%);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.4);
    --glow-gold: 0 0 30px rgba(255, 107, 53, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

/* ============================================
   PAGE TRANSITION ANIMATIONS
   ============================================ */

/* Page transition overlay - removed orange colors, now using subtle silver gradient */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.page-transition-overlay.active {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Spinner removed - no loader during navigation */
.page-transition-overlay::before {
    display: none;
}

/* Section transition animations */
section {
    opacity: 1;
    transform: translateY(0);
}

/* All sections always visible */
section:not(.hero) {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section always visible */
.hero {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Apply Agrandir Grand to all text elements */
* {
    font-family: inherit;
}

/* Apply Agrandir Grand Wide to all headings for visual impact */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-wide);
}

/* Apply Agrandir Grand to navigation and buttons */
.nav-link, .btn, button {
    font-family: var(--font-primary);
}

/* Apply Agrandir Grand to all text content */
p, span, a, li, td, th, label, input, textarea, select {
    font-family: var(--font-primary);
}

body.loading {
    overflow: hidden;
}

/* ============================================
   PAGE LOADER
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.liquid-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #8E8E8E 0%, #C0C0C0 50%, #E8E8E8 100%);
    animation: fillUp 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    overflow: hidden;
}

.liquid-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: wave 3s ease-in-out infinite;
    transform-origin: center bottom;
}

.wave-1 {
    animation-delay: 0s;
    opacity: 0.3;
    transform: translateX(-25%) translateY(0) scale(1);
}

.wave-2 {
    animation-delay: 0.5s;
    opacity: 0.2;
    transform: translateX(-25%) translateY(0) scale(1.1);
}

.wave-3 {
    animation-delay: 1s;
    opacity: 0.15;
    transform: translateX(-25%) translateY(0) scale(1.2);
}

@keyframes fillUp {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}

@keyframes wave {
    0%, 100% {
        transform: translateX(-25%) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-25%) translateY(-20px) scale(1.05);
    }
}

.loader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 300px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo-image {
    height: 21px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.loader-progress {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
    animation: progressFill 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

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

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

/* ============================================
   TOP LOGO (Initial - White logo only)
   ============================================ */

.top-logo {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    background: none;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    visibility: visible;
    height: 20px;
    width: auto;
}

.top-logo.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px);
    pointer-events: none;
}

.logo-white {
    height: 20px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ============================================
   TOP NAVIGATION BAR (Appears on scroll)
   ============================================ */

.navbar-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

.navbar-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

/* Show contact button on desktop */
.navbar-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
}

/* Hide social media on mobile, center logo */
@media (max-width: 768px) {
    .navbar-social {
        display: none;
    }
    
    .navbar-container {
        grid-template-columns: 1fr;
        justify-content: center;
    }
    
    .navbar-logo {
        justify-self: center;
    }
    
    .navbar-contact {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar-social {
        display: none;
    }
    
    .navbar-container {
        grid-template-columns: 1fr;
        justify-content: center;
    }
    
    .navbar-logo {
        justify-self: center;
    }
    
    .navbar-contact {
        display: none;
    }
}

.navbar-header-text {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.navbar-title {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
    font-family: var(--font-wide);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.navbar-title-line {
    display: inline;
    font-weight: 800;
    color: var(--text-primary);
}

.navbar-title-line.accent {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-description {
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
    display: inline;
}

.navbar-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: start;
}

.navbar-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    background: var(--text-primary);
    border-radius: 50%;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    position: relative;
    overflow: hidden;
}

.navbar-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #A8A8A8 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.navbar-social-icon:hover {
    color: var(--white);
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #A8A8A8 100%);
    opacity: 1;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4), 0 4px 12px rgba(168, 168, 168, 0.3);
}

.navbar-social-icon:hover::before {
    opacity: 1;
}

.navbar-social-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    fill: currentColor;
}

.navbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    flex-shrink: 0;
    justify-self: center;
}

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

.navbar-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border: 1.5px solid var(--text-primary);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    letter-spacing: 0.05em;
    font-family: var(--font-primary);
}

.navbar-contact-btn:hover {
    background: var(--text-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-dark {
    height: 20px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

.navbar-menu .nav-link {
    display: block;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
}

.navbar-menu .nav-link:hover {
    color: rgba(0, 0, 0, 1);
}

.navbar-menu .nav-link.active {
    color: rgba(0, 0, 0, 1);
}

.navbar-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 3rem);
    height: 1px;
    background: rgba(0, 0, 0, 0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-menu .nav-link:hover::after,
.navbar-menu .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Top Logo and Bar Responsive */
@media (max-width: 768px) {
    .top-logo {
        top: 1rem;
        height: 17px;
    }
    
    .logo-white {
        height: 17px;
    }
    
    .navbar-container {
        padding: 0.75rem 1.5rem;
        gap: 1rem;
        grid-template-columns: 1fr;
        justify-content: center;
    }
    
    .navbar-social {
        display: none;
    }
    
    .navbar-logo {
        height: 20px;
        justify-self: center;
    }
    
    .navbar-contact {
        display: none;
    }
    
    .logo-dark {
        height: 17px;
    }
}

@media (max-width: 480px) {
    .top-logo {
        top: 0.75rem;
        height: 15px;
    }
    
    .logo-white {
        height: 15px;
    }
    
    .navbar-container {
        padding: 0.5rem 0.75rem;
        gap: 0.75rem;
        grid-template-columns: 1fr;
        justify-content: center;
    }
    
    .navbar-social {
        display: none;
    }
    
    .navbar-logo {
        height: 15px;
        justify-self: center;
    }
    
    .navbar-contact {
        display: none;
    }
    
    .logo-dark {
        height: 15px;
    }
    
    .navbar-bottom {
        bottom: 0.75rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        max-width: calc(100% - 1rem);
        width: calc(100% - 1rem);
    }
    
    .nav-container {
        padding: 0.5rem;
    }
    
    .nav-link-bottom {
        flex: 1;
        min-width: 70px;
        padding: 0.65rem 0.8rem;
        gap: 0.25rem;
        border-radius: 1.5rem;
    }
    
    .nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .nav-text {
        font-size: 0.6rem;
        font-weight: 500;
    }
    
    .nav-menu-bottom {
        gap: 0.4rem;
        padding: 0.6rem;
    }
    
    .nav-link-bottom.active {
        transform: translateY(-1px) scale(1.01);
    }
    
    .hero-text-content {
        bottom: 8rem;
        padding: 0 1rem;
    }
    
    .hero-text-content .hero-title {
        font-size: clamp(1.25rem, 7vw, 1.75rem);
    }
    
    .hero-text-content .hero-description {
        font-size: clamp(0.8rem, 3.5vw, 0.95rem);
    }
    
    .scroll-indicator {
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .scroll-indicator:hover {
        transform: translate(-50%, calc(-50% - 5px));
    }
}

/* ============================================
   BOTTOM NAVIGATION BAR (Always visible)
   ============================================ */

.navbar-bottom {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    padding: 0;
    background: none;
    border: none;
    transition: opacity 0.3s ease-out,
                visibility 0.3s ease-out,
                transform 0.3s ease-out;
    opacity: 1;
    visibility: visible;
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: auto;
}

.navbar-bottom.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.navbar-bottom.fade-in {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: auto;
    transition: opacity 0.3s ease-out;
    opacity: 1;
}

/* Bottom Navigation Menu Styles */
.nav-menu-bottom {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2.5rem;
    padding: 0.7rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    position: relative;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    width: auto;
    opacity: 1;
}

.nav-menu-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nav-menu-bottom:hover::before {
    opacity: 1;
}

.nav-link-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: rgba(0, 0, 0, 0.65);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.7rem 1.1rem;
    border-radius: 1.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 70px;
    flex: 1;
    overflow: hidden;
    opacity: 1;
}

.nav-link-bottom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(192, 192, 192, 0.2) 0%, 
        rgba(169, 169, 169, 0.25) 50%,
        rgba(192, 192, 192, 0.2) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
                height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
}

.nav-link-bottom:hover::before {
    width: 100%;
    height: 100%;
}

.nav-link-bottom:active::before {
    width: 300%;
    height: 300%;
    transition: width 0.3s ease, height 0.3s ease;
}

.nav-link-bottom.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(250, 250, 250, 0.98) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(169, 169, 169, 0.5);
    box-shadow: 
        0 8px 28px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(192, 192, 192, 0.35),
        0 0 0 1px rgba(169, 169, 169, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(192, 192, 192, 0.2);
    transform: translateY(-3px) scale(1.05);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link-bottom.active::before {
    background: linear-gradient(135deg, 
        rgba(192, 192, 192, 0.2) 0%, 
        rgba(169, 169, 169, 0.25) 50%,
        rgba(192, 192, 192, 0.2) 100%);
    width: 100%;
    height: 100%;
}

.nav-link-bottom.active .nav-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 2px 8px rgba(192, 192, 192, 0.5));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link-bottom.active .nav-text {
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(192, 192, 192, 0.3);
}

.nav-link-bottom:hover:not(.active) {
    color: rgba(0, 0, 0, 0.85);
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(192, 192, 192, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link-bottom:hover:not(.active) .nav-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 1px 4px rgba(192, 192, 192, 0.3));
}

.nav-link-bottom .nav-icon,
.nav-link-bottom .nav-text {
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2rem;
    margin-right: 0.5rem;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.logo:hover {
    border-color: rgba(169, 169, 169, 0.4);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(192, 192, 192, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-primary);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2rem;
    padding: 0.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(192, 192, 192, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
}

.nav-menu::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(192, 192, 192, 0.5) 20%, 
        rgba(169, 169, 169, 0.6) 50%, 
        rgba(192, 192, 192, 0.5) 80%, 
        transparent 100%);
    border-radius: 3px;
    filter: blur(6px);
    opacity: 0.9;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.75rem 1.25rem;
    border-radius: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 70px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(192, 192, 192, 0.2) 0%, 
        rgba(169, 169, 169, 0.25) 50%,
        rgba(192, 192, 192, 0.2) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
                height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
}

.nav-link:active::before {
    width: 300%;
    height: 300%;
    transition: width 0.3s ease, height 0.3s ease;
}

.nav-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.nav-text {
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active/Selected State */
.nav-link.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(250, 250, 250, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(169, 169, 169, 0.4);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.12),
        0 0 25px rgba(192, 192, 192, 0.3),
        0 0 0 1px rgba(169, 169, 169, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(192, 192, 192, 0.2);
    transform: translateY(-3px) scale(1.05);
    z-index: 10;
}

.nav-link.active::before {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(192, 192, 192, 0.15) 0%, 
        rgba(169, 169, 169, 0.2) 50%,
        rgba(192, 192, 192, 0.15) 100%);
}

.nav-link.active .nav-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 2px 8px rgba(192, 192, 192, 0.5));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link.active .nav-text {
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(192, 192, 192, 0.3);
}

.nav-link:hover:not(.active) {
    color: rgba(0, 0, 0, 0.85);
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(192, 192, 192, 0.15);
}

.nav-link:hover:not(.active)::before {
    width: 100%;
    height: 100%;
}

.nav-link:hover:not(.active) .nav-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 1px 4px rgba(192, 192, 192, 0.3));
}

.nav-link:hover:not(.active) .nav-icon {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    cursor: pointer;
    padding: 0.75rem;
    margin-left: 0.5rem;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO CONTENT OVERLAY (On Top of Video)
   ============================================ */

.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-content-overlay .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

.hero-content-overlay-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-content-overlay-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    pointer-events: auto;
}

.hero-content-overlay-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    font-family: var(--font-wide);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-overlay-line {
    display: block;
    position: relative;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.hero-overlay-line.accent {
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #A8A8A8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(192, 192, 192, 0.6)) drop-shadow(0 8px 30px rgba(168, 168, 168, 0.4));
}

.hero-overlay-line:hover {
    filter: drop-shadow(0 6px 25px rgba(192, 192, 192, 0.7)) drop-shadow(0 10px 40px rgba(168, 168, 168, 0.5));
}

.hero-content-overlay-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-content-overlay-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-content-overlay-buttons .btn {
    min-width: 140px;
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
}

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

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

/* ============================================
   HERO CONTENT SECTION (After Video)
   ============================================ */

.hero-content-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.hero-content-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    justify-items: start;
}

.hero-content-left {
    max-width: 700px;
}

.hero-content-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate3d(-50%, -50%, 0);
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
}

/* Specific styles for iframe hero videos (Vimeo) */
iframe.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-width: 177.77777778vh; /* 16:9 aspect ratio for height */
    min-height: 100vh;
    border: none;
    z-index: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1.3); /* Zoom in 30% to fill screen better */
    transform-origin: center center;
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        height: 100dvh; /* Use dynamic viewport height for mobile */
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    iframe.hero-video {
        position: absolute;
        top: 0;
        left: 50%;
        /* On mobile portrait, fill the full viewport height */
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        /* Calculate width to maintain 16:9 aspect ratio based on viewport height */
        /* On portrait mobile, this will be wider than viewport, which is good for coverage */
        width: calc(100vh * 16 / 9);
        width: calc(100dvh * 16 / 9);
        /* Ensure minimum width covers viewport (for landscape or very wide screens) */
        min-width: 100vw;
        transform: translateX(-50%);
    }
}

/* For mobile landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
    iframe.hero-video {
        width: 100vw;
        height: calc(100vw * 9 / 16);
        min-width: 100vw;
        min-height: 100vh;
        min-height: 100dvh;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 100vh;
        height: 100dvh; /* Use dynamic viewport height for mobile */
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    iframe.hero-video {
        position: absolute;
        top: 0;
        left: 50%;
        /* On mobile portrait, fill the full viewport height */
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        /* Calculate width to maintain 16:9 aspect ratio based on viewport height */
        /* On portrait mobile, this will be wider than viewport, which is good for coverage */
        width: calc(100vh * 16 / 9);
        width: calc(100dvh * 16 / 9);
        /* Ensure minimum width covers viewport (for landscape or very wide screens) */
        min-width: 100vw;
        transform: translateX(-50%);
    }
}

/* For small mobile landscape orientation */
@media (max-width: 480px) and (orientation: landscape) {
    iframe.hero-video {
        width: 100vw;
        height: calc(100vw * 9 / 16);
        min-width: 100vw;
        min-height: 100vh;
        min-height: 100dvh;
    }
}

/* Hide video controls */
.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Fallback for browsers that don't support video */
@supports not (object-fit: cover) {
    .hero-video {
        width: 100%;
        height: 100%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Particles removed - no longer displaying particles */
.particles {
    display: none;
}

.particle {
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.4;
    }
    50% {
        transform: translate3d(50px, -100px, 0);
        opacity: 0.6;
    }
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    font-family: var(--font-wide);
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(150, 150, 150, 0.9) 40%, rgba(200, 200, 200, 0.8) 60%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}

.title-line:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(255, 107, 53, 0.5)) drop-shadow(0 8px 30px rgba(255, 107, 53, 0.3));
    transform: translateY(-2px);
}

.title-line:nth-child(1) {
    font-weight: 800;
}

.title-line:nth-child(2) {
    font-weight: 800;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(150, 150, 150, 0.9) 40%, rgba(200, 200, 200, 0.8) 60%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    font-weight: 600;
    font-family: var(--font-wide);
    font-style: normal;
    text-transform: none;
    font-size: 0.85em;
    letter-spacing: -0.02em;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}

.title-line.accent:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(255, 107, 53, 0.5)) drop-shadow(0 8px 30px rgba(255, 107, 53, 0.3));
}

@keyframes underlineExpand {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content-right .btn {
    min-width: 180px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.scroll-indicator:hover {
    transform: translate(-50%, calc(-50% - 5px));
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
}

.scroll-arrow {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.9);
    animation: scrollArrow 2s ease-in-out infinite;
    margin-top: -0.25rem;
}

@keyframes scrollArrow {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(4px);
    }
}

.hero-text-content {
    position: absolute;
    top: calc(50% + 280px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 90%;
    width: 100%;
    padding: 0 2rem;
}

.hero-text-content .hero-title {
    font-family: var(--font-wide);
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.hero-text-content .hero-description {
    font-family: var(--font-primary);
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
}

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

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

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

.btn {
    padding: 1.375rem 2.75rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-primary);
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(230, 230, 235, 0.9) 25%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(220, 220, 225, 0.85) 75%,
        rgba(255, 255, 255, 0.95) 100%);
    color: var(--text-primary);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    animation: metallic-shine 3s infinite;
    pointer-events: none;
}

@keyframes metallic-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(255, 107, 53, 0.5),
        0 6px 20px rgba(255, 140, 66, 0.4),
        0 0 30px rgba(255, 107, 53, 0.4),
        0 0 60px rgba(255, 107, 53, 0.2);
    border-color: var(--accent-primary);
}

.btn-primary:active {
    box-shadow: 
        0 8px 30px rgba(255, 107, 53, 0.6),
        0 4px 15px rgba(255, 140, 66, 0.5),
        0 0 40px rgba(255, 107, 53, 0.5),
        0 0 80px rgba(255, 107, 53, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px) scale(1.01);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

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

.btn-primary:hover::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    left: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(230, 230, 235, 0.9) 25%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(220, 220, 225, 0.85) 75%,
        rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    animation: metallic-shine 3s infinite;
    pointer-events: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--white);
    border-color: var(--accent-primary);
    box-shadow: 
        0 12px 40px rgba(255, 107, 53, 0.5),
        0 6px 20px rgba(255, 140, 66, 0.4),
        0 0 30px rgba(255, 107, 53, 0.4),
        0 0 60px rgba(255, 107, 53, 0.2);
    transform: translateY(-4px) scale(1.02);
}

.btn-secondary:active {
    box-shadow: 
        0 8px 30px rgba(255, 107, 53, 0.6),
        0 4px 15px rgba(255, 140, 66, 0.5),
        0 0 40px rgba(255, 107, 53, 0.5),
        0 0 80px rgba(255, 107, 53, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px) scale(1.01);
}

.btn-secondary:hover svg {
    transform: translateX(4px);
}

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

.btn-secondary:hover::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    left: 100%;
}

/* ============================================
   HERO RESPONSIVE STYLES
   ============================================ */

/* Hero Content Section Responsive */
@media (max-width: 1000px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        justify-items: center;
    }
    
    .hero-content-left {
        max-width: 100%;
    }
    
    .hero-content-right {
        flex-direction: row;
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .hero-content-section {
        padding: 4rem 0;
    }
    
    .hero-content-wrapper {
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 2vw, 1.15rem);
    }
    
    .hero-content-right .btn {
        min-width: 160px;
    }
}

/* Hero Content Overlay Responsive */
@media (max-width: 1000px) {
    .hero-content-overlay-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-content-overlay-buttons .btn {
        min-width: 130px;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .hero-content-overlay-title {
        font-size: clamp(1.25rem, 4vw, 2rem);
        margin-bottom: 0.75rem;
    }
    
    .hero-content-overlay-subtitle {
        font-size: clamp(0.85rem, 2vw, 1rem);
        margin-bottom: 1.25rem;
    }
    
    .hero-content-overlay-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-content-overlay-buttons .btn {
        width: 100%;
        min-width: auto;
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .hero-content-section {
        padding: 3rem 0;
    }
    
    .hero-content-wrapper {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.05rem);
    }
    
    .hero-content-right {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-content-right .btn {
        width: 100%;
        min-width: 100%;
    }
    
    .scroll-indicator {
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
    }
    
    .scroll-indicator:hover {
        transform: translate(-50%, calc(-50% - 5px));
    }
    
    .scroll-mouse {
        width: 20px;
        height: 32px;
    }
    
    .scroll-text {
        font-size: 0.65rem;
    }
    
    .scroll-arrow {
        width: 14px;
        height: 14px;
    }
    
    .hero-text-content {
        top: calc(50% + 240px);
        padding: 0 1rem;
        gap: 0.4rem;
    }
    
    .hero-text-content .hero-title {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    .hero-text-content .hero-description {
        font-size: clamp(0.75rem, 2vw, 0.85rem);
    }
}

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

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

/* ============================================
   QUOTE SECTION
   ============================================ */

.quote-section {
    padding: var(--spacing-md) 0;
    background: var(--bg-secondary);
    position: relative;
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 2rem;
}

.quote-text {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    line-height: 1.5;
    color: rgba(10, 10, 10, 0.7);
    margin: 0 0 1rem 0;
    font-style: italic;
    letter-spacing: -0.01em;
    position: relative;
    padding: 0 1rem;
    opacity: 0.85;
}

.quote-text::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.2;
    font-family: var(--font-wide);
    line-height: 1;
}

.quote-text::after {
    content: '"';
    position: absolute;
    right: -0.5rem;
    bottom: -1.5rem;
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.2;
    font-family: var(--font-wide);
    line-height: 1;
}

.quote-author {
    display: inline-block;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
    opacity: 1;
    color: var(--text-primary);
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@keyframes metallic-shine-text {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ============================================
   PROJECTS SECTION - Modern Grid
   ============================================ */

.projects-section {
    padding: 0;
    margin: 0;
    background: #000000;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-carousel-container {
    width: 100%;
    aspect-ratio: 2.4 / 1;
    position: relative;
    overflow: hidden;
    background: #000000;
    margin: 0;
    padding: 0;
}

/* Navigation Arrows - Premium & Subtle */
.project-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    pointer-events: auto !important;
    opacity: 0.7;
}

.project-nav-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 1);
    opacity: 1;
}

.project-nav-arrow:active {
    transform: translateY(-50%) scale(0.98);
}

.project-nav-arrow-left {
    left: 3rem;
}

.project-nav-arrow-right {
    right: 3rem;
}

.project-nav-arrow svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    stroke-width: 2;
}

.project-nav-arrow:hover svg {
    transform: scale(1.08);
}

.project-nav-arrow:disabled {
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
}

/* Navigation arrow responsive styles moved to main responsive section */

/* Removed duplicate styles - now handled in project-text-overlay section */

.project-card {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: projectFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    display: flex;
    flex-direction: column;
    width: 85vw;
    max-width: 1200px;
    min-width: 600px;
    height: 45vh;
    flex-shrink: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

.project-card:nth-child(6) {
    animation-delay: 0.6s;
}

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

/* Hover effects removed */

.project-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 2rem;
    overflow: hidden;
    flex-shrink: 0;
}

.project-video-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.project-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 2rem;
    object-fit: cover;
    transform: none;
    transform-origin: center;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    border-radius: 2rem;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2.5rem 3rem;
    z-index: 2;
    pointer-events: none;
}

.project-play-icon {
    transform: scale(0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-play-icon {
    opacity: 1;
}

.project-play-icon .play-circle {
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseRing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.project-info-overlay .project-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.project-info-overlay .project-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.01em;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-card {
        width: 90vw;
        min-width: 500px;
        height: 40vh;
    }
    
    .projects-grid {
        gap: 2.5rem;
        padding: 0 3vw;
    }
}

@media (max-width: 768px) {
    .projects-section {
        height: 100vh;
    }
    
    .project-card {
        width: 95vw;
        min-width: 400px;
        height: 40vh;
        border-radius: 1.5rem;
    }
    
    .project-video-wrapper {
        border-radius: 1.5rem;
    }
    
    .project-video {
        border-radius: 1.5rem;
    }
    
    .project-overlay {
        border-radius: 1.5rem;
    }
    
    .project-info-overlay {
        padding: 2rem;
    }
    
    .projects-grid {
        gap: 2rem;
        padding: 0 2.5vw;
    }
}

@media (max-width: 480px) {
    .project-card {
        width: 95vw;
        min-width: 320px;
        height: 35vh;
        border-radius: 1.25rem;
    }
    
    .project-video-wrapper {
        border-radius: 1.25rem;
    }
    
    .project-video {
        border-radius: 1.25rem;
    }
    
    .project-overlay {
        border-radius: 1.25rem;
    }
    
    .project-info-overlay {
        padding: 1.5rem;
    }
    
    .projects-grid {
        gap: 1.5rem;
        padding: 0 2vw;
    }
}

/* ============================================
   PROJECTS SHOWCASE (Legacy - can be removed)
   ============================================ */

.projects-showcase {
    position: relative;
    height: 300vh; /* 3x viewport height for scroll snapping */
    background: transparent;
}

.projects-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    contain: layout style paint;
    isolation: isolate;
}

.projects-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (max-width: 480px) {
    .projects-carousel {
        padding: 0;
        margin: 0;
    }
}

/* Slide container - ultrawide aspect ratio */
.project-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    aspect-ratio: 2.4 / 1;
    opacity: 0.3;
    background: #000000;
    margin: 0;
    padding: 0;
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.98);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    min-width: 100%;
    overflow: hidden;
}

@media (max-width: 480px) {
    .project-slide {
        padding: 0;
        margin: 0;
    }
}

.project-slide.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
    z-index: 2;
}

/* Media wrapper with ultrawide aspect ratio */
.project-video-fullscreen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000000;
    margin: 0;
    padding: 0;
    /* Ultrawide aspect ratio to eliminate black bars */
    aspect-ratio: 2.4 / 1 !important;
}

/* Iframe with ultrawide aspect ratio - fills container to eliminate black bars */
.project-video-ultrawide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 101%;
    height: 101%;
    transform: translate(-50%, -50%);
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    filter: brightness(1);
    will-change: filter;
    transition: filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; /* Prevent direct interaction - use mute button instead */
    display: block;
    background: #000000;
    z-index: 0; /* Iframe behind buttons */
    object-fit: cover;
}

.project-slide.active .project-video-ultrawide {
    filter: brightness(1);
}

/* Subtle gradient overlay for text contrast - balanced proportions */
.project-video-fullscreen::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Text Overlay on Videos - Bottom Left - Balanced & Premium */
.project-text-overlay {
    position: absolute;
    bottom: 3.5rem;
    left: 4rem;
    z-index: 10;
    pointer-events: none;
    max-width: 65%;
    /* Ensure text doesn't block video controls - controls appear on hover/click */
}

@media (max-width: 768px) {
    .projects-section {
        padding: 0;
        margin: 0;
        background: #000000;
        height: auto;
    }
    
    .project-view-fullscreen-button {
        top: 1rem;
        right: 1rem;
        width: 52px;
        height: 52px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(40, 40, 40, 0.85));
        border: 2px solid rgba(255, 255, 255, 1);
    }
    
    .project-view-fullscreen-button svg {
        width: 24px;
        height: 24px;
        stroke: #ffffff;
    }
    
    /* Mobile - Maintain ultrawide aspect ratio */
    .projects-section {
        height: auto;
    }
    
    .projects-carousel-container {
        aspect-ratio: 2.4 / 1;
    }
    
    .project-video-fullscreen {
        aspect-ratio: 2.4 / 1 !important;
    }
    
    .project-video-ultrawide {
        width: 101% !important;
        height: 101% !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        object-fit: cover !important;
    }
    
    /* Mobile Modal - Clean Transparent Design */
    .project-video-modal {
        align-items: center;
        justify-content: center;
    }
    
    .project-modal-overlay {
        background: rgba(0, 0, 0, 0.96);
    }
    
    .project-modal-container {
        width: 92%;
        height: auto;
        max-height: 90vh;
        padding: 0;
        gap: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    /* Header - Transparent, Just Text */
    .project-modal-header {
        order: 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0 1rem 0 1rem;
        background: transparent;
        backdrop-filter: none;
        border: none;
        width: 100%;
    }
    
    /* Hide Logo on Mobile */
    .project-modal-logo {
        display: none;
    }
    
    .modal-logo-image {
        display: none;
    }
    
    .project-modal-info {
        width: 100%;
        gap: 0;
    }
    
    .project-modal-title {
        font-size: 1.125rem;
        letter-spacing: 1px;
        line-height: 1.3;
        font-weight: 700;
        margin: 0;
        text-align: left;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }
    
    /* Hide Description on Mobile */
    .project-modal-description {
        display: none;
    }
    
    /* Close Button - FIXED Top Right - Black & White */
    .project-modal-close {
        position: fixed !important;
        top: 1.25rem !important;
        right: 1.25rem !important;
        transform: none !important;
        width: 50px;
        height: 50px;
        z-index: 99999 !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border: 2px solid rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7) !important;
    }
    
    .project-modal-close:hover,
    .project-modal-close:active {
        background: rgba(255, 255, 255, 0.95) !important;
        transform: scale(1.08) !important;
    }
    
    .project-modal-close:hover svg,
    .project-modal-close:active svg {
        stroke: #000000 !important;
    }
    
    .project-modal-close svg {
        width: 24px;
        height: 24px;
        stroke: #ffffff;
        stroke-width: 2.5;
        transition: stroke 0.3s ease;
    }
    
    /* Video Content - Clean Container */
    .project-modal-content {
        order: 2;
        width: 100%;
        height: 0;
        padding-bottom: 41.67%; /* Ultrawide aspect ratio 2.4:1 */
        border-radius: 8px;
        background: #000;
        position: relative;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    }
    
    .project-modal-content iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }
    
    .projects-carousel-container {
        padding: 0;
        margin: 0;
        background: #000000;
        aspect-ratio: 2.4 / 1;
    }
    
    .project-nav-arrow {
        width: 48px;
        height: 48px;
        opacity: 0.6;
    }
    
    .project-nav-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .project-nav-arrow-left {
        left: 1.5rem;
    }
    
    .project-nav-arrow-right {
        right: 1.5rem;
    }
    
    .project-text-overlay {
        bottom: 1.25rem;
        left: 1.5rem;
        right: 1.5rem;
        max-width: calc(100% - 3rem);
    }
    
    .project-title-overlay {
        font-size: clamp(1.1rem, 4.2vw, 1.7rem) !important;
        margin-bottom: 0 !important;
        line-height: 1.1;
    }
    
    .project-subtitle-overlay {
        font-size: clamp(0.75rem, 2.8vw, 0.95rem) !important;
        line-height: 1.2;
        max-width: 90%;
    }
    
    .project-video-ultrawide {
        /* Fill container to eliminate black bars for tablet */
        width: 101% !important;
        height: 101% !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        object-fit: cover !important;
    }
    
    .project-video-fullscreen::after {
        height: 35%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    }
}

@media (max-width: 480px) {
    .projects-section {
        padding: 0;
        margin: 0;
        height: auto;
        background: #000000;
    }
    
    .projects-carousel-container {
        padding: 0;
        margin: 0;
        aspect-ratio: 2.4 / 1;
        background: #000000;
    }
    
    .project-slide {
        padding: 0;
        margin: 0;
        background: #000000;
    }
    
    .project-video-fullscreen {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0 !important;
        margin: 0;
        background: #000000;
        aspect-ratio: 2.4 / 1 !important;
    }
    
    /* Fullscreen mode for mobile */
    .project-video-fullscreen.fullscreen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 99999 !important;
        aspect-ratio: unset !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
    .project-video-fullscreen.fullscreen .project-video-ultrawide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-width: 100vw !important;
        min-width: 100dvw !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        transform: none !important;
        object-fit: cover !important;
    }
    
    .project-text-overlay {
        bottom: 0.75rem;
        left: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .project-title-overlay {
        font-size: clamp(0.9rem, 3.8vw, 1.2rem) !important;
        margin-bottom: 0 !important;
        line-height: 1.05;
        text-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.9),
            0 4px 16px rgba(0, 0, 0, 0.7);
    }
    
    .project-subtitle-overlay {
        font-size: clamp(0.65rem, 2.5vw, 0.85rem) !important;
        line-height: 1.15;
        max-width: 90%;
        opacity: 0.95;
        text-shadow: 
            0 1px 6px rgba(0, 0, 0, 0.8),
            0 2px 12px rgba(0, 0, 0, 0.6);
    }
    
    .project-video-ultrawide {
        /* Fill container to eliminate black bars for mobile */
        width: 101% !important;
        height: 101% !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        object-fit: cover !important;
    }
    
    .project-nav-arrow {
        width: 40px;
        height: 40px;
        opacity: 0.4;
    }
    
    .project-nav-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .project-nav-arrow-left {
        left: 0.75rem;
    }
    
    .project-nav-arrow-right {
        right: 0.75rem;
    }
    
    .project-video-fullscreen::after {
        height: 30%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 50%, transparent 100%);
    }
    
    /* Removed old mute button styles */
}

/* View Full Screen Button for Project Videos - Icon Only with Gradient */
.project-view-fullscreen-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 20;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.85));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.project-view-fullscreen-button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(230, 230, 230, 0.9));
    border-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.project-view-fullscreen-button:hover svg {
    stroke: #000000;
}

.project-view-fullscreen-button:active {
    transform: translateY(-1px) scale(1.05);
}

.project-view-fullscreen-button svg {
    width: 28px;
    height: 28px;
    stroke: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    pointer-events: auto !important;
}

/* Ensure buttons are aligned on the same line */
.project-video-fullscreen {
    position: relative;
}

/* Project Video Modal Styles */
.project-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-video-modal.active {
    display: flex;
    opacity: 1;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.project-modal-container {
    position: relative;
    width: 90%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 10001;
    padding: 3rem 0;
}

/* Modal Header with Logo and Project Info */
.project-modal-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    padding: 0 1rem;
}

.project-modal-logo {
    flex-shrink: 0;
}

.modal-logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.project-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-modal-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.project-modal-close {
    position: relative;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.85));
    border: 2px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.project-modal-close:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(230, 230, 230, 0.9));
    border-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.project-modal-close:hover svg {
    stroke: #000000;
}

.project-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    transition: stroke 0.3s ease;
}

/* Modal Video Content */
.project-modal-content {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 41.67%; /* Ultrawide aspect ratio 2.4:1 - eliminates black bars */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .project-view-fullscreen-button {
        top: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(40, 40, 40, 0.85));
        border: 2px solid rgba(255, 255, 255, 1);
    }
    
    .project-view-fullscreen-button svg {
        width: 22px;
        height: 22px;
        stroke: #ffffff;
    }
    
    /* Fullscreen mode for tablets */
    .project-video-fullscreen.fullscreen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 99999 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
    .project-video-fullscreen.fullscreen .project-video-ultrawide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-width: 100vw !important;
        min-width: 100dvw !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        transform: none !important;
        object-fit: cover !important;
    }
    
    /* Removed old fullscreen button reference */
    
    .project-video-fullscreen.fullscreen .project-mute-button {
        top: 1.5rem !important;
        right: 6rem !important;
        z-index: 100000 !important;
    }
    
    .project-video-fullscreen.fullscreen .project-text-overlay {
        z-index: 100001 !important;
    }
}

@media (max-width: 480px) {
    .project-view-fullscreen-button {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(40, 40, 40, 0.8));
        border: 1.5px solid rgba(255, 255, 255, 0.9);
        opacity: 0.8;
    }
    
    .project-view-fullscreen-button svg {
        width: 18px;
        height: 18px;
        stroke: #ffffff;
    }
    
    /* Extra Small Mobile */
    .project-modal-container {
        width: 95%;
        gap: 0.75rem;
    }
    
    .project-modal-header {
        padding: 0 0.75rem;
    }
    
    .project-modal-title {
        font-size: 1rem;
    }
    
    .project-modal-content {
        border-radius: 6px;
    }
    
    .project-modal-close {
        width: 46px !important;
        height: 46px !important;
        top: 1rem !important;
        right: 1rem !important;
        background: rgba(0, 0, 0, 0.85) !important;
        border: 2px solid rgba(255, 255, 255, 1) !important;
    }
    
    .project-modal-close svg {
        width: 22px;
        height: 22px;
        stroke: #ffffff;
    }
    
    /* Fullscreen mode for small mobile - ensure it covers entire screen */
    .project-video-fullscreen.fullscreen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 99999 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
    .project-video-fullscreen.fullscreen .project-video-ultrawide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-width: 100vw !important;
        min-width: 100dvw !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        transform: none !important;
        object-fit: cover !important;
    }
    
    /* Removed old fullscreen mode button references */
    
    .project-video-fullscreen.fullscreen .project-text-overlay {
        z-index: 100001 !important;
    }
}

/* Extra Small Mobile - Minimal Text Overlay */
@media (max-width: 380px) {
    .project-text-overlay {
        bottom: 0.75rem !important;
        left: 0.75rem !important;
        right: 0.75rem !important;
    }
    
    .project-title-overlay {
        font-size: clamp(0.8rem, 3.5vw, 1rem) !important;
        margin-bottom: 0 !important;
        line-height: 1.05 !important;
    }
    
    .project-subtitle-overlay {
        display: none !important;
    }
    
    .project-nav-arrow {
        width: 36px !important;
        height: 36px !important;
    }
    
    .project-nav-arrow svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .project-view-fullscreen-button {
        width: 36px !important;
        height: 36px !important;
        top: 0.5rem !important;
        right: 0.5rem !important;
    }
    
    .project-view-fullscreen-button svg {
        width: 16px !important;
        height: 16px !important;
    }
}

@media (max-width: 768px) {
    /* Removed old mute button styles */
}

@media (max-width: 480px) {
    /* Removed old mute button styles */
}

.project-title-overlay {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.8),
        0 4px 40px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 0, 0, 0.4);
    font-family: var(--font-primary);
}

.project-subtitle-overlay {
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-shadow: 
        0 2px 15px rgba(0, 0, 0, 0.7),
        0 4px 25px rgba(0, 0, 0, 0.5);
    opacity: 0.98;
    font-family: var(--font-primary);
    max-width: 90%;
}

.project-content {
    max-width: 1400px;
    margin: 0 auto;
    opacity: 0;
    will-change: opacity, transform;
    transform: translate3d(0, 50px, 0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.project-slide.active .project-content {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.project-number {
    font-size: clamp(6rem, 12vw, 12rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: -2rem;
    letter-spacing: -0.05em;
    font-family: var(--font-primary);
}

.project-title {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    color: var(--white);
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.title-word {
    display: inline-block;
    opacity: 0;
    will-change: opacity, transform;
    transform: translate3d(-30px, 0, 0);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-word:nth-child(1) {
    transition-delay: 0.4s;
}

.title-word:nth-child(2) {
    transition-delay: 0.5s;
}

.title-word:nth-child(3) {
    transition-delay: 0.6s;
}

.title-word.accent {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-slide.active .title-word {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.project-divider {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    margin-top: 2rem;
    will-change: width;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.project-slide.active .project-divider {
    width: 120px;
}

.projects-navigation {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.nav-progress {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    will-change: height;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dots {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    will-change: transform, border-color;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    outline: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
}

.nav-dot::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--white);
    will-change: width, height;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dot:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.nav-dot.active {
    border-color: var(--white);
}

.nav-dot.active::before {
    width: 8px;
    height: 8px;
}

.dot-label {
    position: absolute;
    bottom: -25px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0;
    will-change: opacity, transform, color;
    transform: translate3d(0, 5px, 0);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dot.active .dot-label {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-number {
    display: inline-block;
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 300;
    color: rgba(255, 107, 53, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    font-family: var(--font-wide);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(0, 0, 0, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    /*background: var(--bg-secondary); */
    margin-top: var(--spacing-lg);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    opacity: 0;
    transform: translate3d(0, 50px, 0) scale(0.95);
    will-change: transform, opacity, box-shadow;
}

.service-card {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Animated gradient border */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 53, 0.3), 
        rgba(255, 140, 66, 0.2),
        rgba(255, 107, 53, 0.3),
        transparent
    );
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: gradientShift 3s ease infinite;
    opacity: 0.5;
}

/* Animated background glow */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 107, 53, 0.03) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    z-index: 0;
    animation: subtlePulse 4s ease-in-out infinite;
}

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

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(0, 0, 0, 0.08) inset;
}

.service-card:hover::before {
    transform: scaleX(1);
    animation: gradientShift 2s ease infinite;
}

.service-card:hover::after {
    opacity: 1;
}

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

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    color: var(--text-primary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    opacity: 1;
    transform: scale(1.1);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: -0.02em;
}

.service-card:hover .service-title {
    color: var(--text-primary);
}

.service-description {
    color: rgba(10, 10, 10, 0.7);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .service-description {
    color: rgba(10, 10, 10, 0.85);
}

.service-media {
    position: relative;
    margin: -1.5rem -1.5rem 0 -1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(240, 240, 240, 0.5);
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    max-height: 320px;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Fallback when image fails to load */
.service-media:has(img[src*="VideoProduction.webp"])::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(240, 240, 240, 0.8);
    z-index: 0;
    pointer-events: none;
}

.service-card:hover .service-media {
    transform: scale(1.02) translateZ(0);
}

.service-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    pointer-events: none;
}

.service-card:hover .service-media::before {
    opacity: 1;
}

.service-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.05);
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), 
                filter 1s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, filter;
    position: relative;
}

/* Error state for missing images */
.service-media-image[src=""],
.service-media-image[src*="VideoProduction.webp"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.service-card:hover .service-media-image {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

.service-media-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    max-height: 320px;
    background: #000;
}

.service-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transform: scale(1.05);
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.service-card:hover .service-video {
    transform: scale(1.1);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}

.service-tags span {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(230, 230, 235, 0.9) 25%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(220, 220, 225, 0.85) 75%,
        rgba(255, 255, 255, 0.95) 100%);
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.service-tags span::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    animation: metallic-shine 3s infinite;
    pointer-events: none;
}

.service-tags span:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.95) 0%, 
        rgba(255, 140, 66, 0.9) 100%);
    color: var(--white);
    box-shadow: 
        0 4px 12px rgba(255, 107, 53, 0.25),
        0 0 20px rgba(255, 107, 53, 0.15);
}

.service-tags span:hover::before {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: none;
    left: 100%;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    transform: none;
}

.service-card:hover .service-tags span {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Service layout rows with alternating media/text */
.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
    gap: 1.75rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-left .service-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
}

.service-right .service-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
}

.service-body {
    padding-top: 0;
    position: relative;
    z-index: 1;
}

.service-body .service-title {
    margin-top: 0;
}

.service-body .service-description + .service-description {
    margin-top: 0.5rem;
}

/* Services always visible */
.service-card.service-left,
.service-card.service-right {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}


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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Services Mobile Responsive */
@media (max-width: 900px) {
    .services {
        padding: 2.5rem 0;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.25rem;
        border-radius: 1rem;
        margin-bottom: 0;
    }
    
    .service-layout {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .service-left .service-layout,
    .service-right .service-layout {
        display: flex;
        flex-direction: column;
    }
    
    /* Text first, then image on mobile for all services */
    .service-body {
        order: 1;
    }
    
    .service-media,
    .service-media-video {
        order: 2;
    }
    
    .service-media {
        aspect-ratio: 16 / 9;
        min-height: 200px;
        max-height: 220px;
        margin: 1rem 0 0 0;
        border-radius: 0.75rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-media-image {
        object-fit: cover;
        object-position: center;
    }

    .service-media-video {
        aspect-ratio: 16 / 9;
        min-height: 200px;
        max-height: 220px;
        margin: 1rem 0 0 0;
    }
    
    .service-body {
        padding-top: 0;
    }
    
    .service-title {
        font-size: 1.4rem;
        margin-bottom: 0.85rem;
    }
    
    .service-description {
        font-size: 0.93rem;
        line-height: 1.65;
    }
    
    .service-tags {
        margin-top: 1rem;
        gap: 0.45rem;
    }
    
    .service-tags span {
        font-size: 0.62rem;
        padding: 0.32rem 0.7rem;
    }
}

@media (max-width: 768px) {
    .service-body {
        order: 1;
    }
    
    .service-media,
    .service-media-video {
        order: 2;
    }
}

@media (max-width: 600px) {
    .services {
        padding: 1.5rem 0;
    }
    
    .services-grid {
        gap: 1rem;
    }
    
    .service-card {
        padding: 1rem;
        border-radius: 0.875rem;
    }
    
    .service-layout {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-media {
        min-height: 180px;
        max-height: 200px;
        margin: 0.75rem 0 0 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-media-image {
        object-fit: cover;
        object-position: center;
    }
    
    .service-media-video {
        min-height: 180px;
        max-height: 200px;
        margin: 0.75rem 0 0 0;
    }
    
    .service-title {
        font-size: 1.25rem;
        margin-bottom: 0.7rem;
    }
    
    .service-description {
        font-size: 0.88rem;
        line-height: 1.6;
    }
    
    .service-tags {
        margin-top: 0.85rem;
    }
    
    .service-tags span {
        font-size: 0.58rem;
        padding: 0.28rem 0.65rem;
    }
    
    /* Text first, then image on mobile */
    .service-body {
        order: 1;
    }
    
    .service-media,
    .service-media-video {
        order: 2;
    }
}

/* ============================================
   MAGAZINE FLIP BOOK SECTION
   ============================================ */

.magazine-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
    position: relative;
}

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

.magazine-section .section-number {
    color: rgba(255, 107, 53, 0.15);
}

.magazine-section .section-title,
.magazine-section .section-subtitle {
    color: var(--text-primary);
}

.magazine-section .section-subtitle {
    color: rgba(0, 0, 0, 0.6);
}

/* Simplified PDF Container */
.magazine-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    min-height: 550px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    background: transparent;
    visibility: visible;
    opacity: 1;
}

.page-spread {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 4rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    min-height: 480px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: visible;
    opacity: 1;
}

.page-spread.zoomed {
    transform: scale(1.5);
}

.page-spread.fullscreen {
    flex: 1;
    min-height: auto;
}

/* Modern PDF Page */
.magazine-page {
    position: relative;
    width: 100%;
    max-width: 700px;
    background: #ffffff;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: block;
    visibility: visible;
    opacity: 1;
}

.magazine-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    z-index: 1;
}

.magazine-page:hover {
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px) scale(1.01);
}

.page-canvas {
    width: 100%;
    height: auto;
    display: block !important;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

/* Desktop side buttons */
.magazine-btn-left,
.magazine-btn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s ease;
    will-change: background-color;
}

.magazine-btn-left {
    left: 1rem;
}

.magazine-btn-right {
    right: 1rem;
}

.magazine-btn-left:hover,
.magazine-btn-right:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) !important;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.magazine-btn-left svg,
.magazine-btn-right svg {
    width: 20px;
    height: 20px;
}

/* Simplified Modern Controls - Mobile only */
.magazine-controls {
    display: none; /* Hidden on desktop */
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.125rem;
    border: 1px solid rgba(192, 192, 192, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.03);
    max-width: 450px;
    margin: 0.75rem auto 0;
    width: 100%;
}

/* Desktop: Show page counter below PDF */
.magazine-container .page-counter-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(192, 192, 192, 0.2);
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .magazine-container .page-counter-desktop {
        display: none;
    }
}

.magazine-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 50%, #A8A8A8 100%);
    border: 1px solid rgba(192, 192, 192, 0.4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 3px 10px rgba(192, 192, 192, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.magazine-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #A8A8A8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magazine-btn:hover::before {
    opacity: 1;
}

.magazine-btn:hover {
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #A8A8A8 100%);
    border-color: rgba(192, 192, 192, 0.6);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(192, 192, 192, 0.35),
        0 2px 8px rgba(168, 168, 168, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.magazine-btn:active {
    transform: translateY(0) scale(0.98);
}

.magazine-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.3);
}

.magazine-btn svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    stroke-width: 2.5;
}

/* Ensure mobile buttons are always clickable */
.magazine-btn-mobile {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10;
}

.page-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    min-width: 90px;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    border: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.03),
        0 1px 3px rgba(192, 192, 192, 0.2);
    background: rgba(255, 107, 53, 0.05);
    border-radius: 2rem;
    height: 36px;
}

.page-counter span:first-child {
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #A8A8A8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.page-separator {
    color: rgba(0, 0, 0, 0.3);
    margin: 0 0.15rem;
    font-weight: 400;
}

/* Loading State */
.magazine-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-primary);
    z-index: 100;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    display: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 107, 53, 0.2);
    border-top-color: #C0C0C0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.magazine-loading p {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.magazine-loading code {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    display: inline-block;
    margin: 0.25rem 0;
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: var(--accent-primary);
}

/* Responsive Design */
@media (max-width: 900px) {
    .magazine-section {
        padding: 4rem 0;
    }
    
    .magazine-section .section-header {
        margin-bottom: 2.5rem;
    }
    
    .magazine-container {
        flex-direction: column;
        min-height: 500px;
        gap: 1.25rem;
    }
    
    /* Hide desktop side buttons on mobile */
    .magazine-btn-left,
    .magazine-btn-right {
        display: none;
    }
    
    .page-spread {
        padding: 1.5rem 1rem;
        min-height: 450px;
        border-radius: 0.75rem;
    }
    
    .magazine-page {
        max-width: 100%;
        border-radius: 6px;
    }
    
    /* Show mobile controls */
    .magazine-controls {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
        border-radius: 1.25rem;
        max-width: 100%;
        position: relative;
        z-index: 20;
        pointer-events: auto;
    }
    
    .magazine-btn-mobile {
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 21;
        position: relative;
    }
    
    .magazine-btn {
        width: 40px;
        height: 40px;
    }
    
    .magazine-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .page-counter {
        font-size: 0.85rem;
        min-width: 70px;
        height: 32px;
        padding: 0 0.75rem;
    }
}

@media (max-width: 600px) {
    .magazine-section {
        padding: 3rem 0;
    }
    
    .magazine-container {
        flex-direction: column;
    }
    
    /* Hide desktop side buttons on mobile */
    .magazine-btn-left,
    .magazine-btn-right {
        display: none;
    }
    
    .page-spread {
        padding: 1.25rem 0.75rem;
        min-height: 400px;
    }
    
    /* Show mobile controls */
    .magazine-controls {
        display: flex !important;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        position: relative;
        z-index: 20;
        pointer-events: auto;
    }
    
    .magazine-btn-mobile {
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 21;
        position: relative;
    }
    
    .magazine-btn {
        width: 36px;
        height: 36px;
    }
    
    .magazine-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .page-counter {
        font-size: 0.8rem;
        min-width: 60px;
        height: 28px;
        padding: 0 0.5rem;
    }
}

@media (max-width: 600px) {
    .magazine-section {
        padding: 3rem 0;
    }
    
    .magazine-controls {
        gap: 0.75rem;
    }
    
    .magazine-btn {
        width: 40px;
        height: 40px;
    }
    
    .page-counter {
        font-size: 0.9rem;
        min-width: 60px;
    }
}

/* Fullscreen Mode */
.magazine-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: #000;
    padding: 2rem;
    max-width: 100%;
}

.magazine-container.fullscreen .page-spread {
    flex: 1;
    min-height: auto;
    border-radius: 0;
}

/* ============================================
   SPONSORS SECTION
   ============================================ */

.sponsors-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 140, 66, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.sponsors-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 2.5rem;
    align-items: center;
    justify-items: center;
}

.sponsor-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: none;
}

.sponsor-item:hover {
    transform: translateY(-4px) scale(1.05);
}

.sponsor-logo {
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: grayscale(0%) opacity(1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.sponsor-item:hover .sponsor-logo {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .sponsors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem 2rem;
    }
    
    .sponsor-logo {
        max-width: 280px;
        max-height: 160px;
    }
}

@media (max-width: 900px) {
    .sponsors-section {
        padding: 5rem 0;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1.5rem;
    }
    
    .sponsor-logo {
        max-width: 240px;
        max-height: 140px;
    }
}

@media (max-width: 600px) {
    .sponsors-section {
        padding: 3rem 0;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem 1rem;
    }
    
    .sponsor-logo {
        max-width: 100%;
        max-height: 80px;
    }
    
    .sponsor-item {
        padding: 0.5rem;
    }
    
    .sponsor-item:hover {
        transform: translateY(-2px) scale(1.03);
    }
}

/* ============================================
   TEAM MEMBERS SECTION - MODERN REDESIGN
   ============================================ */

.team-members-section {
    background: rgba(255, 255, 255, 1);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.team-members-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 1);
    pointer-events: none;
    z-index: 0;
}

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

.team-members-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    min-height: auto;
}

/* Modern Team Member Card */
.team-member-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    width: 100%;
    align-items: center;
}

.team-member-left {
    background: rgba(255, 255, 255, 1);
}

.team-member-left .team-member-info {
    order: 1;
}

.team-member-left .team-member-visual {
    order: 2;
}

.team-member-right {
    background: rgba(255, 255, 255, 1);
    grid-template-columns: 1fr 1fr;
}

.team-member-right .team-member-visual {
    order: 1;
}

.team-member-right .team-member-info {
    order: 2;
}

/* Visual Side with Image */
.team-member-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    overflow: hidden;
}

.team-member-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3/4;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Left image rotates to the right */
.team-member-left .team-member-image-container {
    transform: perspective(1000px) rotateY(5deg) rotateX(2deg);
}

/* Right image rotates to the left */
.team-member-right .team-member-image-container {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.team-member-modern:hover .team-member-image-container {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.team-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.92) contrast(1.1);
}

.team-member-left .team-member-photo {
    object-position: center center;
}

.team-member-right .team-member-photo {
    object-position: center center;
    object-fit: cover;
    transform: scale(1);
}

.benny-portrait {
    object-position: center center !important;
    transform: scale(1);
}

.team-member-modern:hover .team-member-photo {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.15);
}

/* Ensure Benny's portrait also scales on hover */
.team-member-modern:hover .benny-portrait {
    transform: scale(1.1) !important;
    filter: brightness(1) contrast(1.15);
}

.team-member-image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(192, 192, 192, 0.15) 0%,
        rgba(168, 168, 168, 0.08) 30%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.8s ease;
    animation: glowRotate 10s linear infinite;
    pointer-events: none;
}

.team-member-modern:hover .team-member-image-glow {
    opacity: 0.3;
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.team-member-number {
    display: none;
}

.team-member-modern:hover .team-member-number {
    color: rgba(0, 0, 0, 0.12);
    transform: scale(1.1) translate(-10px, -10px);
}

.team-member-accent-line {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    background: transparent;
    border-radius: 0;
    transition: none;
    animation: none;
}

@keyframes lineExpand {
    to {
        width: 200px;
    }
}

.team-member-modern:hover .team-member-accent-line {
    width: 300px;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

/* Info Side */
.team-member-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3rem;
    position: relative;
    z-index: 1;
}

.team-member-header {
    margin-bottom: 1.5rem;
}

.team-member-role-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(192, 192, 192, 0.1);
    color: #C0C0C0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(192, 192, 192, 0.2);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
    }
}

.team-member-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.6s ease;
    position: relative;
}

.team-member-modern:hover .team-member-title {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(10px);
}

.team-member-text {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.75);
    margin: 0 0 2rem 0;
    max-width: 500px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: all 0.6s ease;
    position: relative;
}

.team-member-modern:hover .team-member-text {
    color: rgba(0, 0, 0, 0.9);
    transform: translateX(5px);
}

.team-member-text::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-primary), rgba(255, 140, 66, 0.6));
    border-radius: 2px;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: textLineGrow 1s ease-out 0.8s forwards;
}

@keyframes textLineGrow {
    to {
        height: 100%;
    }
}

/* Modern Metallic Button */
.team-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.25rem;
    background: linear-gradient(135deg, 
        #C0C0C0 0%, 
        #E8E8E8 25%,
        #D3D3D3 50%,
        #A8A8A8 75%,
        #C0C0C0 100%);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.12),
        0 3px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: fit-content;
    border: 1px solid rgba(192, 192, 192, 0.5);
}

.team-contact-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    animation: metallic-shine 3s infinite;
    pointer-events: none;
}

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

.team-contact-btn:hover::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    left: 100%;
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.team-contact-btn:hover .btn-ripple {
    width: 400px;
    height: 400px;
}

.team-contact-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.95) 0%, 
        rgba(255, 140, 66, 0.9) 100%);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(255, 107, 53, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.team-contact-btn:active {
    box-shadow: 
        0 8px 30px rgba(255, 107, 53, 0.4),
        0 4px 15px rgba(255, 140, 66, 0.3),
        0 0 20px rgba(255, 107, 53, 0.5),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.02);
}

.team-contact-btn svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-contact-btn:hover svg {
    transform: scale(1.2) rotate(10deg);
}

.team-contact-btn span {
    position: relative;
    z-index: 2;
    letter-spacing: 0.02em;
}

/* Floating Animation */
.team-member-modern {
    animation: floatIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.team-member-left {
    animation-delay: 0.1s;
    opacity: 0;
    transform: translateX(-100px) translateY(50px);
}

.team-member-right {
    animation-delay: 0.3s;
    opacity: 0;
    transform: translateX(100px) translateY(50px);
}

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

/* Additional hover effects */
.team-member-modern {
    position: relative;
}

/* Text reveal animation */
.team-member-header,
.team-member-text,
.team-contact-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.team-member-header {
    animation-delay: 0.3s;
}

.team-member-text {
    animation-delay: 0.5s;
}

.team-contact-btn {
    animation-delay: 0.7s;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .team-member-info {
        padding: 2.5rem 2.5rem;
    }
    
    .team-member-visual {
        padding: 2.5rem 2rem;
    }
    
    .team-member-image-container {
        max-width: 400px;
    }
}

@media (max-width: 900px) {
    .team-members-container {
        grid-template-columns: 1fr;
    }
    
    .team-member-modern {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 4rem 0;
    }
    
    .team-member-right .team-member-visual {
        order: 1;
    }
    
    .team-member-right .team-member-info {
        order: 2;
    }
    
    .team-member-visual {
        padding: 2rem;
        min-height: 500px;
    }
    
    .team-member-info {
        padding: 3rem 2rem;
    }
    
    .team-member-image-container {
        max-width: 100%;
        aspect-ratio: 4/5;
    }
    
    .team-member-left,
    .team-member-right {
        transform: translateY(30px);
    }
}

@media (max-width: 600px) {
    .team-member-modern {
        padding: 1rem 1rem;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        position: relative;
        background: transparent !important;
        min-height: 600px;
        border-radius: 1.25rem;
        overflow: hidden;
    }
    
    .team-member-left .team-member-visual,
    .team-member-right .team-member-visual {
        order: 1;
    }
    
    .team-member-left .team-member-info,
    .team-member-right .team-member-info {
        order: 1;
    }
    
    .team-member-visual {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        padding: 0;
        min-height: 600px;
        overflow: hidden;
        border-radius: 1.25rem;
        margin: 0;
    }
    
    .team-member-info {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        position: relative;
        padding: 1.5rem 1.25rem 1.25rem;
        background: linear-gradient(to top, 
            rgba(0, 0, 0, 0.92) 0%, 
            rgba(0, 0, 0, 0.8) 40%, 
            rgba(0, 0, 0, 0.5) 70%,
            transparent 100%);
        z-index: 10;
        display: flex;
        flex-direction: column;
        border-radius: 0 0 1.25rem 1.25rem;
    }
    
    .team-member-header {
        margin-bottom: 0.5rem;
    }
    
    .team-member-role-badge {
        background: rgba(255, 255, 255, 0.95);
        color: #1a1a1a;
        padding: 0.35rem 0.85rem;
        font-size: 0.65rem;
        display: inline-block;
        margin-bottom: 0.4rem;
    }
    
    .team-member-title {
        color: #ffffff !important;
        font-size: 1.5rem;
        background: none !important;
        -webkit-text-fill-color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
        margin-bottom: 0.35rem;
    }
    
    .team-member-text {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.85rem;
        margin-bottom: 0;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
        line-height: 1.5;
    }
    
    .team-member-text::before {
        display: none;
    }
    
    .team-member-image-container {
        aspect-ratio: auto;
        max-width: 100%;
        width: 100%;
        height: 100%;
        border-radius: 1.25rem;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
    }
    
    .team-member-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        border-radius: 1.25rem;
    }
    
    .team-member-image-glow,
    .team-member-number,
    .team-member-accent-line {
        display: none;
    }
    
    .team-contact-btn {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 0.75rem 0 0 0;
        display: flex;
        width: 100%;
        max-width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
        z-index: 15;
        justify-content: center;
        background: rgba(255, 255, 255, 0.95) !important;
        color: #1a1a1a !important;
        border-radius: 0.75rem;
    }
    
    .team-contact-btn span {
        color: #1a1a1a !important;
    }
    
    .team-contact-btn svg {
        stroke: #1a1a1a !important;
    }
    
    .team-member-modern {
        margin-bottom: 1rem;
    }
    
    /* Remove parallax/transform effects on mobile */
    .team-member-image-container {
        transform: none !important;
    }
    
    .team-member-modern:hover .team-member-image-container {
        transform: none !important;
    }
    
    .team-member-photo {
        transform: scale(1) !important;
    }
    
    .team-member-modern:hover .team-member-photo {
        transform: scale(1) !important;
        filter: brightness(1) !important;
    }
}

/* Desktop styles for team member names */
@media (min-width: 901px) {
    .team-member-title {
        font-size: clamp(2rem, 4vw, 3.5rem);
        white-space: nowrap;
    }
}

/* ============================================
   ROOM SHOWCASE SECTION
   ============================================ */

/* ============================================
   ROOM GALLERY SECTION - REDESIGNED
   ============================================ */

.room-gallery-section {
    position: relative;
    width: 100%;
    max-width: 100vw;
    background: var(--bg-primary);
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Hero Section with Parallax */
.office-hero-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #000000;
}

.office-hero-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    background: #000000;
}

.office-hero-bg {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.7) contrast(1.1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1.5rem;
}

.office-hero-section:hover .office-hero-bg {
    transform: scale(1.03);
}

.office-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.15) 100%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 1.5rem;
}

.office-hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

/* Content Section */
.office-content-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 5rem var(--spacing-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 100%);
    z-index: 3;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
    left: 0;
    right: 0;
}

.office-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.office-text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.office-main-heading {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
    background: linear-gradient(135deg, #0A0A0A 0%, #2A2A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.office-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    font-weight: 400;
    max-width: 100%;
}

.office-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    position: sticky;
    top: 2rem;
}

.office-contact-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    overflow: hidden;
}

.office-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.office-contact-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-4px) translateX(4px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(255, 107, 53, 0.3);
}

.office-contact-btn:active {
    transform: translateY(-2px) translateX(2px);
}

.office-contact-btn svg {
    width: 22px;
    height: 22px;
    color: var(--accent-primary);
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.2));
}

.office-contact-btn:hover svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
}

.office-contact-btn span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.office-contact-btn:hover span {
    color: var(--text-primary);
}


/* Map Section */
.office-map-section {
    position: relative !important;
    max-width: 1400px;
    width: 100%;
    height: 600px;
    z-index: 1;
    margin: 4rem auto;
    padding: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: var(--white);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    display: block;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    float: none;
    clear: both;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
}

.office-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.03) 0%, 
        transparent 50%,
        rgba(255, 140, 66, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.office-map-section:hover {
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.18),
        0 15px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 107, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.office-map-section:hover::before {
    opacity: 1;
}

.office-map-iframe {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 1);
    border-style: solid;
    border-radius: 1.5rem;
    filter: grayscale(0.15) brightness(1.08) contrast(1.05);
    transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.office-map-section:hover .office-map-iframe {
    filter: grayscale(0) brightness(1.1) contrast(1.08);
    transform: scale(1.01);
}

.office-map-button {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.375rem 2.75rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 107, 53, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    border: 1.5px solid rgba(255, 107, 53, 0.15);
    letter-spacing: -0.01em;
    overflow: hidden;
}

.office-map-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.office-map-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s ease;
    transform: scale(0);
    z-index: -1;
}

.office-map-button:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--white);
    transform: translateX(-50%) translateY(-6px) scale(1.08);
    box-shadow: 
        0 12px 48px rgba(255, 107, 53, 0.4),
        0 8px 32px rgba(255, 107, 53, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 60px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.office-map-button:hover::before {
    opacity: 1;
}

.office-map-button:hover::after {
    opacity: 1;
    transform: scale(1) translate(25%, 25%);
}

.office-map-button:active {
    transform: translateX(-50%) translateY(-3px) scale(1.05);
}

.office-map-button svg {
    width: 24px;
    height: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.3));
}

.office-map-button:hover svg {
    transform: scale(1.2) rotate(-8deg);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

.office-map-button span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .office-content-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .office-content-section {
        padding: 6rem var(--spacing-lg);
    }
    
    .office-map-section {
        margin: 4rem auto;
        max-width: 100%;
        width: 100%;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
}

@media (max-width: 1024px) {
    .office-hero-section {
        padding: 0 var(--spacing-sm);
    }
    
    .office-content-section {
        padding: 4rem var(--spacing-sm);
    }
    
    .office-content-wrapper {
        gap: 3rem;
    }
    
    .contact-form-wrapper {
        margin-top: 3rem;
    }
    
    .office-map-section {
        margin: 3rem auto !important;
        max-width: 100% !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        position: relative !important;
        float: none !important;
        clear: both !important;
        inset: auto !important;
    }
}

@media (max-width: 768px) {
    .office-hero-section {
        border-radius: 1rem;
    }
    
    .office-hero-bg {
        border-radius: 1rem;
    }
    
    .office-hero-overlay {
        border-radius: 1rem;
    }
    
    .office-hero-title {
        font-size: clamp(1.75rem, 5vw, 3rem);
    }
    
    .office-content-section {
        padding: 3rem 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        position: relative;
        margin: 0;
        left: 0;
        right: 0;
    }
    
    .office-content-section > * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .office-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-form-wrapper {
        margin-top: 2.5rem;
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .office-text-content {
        gap: 1.25rem;
    }
    
    .office-main-heading {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
    }
    
    .office-description {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
        max-width: 100%;
    }
    
    .office-contact-buttons {
        gap: 0.875rem;
        position: relative;
        top: 0;
    }
    
    .office-contact-btn {
        padding: 1.125rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .office-contact-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .office-map-section {
        height: 350px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0;
        margin: 2.5rem 0 !important;
        border-radius: 1rem;
        box-sizing: border-box;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        display: block;
        transform: none !important;
        clear: both;
        float: none;
        inset: auto !important;
    }
    
    .office-map-iframe {
        width: 100%;
        height: 100%;
        border-radius: 1rem;
        display: block;
    }
    
    .office-map-button {
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        padding: 1rem 1.75rem;
        font-size: 0.85rem;
        border-radius: 1.5rem;
    }
    
    .office-map-button:hover {
        transform: translateX(-50%) translateY(-4px) scale(1.06);
    }
    
    .office-map-button:active {
        transform: translateX(-50%) translateY(-2px) scale(1.03);
    }
    
    .office-map-button svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .office-content-section {
        padding: 2rem 0.75rem;
    }
    
    .office-content-section {
        padding: 2rem 0.75rem;
    }
    
    .contact-form-wrapper {
        padding: 0 0.75rem;
    }
    
    .office-content-section {
        padding: 2rem 0.75rem;
        margin: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .contact-form-wrapper {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .office-map-section {
        height: 300px;
        max-width: 100% !important;
        width: 100% !important;
        margin: 2rem 0 !important;
        padding: 0;
        border-radius: 0.75rem;
        display: block;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        clear: both;
        float: none;
    }
    
    .office-map-iframe {
        border-radius: 0.75rem;
    }
    
    .office-map-button {
        bottom: 1rem;
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
        left: 50%;
        transform: translateX(-50%);
    }
}

.room-gallery-section::before {
    display: none;
}

.room-gallery-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    z-index: 1;
}

.room-gallery-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.room-gallery-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.room-gallery-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.room-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0 1rem;
}

.room-gallery-item {
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: galleryItemFadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    cursor: pointer;
}

.room-gallery-item:nth-child(1) {
    animation-delay: 0.2s;
}

.room-gallery-item:nth-child(2) {
    animation-delay: 0.4s;
}

.room-gallery-item:nth-child(3) {
    animation-delay: 0.6s;
}

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

.room-gallery-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--bg-secondary);
    transform: perspective(1000px) rotateX(2deg) rotateY(0deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.room-gallery-item:hover .room-gallery-image-wrapper {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(-15px) scale(1.02);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.room-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease;
    filter: brightness(0.95) contrast(1.05);
}

.room-gallery-item:hover .room-gallery-image {
    transform: scale(1.15);
    filter: brightness(1) contrast(1.1);
}

.room-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 2rem;
    z-index: 2;
}

.room-gallery-item:hover .room-gallery-overlay {
    opacity: 1;
}

.room-gallery-number {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.05em;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.room-gallery-item:hover .room-gallery-number {
    transform: translateY(0);
}

/* Mouse tracking tilt effect */
.room-gallery-image-wrapper {
    will-change: transform;
}

/* Call to Action Section */
.room-gallery-cta {
    margin-top: 6rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.room-gallery-cta-content {
    text-align: center;
    margin-bottom: 3rem;
}

.room-gallery-cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.room-gallery-cta-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-style: italic;
}

.room-gallery-cta-description {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.8;
    color: rgba(10, 10, 10, 0.75);
    margin: 0 auto;
    max-width: 800px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Office Layout - Image and Map Side by Side */
.room-gallery-office-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
    margin-top: 4rem;
    align-items: stretch;
}

.room-gallery-office-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--bg-secondary);
    max-height: 500px;
    display: flex;
    align-items: center;
}

.room-gallery-office-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.office-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 500px;
    object-position: center;
}

/* Office Image Overlay with Contact Info */
.office-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 3rem;
    border-radius: 1.5rem;
    z-index: 1;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.office-contact-info {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.office-company-name {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 3rem 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.office-company-name::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 107, 53, 0.8) 0%, 
        rgba(255, 140, 66, 0.6) 100%);
    border-radius: 2px;
}

.office-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.office-contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.office-contact-item:hover {
    color: var(--white);
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2);
}

.office-contact-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.95;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.office-contact-item:hover svg {
    opacity: 1;
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.4));
}

.office-contact-item span {
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

/* Map Container */
.room-gallery-map-container {
    display: flex;
    flex-direction: column;
}

.room-gallery-map-link {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.room-gallery-map-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.room-gallery-map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.room-gallery-map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%,
        rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 1.5rem;
}

.room-gallery-map {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    pointer-events: none;
    filter: grayscale(0.4) brightness(1.15) contrast(1.1) saturate(0.7);
    -webkit-filter: grayscale(0.4) brightness(1.15) contrast(1.1) saturate(0.7);
    opacity: 0.95;
}

.room-gallery-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.room-gallery-map-link:hover .room-gallery-map-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.room-gallery-map-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(230, 230, 235, 0.9) 25%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(220, 220, 225, 0.85) 75%,
        rgba(255, 255, 255, 0.95) 100%);
    border-radius: 1rem;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.room-gallery-map-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    animation: metallic-shine 3s infinite;
    pointer-events: none;
}

.room-gallery-map-button svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.room-gallery-map-button span {
    position: relative;
    z-index: 1;
}

.room-gallery-map-link:hover .room-gallery-map-button {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.95) 0%, 
        rgba(255, 140, 66, 0.9) 100%);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 
        0 12px 40px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.room-gallery-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.room-gallery-address svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Visit Text Section */
.room-gallery-visit-text {
    margin-top: 5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: start;
}

.room-gallery-visit-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(255, 107, 53, 0.3) 20%,
        rgba(255, 107, 53, 0.5) 50%,
        rgba(255, 140, 66, 0.3) 80%,
        transparent 100%);
    opacity: 0.6;
}

.visit-text-main {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
    font-weight: 300;
    letter-spacing: -0.04em;
    font-style: normal;
    text-align: left;
    position: relative;
    padding-top: 0.5rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    background: linear-gradient(135deg, 
        var(--text-primary) 0%, 
        rgba(10, 10, 10, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    font-family: var(--font-wide);
    text-transform: uppercase;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    letter-spacing: 0.3em;
}

.visit-text-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
}

.visit-text-quote {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
    font-weight: 300;
    letter-spacing: -0.03em;
    font-style: italic;
    text-align: left;
    position: relative;
    padding-left: 3rem;
    background: linear-gradient(135deg, 
        var(--text-primary) 0%, 
        rgba(10, 10, 10, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visit-text-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.3em;
    font-size: 5rem;
    font-weight: 200;
    color: rgba(255, 107, 53, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
    font-style: normal;
}

.visit-text-description {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    line-height: 1.75;
    color: rgba(10, 10, 10, 0.75);
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-align: left;
    max-width: 90%;
    padding-left: 3rem;
    position: relative;
}

.visit-text-description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        rgba(255, 107, 53, 0.4) 0%, 
        rgba(255, 140, 66, 0.3) 100%);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .room-gallery-grid {
        gap: 2rem;
        padding: 0;
    }
}

@media (max-width: 900px) {
    .room-gallery-section {
        padding: 6rem 0;
    }
    
    .room-gallery-header {
        margin-bottom: 4rem;
    }
    
    .room-gallery-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .room-gallery-image-wrapper {
        aspect-ratio: 16/10;
    }
    
    .room-gallery-cta {
        padding: 0 1rem;
    }
    
    .room-gallery-office-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .office-image {
        min-height: 400px;
    }
    
    .room-gallery-map-wrapper {
        min-height: 400px;
    }
    
    .room-gallery-visit-text {
        grid-template-columns: auto 1fr;
        gap: 2.5rem;
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .visit-text-content {
        padding-left: 1.5rem;
    }
    
    .visit-text-quote {
        padding-left: 2rem;
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
    
    .visit-text-quote::before {
        font-size: 4rem;
        left: -0.5rem;
    }
    
    .visit-text-description {
        padding-left: 2rem;
        max-width: 100%;
    }
    
    .visit-text-description::before {
        width: 2px;
    }
}

@media (max-width: 600px) {
    .room-gallery-section {
        padding: 1rem 0;
        margin-top: -4rem;
    }
    
    .office-hero-section {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        padding: 0 !important;
        width: calc(100% - 2rem) !important;
        max-width: calc(100% - 2rem) !important;
    }
    
    .room-gallery-header {
        margin-bottom: 3rem;
    }
    
    .room-gallery-cta-content {
        margin-bottom: 2rem;
    }
    
    .office-image {
        min-height: 300px;
    }
    
    .room-gallery-map-wrapper {
        min-height: 300px;
    }
    
    .room-gallery-grid {
        gap: 2rem;
    }
    
    .room-gallery-image-wrapper {
        border-radius: 1rem;
        aspect-ratio: 4/3;
    }
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--bg-tertiary) 100%);
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 107, 53, 0.05) 10px,
            rgba(255, 107, 53, 0.05) 20px
        );
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.95) 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.portfolio-year {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.5);
}

.portfolio-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 107, 53, 0);
    border-radius: 1rem;
    transition: all 0.4s ease;
    pointer-events: none;
}

.portfolio-card:hover::after {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: inset 0 0 40px rgba(255, 107, 53, 0.1);
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team {
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--glow-gold), var(--shadow-md);
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 53, 0.3);
    padding: 4px;
    transition: all 0.4s ease;
}

.team-card:hover .team-photo {
    border-color: var(--accent-primary);
    transform: scale(1.05);
    box-shadow: var(--glow-gold);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--bg-tertiary) 100%);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: 600px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--glow-gold);
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

/* ============================================
   CONTACT SECTION - Modern Redesign
   ============================================ */

.contact-section {
    padding: var(--spacing-xl) 0;
    background: rgba(255, 255, 255, 1);
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-top: -4rem;
}

.contact-section-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
    position: relative;
}

.contact-form-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 4rem auto 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}

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

.contact-title-modern {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}

.contact-content-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
}

/* Contact Info Cards */
.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.contact-person-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-person-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-person-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.contact-person-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 0.75rem;
    color: var(--accent-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-item:hover .contact-detail-icon {
    background: var(--accent-primary);
    color: var(--white);
    transform: scale(1.1);
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    flex: 1;
}

.contact-detail-value:hover {
    color: var(--accent-primary);
}


/* Form Message Alert */
.form-message-alert {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    gap: 1rem;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.form-message-alert.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #28a745;
    color: #155724;
}

.form-message-alert.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #dc3545;
    color: #721c24;
}

.form-message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.form-message-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.form-message-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.5;
}

.form-message-alert.success .form-message-icon {
    color: #28a745;
}

.form-message-alert.error .form-message-icon {
    color: #dc3545;
}

.form-message-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
}

.form-message-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border-radius: 0.25rem;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.form-message-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.form-message-close svg {
    width: 18px;
    height: 18px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form */
.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    width: 100%;
    margin-top: 0;
    box-sizing: border-box;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-modern {
    position: relative;
}

.form-input-modern {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input-modern::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-input-modern:focus {
    border-color: var(--accent-primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-textarea-modern {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-primary);
}

.btn-send-message {
    padding: 1.25rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(230, 230, 235, 0.9) 25%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(220, 220, 225, 0.85) 75%,
        rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-send-message::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    animation: metallic-shine 3s infinite;
    pointer-events: none;
}

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

.btn-send-message:hover::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    left: 100%;
}

.btn-send-message svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-send-message span {
    position: relative;
    z-index: 2;
}

.btn-send-message:hover {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.95) 0%, 
        rgba(255, 140, 66, 0.9) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(255, 107, 53, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border-color: rgba(255, 107, 53, 0.3);
}

.btn-send-message:hover svg {
    transform: translateX(4px);
}

.btn-send-message:active {
    box-shadow: 
        0 4px 15px rgba(255, 107, 53, 0.4),
        0 0 20px rgba(255, 107, 53, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

/* Checkbox and Terms */
.form-checkbox-modern {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--accent-primary);
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
}

.terms-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.terms-link:hover {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content-modern {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: var(--spacing-lg) 0;
    }
    
    .contact-section-container {
        padding: 0 1rem;
    }
    
    .contact-header-modern {
        margin-bottom: 3rem;
    }
    
    .contact-content-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-person-card {
        padding: 1.5rem;
    }
    
    .contact-form-modern {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-message-alert {
        padding: 0.875rem 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .form-message-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-section-container {
        padding: 0 0.75rem;
    }
    
    .contact-content-modern {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-person-card {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }
    
    .contact-form-modern {
        padding: 1.5rem;
        border-radius: 1.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-message-alert {
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-message-content {
        width: 100%;
    }
    
    .form-message-close {
        align-self: flex-end;
        margin-top: -2rem;
    }
    
    .form-message-text {
        font-size: 0.85rem;
    }
    
}

.contact {
    background: var(--bg-secondary);
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: none;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--glow-gold);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--accent-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: var(--glow-gold), 0 2px 10px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 1);
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

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

/* Contact Header Responsive */
@media (max-width: 900px) {
    .contact-header {
        margin-bottom: 4rem;
    }
}

@media (max-width: 600px) {
    .contact-header {
        margin-bottom: 3rem;
    }
}

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

.footer {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 5rem 0 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.2) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 5rem;
    margin-bottom: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.footer-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo-image {
    max-width: 77px;
    height: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    filter: brightness(1);
}

.footer-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 20%, rgba(0, 0, 0, 0.15) 80%, transparent 100%);
    flex-shrink: 0;
}

.footer-middle {
    display: flex;
    flex-direction: column;
}

.footer-contact {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 180px;
}

.footer-contact-item:hover {
    transform: translateY(-2px);
}

.footer-contact-item svg {
    width: 24px;
    height: 24px;
    color: #C0C0C0;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .footer-contact-item svg {
        margin: 0 auto;
        display: block;
    }
}

.footer-contact-item:hover svg {
    color: #A8A8A8;
    transform: scale(1.1);
}

.footer-contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin: 0 0 0.75rem 0;
    opacity: 0.7;
}

.footer-contact-value {
    font-size: 1.05rem;
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 0 0.25rem 0;
    line-height: 1.6;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

.footer-contact-value:hover {
    color: var(--accent-primary);
}


.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.3) 50%, transparent 100%);
}

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

.footer-copyright {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.footer-epage-link {
    color: #FF6B35;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-epage-link:hover {
    color: #FF8C42;
    text-decoration: underline;
}

.footer-heart {
    color: #e91e63;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
    margin: 0 0.25rem;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-direction: row;
}

.footer-social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.footer-social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #C0C0C0;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    opacity: 0.1;
}

.footer-social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    color: #C0C0C0;
}

.footer-social-icon:hover {
    background: #C0C0C0;
    color: #000000;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(192, 192, 192, 0.4);
    border-color: #C0C0C0;
}

.footer-social-icon:hover svg {
    transform: scale(1.15) rotate(5deg);
    color: #000000;
    fill: #000000;
    stroke: #000000;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .footer-divider {
    width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 20%, rgba(0, 0, 0, 0.15) 80%, transparent 100%);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-left {
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-divider {
        display: none;
    }
    
    .footer-middle {
        align-items: center;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .footer-contact-item {
        min-width: auto;
        flex: none;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .footer-contact-item svg {
        margin: 0 auto;
        display: block;
    }
    
    .footer-contact-item > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .footer-contact-label,
    .footer-contact-value {
        text-align: center;
        width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 2rem;
        text-align: center;
    }
    
    .footer-left {
        justify-content: center;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-image {
        max-width: 49px;
    }
    
    .footer-middle {
        align-items: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .footer-contact-item {
        gap: 0.75rem;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        width: 100%;
    }
    
    .footer-contact-item svg {
        width: 20px;
        height: 20px;
        margin: 0 auto;
        display: block;
    }
    
    .footer-contact-item > div {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .footer-contact-label,
    .footer-contact-value {
        text-align: center;
        width: 100%;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}

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

@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-bottom {
        bottom: 1rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
    }
    
    .nav-container {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .nav-menu-bottom {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
        padding: 0.7rem;
        border-radius: 2rem;
    }
    
    .nav-link-bottom {
        flex: 1;
        min-width: 75px;
        padding: 0.7rem 1rem;
        flex-direction: column;
        gap: 0.3rem;
        border-radius: 1.5rem;
    }
    
    .nav-icon {
        width: 18px;
        height: 18px;
    }
    
    .nav-text {
        font-size: 0.6rem;
        line-height: 1.1;
        font-weight: 500;
    }
    
    .nav-link-bottom.active {
        transform: translateY(-1px) scale(1.01);
    }
    
    .top-logo {
        top: 1rem;
        height: 21px;
    }
    
    .logo-white {
        height: 21px;
    }
    
    .navbar-top {
        padding: 0.5rem 0;
    }
    
    .navbar-container {
        padding: 0.5rem 1rem;
        gap: 1rem;
        grid-template-columns: 1fr;
        justify-content: center;
    }
    
    .navbar-social {
        display: none;
    }
    
    .navbar-logo {
        height: 25px;
        justify-self: center;
    }
    
    .logo-dark {
        height: 21px;
    }
    
    .navbar-contact {
        display: none;
    }
    
    .hero-video {
        opacity: 1;
        object-fit: cover;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
    }
    
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.4) 100%
        );
    }
    
    .hero-text-content {
        position: absolute;
        top: auto;
        bottom: 12rem;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 10;
        width: 90%;
        max-width: 600px;
        padding: 0 1.5rem;
    }
    
    .hero-text-content .hero-title {
        color: var(--white);
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.4);
        margin-bottom: 0.75rem;
    }
    
    .hero-text-content .hero-description {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
        font-weight: 800;
    }
    
    .hero-subtitle {
        font-size: clamp(1.05rem, 3.5vw, 1.3rem);
        margin-bottom: 3rem;
    }
    
    .title-line {
        font-weight: 800;
    }
    
    .hero-title {
        font-size: clamp(2.75rem, 11vw, 5rem);
        font-weight: 800;
    }
    
    .hero-subtitle {
        font-size: clamp(1.05rem, 3.5vw, 1.3rem);
        margin-bottom: 3rem;
    }
    
    .title-line {
        font-weight: 800;
    }
    
    .hero-content-wrapper {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 3rem 2rem;
        border-radius: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 1.25rem 2.25rem;
        justify-content: center;
    }
    
    .scroll-indicator {
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
    }
    
    .scroll-mouse {
        width: 18px;
        height: 28px;
    }
    
    .scroll-text {
        font-size: 0.6rem;
    }
    
    .scroll-arrow {
        width: 12px;
        height: 12px;
    }
    
    .scroll-indicator:hover {
        transform: translate(-50%, calc(-50% - 5px));
    }
    
    .hero-text-content {
        bottom: 10rem;
        padding: 0 1.25rem;
        gap: 0.5rem;
    }
    
    .hero-text-content .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        font-weight: 700;
    }
    
    .hero-text-content .hero-description {
        font-size: clamp(0.85rem, 3vw, 1rem);
        line-height: 1.6;
    }
    
    .projects-showcase {
        height: 300vh;
    }
    
    .project-overlay {
        padding: 4rem 2rem 2rem;
    }
    
    .project-number {
        font-size: clamp(4rem, 15vw, 8rem);
        margin-bottom: -1.5rem;
    }
    
    .project-title {
        font-size: clamp(1.75rem, 7vw, 3rem);
    }
    
    .projects-navigation {
        bottom: 2rem;
    }
    
    .nav-progress {
        height: 40px;
    }
    
    .nav-dots {
        gap: 1rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .quote-content {
        padding: 1.25rem 1rem;
    }
    
    .quote-text {
        font-size: clamp(0.95rem, 4vw, 1.3rem);
        padding: 0 0.5rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .quote-author {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-top: 0.25rem;
    }
    
    .quote-text::before,
    .quote-text::after {
        font-size: 2.5rem;
    }
    
    .projects-showcase {
        height: 100vh;
    }
    
    .project-overlay {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .project-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .projects-navigation {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .scroll-indicator {
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .scroll-indicator:hover {
        transform: translate(-50%, calc(-50% - 5px));
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-gold {
    color: var(--accent-primary);
}

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

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ============================================
   FOOTER LEGAL LINKS
   ============================================ */

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer-legal-link {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-legal-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.footer-legal-separator {
    color: rgba(0, 0, 0, 0.3);
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    border-radius: 1rem;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.impressum-content,
.privacy-content,
.agb-content {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.8;
    font-size: 0.95rem;
}

.impressum-content p,
.privacy-content p,
.agb-content p {
    margin: 0 0 1rem 0;
}

.impressum-content p:last-child,
.privacy-content p:last-child,
.agb-content p:last-child {
    margin-bottom: 0;
}

.impressum-content a,
.privacy-content a,
.agb-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-content a:hover,
.privacy-content a:hover,
.agb-content a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

.impressum-content h3,
.privacy-content h3,
.agb-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    letter-spacing: -0.01em;
}

.impressum-content h3:first-child,
.privacy-content h3:first-child,
.agb-content h3:first-child {
    margin-top: 0;
}

.impressum-content h4,
.privacy-content h4,
.agb-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem 0;
}

.impressum-content ul,
.privacy-content ul,
.agb-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.impressum-content li,
.privacy-content li,
.agb-content li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.impressum-content strong,
.privacy-content strong,
.agb-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.impressum-content em,
.privacy-content em,
.agb-content em {
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-container {
        max-height: 95vh;
        border-radius: 0.75rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .footer-legal-links {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-legal-links {
        order: -1;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-content {
        padding: 1.25rem;
        font-size: 0.9rem;
    }
    
    .impressum-content h3,
    .privacy-content h3 {
        font-size: 1.1rem;
    }
    
    .impressum-content h4,
    .privacy-content h4 {
        font-size: 1rem;
    }
}

/* ============================================
   VIDEO FULLSCREEN MODAL
   ============================================ */

.video-fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.video-fullscreen-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.video-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
    padding: 0;
    box-sizing: border-box;
}

.video-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    z-index: 100002;
    pointer-events: none;
}

.video-modal-logo {
    pointer-events: auto;
}

.video-modal-logo-image {
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.video-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    box-sizing: border-box;
}

.video-modal-iframe {
    width: 100%;
    height: calc(100% - 6rem);
    max-width: 100%;
    max-height: calc(100% - 6rem);
    border: none;
    object-fit: contain;
}

.video-modal-close {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100003;
    color: #ffffff;
    padding: 0;
    margin: 0;
    pointer-events: auto !important;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.video-modal-close:active {
    transform: scale(0.95);
}

.video-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

@media (max-width: 768px) {
    .video-modal-header {
        padding: 1.5rem;
    }
    
    .video-modal-logo-image {
        height: 22px;
        max-width: 105px;
    }
    
    .video-modal-content {
        padding-top: 5rem;
    }
    
    .video-modal-iframe {
        height: calc(100% - 5rem);
        max-height: calc(100% - 5rem);
    }
    
    .video-modal-close {
        width: 48px;
        height: 48px;
    }
    
    .video-modal-close svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .video-modal-header {
        padding: 1rem;
    }
    
    .video-modal-logo-image {
        height: 20px;
        max-width: 84px;
    }
    
    .video-modal-content {
        padding-top: 4.5rem;
    }
    
    .video-modal-iframe {
        height: calc(100% - 4.5rem);
        max-height: calc(100% - 4.5rem);
    }
    
    .video-modal-close {
        width: 44px;
        height: 44px;
    }
    
    .video-modal-close svg {
        width: 18px;
        height: 18px;
    }
}

