/* 
   WILDGROWTH LANDING PAGE
   Matching exact visual style from pitch deck slides
   Background: #080618 (dark navy)
   Typography: Clean, professional, generous spacing
*/

/* Password Wall */
.password-wall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #080618;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.password-wall.hidden {
    opacity: 0;
    pointer-events: none;
}

.password-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
}

.password-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.password-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 3rem;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Hanken Grotesk', sans-serif;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    outline: none;
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.password-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.15);
}

.password-button {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #080618;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Hanken Grotesk', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.password-button:hover {
    background-color: #ffffff;
    transform: translateY(-1px);
}

.password-button:active {
    transform: translateY(0);
}

.password-error {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 1rem;
    font-family: 'Hanken Grotesk', sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.password-error.show {
    opacity: 1;
    visibility: visible;
}

.password-footer {
    margin-top: 3rem;
    text-align: center;
}

.password-footer-line {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-family: 'Hanken Grotesk', sans-serif;
    line-height: 1.6;
}

/* Responsive Password Wall */
@media (max-width: 480px) {
    .password-container {
        padding: 1rem;
    }

    .password-content {
        padding: 2rem 1.5rem;
    }

    .password-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 2rem;
    }

    .password-footer {
        margin-top: 2rem;
    }

    .password-footer-line {
        font-size: 0.75rem;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-color: #080618;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease-out;
    overflow: hidden;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-screen.fade-out .loading-icon {
    transform: scale(0.6);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.loading-content {
    text-align: left;
}

.loading-icon {
    width: 80px;
    height: 80px;
    position: relative;
    animation: revealIcon 1.5s ease-in-out forwards;
}

.loading-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #080618;
    animation: slideReveal 1.5s ease-in-out forwards;
}

@keyframes revealIcon {
    0% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
    }
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Hanken Grotesk', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background-color: #080618;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile Overlay Menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(8, 6, 24, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10vw;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.mobile-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-overlay-content {
    width: 100%;
    max-width: 400px;
}

.mobile-nav-item {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2vh;
    padding: 1vh 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease-out forwards;
}

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

.mobile-nav-item:hover {
    border-bottom-color: #ffffff;
    transform: translateX(10px);
}

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

.mobile-close-btn {
    position: absolute;
    top: 4vh;
    right: 10vw;
    background: none;
    border: none;
    color: #ffffff;
    font-size: clamp(2rem, 6vw, 3rem);
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

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

/* Mobile Overlay Responsive Styles */
@media (min-width: 769px) {
    .mobile-overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-overlay {
        padding: 0 8vw;
    }

    .mobile-nav-item {
        font-size: clamp(2rem, 7vw, 3.5rem);
        margin-bottom: 3vh;
    }

    .mobile-close-btn {
        top: 3vh;
        right: 8vw;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .mobile-overlay {
        padding: 0 6vw;
    }

    .mobile-nav-item {
        font-size: clamp(1.8rem, 6vw, 3rem);
        margin-bottom: 2.5vh;
    }

    .mobile-close-btn {
        top: 2vh;
        right: 6vw;
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(8, 6, 24, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0;
}

.logo-section {
    display: flex;
    align-items: center;
}

.header-icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.header-icon:hover {
    opacity: 0.8;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.4rem;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

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

.nav-link:focus {
    outline: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
}

#heroWaveCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    animation: fadeInWaves 2s ease-out forwards;
}

@keyframes fadeInWaves {
    to {
        opacity: 1;
    }
}

.hero-content {
    text-align: left;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 100px);
    z-index: 2;
}

.hero-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    width: clamp(600px, 95vw, 1200px);
    height: auto;
    max-width: 95%;
}

/* Mobile logo alignment fix */
@media (max-width: 768px) {
    .main-logo {
        width: 85vw;
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }
    
    .hero-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

.hero-accent-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    margin: 0 auto 3rem;
    opacity: 0.8;
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

.hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.hero-accent-line-bottom {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    margin: 0 auto;
    opacity: 0.8;
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% { opacity: 0.6; transform: scaleX(1); }
    100% { opacity: 0.9; transform: scaleX(1.1); }
}

/* Intro Section */
.intro-section {
    padding: 15rem 0 20rem;
    background: #080618;
}

.intro-content {
    text-align: left;
    max-width: 95%;
    margin: 0 auto;
}

.intro-title {
    font-size: clamp(2.2rem, 4.7vw, 3.7rem);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.intro-title strong {
    font-weight: 900;
}

/* Section Styles */
.section {
    padding: 8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section.no-border {
    border-bottom: none;
}

.section.extra-spacing {
    padding: 10rem 0;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    text-align: left;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.section-title.left-aligned {
    text-align: left;
    margin-bottom: -1rem;
}

.section-subtitle {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    margin-bottom: 2rem;
    margin-top: 0;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

/* What We Do Content */
.what-we-do-section {
    max-width: 95%;
    margin: 0 auto;
    margin-bottom: 8rem;
}

.what-we-do-section .section-title {
    margin-bottom: 2rem;
}

.what-we-do-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.what-we-do-image {
    flex: 0 0 350px;
    height: 350px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    overflow: visible;
}

#morphing-cubes-container {
    width: 350px;
    height: 350px;
    position: relative;
}

#morphing-cubes-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.geometric-animation {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.what-we-do-image:not(:hover) .geometric-animation {
    opacity: 0.2;
}

.what-we-do-image:hover .geometric-animation {
    opacity: 0.8;
}

/* Black & White Minimalist Rubik's Cube Animation */
.isometric-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(-20deg) rotateY(25deg);
    width: 300px;
    height: 300px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.iso-cube {
    position: absolute;
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual Cube Faces - Background colored with white borders */
.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: #080618;
    opacity: 1;
    transition: all 0.8s ease;
}

.cube-front { 
    transform: rotateY(0deg) translateZ(30px); 
}
.cube-back { 
    transform: rotateY(180deg) translateZ(30px); 
}
.cube-right { 
    transform: rotateY(90deg) translateZ(30px); 
}
.cube-left { 
    transform: rotateY(-90deg) translateZ(30px); 
}
.cube-top { 
    transform: rotateX(90deg) translateZ(30px); 
}
.cube-bottom { 
    transform: rotateX(-90deg) translateZ(30px); 
}

.front { transform: rotateY(0deg) translateZ(20px); }
.back { transform: rotateY(180deg) translateZ(20px); }
.right { transform: rotateY(90deg) translateZ(20px); }
.left { transform: rotateY(-90deg) translateZ(20px); }
.top { transform: rotateX(90deg) translateZ(20px); }
.bottom { transform: rotateX(-90deg) translateZ(20px); }

/* Cube Positions - Building from bottom to top */
/* Back Row */
.cube-1-1 {
    left: 50px;
    bottom: 50px;
    transform: translateZ(-100px);
}

.cube-1-2 {
    left: 120px;
    bottom: 50px;
    transform: translateZ(-100px);
}

.cube-1-3 {
    left: 190px;
    bottom: 50px;
    transform: translateZ(-100px);
}

.cube-1-4 {
    left: 260px;
    bottom: 50px;
    transform: translateZ(-100px);
}

/* Middle Row */
.cube-2-1 {
    left: 80px;
    bottom: 100px;
    transform: translateZ(-50px);
}

.cube-2-2 {
    left: 150px;
    bottom: 100px;
    transform: translateZ(-50px);
}

.cube-2-3 {
    left: 220px;
    bottom: 100px;
    transform: translateZ(-50px);
}

/* Front Row */
.cube-3-1 {
    left: 110px;
    bottom: 150px;
    transform: translateZ(0px);
}

.cube-3-2 {
    left: 180px;
    bottom: 150px;
    transform: translateZ(0px);
}

/* Top Level */
.cube-4-1 {
    left: 130px;
    bottom: 200px;
    transform: translateZ(50px);
}

.cube-4-2 {
    left: 160px;
    bottom: 200px;
    transform: translateZ(50px);
}

/* Line drawing animation for each cube face */
.cube-line {
    position: absolute;
    background: #ffffff;
    opacity: 0;
    transform-origin: left center;
}

.line-top { width: 40px; height: 2px; top: 0; left: 0; }
.line-right { width: 2px; height: 40px; top: 0; right: 0; }
.line-bottom { width: 40px; height: 2px; bottom: 0; left: 0; }
.line-left { width: 2px; height: 40px; top: 0; left: 0; }

/* Hover Animations */
/* Rubik's Cube Face Structure - Following real cube mechanics */
.cube-face-group {
    position: absolute;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50% 50%;
}

/* Face rotations - Only faces rotate, not arbitrary layers */
.front-face { 
    animation: frontFaceRotate 12s ease-in-out infinite;
}
.right-face {
    animation: rightFaceRotate 15s ease-in-out infinite 4s;
}
.up-face {
    animation: upFaceRotate 18s ease-in-out infinite 8s;
}

/* Individual cube positions - Properly centered in 300px container */
/* Calculation: Container 300px, 3 cubes × 60px = 180px total */
/* Center point: 150px, so start at 150px - 90px = 60px */
/* Back Layer (z=-60px) */
.cube-0-0-0 { left: 60px; top: 60px; transform: translateZ(-60px); }
.cube-0-1-0 { left: 120px; top: 60px; transform: translateZ(-60px); }
.cube-0-2-0 { left: 180px; top: 60px; transform: translateZ(-60px); }
.cube-1-0-0 { left: 60px; top: 120px; transform: translateZ(-60px); }
.cube-1-1-0 { left: 120px; top: 120px; transform: translateZ(-60px); }
.cube-1-2-0 { left: 180px; top: 120px; transform: translateZ(-60px); }
.cube-2-0-0 { left: 60px; top: 180px; transform: translateZ(-60px); }
.cube-2-1-0 { left: 120px; top: 180px; transform: translateZ(-60px); }
.cube-2-2-0 { left: 180px; top: 180px; transform: translateZ(-60px); }

/* Middle Layer (z=0px) */
.cube-0-0-1 { left: 60px; top: 60px; transform: translateZ(0px); }
.cube-0-1-1 { left: 120px; top: 60px; transform: translateZ(0px); }
.cube-0-2-1 { left: 180px; top: 60px; transform: translateZ(0px); }
.cube-1-0-1 { left: 60px; top: 120px; transform: translateZ(0px); }
.cube-1-1-1 { left: 120px; top: 120px; transform: translateZ(0px); } /* TRUE CENTER */
.cube-1-2-1 { left: 180px; top: 120px; transform: translateZ(0px); }
.cube-2-0-1 { left: 60px; top: 180px; transform: translateZ(0px); }
.cube-2-1-1 { left: 120px; top: 180px; transform: translateZ(0px); }
.cube-2-2-1 { left: 180px; top: 180px; transform: translateZ(0px); }

/* Front Layer (z=60px) */
.cube-0-0-2 { left: 60px; top: 60px; transform: translateZ(60px); }
.cube-0-1-2 { left: 120px; top: 60px; transform: translateZ(60px); }
.cube-0-2-2 { left: 180px; top: 60px; transform: translateZ(60px); }
.cube-1-0-2 { left: 60px; top: 120px; transform: translateZ(60px); }
.cube-1-1-2 { left: 120px; top: 120px; transform: translateZ(60px); }
.cube-1-2-2 { left: 180px; top: 120px; transform: translateZ(60px); }
.cube-2-0-2 { left: 60px; top: 180px; transform: translateZ(60px); }
.cube-2-1-2 { left: 120px; top: 180px; transform: translateZ(60px); }
.cube-2-2-2 { left: 180px; top: 180px; transform: translateZ(60px); }

/* Removed complex face rotations - using gentle animations instead */

/* Simple gentle movement - no conflicting transforms */
/* Subtle rotation animation for visual interest without breaking positioning */
/* Proper Rubik's cube rotations - layers rotate around cube's central axes */
/* Back layer (Z-plane) rotates around global Z-axis through cube center */
@keyframes backLayerRotate {
    0%, 20% { transform: translateZ(-60px) rotateZ(0deg); }
    25%, 45% { transform: translateZ(-60px) rotateZ(90deg); }
    50%, 100% { transform: translateZ(-60px) rotateZ(0deg); }
}

/* Top layer (Y=60px plane) rotates around global Y-axis */
@keyframes topLayerRotate {
    0%, 33% { transform: rotateY(0deg); }
    38%, 58% { transform: rotateY(90deg); }
    63%, 100% { transform: rotateY(0deg); }
}

/* Front layer (X-plane) rotates around global X-axis through cube center */
@keyframes frontLayerRotate {
    0%, 66% { transform: translateZ(60px) rotateX(0deg); }
    71%, 91% { transform: translateZ(60px) rotateX(90deg); }
    96%, 100% { transform: translateZ(60px) rotateX(0deg); }
}

/* Proper Rubik's cube layer rotations - only one layer moves at a time */
/* Each layer rotates in its own plane around the cube's central axis */

/* Back layer (Z=-60px) rotates around Z-axis - stays in Z plane */
.cube-0-0-0, .cube-0-1-0, .cube-0-2-0,
.cube-1-0-0, .cube-1-1-0, .cube-1-2-0,
.cube-2-0-0, .cube-2-1-0, .cube-2-2-0 {
    animation: backLayerRotate 18s ease-in-out infinite;
    transform-origin: 60px 60px 0px; /* Relative to each cube's position */
}

/* Top row (Y=60px) rotates around Y-axis - stays in Y plane */
.cube-0-0-0, .cube-0-0-1, .cube-0-0-2 {
    animation: topLayerRotate 20s ease-in-out infinite 6s;
    transform-origin: 0px 60px 0px; /* Y-axis through cube center */
}

/* Front layer (Z=60px) rotates around X-axis - stays in X plane */
.cube-0-0-2, .cube-0-1-2, .cube-0-2-2,
.cube-1-0-2, .cube-1-1-2, .cube-1-2-2,
.cube-2-0-2, .cube-2-1-2, .cube-2-2-2 {
    animation: frontLayerRotate 22s ease-in-out infinite 12s;
    transform-origin: 60px 60px 0px; /* X-axis through cube center */
}

/* Only the true center cube stays completely fixed */
.cube-1-1-1 {
    animation: none !important;
}

/* Keep center cube completely static */
.cube-1-1-1 {
    animation: none !important;
}

/* Line Drawing Animations */
.what-we-do-image:hover .cube-line {
    animation: drawLine 0.3s ease-out forwards;
}

.cube-1-1 .line-top { animation-delay: 0.1s; }
.cube-1-1 .line-right { animation-delay: 0.15s; }
.cube-1-1 .line-bottom { animation-delay: 0.2s; }
.cube-1-1 .line-left { animation-delay: 0.25s; }

.cube-1-2 .line-top { animation-delay: 0.3s; }
.cube-1-2 .line-right { animation-delay: 0.35s; }
.cube-1-2 .line-bottom { animation-delay: 0.4s; }
.cube-1-2 .line-left { animation-delay: 0.45s; }

.cube-1-3 .line-top { animation-delay: 0.5s; }
.cube-1-3 .line-right { animation-delay: 0.55s; }
.cube-1-3 .line-bottom { animation-delay: 0.6s; }
.cube-1-3 .line-left { animation-delay: 0.65s; }

.cube-2-1 .line-top { animation-delay: 0.7s; }
.cube-2-1 .line-right { animation-delay: 0.75s; }
.cube-2-1 .line-bottom { animation-delay: 0.8s; }
.cube-2-1 .line-left { animation-delay: 0.85s; }

.cube-2-2 .line-top { animation-delay: 0.9s; }
.cube-2-2 .line-right { animation-delay: 0.95s; }
.cube-2-2 .line-bottom { animation-delay: 1s; }
.cube-2-2 .line-left { animation-delay: 1.05s; }

.cube-3-1 .line-top { animation-delay: 1.1s; }
.cube-3-1 .line-right { animation-delay: 1.15s; }
.cube-3-1 .line-bottom { animation-delay: 1.2s; }
.cube-3-1 .line-left { animation-delay: 1.25s; }

@keyframes cubeAssemble {
    0% {
        opacity: 0;
        transform: rotateX(-15deg) rotateY(45deg) translateY(80px) scale(0.3);
    }
    50% {
        opacity: 0.8;
        transform: rotateX(-15deg) rotateY(45deg) translateY(-10px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: rotateX(-15deg) rotateY(45deg) translateY(0px) scale(1);
    }
}

@keyframes cubeFloat {
    0%, 100% {
        transform: rotateX(-15deg) rotateY(45deg) translateY(0px) scale(1);
    }
    50% {
        transform: rotateX(-15deg) rotateY(45deg) translateY(-8px) scale(1.02);
    }
}

@keyframes wireframeGlow {
    0% {
        opacity: 0;
        border-color: rgba(255, 255, 255, 0);
        box-shadow: none;
    }
    50% {
        opacity: 0.9;
        border-color: rgba(255, 255, 255, 0.9);
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 0.4),
            inset 0 0 15px rgba(255, 255, 255, 0.1);
    }
    100% {
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.7);
        box-shadow: 
            0 0 8px rgba(255, 255, 255, 0.2),
            inset 0 0 8px rgba(255, 255, 255, 0.05);
    }
}

@keyframes drawLine {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Static State - Minimal Visibility */

.what-we-do-text-container {
    flex: 1;
    text-align: left;
}

.what-we-do-text {
    font-size: clamp(1.5rem, 2.8vw, 2.6rem);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 3.5s ease-out, transform 3.5s ease-out;
}

.what-we-do-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.what-we-do-text strong {
    font-weight: 700;
}

/* Cases Grid Styles */
.carousel-section {
    border-bottom: none;
    padding: 6rem 0 4rem;
    margin-top: 4rem;
}

.carousel-section .section-title {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
}

#about .section-title {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 95%;
    margin: 0 auto;
}

.case-study-card {
    border: none;
    padding: 2rem;
    padding-right: 0.5rem;
    background: transparent;
    transition: all 0.3s ease;
}

/* Align first column with section title */
.case-study-card:nth-child(odd) {
    padding-left: 0;
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-study-card:hover .case-study-title {
    color: #ffffff;
}

.case-study-card:hover .case-study-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.case-study-card:hover .case-study-description {
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Cases Grid */
@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-card {
        padding: 1.5rem;
    }
}

.carousel-container {
    max-width: 95%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.carousel-content {
    flex: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    width: 33.333%;
    flex-shrink: 0;
    padding: 3rem;
    margin-right: 1rem;
    box-sizing: border-box;
}

.carousel-slide:last-child {
    margin-right: 0;
}

.case-study-title {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: left;
}

.case-study-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
}

.case-study-title + .case-study-subtitle {
    margin-top: -0.5rem;
}

.case-study-description {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: left;
}

.carousel-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    position: relative;
    flex-shrink: 0;
}

.carousel-btn:hover {
    opacity: 0.8;
}

.carousel-btn.prev::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.carousel-btn.next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-135deg);
    width: 10px;
    height: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.8);
}

/* Services Detail */
.services-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-item {
    text-align: left;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.service-detail-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-detail-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-weight: 300;
}

/* Services Section Title Alignment */
#services .section-title {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* Interactive Services */
.interactive-services {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    margin-top: 1rem;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

/* Services Categories (Left Side) */
.services-categories {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-category {
    padding: 2rem 0;
    border-bottom: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
    z-index: 10;
}

.service-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 6rem);
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-category:last-child::after {
    display: none;
}

.service-category h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.service-category:hover h3,
.service-category.active h3 {
    color: #ffffff;
    transform: translateX(10px);
}

/* Animated line system */
.service-category {
    position: relative;
}

/* Horizontal extension line from active category */
.service-category::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: calc(100% - 0.85cm);
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease-out;
    z-index: 2;
}

.service-category.active::before {
    transform: scaleX(1);
    background: rgba(255, 255, 255, 1);
}

/* Services Display (Right Side) */
.services-display {
    position: relative;
    min-height: 600px;
    padding-left: 0;
    margin-left: -2rem;
}

.services-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4rem;
    width: 1px;
    height: calc(100% + 3cm);
    background: rgba(255, 255, 255, 1);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.5s ease-out 0.3s;
    z-index: 1;
}

.services-display.show-line::before {
    transform: scaleY(1);
}

.services-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.services-group.active {
    opacity: 1;
    visibility: visible;
}

.service-box {
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-radius: 4px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateX(-30px);
    position: relative;
    overflow: hidden;
}

.services-group.active .service-box {
    opacity: 1;
    transform: translateX(0);
}

.services-group.active .service-box[data-delay="0"] {
    transition-delay: 300ms;
}

.services-group.active .service-box[data-delay="100"] {
    transition-delay: 400ms;
}

.services-group.active .service-box[data-delay="200"] {
    transition-delay: 500ms;
}

.services-group.active .service-box:hover {
    transform: translateX(0) translateY(-5px);
}

.service-box h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    font-size: 1.6rem;
}

