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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #FAF9F6;
    color: #36454F;
    overflow: hidden;
    /* Prevent scrolling during intro */
}

/* Loading Flicker Effect */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.half {
    width: 100%;
    height: 50vh;
    background-color: #36454F;
}

.half-top {
    transform-origin: top;
    animation: blinkTop 2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.half-bottom {
    transform-origin: bottom;
    animation: blinkBottom 2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes blinkTop {
    0% {
        transform: scaleY(1);
    }

    15% {
        transform: scaleY(0.2);
    }

    30% {
        transform: scaleY(1);
    }

    45% {
        transform: scaleY(0.3);
    }

    60% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
    }
}

@keyframes blinkBottom {
    0% {
        transform: scaleY(1);
    }

    15% {
        transform: scaleY(0.2);
    }

    30% {
        transform: scaleY(1);
    }

    45% {
        transform: scaleY(0.3);
    }

    60% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
    }
}

/* Intro Container */
#intro-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    width: 100%;
}

.intro-word {
    font-size: 4rem;
    font-weight: 300;
    text-transform: lowercase;
    opacity: 0;
    transform: translateY(50px);
    position: absolute;
    letter-spacing: 2px;
}

.intro-slogan {
    font-size: 3rem;
    font-weight: 600;
    text-transform: capitalize;
    opacity: 0;
    transform: translateY(30px);
    position: absolute;
    text-align: center;
    background: linear-gradient(90deg, #36454F, #7B8D99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

/* Main Content & Navbar */
#main-content {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

#main-content.visible {
    opacity: 1;
}

.hidden {
    display: none !important;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%; /* Mengecilkan padding atas dan bawah (0.5rem) */
    background: rgba(250, 249, 246, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(54, 69, 79, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.show-on-scroll {
    transform: translateY(0);
}

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

.logo-img {
    height: 60px; /* Diperbesar dari 35px menjadi 60px */
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: #556B7A;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #36454F;
}

/* Hero Section */
.hero {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
    background-color: #0b0c10;
    z-index: 1;
    transform-origin: center top;
    transition: transform 0.1s ease-out, border-radius 0.1s ease-out;
}

/* The cloud image with transparency */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    object-fit: cover;
    pointer-events: none;
}

/* Localized Lightning Flashes */
.lightning {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

/* Content Container */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Constant center light behind the portal */
.portal-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%);
}

/* Flash spot 1: Top Left */
.flash-1 {
    background: radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 60%);
    animation: randomFlash1 6s infinite;
}

/* Flash spot 2: Top Right */
.flash-2 {
    background: radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: randomFlash2 8s infinite 3s;
}

/* Flash spot 3: Bottom Center */
.flash-3 {
    background: radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 65%);
    animation: randomFlash3 10s infinite 1s;
}

/* Keyframes for erratic blinking */
@keyframes randomFlash1 {

    0%,
    94%,
    96%,
    98%,
    100% {
        opacity: 0;
    }

    95% {
        opacity: 1;
    }

    97% {
        opacity: 0.5;
    }
}

@keyframes randomFlash2 {

    0%,
    90%,
    93%,
    95%,
    100% {
        opacity: 0;
    }

    91% {
        opacity: 0.8;
    }

    94% {
        opacity: 0.4;
    }
}

@keyframes randomFlash3 {

    0%,
    96%,
    98%,
    100% {
        opacity: 0;
    }

    97% {
        opacity: 0.9;
    }

    99% {
        opacity: 0.3;
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}


/* Services Section (Fintech Gen AI) */
.services {
    position: relative;
    z-index: 10;
    background-color: #FAF9F6;
    padding: 8rem 5%;
    min-height: 100vh;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.1);
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.services-header h2 {
    font-size: 2.5rem;
    color: #36454F;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-header p {
    font-size: 1.1rem;
    color: #556B7A;
}

/* 3-Column Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    /* Fixed height to enforce 7:3 ratio in the last column */
}

