/* assets/css/style.css - Ultra-Minimalist Scandinavian Architecture Theme */
:root {
    /* Minimalist Palette */
    --primary-color: #111111;      /* Stark Black */
    --primary-dark: #000000;       /* Deep Black */
    --accent-color: #d4b895;       /* Warm Beige / Sand */
    
    --light-bg: #ffffff;           /* Pure White */
    --alt-bg: #fafafa;             /* Very Subtle Off-White */
    --white: #ffffff;
    --dark-bg: #111111;            /* Stark Black Sections */
    
    --text-main: #333333;          /* Dark Gray */
    --text-light: #ffffff;         /* White text */
    --text-muted: #888888;         /* Minimal Gray */
    --border-color: #eaeaea;       /* Delicate Border */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.text-white { color: var(--white) !important; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header - Delicate & Invisible */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-header.scrolled {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.glass-header.scrolled .nav-list a {
    color: var(--primary-color);
}

.glass-header.scrolled .logo {
    color: var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.logo i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.logo-accent {
    font-weight: 600;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-list a {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 10px 0;
    color: var(--white);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons - Sharp, Thin, Elegant */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 45px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    border-radius: 0;
    background: transparent;
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-accent {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

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

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); /* Very clean architectural white house */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    animation: slowZoom 20s ease-in-out alternate infinite;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
    color: var(--white);
}

.hero-subtitle {
    color: var(--accent-color);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 30px;
    display: inline-block;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 10px;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 300;
    margin-bottom: 35px;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.04em;
}

.hero-title .typing-text {
    font-weight: 400;
    color: var(--accent-color);
    border-right: 1px solid var(--accent-color);
    animation: blink 0.8s infinite;
}

.hero-text {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    margin-bottom: 50px;
    max-width: 600px;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    gap: 30px;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* Animations */
@keyframes blink { 50% { border-color: transparent; } }

.animate-on-scroll { opacity: 0; will-change: transform, opacity; }

.slide-up {
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-up.is-visible { opacity: 1; transform: translateY(0); }

.slide-left {
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-left.is-visible { opacity: 1; transform: translateX(0); }

.slide-right {
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-right.is-visible { opacity: 1; transform: translateX(0); }

.scale-in {
    transform: scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.scale-in.is-visible { opacity: 1; transform: scale(1); }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Sections Global */
.section {
    padding: 100px 0 60px 0;
    position: relative;
    background-color: var(--light-bg);
}

.section-alt {
    background-color: var(--alt-bg);
}

.section-header {
    text-align: left;
    margin-bottom: 80px;
    max-width: 800px;
}

.section-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--primary-color);
    letter-spacing: -0.03em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    filter: grayscale(20%);
    transition: filter 1s ease;
}

.about-img:hover {
    filter: grayscale(0%);
}

/* Statistics Counters */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: transparent;
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.stat-number span {
    color: var(--accent-color);
    font-size: 3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Services Grid (Redesigned Minimalist Horizontal) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--border-color);
}

.service-card {
    display: grid;
    grid-template-columns: 100px 1fr 2fr 80px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    transition: var(--transition-slow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--alt-bg);
    z-index: 0;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before {
    width: 100%;
}

.service-card-inner {
    display: contents; /* Inherits the parent grid */
}

.service-icon, .service-card h3, .service-card p, .service-link {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center;
}

.service-card h3 {
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
    padding: 0 40px;
}

.service-link {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Process Timeline (Sleek Horizontal Minimalist) */
/* Sticky Process Timeline */
.process-sticky-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    margin-top: 60px;
}

.process-sticky-col {
    position: sticky;
    top: 120px;
    height: calc(100vh - 160px);
    max-height: 700px;
}

.process-sticky-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.process-sticky-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-slow);
}

.process-sticky-wrapper:hover .process-sticky-img {
    filter: grayscale(0%);
}

.process-steps-col {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-bottom: 20vh; /* gives scrolling room at the bottom */
}

.process-card {
    background: var(--white);
    padding: 60px;
    border: 1px solid var(--border-color);
    position: relative;
    border-left: 4px solid var(--border-color);
    transition: var(--transition-fast);
}

.process-card:hover {
    border-left-color: var(--primary-color);
}

.process-card-num {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.process-card-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.process-card-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Cinematic Building Construction Animation */
#cinematic-building-section {
    background-color: #f0f4f8; /* Soft blueprint-style light blue-gray */
}
.building-concept-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.building-animation-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: transparent;
    transition: background 1.5s ease, opacity 0.5s ease;
    border-radius: 12px;
    overflow: hidden;
}
.building-animation-container.is-visible {
    opacity: 1;
}

/* Phase 1: Blueprint Mode */
.building-animation-container.blueprint-mode {
    background: #0b284e; /* Blueprint Blue */
}

/* Cinematic Construction Scene */
.cinematic-scene-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.cinematic-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Cinematic Crane */
.cinema-crane {
    position: absolute;
    bottom: 20px;
    right: 30px;
    height: 320px;
    width: 250px;
    transform-origin: bottom right;
}

.cinema-crane-mast {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 12px;
    height: 100%;
    border-left: 2px dashed var(--white);
    border-right: 2px dashed var(--white);
    opacity: 0;
}

.cinema-crane-jib {
    position: absolute;
    top: 20px;
    right: 15px;
    width: 220px;
    height: 12px;
    border-top: 2px dashed var(--white);
    border-bottom: 2px dashed var(--white);
    transform-origin: right center;
    transform: rotate(0deg);
    opacity: 0;
}

.cinema-crane-trolley {
    position: absolute;
    top: 12px;
    left: 20px;
    width: 16px;
    height: 8px;
    background: var(--accent-color); /* Sand accent for realism */
}

.cinema-crane-cable {
    position: absolute;
    top: 8px;
    left: 7px;
    width: 2px;
    height: 40px;
    background: var(--white);
    transform-origin: top center;
}

.cinema-crane-hook {
    position: absolute;
    top: 48px;
    left: 2px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--white);
    border-top: none;
    border-radius: 0 0 6px 6px;
}

.cinema-girder {
    position: absolute;
    top: 12px;
    left: -44px;
    width: 100px;
    height: 10px;
    background: #a9a9a9; /* Steel color */
    opacity: 1;
}

/* Building Skeleton */
.cinema-skeleton {
    position: absolute;
    bottom: 20px;
    left: 30%;
    width: 140px;
    height: 240px;
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
}

.cinema-floor {
    position: relative;
    width: 100%;
    height: 80px;
    opacity: 0;
}

.cinema-beam {
    background: #a9a9a9; /* Steel */
    position: absolute;
}
.cinema-beam.vertical {
    width: 6px;
    height: 100%;
    bottom: 0;
}
.cinema-beam.horizontal {
    width: 100%;
    height: 8px;
    top: 0;
    left: 0;
}
.v1 { left: 0; }
.v2 { left: 50%; transform: translateX(-50%); }
.v3 { right: 0; }

/* Welding Sparks */
.cinema-spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffaa00;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px 4px #ffaa00;
}
.s1 { top: 0; left: 0; }
.s2 { top: 0; right: 0; }