/* Recommendation Badge */
.service-box.recommended {
    /* No special border styling needed */
}

.recommendation-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-right: none;
}

.service-box.recommended:hover .recommendation-badge {
    background: rgba(255, 255, 255, 0.15);
}

/* Team Section - Photo Grid */
.team-photos {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 0;
    margin: 1rem auto 0 auto;
    max-width: 95%;
}

.team-member {
    text-align: center;
    flex: 1;
    max-width: 400px;
}

/* Team Card Flip Animation */
.team-card-container {
    perspective: 1000px;
    width: 100%;
    height: 380px;
}

.team-card {
    position: relative;
    width: 100%;
    height: 380px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.team-member:hover .team-card {
    transform: rotateY(180deg);
}

.team-card.flipped {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 380px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.team-card-front {
    z-index: 2;
}

.team-card-back {
    transform: rotateY(180deg);
    background-color: #080618;
    border: 2px solid #ffffff;
    border-radius: 0;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.member-bio {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    text-align: left;
    margin: 0;
}

.member-bio.coming-soon {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
}

.linkedin-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.linkedin-icon:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.linkedin-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* LinkedIn icon overlay for mobile */
.linkedin-icon-mobile {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
    background: transparent;
    border: none;
    padding: 0;
}

.linkedin-icon-mobile:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.linkedin-icon-mobile svg {
    display: block;
    width: 100%;
    height: 100%;
}

.linkedin-icon-mobile svg path {
    fill: #080618;
}

.team-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.team-link:hover {
    transform: translateY(-5px);
}

.team-link:focus {
    outline: none;
}

.team-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
    border-radius: 8px;
}

.team-photo {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    margin: 0 auto 1.5rem auto;
    border-radius: 0;
    overflow: hidden;
}

.team-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    outline: none;
    border: none;
}

.team-photo img:focus {
    outline: none;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
    font-family: 'Hanken Grotesk', sans-serif;
}

.member-role {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.team-column {
    text-align: left;
}

.team-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.team-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    line-height: 1.6;
    transition: background 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    text-align: left;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }

    .team-photos {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 5rem;
        padding: 0 1rem;
        overflow: visible !important;
        margin: 0 auto !important;
    }

    .team-section-in-about {
        padding-top: 0 !important;
    }

    .team-member {
        width: 100%;
        max-width: 100%;
    }

    .team-card-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .team-photo {
        max-width: 100%;
    }

    .team-photo img {
        height: auto;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .member-role {
        font-size: 1.1rem;
    }

    /* Show LinkedIn icon on mobile */
    .linkedin-icon-mobile {
        display: block;
    }

    /* Disable hover on mobile - use click/tap instead */
    .team-member:hover .team-card {
        transform: none;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-link {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .services-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail-item {
        padding: 1.5rem;
    }
    
    /* Interactive Services Mobile */
    .interactive-services {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-categories {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        position: relative;
        padding: 0;
    }

    .service-category {
        padding: 0.5rem 0;
        position: relative;
    }

    .service-category:first-child {
        text-align: left;
        margin-right: 1.5rem;
        margin-left: 0;
    }

    .service-category:nth-child(2) {
        text-align: left;
        margin-right: 1.5rem;
    }

    .service-category:last-child {
        text-align: left;
        margin-left: 0;
    }

    .service-category:not(:last-child)::after {
        content: "|";
        position: absolute;
        right: -1.25rem;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.4);
        font-weight: 300;
    }
    
    .service-category h3 {
        margin: 0;
        padding: 0;
        font-size: 0.75rem;
        font-weight: 400;
        white-space: nowrap;
        display: inline;
    }

    /* Show "Execution" instead of "Execution Programs" on mobile */
    .service-category:nth-child(2) h3 {
        font-size: 0;
    }

    .service-category:nth-child(2) h3::before {
        content: "Execution";
        font-size: 1.5rem;
    }
    
    .services-display {
        min-height: auto;
        position: relative;
        padding-bottom: 2rem;
    }

    .services-group {
        position: absolute !important;
        min-height: 0 !important;
    }
    
    .service-category h3 {
        font-size: 1.35rem;
    }
    
    .service-box {
        padding: 1rem;
        margin-bottom: 0.5rem;
        margin-left: 1rem;
        text-align: left;
    }
    
    .services-group {
        padding-left: 0;
        margin-left: 0;
    }
    
    .service-box:last-child {
        margin-bottom: 0;
    }
    
    .service-box p {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .service-category.active::after {
        display: none;
    }

    /* Mobile: Make underline match text width */
    .service-category::before {
        width: 100%;
        left: 0;
        right: 0;
    }

    .service-item.recommended {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .badge {
        display: inline-block;
        margin: 0;
        text-align: left;
        font-size: 0.7rem;
        padding: 0.4rem 0.9rem;
    }
    
    /* Statement section - disable animations on mobile */
    .what-we-do-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Hide the entire animation container on mobile */
    .what-we-do-image {
        display: none;
    }
    
    .what-we-do-text-container {
        flex: 1;
        width: 100%;
    }
    
    .what-we-do-section .section-title {
        margin-bottom: 1.5rem;
        font-size: clamp(1.6rem, 4vw, 2.3rem) !important;
    }

    .what-we-do-text {
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: 0;
        color: rgba(255, 255, 255, 0.8);
        margin: 0 0 4rem 0;
        text-shadow: none;
    }
    
    /* Push Cases section further down on mobile */
    .carousel-section {
        padding: 35rem 0 4rem;
        margin-top: 18rem;
    }
    
    /* Cases section mobile styling */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-study-card {
        padding-left: 0;
        padding-right: 0;
    }

    .case-study-card:nth-child(odd) {
        padding-left: 0;
    }

    .case-study-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .case-study-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .case-study-description {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    /* Section title on mobile */
    .section-title {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }

    /* Intro title alignment on mobile */
    .intro-title {
        text-align: left;
        font-size: clamp(0.7rem, 1.8vw, 1.2rem);
    }

    /* Footer mobile styling */
    .footer-left,
    .footer-center,
    .footer-right {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-title,
    .team-title {
        font-size: 1.3rem;
    }
    
    .contact-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav.active {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(8, 6, 24, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav.active .nav-link {
        display: block;
        text-align: left;
        padding: 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav.active .nav-link:last-child {
        border-bottom: none;
    }
}

/* Smooth animations */
.service-item,
.highlight-item,
.service-detail-item {
    transition: all 0.3s ease;
}

/* Subtle hover effects */
.service-item:hover,
.service-detail-item:hover {
    transform: translateY(-2px);
}

/* Focus states for accessibility */
.contact-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: #080618;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-left {
    text-align: left;
}

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

.footer-right {
    text-align: right;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* Desktop Footer - Single Line */
.footer-line {
    display: none;
}

.footer-desktop-single {
    display: block;
}

/* Mobile Footer Layout */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        flex: none;
        margin-bottom: 0.5rem;
    }

    .footer-desktop-single {
        display: block;
    }

    .footer-line {
        display: block;
        margin-bottom: 0;
    }

    .footer-left .footer-line {
        display: none;
    }

    .footer-right {
        margin-bottom: 0;
    }
}

/* About Us Page */
.about-us-page {
    min-height: calc(100vh - 200px);
    padding: 10rem 0 3rem;
    background: #080618;
}

.team-section-in-about {
    padding-top: 1rem !important;
    padding-bottom: 8rem;
}

.team-section-in-about .team-photos {
    margin-top: 0;
}

.about-us-content {
    max-width: 95%;
    margin: 0 auto;
    text-align: left;
}

.about-us-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
}

.about-us-text {
    max-width: 100%;
}

.about-us-text p {
    font-size: clamp(1.3rem, 2.3vw, 1.6rem);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.about-us-text p:last-child {
    margin-bottom: 0;
}

/* About Us Page - Mobile */
@media (max-width: 768px) {
    .about-us-page {
        padding: 12rem 0 8rem;
    }

    .about-us-title {
        margin-bottom: 3rem;
    }

    .about-us-text p {
        margin-bottom: 1.5rem;
        font-size: clamp(1.3rem, 2.3vw, 1.7rem);
    }

    .about-us-text p:last-child {
        margin-bottom: 0.5rem;
    }
}

/* Services Page */
.services-page {
    min-height: calc(100vh - 200px);
    padding: 10rem 0 10rem;
}

/* Services Page - Mobile */
@media (max-width: 768px) {
    .services-page {
        padding: 12rem 0 0;
        min-height: 0 !important;
    }
}

/* Clients Page */
.clients-page {
    min-height: calc(100vh - 200px);
    padding: 10rem 0 10rem !important;
    margin-top: 0 !important;
}

/* Clients Page - Mobile */
@media (max-width: 768px) {
    .clients-page {
        padding: 12rem 0 8rem;
    }
}