/* Base Card Styles */
.card {
    background-color: #0b0c10;
    color: #FAF9F6;
    padding: 2.5rem;
    border-radius: 20px;
    /* Sharp edges */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.card p {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5; /* Agak transparan agar teks tetap terbaca */
}

/* Glowing Bright Red Signature Color Accent */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 0, 50, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.card:hover .card-glow {
    opacity: 1;
}

.card:hover {
    border-color: rgba(255, 0, 50, 0.8);
    box-shadow: 0 0 20px rgba(255, 0, 50, 0.4), inset 0 0 10px rgba(255, 0, 50, 0.1);
}

/* Column Stacking */
.card-column-stacked {
    display: grid;
    grid-template-rows: 7fr 3fr;
    /* 7:3 ratio */
    gap: 20px;
}

.card-stacked {
    padding: 2rem;
}

/* Branding Section */
.branding-section {
    position: relative;
    z-index: 10;
    background-color: #1D1B1E;
    color: #FAF9F6;
    min-height: 100vh;
    padding: 6rem 5% 2rem 5%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.branding-container {
    position: relative;
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding-title {
    font-size: 4rem;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 40px #ffffff;
    padding: 20px;
    background-color: transparent;
    position: relative;
    display: inline-block;
}

.branding-title::before,
.branding-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 15vw; /* Lebar garis dinamis berdasarkan ukuran layar */
    max-width: 300px;
    height: 2px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.branding-title::before {
    right: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), transparent);
}

.branding-title::after {
    left: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), transparent);
}

.brand-img {
    position: absolute;
    width: 160px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-out;
    z-index: 5;
}

/* Initial scattered positions */
/* 1. Pojok kiri atas */
.img-1 {
    top: 4%;
    left: 1%;
}

/* 2. Tengah atas (kiri atas Title) */
.img-2 {
    top: 15%;
    left: 32%;
}

/* 3. Kiri tengah */
.img-3 {
    top: 43%;
    left: 17%;
}

/* 4. Kanan atas */
.img-4 {
    top: 15%;
    right: 3%
}

/* 5. Kanan tengah (samping kanan Title) */
.img-5 {
    top: 43%;
    right: 18%
}

/* 6. Bawah tengah (kanan bawah Title) */
.img-6 {
    bottom: 12%;
    left: 58%;
}

/* Marquee Text */
.marquee-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background-color: #c0ffa6;
    padding: 15px 0;
    color: #1D1B1E;
    font-weight: 600;
}

.marquee-row {
    display: flex;
    white-space: nowrap;
    gap: 0;
    margin-bottom: 5px;
}

.marquee-right {
    animation: marquee-right 30s linear infinite;
}

.marquee-left {
    animation: marquee-left 30s linear infinite;
}

.marquee-row span {
    font-size: 1.2rem;
    padding: 0 20px;
    display: inline-block;
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Container Utama */
.section-4 {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    background-color: #FAF9F6;
    /* Same white as section 2 */
    padding-bottom: 0;
    /* Image touches the bottom */
}

/* Bagian Atas: Title */
.section-4-top {
    width: 100%;
    padding: 2rem 2.5rem 0 2.5rem;
    display: flex;
    align-items: flex-end;
}

.section-4-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(4rem, 16vw, 14rem);
    /* Responsif: besar & bold */
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: #000000;
}

/* Bagian Bawah: Image */
.section-4-image-container {
    width: 100%;
    flex: 1;
    min-height: 50vh;
    margin-top: 1rem;
    overflow: hidden;
}

.section-4-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

/* --- Section 5 --- */
.section-5 {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 200vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #000000;
}

.sec5-top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    padding: 2vw;
    height: 100vh;
    pointer-events: none; /* Allows interacting with images behind */
}

.sec5-col {
    position: relative;
    padding: 20px;
}