/* Glass Panels */
.cinema-glass-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(135, 206, 235, 0.7);
    border: 1px solid rgba(255,255,255,0.5);
    opacity: 0;
    transform: translateY(-50px);
}
.g1 { bottom: 0; }
.g2 { bottom: 80px; }
.g3 { bottom: 160px; }

/* Phase 2: Reality Mode */
.cinematic-scene-wrapper.reality-mode {
    background: transparent;
}
.cinematic-scene-wrapper.reality-mode .cinema-crane {
    opacity: 0;
    transition: opacity 1s ease;
}
.cinematic-scene-wrapper.reality-mode .cinema-reality-finish {
    opacity: 1;
    transition: opacity 1.5s ease;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

/* ==========================================================================
   Inner Page Styles
   ========================================================================== */
.inner-page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding-top: 80px; /* Offset for header */
}

/* ==========================================================================
   About Page - Ultra-Minimalist Styles
   ========================================================================== */

/* 1. Editorial Hero Section */
.about-hero {
    display: flex;
    min-height: 75vh;
    padding-top: 100px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 50px;
}
.about-hero-content {
    flex: 1;
    padding: 5% 8%;
}
.about-hero-title {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--black);
}
.about-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.6;
}
.about-hero-image-wrapper {
    flex: 1;
    height: 75vh;
    overflow: hidden;
}
.about-hero-image {
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1541888081-30045e7f1e56?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 10s ease;
}
.about-hero:hover .about-hero-image {
    transform: scale(1);
}

