/* Base Layout - Full Width with Golden Ratio - v13 */

/* Resume Page Specific Styles */
.resume-section {
    padding: 0;
    margin: 0;
    height: calc(100vh - 80px);
}

.resume-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.resume-viewer {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.resume-viewer embed,
.resume-viewer object {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    display: block;
}

.pdf-fallback {
    background: #111;
    padding: 2rem;
    width: 100%;
    height: auto;
    min-height: 800px;
}

.resume-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.resume-page-image {
    width: 100%;
    height: auto;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: white;
}

.pdf-download-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.pdf-download-section p {
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 1.1rem;
}

.pdf-download-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #666;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.pdf-download-btn:hover {
    background: #888;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .pdf-fallback {
        padding: 1rem;
    }
    
    .resume-images {
        max-width: 100%;
    }
    
    .resume-page-image {
        border-radius: 2px;
    }
}
:root {
    --golden-ratio: 1.618;
    --golden-ratio-small: 0.618;
    --container-width: 100%;
    --section-padding: 4rem;
    --grid-gap: 2rem;
    --base-font: 1rem;
    --base-spacing: 1rem;
    --accent-color: #666666;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Full Page Rothko Background */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    /* Hide behind video sections */
    pointer-events: none;
    --mouse-x: 50%;
    --mouse-y: 50%;
    --scroll-y: 0;
    --primary-hue: 0;
    --primary-sat: 80;
    --primary-light: 30;
    --secondary-hue: 15;
    --secondary-sat: 70;
    --secondary-light: 25;
    --accent-hue: 350;
    --accent-sat: 60;
    --accent-light: 35;
    --rect1-x: 20%;
    --rect1-y: 15%;
    --rect1-w: 60%;
    --rect1-h: 70%;
    --rect2-x: 25%;
    --rect2-y: 20%;
    --rect2-w: 50%;
    --rect2-h: 60%;
}

.page-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
    z-index: 1;
    /* Optimized transition - reduced from 10s to 6s */
    transition: background 6s cubic-bezier(0.618, 0, 0.382, 1);
    /* Simplified texture - removed heavy blur */
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.015) 0%, transparent 40%);
    /* Use transform instead of filter for better performance */
    will-change: background;
}

.page-background::after {
    content: '';
    position: absolute;
    top: var(--rect1-y);
    left: var(--rect1-x);
    width: var(--rect1-w);
    height: var(--rect1-h);
    background: hsl(var(--secondary-hue), var(--secondary-sat), var(--secondary-light));
    z-index: 2;
    /* Reduced transition time and properties */
    transition: background 6s cubic-bezier(0.618, 0, 0.382, 1), 
                top 6s cubic-bezier(0.618, 0, 0.382, 1),
                left 6s cubic-bezier(0.618, 0, 0.382, 1),
                width 6s cubic-bezier(0.618, 0, 0.382, 1),
                height 6s cubic-bezier(0.618, 0, 0.382, 1);
    /* Soft painted edges */
    filter: blur(1px);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.15),
        0 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    will-change: background, top, left, width, height;
}

/* Third layer for accent color - optimized */
.page-background .accent-layer {
    position: absolute;
    top: var(--rect2-y);
    left: var(--rect2-x);
    width: var(--rect2-w);
    height: var(--rect2-h);
    background: hsl(var(--accent-hue), var(--accent-sat), var(--accent-light));
    z-index: 3;
    /* Reduced transition scope */
    transition: background 6s cubic-bezier(0.618, 0, 0.382, 1),
                top 6s cubic-bezier(0.618, 0, 0.382, 1),
                left 6s cubic-bezier(0.618, 0, 0.382, 1),
                width 6s cubic-bezier(0.618, 0, 0.382, 1),
                height 6s cubic-bezier(0.618, 0, 0.382, 1);
    /* Soft painted edges with blur */
    filter: blur(1.5px);
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.2),
        0 0 12px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    will-change: background, top, left, width, height;
}

/* Header - Full Width */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    box-sizing: border-box;
}

.header-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background: transparent !important;
    box-sizing: border-box;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 2rem;
    background: transparent !important;
    flex-wrap: wrap;
}

.nav-link {
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    background: transparent !important;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 600;
}

/* Hero Section - Full Width with Golden Ratio */
.hero {
    min-height: 100vh;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}


.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-logo {
    text-align: center;
    position: relative;
    z-index: 10;
}