.sec5-col p {
    font-size: clamp(0.5rem, 1.2vw, 1.2rem);
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.rotate-text {
    transform: rotate(180deg);
}

.col-left p {
    margin-top: 50px;
}

.col-center p {
    text-align: center;
    margin-top: 50px;
}

.col-right p {
    text-align: left;
    margin-top: 100px;
}

/* Number labels */
.num {
    position: absolute;
    font-size: 1rem;
    font-weight: 700;
}

.num-left-bottom {
    bottom: 20px;
    right: 20px;
}

.num-center-top {
    top: 20px;
    left: 20px;
}

.num-center-bottom {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.num-right-top {
    top: 20px;
    left: 20px;
}

.num-right-bottom {
    bottom: 20px;
    left: 20px;
}

/* Bottom Images */
.sec5-bottom {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* All images start aligned at the bottom */
    padding: 0;
}

.sec5-img {
    width: 19%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* ================================
   GRADIENT REVEAL SECTION
================================ */

.gradient-reveal-section {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100dvh;
    height: auto;
    padding: 4rem 0;
    overflow: hidden;

    /* Kondisi awal: FULL HITAM */
    background: #0d0e0d;

    isolation: isolate;
}


/* =================================
   BACKGROUND GRADIENT
================================= */

.gradient-reveal-bg {
    position: absolute;
    inset: -8%;

    background:
        radial-gradient(
            ellipse at 50% -10%,
            #d45f32 0%,
            #c8794d 20%,
            #a78d68 40%,
            #718178 60%,
            #354945 76%,
            #171b19 92%,
            #0d0e0d 100%
        );

    filter: blur(12px);
    transform: scale(1.08);

    opacity: 0;
        
    z-index: -1;
}

.gradient-reveal-bg.animate {
    animation:
        gradientReveal 4s cubic-bezier(.22, .61, .36, 1) forwards,
        pulseGlow 8s ease-in-out 4s infinite alternate;
}


/* =================================
   SOFT BLUR / ATMOSPHERE
================================= */

.gradient-reveal-section::after {
    content: "";
    position: absolute;
    inset: -10%;

    background:
        radial-gradient(
            ellipse at center,
            transparent 25%,
            rgba(0, 0, 0, 0.08) 55%,
            rgba(0, 0, 0, 0.42) 100%
        );

    pointer-events: none;
    z-index: 0;
}


/* =================================
   CONTENT
================================= */

.gradient-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =================================
   REVEAL ANIMATION
================================= */

@keyframes gradientReveal {

    0% {
        opacity: 0;
        transform: scale(1.12);
        filter: blur(18px) brightness(1.3);
    }

    35% {
        opacity: 0.18;
        filter: blur(14px) brightness(1.3);
    }

    70% {
        opacity: 0.65;
        filter: blur(7px) brightness(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1.08);
        filter: blur(2px) brightness(1.3);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 1;
        filter: blur(2px) brightness(1.3);
    }
    100% {
        opacity: 0.6;
        filter: blur(10px) brightness(1.3);
    }
}

/* =========================================
   Global Mobile Responsiveness (All Sections)
   ========================================= */
@media (max-width: 768px) {
    /* Intro */
    .intro-word { font-size: 2.5rem; }
    .intro-slogan { font-size: 1.8rem; padding: 0 15px; }

    /* Navbar */
    .navbar { padding: 1.5rem 3%; flex-direction: column; gap: 1rem; background: rgba(250, 249, 246, 0.95); }
    .logo { font-size: 1.3rem; }
    .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .nav-links a { font-size: 0.75rem; }

    /* Section 1: Hero */
    .hero { padding: 0 10px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }

    /* Section 2: Services */
    .services { padding: 4rem 5%; }
    .services-header h2 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; height: auto; }
    .card-column-stacked { grid-template-rows: auto auto; }
    .card { padding: 1.5rem; }
    
    /* Section 3: Branding */
    .branding-section { padding: 4rem 5% 1rem 5%; }
    .brand-img { width: 120px; }
    .img-5, .img-6 { display: none; }
    .branding-title { font-size: 2.2rem; }

    /* Section 4: Hero 2 */
    .section-4 { min-height: auto; padding-bottom: 2rem; }
    .section-4-top { padding: 1.5rem 1rem 0 1rem; justify-content: center; text-align: center; }
    .section-4-image-container { min-height: 35vh; margin-top: 0; }
    
    /* Section 5: Pyramid Animation */
    .section-5 { min-height: auto; padding-bottom: 2rem; }
    .sec5-top { position: relative; height: auto; grid-template-columns: 1fr; padding: 2rem 1rem; align-content: center; gap: 1.5rem; }
    .sec5-col { padding: 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    .sec5-col p { font-size: 0.8rem; text-align: center; margin: 0 !important; }
    .rotate-text { transform: none; }
    .num { position: static; font-size: 0.7rem; margin: 5px 0; transform: none !important; }
    .num-left-bottom { order: 2; }
    .num-center-top { order: -1; }
    .num-center-bottom { order: 2; }
    .num-right-top { order: -1; }
    .num-right-bottom { order: 2; }
    .sec5-bottom { height: 40vh; display: flex; overflow-x: auto; gap: 15px; justify-content: flex-start; padding: 1rem; }
    .sec5-img { width: 45%; flex-shrink: 0; }

    /* Gradient Reveal Section */
    .gradient-reveal-section {
        min-height: 100dvh;
    }
    .final-content h2 { font-size: 1.8rem; }
    .final-content p { font-size: 0.9rem; padding: 0 1rem; }
    .metric-value { font-size: 2rem; }
    .metric-label { font-size: 0.75rem; }
    
    .hero-buttons {
        bottom: 1.5rem;
        left: 1rem;
    }
}

/* =================================
   HORIZONTAL SCROLL SECTION
================================= */
.horizontal-scroll-section {
    height: 300vh;
    position: relative;
    background-color: #000;
    z-index: 10;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.horizontal-wrapper {
    display: flex;
    height: 100%;
    width: 300vw;
    will-change: transform;
}

.portfolio-item {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-1, .item-2, .item-3 { background: transparent; }

.portfolio-split {
    display: flex;
    width: 90%;
    max-width: 1300px;
    height: 80vh;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    margin: 0 auto;
    background-color: #050505;
}

.portfolio-split-left {
    width: 35%;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-split-left h2 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.portfolio-date {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

.portfolio-split-right {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.portfolio-img-wrapper {
    height: 70%;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    padding: 2rem;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.5s ease;
}

.portfolio-img-wrapper:hover img {
    transform: scale(1.02);
}

.portfolio-meta {
    height: 30%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.meta-desc h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.meta-desc p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 450px;
    line-height: 1.5;
}

.explore-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 3px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.explore-link:hover {
    opacity: 0.7;
    border-color: #fff;
}

/* Portfolio Mobile Responsiveness */
@media (max-width: 900px) {
    .portfolio-item {
        height: auto;
        padding: 4rem 0;
    }
    .portfolio-split {
        flex-direction: column;
        height: auto;
    }
    .portfolio-split-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 2.5rem 1.5rem;
        text-align: center;
    }
    .portfolio-split-left h2 {
        font-size: 2.2rem;
    }
    .portfolio-split-right {
        width: 100%;
    }
    .portfolio-img-wrapper {
        height: 300px;
        padding: 1rem;
    }
    .portfolio-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
        height: auto;
    }
}

/* =================================
   SLAT TRANSITION & FINAL SECTION
================================= */
.slat-transition-overlay {
    position: absolute;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    perspective: 1200px;
    display: flex; /* White overlay initially */
    flex-direction: column;
}

.slat-bar {
    height: 16.6667%;
    width: 100%;
    background: #FFFFFF;
    transform-origin: center top;
    margin-bottom: -1px; /* Prevent gaps */
    transform: rotateX(0deg) scaleY(1);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.slat-bar.flipped {
    transform: rotateX(90deg) scaleY(0);
}

.final-content {
    opacity: 0;
    transform: translateY(40px);
    flex-direction: column;
    text-align: center;
    transition: opacity 1s ease, transform 1s ease;
}
.final-content.visible {
    opacity: 1;
    transform: translateY(0);
}
.final-content h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 2px;
}
.final-content p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ddd;
}

.final-header {
    margin-bottom: 4rem;
}

.final-metrics {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 5rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.metric-value {
    font-size: 2.8rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.final-process {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.final-process h3 {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    font-weight: 400;
    text-align: center;
}

.process-steps.vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    padding-bottom: 2rem;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-item::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 45px;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.step-item:last-child::after {
    display: none;
}

.step-marker {
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
    z-index: 2;
}

.step-content {
    padding-top: 8px;
    padding-bottom: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
    font-weight: 400;
}

.step-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .final-metrics {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 4rem;
    }

}

/* =================================
   HERO BUTTONS
================================= */
.hero-buttons {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
    align-items: flex-start;
}

.hero-buttons .btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-buttons .btn-outline {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-buttons .btn-primary {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.hero-buttons .btn-primary:hover {
    background: #e0e0e0;
}

/* =================================
   BRUTALIST CONTACT SECTION
================================= */
.contact-brutalist {
    background-color: #fff;
    color: #000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 2rem 5%;
    position: relative;
    z-index: 10;
}

.brutal-top-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    padding-bottom: 1rem;
    margin-bottom: 4rem;
}

.brutal-title-container {
    margin-bottom: 2rem;
}

.brutal-title {
    font-size: 8rem;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -3px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

.brutal-grid-wrapper {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 2rem;
}

.brutal-images {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.brutal-images .img-large {
    width: 60%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: grayscale(100%);
}

.brutal-images .img-small {
    width: 35%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.brutal-content {
    display: flex;
    flex-direction: column;
}

.brutal-row {
    border-top: 1px solid #000;
    display: flex;
}

.brutal-cell {
    padding: 1.5rem 0;
    flex: 1;
}

.brutal-form-row {
    border-top: 1px solid #000;
}

.brutal-form-cell {
    border-right: 1px solid #000;
    padding-right: 1.5rem;
}

.brutal-tags-cell {
    padding-left: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.6;
}

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

.brutal-form input,
.brutal-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    outline: none;
    border-radius: 0;
}

.brutal-form input::placeholder,
.brutal-form textarea::placeholder {
    color: #888;
}

.brutal-form button {
    background: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.brutal-form button:hover {
    background: #000;
    color: #fff;
}

.brutal-clients-row .brutal-cell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.b-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.brutal-clients-row p {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.b-large-text {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
}

@media (max-width: 900px) {
    .brutal-grid-wrapper {
        grid-template-columns: 1fr;
    }
    .brutal-title {
        font-size: 4rem;
    }
    .brutal-form-cell {
        border-right: none;
        border-bottom: 1px solid #000;
        padding-right: 0;
        padding-bottom: 1.5rem;
    }
    .brutal-tags-cell {
        padding-left: 0;
        padding-top: 1.5rem;
    }
    .brutal-row {
        flex-direction: column;
    }
}

/* =================================
   PACKAGES SECTION
================================= */
.packages-section {
    background-color: #050505;
    padding: 6rem 5%;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

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

.packages-header h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.packages-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.package-card.featured {
    border-color: #ff0032;
    box-shadow: 0 10px 40px rgba(255, 0, 50, 0.1);
}

.package-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff0032;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.package-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.package-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.package-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.package-price {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.normal-price {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

.installment-price {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.installment-price span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.promo-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.promo-price small {
    font-size: 0.8rem;
    color: #00ff66;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: rgba(0, 255, 102, 0.1);
    border-radius: 4px;
}

/* Payment Scheme Section */
.payment-scheme-info {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-scheme-info h4 {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2rem;
    color: #ff0032;
    text-align: center;
}

.scheme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.scheme-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-left: 2px solid #ff0032;
}

.scheme-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.scheme-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .scheme-grid {
        grid-template-columns: 1fr;
    }
}

.package-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.package-features li::before {
    content: "✓";
    color: #ff0032;
    margin-right: 12px;
    font-weight: bold;
}

.package-card .btn {
    text-align: center;
    display: block;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.package-card .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.package-card .btn-outline:hover {
    background: #fff;
    color: #000;
}

.package-card.featured .btn-primary {
    background: #ff0032;
    color: #fff;
    border: none;
}

.package-card.featured .btn-primary:hover {
    background: #cc0028;
}

@media (max-width: 900px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================
   FAQ SECTION
================================= */
.faq-section {
    background-color: #050505;
    padding: 4rem 5% 8rem;
    color: #fff;
    position: relative;
    z-index: 10;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    margin-bottom: 3rem;
    text-align: center;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-summary {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ff0032;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid transparent;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    max-height: 300px;
    opacity: 1;
}

/* =================================
   FOOTER SECTION
================================= */
.professional-footer {
    background-color: #030303;
    color: #fff;
    padding: 6rem 5% 2rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-identity {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 300px;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a0a0a0;
}

.availability-badge .dot {
    width: 10px;
    height: 10px;
    background: #00ff66;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
    animation: blink 2s infinite;
}

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

.footer-nav-grid {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-legal p {
    margin: 0;
}

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

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #fff;
}

.footer-location p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-nav-grid {
        gap: 2rem;
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* =================================
   TOAST NOTIFICATION
================================= */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #000;
    color: #fff;
    padding: 1rem 1.5rem;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast.error {
    background: #ff0032;
    border-color: #ff0032;
}

.toast-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.mobile-br {
    display: none;
}

@media (max-width: 900px) {
    .mobile-br {
        display: block;
    }
}