/* 2. Editorial Story Section */
.editorial-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}
.drop-cap {
    float: left;
    font-size: 5rem;
    line-height: 0.8;
    padding-right: 15px;
    font-weight: 300;
    color: var(--black);
}
.story-left, .story-right {
    padding: 20px 0;
}
.story-left {
    border-right: 1px solid var(--border-color);
    padding-right: 60px;
}
.story-right {
    padding-left: 20px;
}

/* 3. Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.team-member {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}
.team-member:hover .team-photo {
    filter: grayscale(0%);
    transform: scale(1.03);
}
.team-info {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(255,255,255,1) 40%, rgba(255,255,255,0));
    opacity: 0;
    transition: all 0.4s ease;
}
.team-member:hover .team-info {
    bottom: 0;
    opacity: 1;
}
.team-info h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.team-info p {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin: 0;
}

/* 4. Core Values Bento */
.values-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.value-card {
    padding: 50px 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
    background: var(--white);
}
.value-card:hover {
    background: var(--bg-alt);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}
.value-icon {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 25px;
    transition: color 0.4s ease;
}
.value-card:hover .value-icon {
    color: var(--accent-color);
}
.value-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}
.value-card p {
    color: var(--text-muted);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .about-hero {
        flex-direction: column;
    }
    .about-hero-content {
        padding: 10% 5%;
        text-align: center;
    }
    .about-hero-title {
        font-size: 3.5rem;
    }
    .about-hero-subtitle {
        margin: 0 auto;
    }
    .about-hero-image-wrapper {
        width: 100%;
        height: 50vh;
    }
    .editorial-story {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .story-left {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 30px;
    }
    .story-right {
        padding-left: 0;
    }
    .values-bento {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.cinematic-scene-wrapper.is-visible .cinema-crane-mast,
.cinematic-scene-wrapper.is-visible .cinema-crane-jib {
    animation: cinema-fade-in 0.5s forwards;
}

.cinematic-scene-wrapper.is-visible .cinema-crane-jib {
    animation: cinema-fade-in 0.5s forwards, cinema-crane-swing 6s ease-in-out forwards;
}

.cinematic-scene-wrapper.is-visible .cinema-crane-trolley {
    animation: cinema-trolley-move 6s ease-in-out forwards;
}

.cinematic-scene-wrapper.is-visible .cinema-crane-cable {
    animation: cinema-cable-lower 6s ease-in-out forwards;
}

.cinematic-scene-wrapper.is-visible .cinema-crane-hook {
    animation: cinema-hook-lower 6s ease-in-out forwards;
}

.cinematic-scene-wrapper.is-visible .cinema-girder {
    animation: cinema-girder-drop 6s ease-in-out forwards;
}

.cinematic-scene-wrapper.is-visible .f1 {
    animation: cinema-floor-appear 0.5s forwards 0.5s;
}
.cinematic-scene-wrapper.is-visible .f1 .s1 { animation: cinema-spark-flash 1s forwards 0.8s; }
.cinematic-scene-wrapper.is-visible .f1 .s2 { animation: cinema-spark-flash 1s forwards 1.2s; }

.cinematic-scene-wrapper.is-visible .f2 {
    animation: cinema-floor-appear 0.5s forwards 2.5s;
}
.cinematic-scene-wrapper.is-visible .f2 .s1 { animation: cinema-spark-flash 1s forwards 2.8s; }

.cinematic-scene-wrapper.is-visible .f3 {
    animation: cinema-floor-appear 0.5s forwards 4.5s;
}
.cinematic-scene-wrapper.is-visible .f3 .s2 { animation: cinema-spark-flash 1s forwards 4.8s; }

.cinematic-scene-wrapper.is-visible .g1 { animation: cinema-glass-slide 1s forwards 5s; }
.cinematic-scene-wrapper.is-visible .g2 { animation: cinema-glass-slide 1s forwards 5.2s; }
.cinematic-scene-wrapper.is-visible .g3 { animation: cinema-glass-slide 1s forwards 5.4s; }


@keyframes cinema-fade-in { to { opacity: 1; } }
@keyframes cinema-floor-appear { to { opacity: 1; } }
@keyframes cinema-spark-flash {
    0% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(1); }
}
@keyframes cinema-glass-slide {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes cinema-crane-swing {
    0% { transform: rotate(15deg); }
    20% { transform: rotate(0deg); }
    80% { transform: rotate(0deg); }
    100% { transform: rotate(15deg); }
}
@keyframes cinema-trolley-move {
    0% { left: 180px; }
    20% { left: 20px; }
    80% { left: 20px; }
    100% { left: 180px; } 
}
@keyframes cinema-cable-lower {
    0% { height: 40px; }
    20% { height: 40px; }
    30% { height: 160px; } /* Drop to F3 */
    50% { height: 160px; }
    60% { height: 40px; } /* Pull back up */
    100% { height: 40px; }
}
@keyframes cinema-hook-lower {
    0% { top: 48px; }
    20% { top: 48px; }
    30% { top: 168px; }
    50% { top: 168px; }
    60% { top: 48px; }
    100% { top: 48px; }
}
@keyframes cinema-girder-drop {
    0% { opacity: 1; }
    49% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}


@media (max-width: 768px) {
    .building-concept-wrapper { grid-template-columns: 1fr; }
    .building-animation-container { height: 350px; }
}

/* Testimonials Slider */
.testimonials-slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 calc(-50vw + 50%); /* Full bleed on screen */
    padding: 20px 50vw 20px 0; /* To prevent clipping shadows/borders */
}

.testimonials-track {
    display: flex;
    width: max-content;
    animation: scroll-testimonials 80s linear infinite;
    gap: 40px;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-slide-card {
    width: 450px;
    padding: 50px;
    border: 1px solid var(--border-color);
    background: var(--white);
    position: relative;
    flex-shrink: 0;
}

@keyframes scroll-testimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); }
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    opacity: 0.5;
}