.logo-image {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Water animation container should allow interaction */
.hero {
    cursor: pointer;
}

/* Mobile responsiveness for water animation */
@media (max-width: 768px) {
    .logo-image {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-width: 120px;
    }
}


.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.8;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    font-feature-settings: "liga" 1, "kern" 1;
    grid-column: 1 / 2;
    align-self: center;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 0;
    width: 60%;
    height: 8px;
    background: var(--accent-color);
}

.hero-subtitle {
    grid-column: 2 / 3;
    align-self: center;
    padding-left: 4rem;
    position: relative;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ffffff;
}

.subtitle-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-feature-settings: "liga" 1, "kern" 1;
}

.subtitle-label::after {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: var(--accent-color);
    margin-top: 0.5rem;
}

.subtitle-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    font-feature-settings: "liga" 1, "kern" 1;
}

.subtitle-note {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-feature-settings: "liga" 1, "kern" 1;
}

/* Video Section - Full Width with 3-Column Grid */
.video-section {
    padding: 6rem 4rem;
    background: #000000;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 10;
}



.video-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.video-item {
    cursor: pointer;
    /* Fibonacci-based transition timing: 0.618s feels most natural */
    transition: transform 0.618s cubic-bezier(0.618, 0, 0.382, 1);
    position: relative;
    overflow: hidden;
    background: #000000;
    /* Soft painted borders */
    border-radius: 3px;
    filter: contrast(1.02);
}

.video-item:hover {
    /* Simplified hover - removed rotation and filter for performance */
    transform: translateY(-6px) scale(1.02);
    /* Single shadow for performance */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(102, 102, 102, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

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

.video-media-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Faster transition for responsiveness */
    transition: transform 0.4s cubic-bezier(0.618, 0, 0.382, 1);
    display: block;
    background: #000000;
    border-radius: 2px;
    will-change: transform;
}

/* Removed .video-gif styles since we're using GIFs as thumbnails */

.video-media-container:hover .video-thumbnail-container {
    /* Simplified scaling - removed rotation */
    transform: scale(1.03);
}

.video-thumbnail-container:hover .video-thumbnail {
    /* Simple scale only */
    transform: scale(1.03);
}

.video-thumbnail-container:hover {
    transform: scale(1.03);
}

.video-thumbnail-container:hover::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 3;
    pointer-events: none;
}

.video-title {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    margin: 1rem 0 0.5rem 0;
    letter-spacing: 0.02em;
    line-height: 1.3;
    font-feature-settings: "liga" 1, "kern" 1;
    position: relative;
    z-index: 3;
    display: block;
}

.video-description {
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.6;
    transform: translateY(100%);
    /* Faster transition */
    transition: transform 0.4s cubic-bezier(0.618, 0, 0.382, 1);
    z-index: 3;
    font-weight: 400;
    letter-spacing: 0.02em;
    /* Simplified background */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 1rem;
    border-radius: 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* Reduced blur for performance */
    backdrop-filter: blur(8px);
    display: block;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
}

.video-item:hover .video-description {
    /* Simple reveal - removed scale and filter */
    transform: translateY(0);
}

/* Category Sections */
.category-section {
    margin: 4rem 0;
    width: 100%;
}

.category-header {
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem 0;
    position: relative;
}

.category-title {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
    position: relative;
}

.category-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 1rem auto 0 auto;
    max-width: 200px;
}

.category-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .category-section {
        margin: 3rem 0;
    }
    
    .category-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .category-title {
        font-size: 0.7rem;
        margin: 0;
    }
    
    .category-video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .category-section {
        margin: 2rem 0;
    }
    
    .category-header {
        margin-bottom: 1.5rem;
        padding: 0.75rem 0;
    }
    
    .category-title {
        font-size: 0.65rem;
        margin: 0;
    }
    
    .category-video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-section {
        padding: 1.5rem 1rem;
    }
    
    .video-grid {
        max-width: 100%;
        padding: 0;
        gap: 1.5rem;
    }
    
    .video-item {
        max-width: 100%;
        width: 100%;
    }
    
    .portfolio-hero-content {
        padding: 0 1rem;
    }
}

/* CTA Section - Full Width with Gray Accents */
.cta-section {
    padding: 6rem 4rem;
    background: transparent;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 10;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
}


.cta-content {
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cta-text {
}

.cta-subtitle .subtitle-label {
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.2em;
}

.cta-subtitle .subtitle-text {
    color: #ffffff;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.cta-description {
    font-size: 1.125rem;
    color: #cccccc;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.02em;
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
}

.cta-button {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 25%, #667eea 50%, #764ba2 75%, #667eea 100%);
    background-size: 400% 400%;
    animation: iridescent-glow 4s ease infinite;
    color: #ffffff;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-feature-settings: "liga" 1, "kern" 1;
    position: relative;
    overflow: visible;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    animation: iridescent-glow 2s ease infinite;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6), 
                0 0 40px rgba(118, 75, 162, 0.4), 
                0 8px 25px rgba(102, 126, 234, 0.3);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 102, 102, 0.2);
}

/* Sparkle button specific styling */
.sparkle-button {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 25%, #667eea 50%, #764ba2 75%, #667eea 100%);
    background-size: 400% 400%;
    animation: iridescent-glow 4s ease infinite;
    color: #ffffff;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-feature-settings: "liga" 1, "kern" 1;
    position: relative;
    overflow: visible;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.sparkle-button:hover {
    animation: iridescent-glow 2s ease infinite;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6), 
                0 0 40px rgba(118, 75, 162, 0.4), 
                0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Iridescent Glow Animation */
@keyframes iridescent-glow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Footer */
.footer {
    padding: 60px 2rem 40px;
    background: #1a1a1a;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-text {
    margin-bottom: 2rem;
}

.footer-text p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
}

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

.social-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ccc;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 5% auto;
    background: #333;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, background 0.3s ease;
    opacity: 1;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Sync close button with video controls - fade out after delay */
.modal-content .close-button {
    transition: opacity 0.5s ease 2s; /* Fade out after 2 second delay */
}

.modal-content:hover .close-button,
.modal-content:focus-within .close-button {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease; /* Quick fade in */
}

.modal-content:not(:hover):not(:focus-within) .close-button {
    opacity: 0;
    pointer-events: none;
}

#modalVideo {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    border: none;
    outline: none;
    filter: brightness(1.2) contrast(1.1);
    margin: 0 auto;
}

/* Prevent hover effects from affecting the modal video */
.video-modal #modalVideo:hover {
    transform: none !important;
    filter: brightness(1.2) contrast(1.1) !important;
}

.video-modal .video-item:hover {
    transform: none !important;
}

/* Remove default video player borders and styling */
#modalVideo::-webkit-media-controls {
    border: none;
    outline: none;
}

#modalVideo::-webkit-media-controls-panel {
    border: none;
    outline: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1), transparent);
}

#modalVideo::-webkit-media-controls-play-button {
    border: none;
    outline: none;
}

#modalVideo::-webkit-media-controls-timeline {
    border: none;
    outline: none;
}

#modalVideo::-webkit-media-controls-current-time-display,
#modalVideo::-webkit-media-controls-time-remaining-display {
    border: none;
    outline: none;
}

.video-info {
    padding: 2rem;
    background: #000;
}

.video-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ccc;
}

.video-info p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Mobile-First Responsive Design */