.stars {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* Typing Effect Cursor */
.typing-text::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.testimonial-text {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-main);
    margin-bottom: 40px;
    line-height: 1.8;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.client-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    filter: grayscale(100%);
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.client-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Banner (Monochromatic Architectural) */
.cta-banner {
    background: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta-banner h2 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.cta-banner p {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 550px;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.6s ease;
}

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

.project-overlay h3 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
}

.project-overlay p {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transform: translateY(20px);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.project-card:hover .project-overlay p {
    transform: translateY(0);
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    padding-top: 80px;
    color: var(--text-muted);
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}
.footer-huge-logo {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}
.footer-huge-logo span {
    font-weight: 600;
    color: var(--accent-color);
}
.footer-mission {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 80%;
}
.footer-title {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--white);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 15px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-links a:hover {
    color: var(--white);
}
.footer-contact {
    list-style: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.footer-contact li {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    font-size: 0.9rem;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-credits {
    color: var(--white);
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: var(--white);
    padding: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-control {
    width: 100%;
    padding: 20px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    border-radius: 0;
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    padding-top: 5px;
}

.info-item h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-item p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-card {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 40px;
    }
    .service-icon, .service-link {
        margin: 0 auto;
    }
    .service-card p {
        padding: 0;
    }
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 40px; border: none; }
    .stat-item { border-right: none; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 60px; }
    .process-grid::before { display: none; }
    .testimonial-slide-card { width: 350px; padding: 40px; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0 40px 0; }
    .section-header { margin-bottom: 40px; }
    .minimalist-cta { padding: 80px 0; }
    .main-footer { padding-top: 60px; }
    .footer-container { gap: 40px; margin-bottom: 40px; }
    
    .section-title { font-size: 2.5rem; }
    .hero-title { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .stats-container { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-sticky-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .process-sticky-col { position: relative; top: 0; height: 300px; margin-bottom: 20px; }
    .process-steps-col { padding-bottom: 0; }
    .testimonial-slide-card { width: 300px; padding: 30px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .header-call-btn {
        display: none !important;
    }
    .mobile-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background: var(--white);
        flex-direction: column;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid var(--border-color);
    }
    .nav-menu.active { left: 0; }
    .nav-list {
        flex-direction: column;
        align-items: center;
        margin-top: 60px;
        gap: 40px;
    }
    .nav-list a { color: var(--primary-color); font-size: 1.2rem; }
}

/* ==========================================================================
   New Homepage Sections (Partners, Featured Projects, Sustainability, CTA)
   ========================================================================== */

/* 1. Trusted Partners Carousel */
.partners-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--white);
    overflow: hidden;
}
.partners-carousel {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.partners-carousel::before, .partners-carousel::after {
    content: '';
    position: absolute;
    top: 0; width: 150px; height: 100%;
    z-index: 2;
}
.partners-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.partners-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.partners-track {
    display: inline-block;
    animation: scroll-partners 35s linear infinite;
}
.partners-track span {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    color: #999;
    font-weight: 300;
    margin: 0 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.partners-track span i {
    font-size: 2rem;
    margin-right: 15px;
}
.partners-track span:hover {
    color: var(--primary-color);
}
@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls exactly half the track width (one complete set) */
}

/* 2. Featured Projects Grid */
.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 350px;
    gap: 30px;
    margin-top: 40px;
}
.featured-project-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.featured-project-item.large {
    grid-row: span 2;
}
.featured-project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-project-item:hover img {
    transform: scale(1.05);
}
.fp-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(17,17,17,0.9), transparent);
    padding: 40px 30px;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}
.featured-project-item:hover .fp-overlay {
    transform: translateY(0);
    opacity: 1;
}
.fp-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 500;
    background-color: var(--white);
    color: var(--primary-color);
    display: inline-block;
    padding: 8px 15px;
}
.fp-overlay span {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 3. Sustainability Section */
.sustainability-section {
    background: #f4f6f5; /* Slight green/grey tint */
    border-top: 1px solid var(--border-color);
}
.sustainability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sustainability-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}
.sustainability-list {
    list-style: none;
    margin-top: 30px;
}
.sustainability-list li {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.sustainability-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 15px;
}

/* 4. Minimalist CTA Section */
.minimalist-cta {
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(17, 17, 17, 0.85), rgba(17, 17, 17, 0.85)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-top: none;
    color: var(--white);
}
.cta-massive-title {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 60px;
    color: var(--white);
}
.cta-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
}
.cta-action-row p {
    font-size: 1.2rem;
    color: #eaeaea;
    max-width: 400px;
}
.btn-minimal {
    display: inline-flex;
    align-items: center;
    padding: 20px 50px;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    text-decoration: none;
}
.btn-minimal:hover {
    background: var(--white);
    color: var(--text-main);
}

/* Responsive updates for new sections */
@media (max-width: 992px) {
    .featured-projects-grid { grid-template-columns: 1fr; }
    .featured-project-item.large { grid-row: span 1; }

    .sustainability-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-massive-title { font-size: 3.5rem; }
    .cta-action-row { flex-direction: column; align-items: flex-start; gap: 30px; }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 60px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 40px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}