/* Tablet and Small Desktop */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 2rem;
        gap: 2rem;
    }
    
    .hero-title {
        grid-column: 1;
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        grid-column: 1;
        padding-left: 0;
    }
    
    .hero-subtitle::before {
        display: none;
    }
    
    .video-section {
        padding: 4rem 2rem;
    }
    
    .cta-section {
        padding: 4rem 2rem;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 3rem 1.5rem 2.5rem 1.5rem;
        padding-top: 100px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .hero-logo {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 2rem;
        margin-top: 2rem;
    }
    
    .hero-title {
        margin-top: 2rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    .logo-image {
        width: 180px;
        height: auto;
        max-width: 100%;
    }
    
    .hero-subtitle {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    .subtitle-label {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .subtitle-text {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        line-height: 1.3;
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .subtitle-note {
        font-size: 0.9rem;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        line-height: 1.4;
    }
    
    .video-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .video-section {
        padding: 2rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .video-item {
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .video-media-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .video-thumbnail {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
    }
    
    .video-title {
        font-size: 1.1rem;
        margin: 0.75rem 0 0.5rem 0;
    }
    
    .video-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .cta-section {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-subtitle .subtitle-text {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding-left: 1.5rem;
    }
    
    .cta-button {
        padding: 1.25rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .about-section {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-section {
        padding: 2.5rem 1.5rem;
    }
    
    .header-content {
        padding: 0.75rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .logo-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .nav {
        gap: 1.25rem;
        justify-content: center;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem auto;
        padding: 1rem;
    }
    
    #modalVideo {
        max-height: 45vh;
        width: 100%;
    }
    
    .close-button {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.5rem;
        width: 2rem;
        height: 2rem;
    }
    
    .video-info {
        padding: 1rem 0;
    }
    
    .video-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .video-info p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
        padding: 2rem 1rem;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .portfolio-hero {
        min-height: 50vh;
        padding: 1.5rem 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .portfolio-hero-content {
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 1.5rem;
    }
    
    .portfolio-logo {
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .portfolio-logo-image {
        width: 120px;
        max-width: 100%;
    }
    
    .portfolio-title {
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
        line-height: 1.3;
    }
    
    .portfolio-subtitle {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .portfolio-note {
        font-size: 0.8rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Index page hero improvements for mobile */
    .hero {
        min-height: 50vh;
        padding: 2.5rem 1rem 2rem 1rem;
        padding-top: 90px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content {
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero-logo {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .hero-title {
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    .logo-image {
        width: 140px;
        height: auto;
        max-width: 100%;
    }
    
    .hero-subtitle {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    .subtitle-label {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
        display: block;
        width: 100%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    
    .subtitle-text {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
        line-height: 1.2;
        margin-bottom: 0.75rem;
        width: 100%;
        text-align: center;
    }
    
    .subtitle-note {
        font-size: 0.8rem;
        margin-top: 0.75rem;
        width: 100%;
        text-align: center;
        line-height: 1.3;
    }
    
    .video-section {
        padding: 1.5rem 0.5rem;
    }
    
    .video-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 0 0.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .video-item {
        border-radius: 6px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .video-media-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .video-thumbnail {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
    }
    
    .video-title {
        font-size: 1rem;
        margin: 0.5rem 0 0.25rem 0;
    }
    
    .video-description {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-subtitle .subtitle-text {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        margin-bottom: 1rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding-left: 1rem;
        border-left-width: 2px;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }
    
    .about-section,
    .contact-section {
        padding: 2rem 1rem;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .nav {
        gap: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .footer {
        padding: 1rem 0.5rem;
    }
    
    .footer-bottom {
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 0.5rem auto;
        padding: 0.75rem;
    }
    
    #modalVideo {
        max-height: 35vh;
        width: 100%;
    }
    
    .close-button {
        top: 0.25rem;
        right: 0.25rem;
        font-size: 1.25rem;
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .video-info {
        padding: 0.75rem 0;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .video-info p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Featured Work Section */
.featured-section {
    padding: 100px 0;
    background: #0f0f0f;
}

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

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

.featured-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin: 20px 0 15px;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.featured-header p {
    font-size: 1.25rem;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.01em;
}

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

.featured-item {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

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

.featured-info {
    padding: 30px;
}

.featured-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.featured-info p {
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.featured-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.featured-link:hover {
    color: #ff6b6b;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #1a1a1a;
}

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

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

.services-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin: 20px 0 15px;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-feature-settings: "liga" 1, "kern" 1;
}

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

.service-item {
    background: #2a2a2a;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    background: #333333;
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.service-item p {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info h2,
.contact-form h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.contact-item p,
.contact-item a {
    color: #e0e0e0;
    text-decoration: none;
    line-height: 1.7;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.contact-item a:hover {
    color: #ff6b6b;
}

.social-links-contact {
    display: flex;
    gap: 20px;
}

.social-links-contact .social-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links-contact .social-link:hover {
    color: #ff6b6b;
}

/* Contact Form */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #333333;
    border-radius: 6px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

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

.submit-button {
    background: #ff6b6b;
    color: #ffffff;
    border: none;
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-feature-settings: "liga" 1, "kern" 1;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: visible;
}

.submit-button:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Contact Form Messages */
.form-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-weight: 500;
}

.form-message-success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message-error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* LinkedIn Contact Styles */
.linkedin-contact {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.linkedin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
    width: 200px;
}

.linkedin-button:hover {
    background: linear-gradient(135deg, #005885 0%, #004065 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.linkedin-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.book-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    width: 200px;
}

.book-call-button:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.calendar-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-note a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-note a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.project-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.project-info h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
}

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

.project-info li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.project-info li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Leadership Section */
.leadership-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

.leadership-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.leadership-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #ffffff;
}

.leadership-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 2rem 0 1rem 0;
    color: #ffffff;
}

.leadership-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.leadership-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.highlight-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.highlight-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Explorations Section */
.explorations-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

.explorations-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.explorations-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.explorations-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.exploration-item {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.exploration-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.exploration-icon {
    font-size: 3rem;
    margin-bottom: 0;
    display: block;
    position: relative;
    z-index: 2;
}

.exploration-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.exploration-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem 0;
}

/* Enhanced visual elements for service cards */
.exploration-visual {
    position: relative;
    margin-bottom: 1.5rem;
}

.exploration-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 1;
    transition: all 0.3s ease;
}

.exploration-item:hover .exploration-gradient {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.1);
}

.ai-gradient {
    background: radial-gradient(circle, #00d4ff, #0066ff);
}

.experience-gradient {
    background: radial-gradient(circle, #ff6b6b, #ff3d71);
}

.interactive-gradient {
    background: radial-gradient(circle, #4ecdc4, #44a08d);
}

.strategy-gradient {
    background: radial-gradient(circle, #feca57, #ff9ff3);
}

.service-connect-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.service-connect-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Services Section - Swiss Design */
.services-section {
    padding: 120px 0;
    background: transparent;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.services-header p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Primary Service */
.primary-service {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    padding: 60px;
    margin-bottom: 60px;
    position: relative;
    transition: all 0.3s ease;
}

.primary-service:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}


.primary-service h3 {
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.primary-service p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0 3rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-benefits li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    padding-left: 1rem;
}

.service-benefits li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
}

.primary-cta {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.primary-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

/* Secondary Service */
.secondary-service {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    padding: 50px 60px;
    transition: all 0.3s ease;
}

.secondary-service:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.secondary-service .service-content {
    text-align: center;
}

.secondary-service h4 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.secondary-service p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.secondary-cta {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.secondary-cta:hover {
    border-bottom-color: #ffffff;
    color: #ffffff;
}

/* Section Separator */
.section-separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-header h2 {
        font-size: 2rem;
    }
    
    .primary-service {
        padding: 40px 30px;
    }
    
    .primary-service h3 {
        font-size: 1.75rem;
    }
    
    .service-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .secondary-service {
        padding: 40px 30px;
    }
    
    .secondary-service h4 {
        font-size: 1.5rem;
    }
}

/* Impact Section */
.impact-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

.impact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.impact-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #ffffff;
}

.impact-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    padding: 1.5rem 0;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 2rem;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
}

.timeline-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.timeline-role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.impact-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.impact-stats .stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.impact-stats .stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.impact-stats .stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Portfolio Hero Styling */
.portfolio-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
    box-sizing: border-box;
}

    .portfolio-logo {
        margin-bottom: 2rem;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }

.portfolio-logo-image {
    width: 200px;
    height: auto;
    filter: brightness(1.1);
    max-width: 100%;
}

.portfolio-subtitle {
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Add horizontal line above subtitle like in homepage */
.portfolio-subtitle .subtitle-label::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -2rem;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.portfolio-subtitle .subtitle-label {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .leadership-grid,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .explorations-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-text h2,
    .explorations-content h2,
    .impact-text h2 {
        font-size: 2rem;
    }
    
    .leadership-highlights,
    .impact-stats {
        margin-top: 2rem;
    }
    
    .portfolio-logo-image {
        width: 150px;
        max-width: 100%;
    }
    
    .portfolio-title {
        font-size: 1.2rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .portfolio-hero {
        min-height: 60vh;
        padding: 2rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .portfolio-hero-content {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .portfolio-subtitle {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .video-section {
        padding: 2rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .video-grid {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        box-sizing: border-box;
    }
    
    .video-item {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .video-media-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .video-thumbnail {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.about-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.about-text p,
.about-text li {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    position: relative;
    padding-left: 20px;
}

.about-text li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #ff6b6b;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.stat-label {
    font-size: 1.125rem;
    color: #e0e0e0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Active Navigation Link */
.nav-link.active {
    color: #ff6b6b;
    font-weight: 600;
}

/* Enhanced Mobile Support for All Sections */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-item {
        margin: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
        min-width: auto;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
} 

/* Hide Rothko background on video pages */
body.video-page .page-background {
    display: none;
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .video-item {
        transform: none;
        transition: transform 0.2s ease;
    }
    
    .video-item:active {
        transform: scale(0.98);
    }
    
    .cta-button:active {
        transform: scale(0.95);
    }
    
    .nav-link:active {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    
    .close-button:active {
        background: rgba(255, 255, 255, 0.2);
    }
    
    /* Improve touch targets */
    .nav-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cta-button {
        min-height: 48px;
        min-width: 120px;
    }
    
    .close-button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Ensure proper viewport handling */
@media screen and (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    * {
        -webkit-tap-highlight-color: transparent;
    }
}
