@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Roboto+Condensed:wght@700;900&display=swap');

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-content {
    text-align: center;
    width: 200px;
}

.preloader-logo {
    width: 60px;
    height: auto;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: preloaderEntrance 1s ease forwards;
}

.preloader-bar {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.preloader-bar span {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-color);
    animation: preloaderLoading 1.5s ease-in-out forwards;
}

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

@keyframes preloaderLoading {
    to { width: 100%; }
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

/* Prevent GSAP Flash of Unstyled Content (FOUC) on load */
.sidebar,
.vertical-tag,
.hero-display-title,
.hero-accent-line,
.hero-desc,
.cta-btn,
.hero-bottom {
    opacity: 0;
}

:root {
    /* Indonesian Flag Red Theme */
    --color-indo-red: #980000;     /* Indonesian Flag Red */
    --color-burnt-gray: #7B7673;   /* CINZA QUEIMADO - Warm medium gray for muted text */
    --color-preto: #060808;        /* PRETO - Deep matte black background */
    --color-branco: #EFEFEF;       /* BRANCO - Soft pristine reading white */

    /* Semantic Color Mapping */
    --bg-color: var(--color-preto);
    --text-color: var(--color-branco);
    --accent-color: var(--color-indo-red);
    
    /* Harmonized Tones for Depth and Cohesion */
    --secondary-bg: #141616;       /* Slightly lighter charcoal gray for cards/panels */
    --panel-bg: #141616;
    --muted-text: var(--color-burnt-gray);
    --border-color: rgba(123, 118, 115, 0.2); /* Burnt gray warm border highlight */
    --accent-hover: #D32F2F;       /* Lighter red hover feedback */
    --accent-glow: rgba(152, 0, 0, 0.20); /* Red shadow glow */
    --alert-accent: var(--color-indo-red);

    --sidebar-width: 80px;
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-condensed: 'Roboto Condensed', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden; /* Safe only on body element, doesn't block sticky child */
    margin: 0; /* Ensure no body margin */
}

/* Sidebar Redesign - Matching Reference Image */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--secondary-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    z-index: 1000;
}

.sidebar-top, .sidebar-middle, .sidebar-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-top {
    padding: 30px 0;
}

.logo-box-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 0;
}

.main-logo {
    width: 40px;
    height: auto;
    transition: var(--transition-smooth);
}

.mobile-lang-switcher {
    display: none;
}

/* Sleek Integrated Language Switcher Box */
.lang-social-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 60px;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-condensed);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.lang-social-box .lang-btn {
    background: none;
    border: none;
    color: var(--muted-text);
    cursor: pointer;
    padding: 2px 4px;
    transition: var(--transition-smooth);
    opacity: 0.5;
}

.lang-social-box .lang-btn:hover {
    color: var(--text-color);
    opacity: 1;
}

.lang-social-box .lang-btn.active {
    color: var(--accent-color);
    opacity: 1;
}

.lang-social-box .lang-sep {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
    user-select: none;
}

.menu-toggle {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.menu-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
}

.hamburger-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    width: 25px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 1;
    transition: var(--transition-smooth);
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

/* Menu Text Layer */
.menu-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-180deg) scale(0.5);
    font-family: var(--font-condensed);
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: 0.2em;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

/* Close Icon Layer (X) */
.close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-180deg) scale(0.5);
    width: 20px;
    height: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.close-icon span {
    position: absolute;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

.close-icon span:nth-child(1) {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
    transform: rotate(45deg);
}

.close-icon span:nth-child(2) {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
    transform: rotate(-45deg);
}

/* Hover Interactions (When Menu is Closed) */
body:not(.menu-open) .menu-toggle:hover .hamburger-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(180deg) scale(0.5);
}

body:not(.menu-open) .menu-toggle:hover .menu-text {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    color: var(--accent-color);
}

/* Open State (When Menu is Active) */
body.menu-open .hamburger-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(180deg) scale(0.5);
}

body.menu-open .menu-text {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(180deg) scale(0.5);
}

body.menu-open .close-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

/* Hover Spin on Close Button */
body.menu-open .menu-toggle:hover .close-icon {
    transform: translate(-50%, -50%) rotate(90deg) scale(1.1);
}

/* Slide-out Menu Panel & Overlay */
.menu-panel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(20, 22, 22, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-right: 1px solid var(--border-color);
    z-index: 990; /* Just below sidebar (1000) */
    display: flex;
    flex-direction: column;
}

.menu-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 980;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-panel-inner {
    padding: 80px 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-panel-subtitle {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--muted-text);
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 30px;
    position: relative;
    padding-left: 30px;
}

.menu-panel-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 1px;
    background: var(--accent-color);
}

.menu-panel-nav {
    display: flex;
    flex-direction: column;
    margin: auto 0;
}

.menu-nav-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
    width: 100%;
}

.menu-nav-group.sub-group {
    gap: 10px;
}

.menu-nav-group.sub-group .menu-panel-link {
    font-size: 1.3rem;
    font-weight: 700;
}

.menu-panel-link {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    opacity: 0; /* Stagger animated by GSAP */
}

.menu-panel-link span:first-child {
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 900;
}

.menu-panel-link:hover {
    color: var(--accent-color);
    transform: translateX(10px);
}

.menu-panel-link.highlight {
    position: relative;
}

.menu-panel-link .badge {
    font-size: 0.55rem;
    font-weight: 900;
    color: var(--text-color);
    background: var(--accent-color);
    padding: 3px 8px;
    letter-spacing: 0.05em;
    margin-left: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.menu-panel-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.menu-panel-contact .footer-title {
    font-size: 0.6rem;
    font-weight: 900;
    color: var(--muted-text);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 15px;
}

.menu-panel-contact a {
    display: block;
    color: var(--text-color);
    font-family: var(--font-condensed);
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.menu-panel-contact a:hover {
    color: var(--accent-color);
}

.menu-panel-socials {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.social-icon-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--muted-text);
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.01);
    text-decoration: none;
}

.social-icon-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

.social-icon-btn svg {
    width: 14px;
    height: 14px;
}

.menu-panel-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.menu-panel-lang .lang-btn {
    background: none;
    border: none;
    color: var(--muted-text);
    cursor: pointer;
    padding: 2px 6px;
    transition: var(--transition-smooth);
    opacity: 0.5;
}

.menu-panel-lang .lang-btn:hover {
    color: var(--text-color);
    opacity: 1;
}

.menu-panel-lang .lang-btn.active {
    color: var(--accent-color);
    opacity: 1;
}

.menu-panel-lang .lang-sep {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
    user-select: none;
}

.sidebar-bottom {
    padding-bottom: 30px;
}

.social-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.social-box {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--muted-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.social-box i, .social-box svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.social-box:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--accent-color);
}

.grid-dots-link {
    padding: 30px 0;
    display: block;
    cursor: pointer;
}

.grid-dots {
    display: grid;
    grid-template-columns: repeat(3, 4px);
    gap: 4px;
}

.grid-dots span {
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.grid-dots-link:hover .grid-dots span {
    background: #fff;
    transform: scale(1.2);
}

/* Sub Nav */
.sub-nav {
    position: sticky;
    top: 0;
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    background: rgba(6, 8, 8, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    padding: 20px 0;
}

/* Desktop: only show the .sub-nav--desktop version (outside hero, sticky works correctly) */
/* Mobile: hide the --desktop variant, show only the one inside hero */
.sub-nav--desktop {
    display: block; /* visible on desktop by default */
}

/* The mobile sub-nav (inside hero-split) is hidden on desktop */
.hero-split .sub-nav {
    display: none;
}

.sub-links-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.sub-links {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 30px;
}

.sub-links a {
    color: var(--muted-text);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-controls-minimal {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: 40px; /* Shifted left from the edge */
    font-family: var(--font-body);
    font-weight: 900;
}

.nav-arrow {
    background: transparent;
    border: none;
    color: var(--accent-color); /* Changed to orange */
    font-size: 0.8rem; /* Smaller, consistent size */
    cursor: pointer;
    padding: 0 5px;
    transition: var(--transition-smooth);
    line-height: 1;
}

.nav-arrow:hover {
    color: var(--text-color);
    transform: scale(1.2);
}

.nav-sep {
    color: rgba(239, 239, 239, 0.2);
    font-size: 0.8rem;
    font-weight: 400;
}

.sub-links a:hover {
    color: var(--accent-color);
}

.sub-links a.active {
    color: var(--text-color);
    font-weight: 800;
}

/* Progress numbers in sub-nav on desktop are completely hidden initially */
.sub-links a > span:first-child {
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 900;
    color: var(--muted-text);
    display: inline-block;
    width: 0;
    margin-right: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
}

/* Dynamically reveal and slide in the progress numbers once scrolled past hero section */
body.scrolled-past-hero .sub-links a > span:first-child {
    width: 20px;
    margin-right: 8px;
    opacity: 0.65;
}

body.scrolled-past-hero .sub-links a.active > span:first-child {
    color: var(--accent-color);
    opacity: 1;
    text-shadow: 0 0 8px rgba(152, 0, 0, 0.4);
}

/* Hero Section - Redesigned matching cinematic & technical premium reference */
.hero-split {
    position: relative;
    height: 100vh;
    padding-left: var(--sidebar-width);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Technical Corner Brackets */
.hero-corner-bracket {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 15;
    pointer-events: none;
}
.hero-corner-bracket.top-left {
    top: 40px;
    left: calc(var(--sidebar-width) + 40px);
    border-right: none;
    border-bottom: none;
}
.hero-corner-bracket.top-right {
    top: 40px;
    right: 40px;
    border-left: none;
    border-bottom: none;
}
.hero-corner-bracket.bottom-left {
    bottom: 130px;
    left: calc(var(--sidebar-width) + 40px);
    border-right: none;
    border-top: none;
}
.hero-corner-bracket.bottom-right {
    bottom: 130px;
    right: 40px;
    border-left: none;
    border-top: none;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center; /* Align photograph to the right to clear text on the left */
    filter: brightness(0.95); /* Retain color fidelity and clarity */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(6, 8, 8, 0.96) 30%, rgba(6, 8, 8, 0.5) 65%, rgba(6, 8, 8, 0.1) 100%);
    z-index: 2;
}

.hero-bg-shutter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1; /* Overlays the image, sits below gradient overlay */
    pointer-events: none;
    will-change: opacity;
}

/* Transparent Content Wrapper with Gray Gradient Backdrop */
.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: var(--sidebar-width);
    width: 45vw;
    min-width: 520px;
    height: 100vh;
    z-index: 10;
    background: transparent;
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px 100px 90px;
    box-sizing: border-box;
    box-shadow: none;
}

/* Rotating Vertical Label */
.vertical-tag-wrap {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    white-space: nowrap;
    z-index: 12;
}

.vertical-tag {
    color: var(--accent-color);
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    display: block;
    text-align: left;
}

/* Tablet & Mobile Responsive centering overrides (moved down or adapted) */
@media (max-width: 1024px) {
    .hero-bg-overlay {
        background: linear-gradient(to right, rgba(6, 8, 8, 0.96) 0%, rgba(6, 8, 8, 0.75) 50%, rgba(6, 8, 8, 0.1) 100%);
    }
    .hero-content-wrapper {
        position: relative;
        left: 0;
        width: 100%;
        min-width: auto;
        height: auto;
        background: transparent;
        border-right: none;
        border-bottom: none;
        padding: 60px var(--mobile-gutter) 120px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }
    .vertical-tag-wrap {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin-bottom: 15px;
    }
    .vertical-tag {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
        text-align: left;
    }
}

.hero-main-text {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-accent-line {
    display: block;
    width: 45px;
    height: 3px;
    background: var(--accent-color);
    margin-bottom: 25px;
}

.hero-display-title {
    font-family: var(--font-condensed);
    font-size: clamp(2.3rem, 3.8vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-color);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.hero-display-title .accent {
    color: var(--accent-color);
}

.hero-prefix {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.38em; /* relative to parent clamp size */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 6px;
    opacity: 0.9;
}

.text-nowrap {
    white-space: nowrap;
}

.accent-gradient-indo {
    background: linear-gradient(to bottom, #980000 35%, #EFEFEF 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(152, 0, 0, 0.15));
}

.hero-status-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-status-location {
    color: var(--accent-color);
    font-size: 0.92rem;
}

.hero-status-opportunity {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-desc {
    max-width: 430px;
    color: var(--muted-text);
    margin-bottom: 35px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    align-self: flex-start; /* Lock flex item width to fit-content */
    z-index: 1;
    border-radius: 0 0 20px 0; /* Brand Signature: Bold Bottom-Right Apple-Style Rounded Only */
}

/* Elegant background sliding fill on hover */
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 0 0 20px 0; /* Match parent brand corner style */
}

.cta-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left center;
}

.cta-btn:hover {
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(152, 0, 0, 0.4); /* Premium Indonesian Red Glow */
    letter-spacing: 0.18em; /* Premium micro-expansion */
}

/* Arrow micro-interaction */
.cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}

.cta-arrow svg {
    display: block;
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}

.cta-btn:hover .cta-arrow {
    transform: translateX(6px);
}


.hero-bottom {
    position: absolute;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    height: 90px;
    border-top: 1px solid var(--border-color);
    background: rgba(6, 8, 8, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
    z-index: 20;
    box-sizing: border-box;
}

/* 1. Progress Indicator (Left) */
.hero-progress-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar-track {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 12.5%; /* Section 1/8 */
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

.progress-text {
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted-text);
    letter-spacing: 0.1em;
}

/* 2. Scroll Discover Device (Center) */
.hero-scroll-discover {
    display: flex;
    align-items: center;
    gap: 12px;
}

.device-icon {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    position: relative;
}

.device-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.8s infinite cubic-bezier(0.25, 1, 0.3, 1);
}

@keyframes mouseScroll {
    0% { opacity: 0; top: 6px; }
    30% { opacity: 1; }
    100% { opacity: 0; top: 18px; }
}

.hero-scroll-discover span {
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--muted-text);
    text-transform: uppercase;
}

/* 3. Arrow Controls (Right) */
.hero-arrow-controls {
    display: flex;
    gap: 10px;
}

.hero-arrow-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hero-arrow-btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.hero-arrow-btn:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(152, 0, 0, 0.4);
}

.hero-arrow-btn:hover svg {
    transform: scale(1.05);
}

/* PINNED LAYOUT SYSTEM */
.pinned-layout {
    display: flex;
    padding-left: var(--sidebar-width);
    position: relative;
}

.fixed-left-panel {
    position: sticky;
    top: 0;
    width: 56.25vh; /* IG Story aspect ratio (9:16) based on 100vh height */
    max-width: 450px;
    min-width: 320px;
    flex-shrink: 0; /* Locked size, no shrinking */
    height: 100vh;
    overflow: hidden;
    background: var(--secondary-bg);
    border-right: 1px solid var(--border-color);
    z-index: 10;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-layer.active {
    opacity: 1;
    visibility: visible;
}

.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.bg-layer.active .split-bg {
    transform: scale(1.05);
}

.split-vertical-title {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    font-family: var(--font-condensed);
    font-size: clamp(2rem, 3.2vw, 3.8rem);
    color: var(--text-color);
    line-height: 0.95;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.split-accent-line {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    z-index: 5;
}

.scrolling-right-panel {
    flex: 1; /* Automatically takes remaining space */
    min-width: 0;
}

.content-section {
    padding: 150px 80px;
    min-height: 100vh;
    position: relative;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-number {
    position: absolute;
    top: 40px;
    right: 50px;
    font-family: var(--font-condensed);
    font-size: clamp(6rem, 15vw, 12rem);
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.main-title {
    font-family: var(--font-condensed);
    font-size: 4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.subtitle {
    color: var(--muted-text);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 50px;
}

.small-line {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    margin-bottom: 15px;
}

/* Common Blocks */
.about-body { display: flex; gap: 40px; }
.profile-frame { 
    width: 260px; 
    flex-shrink: 0; 
    position: relative; 
    align-self: flex-start; /* Prevents vertical stretching in flex layout */
    transition: var(--transition-smooth);
}
.profile-frame img { 
    width: 100%; 
    height: auto;
    display: block;
    z-index: 2; 
    position: relative; 
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    border-radius: 0 0 36px 0; /* Brand Signature: Bold Bottom-Right Apple-Style Rounded Only */
}
.frame-accent { 
    position: absolute; 
    bottom: -12px; 
    left: -12px; 
    width: 100%; 
    height: 100%; 
    border: 3px solid var(--accent-color); /* Premium offset red accent frame */
    z-index: 1; /* Placed underneath the image for a high-end 3D layered look */
    transition: var(--transition-smooth);
    border-radius: 0 0 36px 0; /* Match parent brand corner style */
}

/* Premium Hover Interactions */
.profile-frame:hover img {
    filter: brightness(1.08); /* Sophisticated lighting feedback */
}
.profile-frame:hover .frame-accent {
    transform: translate(12px, -12px); /* Snaps exactly onto the photo boundaries on hover */
    border-color: var(--accent-color); /* Retains the exact same signature red color */
}
.secondary-title { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.1; }
.secondary-title .accent { color: var(--accent-color); }
.description { color: var(--muted-text); margin-bottom: 30px; }
.bullets { list-style: none; margin-bottom: 30px; }
.bullets li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.9rem; color: var(--muted-text); }
.bullets i { color: var(--accent-color); width: 16px; }

#about {
    background: #000000 !important; /* Pure black background to match signature animation background */
}

.signature-container {
    margin-bottom: 35px; /* Spacing before CTA button */
    display: flex;
    justify-content: flex-start;
}

.signature-video {
    width: clamp(140px, 15vw, 200px); /* Responsive signature width */
    height: auto;
    mix-blend-mode: screen; /* Removes black background to blend seamlessly */
    opacity: 0.95;
    pointer-events: none;
}

.cta-btn-sm { display: inline-block; padding: 12px 30px; background: var(--accent-color); color: var(--text-color); text-decoration: none; font-weight: 700; font-size: 0.8rem; border-radius: 0 0 16px 0; }

/* Premium Symmetrical Stats Grid in About Me */
.inner-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 55px;
    width: 100%;
}

.stat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 0 0 24px 0 !important; /* Signature Apple-size Brand Corner */
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

/* Subtle Technical Bottom Indicator Line */
.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(152, 0, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(152, 0, 0, 0.05);
}

.stat-item:hover::after {
    width: 100%;
}

.stat-number {
    font-family: var(--font-condensed);
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--accent-color); /* Turns signature red on hover */
}

/* Plus sign or decorator for the numbers */
.stat-number::after {
    content: '+';
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-left: 2px;
    vertical-align: super;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.45;
}

.service-item { padding: 25px 0; border-bottom: 1px solid var(--border-color); }
.service-num { color: var(--accent-color); font-weight: 900; font-size: 0.8rem; }
.service-name { font-family: var(--font-condensed); font-size: 2rem; margin: 5px 0; text-transform: uppercase; }
.service-text { color: var(--muted-text); }

/* Working Process Section */
/* Premium Mockup-Aligned 3-Column Process Cards */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 55px;
    width: 100%;
}

.process-card {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%; /* Evenly stretch all cards in grid row */
    transition: var(--transition-smooth);
}

.process-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.process-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color); /* Elegant default */
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.process-card:hover .process-icon {
    color: var(--accent-color); /* Turns red/orange on card hover */
}

.process-step-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-color); /* Bold uppercase accent color as in mockup */
    text-transform: uppercase;
    margin: 0;
}

.process-card-body {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 0 0 24px 0 !important; /* Signature Apple-size Brand Corner */
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    min-height: 300px; /* Increased to match testimonial cards height exactly */
    flex-grow: 1; /* Stretch body to exactly match sibling card height */
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-card-body {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(152, 0, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.process-card-summary {
    font-size: 0.98rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-color);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.process-card-text {
    color: var(--muted-text);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 35px 0;
}

.process-card-footer {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: auto;
    gap: 15px;
}

.process-card-number {
    font-family: var(--font-condensed);
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12); /* Low-opacity massive gray number */
    line-height: 0.8;
    transition: color 0.3s ease;
    user-select: none;
}

.process-card:hover .process-card-number {
    color: rgba(152, 0, 0, 0.25); /* Fades into light-red on card hover */
}

.process-card-line {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    position: relative;
    top: -2px;
}

.process-card-check {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
    top: -2px;
    opacity: 0.8;
    transition: transform 0.4s ease;
}

.process-card:hover .process-card-check {
    transform: scale(1.2);
}

.process-cta-box {
    margin-top: 60px;
    padding: 35px 45px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 0 0 32px 0 !important; /* Signature Apple Brand Corner */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-cta-box:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(152, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.process-cta-box .cta-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.process-cta-box .cta-btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    background: var(--accent-color);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0 0 14px 0 !important; /* Apple Brand Corner for the button */
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(152, 0, 0, 0.2);
}

.process-cta-box .cta-btn-sm:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 4px 20px rgba(152, 0, 0, 0.4);
    transform: translateY(-2px);
}

.skill-box { margin-bottom: 30px; }
.skill-info { display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: 900; margin-bottom: 8px; }
.skill-bar { width: 100%; height: 4px; background: var(--secondary-bg); }
.skill-progress { height: 100%; background: var(--accent-color); }

/* Skills Languages Box Style */
.skills-languages-box {
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 0 0 32px 0; /* Premium single-rounded Apple brand corner */
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.skills-languages-box:hover {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.02);
}

.skills-lang-title {
    font-family: var(--font-condensed);
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: var(--accent-color);
    font-weight: 900;
    text-transform: uppercase;
}

.lang-dials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lang-dial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 22px 15px;
    border-radius: 0 0 20px 0; /* Symmetric Apple brand corner */
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.lang-dial-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

.lang-dial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.lang-dial-card:nth-child(1):hover::before {
    background: linear-gradient(90deg, #ff3333, #ffffff);
}

.dial-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-ring-circle {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-linecap: round;
}

.dial-percentage {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.lang-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lang-name {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: 0.08em;
}

.lang-level {
    font-size: 0.72rem;
    color: var(--muted-text);
    font-weight: 500;
    letter-spacing: 0.02em;
}

@media (max-width: 500px) {
    .lang-dials-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .lang-dial-card {
        flex-direction: row;
        text-align: left;
        padding: 15px 25px;
        align-items: center;
        gap: 25px;
    }
    .dial-wrapper {
        margin-bottom: 0;
    }
    .lang-info {
        gap: 2px;
    }
}

.resume-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.resume-category h3 { font-family: var(--font-condensed); font-size: 1.2rem; color: var(--accent-color); margin-bottom: 20px; }
.resume-block { margin-bottom: 30px; border-left: 1px solid var(--border-color); padding-left: 20px; }
.resume-block .year { font-size: 0.7rem; color: var(--muted-text); }

/* Testimonials Slider & Controls Style */
.testimonials-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.testimonials-header-wrap .content-header {
    margin: 0;
    border: none;
    padding: 0;
}

.testimonials-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.testi-control-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.testi-control-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(152, 0, 0, 0.2);
}

.testimonials-slider-outer {
    width: 100%;
    position: relative;
}

.testimonials-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0 25px 0; /* Add top/bottom padding to allow overlapping avatar and shadows */
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.testimonial-slide {
    display: flex; /* Enforces flex stretching for consistent heights inside track */
    flex: 0 0 50%; /* On desktop, shows 2 slides (each is 50% width) */
    padding: 0 15px; /* Symmetrical gutters between slides */
    box-sizing: border-box;
}

/* Premium Testimonial Card Layout */
.testimonial-card-premium {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 0 0 24px 0 !important; /* Signature Apple brand corner */
    padding: 40px 35px 35px 35px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px; /* Highly consistent height matching working process cards */
    width: 100%; /* Stretch fully inside parent flex slide */
    box-sizing: border-box;
    transition: var(--transition-smooth);
}

.testimonial-card-premium:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(152, 0, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(152, 0, 0, 0.05);
}

/* Floating Overlapping Avatar Style */
.testi-profile-wrap {
    position: absolute;
    top: 0;
    left: 35px;
    transform: translateY(-50%);
    z-index: 5;
}

.testi-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid var(--bg-color); /* Matches page dark background */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    object-fit: cover;
}

.testi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px; /* Accounts for floating avatar offset */
}

.testi-card-header .testi-author {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
    letter-spacing: 0.01em;
}

.testi-step-num {
    font-family: var(--font-condensed);
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.testimonial-card-premium:hover .testi-step-num {
    color: rgba(152, 0, 0, 0.2);
}

.testi-card-body {
    flex-grow: 1;
    margin-bottom: 25px;
}

.testi-quote-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--muted-text);
    font-style: italic;
    margin: 0;
}

.testi-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 20px;
}

/* Premium Platform Badge (Mockup-aligned VIA FACEBOOK style) */
.testi-platform-tag {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 8px 18px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.testimonial-card-premium:hover .testi-platform-tag {
    background: rgba(152, 0, 0, 0.05);
    border-color: rgba(152, 0, 0, 0.2);
}

.testi-decor-quote {
    font-family: var(--font-condensed);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    user-select: none;
    transition: color 0.3s ease;
}

.testimonial-card-premium:hover .testi-decor-quote {
    color: rgba(152, 0, 0, 0.15);
}

/* Pagination Dots */
.testimonials-pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.testi-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--accent-color);
}

/* Endless Partner Logo Marquee Row */
.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 0 0 24px 0; /* Signature Apple curved corner */
    padding: 35px var(--mobile-gutter);
    margin-top: 50px;
    position: relative;
    box-sizing: border-box;
}

/* Gradient fade masks on left/right edges for premium cinematic feel */
.logo-marquee-container::before,
.logo-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-color) 0%, rgba(6, 8, 8, 0) 100%);
}

.logo-marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-color) 0%, rgba(6, 8, 8, 0) 100%);
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 30px;
    animation: infiniteMarquee 35s linear infinite;
}

.logo-marquee-track:hover {
    animation-play-state: paused; /* Pause scrolling on mouse hover for accessibility */
}

@keyframes infiniteMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Shift exactly by half the total duplicated track width */
}

/* Premium Black and White Logos in Marquee */
.marquee-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    user-select: none;
    margin: 0 15px; /* Symmetrical spacing */
}

.marquee-logo:hover {
    opacity: 1;
    transform: scale(1.06);
}

/* Symmetrical SVG-style Typographic Badges */
.logo-badge-emblem {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 15px 30px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    user-select: none;
    flex-shrink: 0;
}

.logo-badge-emblem:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(152, 0, 0, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(152, 0, 0, 0.05);
    transform: translateY(-2px);
}

.emblem-icon {
    color: var(--muted-text);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.logo-badge-emblem:hover .emblem-icon {
    color: var(--accent-color);
}

.emblem-img-logo {
    max-width: 35px;
    max-height: 35px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.logo-badge-emblem:hover .emblem-img-logo {
    opacity: 1;
}

.emblem-texts {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.emblem-main {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.emblem-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--muted-text);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
}

.portfolio-grid-new {
    column-count: 2;
    column-gap: 20px;
    width: 100%;
}
.port-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 32px 0;
    break-inside: avoid;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
}
.port-item img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover !important;
}
.port-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: 0.4s;
    border-radius: 0 0 32px 0;
}
.port-item:hover .port-overlay { opacity: 1; }
.port-overlay span { color: var(--accent-color); font-weight: 900; font-size: 0.7rem; }
.port-overlay h3 { font-family: var(--font-condensed); font-size: 1.8rem; }

/* Portfolio Filtering System */
.portfolio-filter-container {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--muted-text);
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 0.65rem; /* Smaller desktop filter */
    font-weight: 700;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    border-radius: 0 0 16px 0; /* Brand Signature: Bold Bottom-Right Apple-Style Rounded Only */
}

.filter-btn:hover {
    color: var(--text-color);
    border-color: var(--color-burnt-gray);
}

.filter-btn.active {
    background: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
}

.port-item {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
}

.port-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
}

/* Footer Reveal System */
.footer-section { 
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1; /* Place behind main content */
    background: var(--bg-color);
    padding-left: var(--sidebar-width);
    padding-top: 100px; /* Push the whole box down */
}

.footer-box { 
    padding: 120px 80px 80px 80px; /* Pushed content down */
    background: var(--secondary-bg); /* Deep Midnight Grey/Blue */
    border: 1px solid var(--border-color);
    border-radius: 0 0 48px 0; /* Brand Signature: Bold Bottom-Right Apple-Style Rounded Only */
    position: relative;
    max-width: 1200px; 
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.footer-columns { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; /* Better balance for side-by-side info */
    gap: 60px; 
    align-items: flex-start; /* Aligned to top for better readability */
}

.footer-main-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.footer-tagline span {
    color: var(--accent-color);
}

.col-title {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    color: var(--muted-text);
    margin-bottom: 20px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-details a {
    font-size: 1.5rem; /* Bold, readable contact info */
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-color);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-contact-details a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.footer-location-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-text {
    font-size: 0.9rem;
    color: var(--muted-text);
    line-height: 1.6;
}

.map-container {
    overflow: hidden;
    border-radius: 0 0 32px 0; /* Brand Signature: Bold Bottom-Right Apple-Style Rounded Only */
    border: 1px solid var(--border-color);
}

.map-container iframe {
    height: 180px;
    display: block;
}

.footer-social-wrap {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-circle {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.social-circle:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Ensure main content covers the footer */
main[data-scroll-container] {
    position: relative;
    z-index: 2;
    background: var(--bg-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.col-title span {
    color: var(--accent-color);
}

.col-text {
    color: var(--muted-text);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

/* Subscription Form Professional */
.subscribe-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    transition: var(--transition-smooth);
    max-width: 350px;
}

.subscribe-form:focus-within {
    border-bottom-color: var(--accent-color);
}

.subscribe-form input {
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    width: 100%;
}

.subscribe-form input::placeholder {
    color: #444;
}

.subscribe-form button {
    background: transparent;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 1.3rem;
    padding-left: 15px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.subscribe-form button:hover {
    transform: translateX(5px);
    color: var(--text-color);
}

/* Contact Info Professional */
.footer-contact-info .info-item {
    margin-bottom: 25px;
}

.footer-contact-info span {
    display: block;
    font-size: 0.7rem;
    color: var(--muted-text);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.footer-contact-info a, .footer-contact-info p {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-condensed);
    font-size: 1.3rem;
    transition: var(--transition-smooth);
    display: block;
    letter-spacing: 0.05em;
}

.footer-contact-info a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

/* Footer Bottom */
.footer-bottom { 
    margin-top: 80px; 
    padding: 40px 60px;
    background: var(--bg-color); /* Super dark Midnight */
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--border-color);
}

.copyright {
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.to-top-btn { 
    background: var(--accent-color); 
    color: var(--text-color); 
    padding: 14px 28px; 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.footer-socials a {
    color: var(--muted-text);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a i, .footer-socials a svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
}

.footer-socials a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

.to-top-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
}

.to-top-btn i {
    width: 16px;
}

@media (max-width: 1024px) {
    :root {
        --mobile-gutter: 30px;
    }

    /* Bulletproof Horizontal Layout Lock */
    html, body,
    .pinned-layout,
    .scrolling-right-panel,
    .content-section,
    .footer-section,
    footer,
    main {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .hero-bg-image {
        background-position: 80% center; /* Focus the image on narrow screens to show the face */
    }
    
    /* Minimal, Sleek Top Sidebar Header */
    .sidebar {
        width: 100%;
        height: 70px;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0 var(--mobile-gutter); /* Perfect symmetric side padding aligned to visual grid */
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--secondary-bg);
    }
    
    .sidebar-top {
        display: flex !important;
        flex-direction: row !important; /* Memaksa sejajar horizontal ke samping */
        align-items: center !important;
        order: 1;
        padding: 0;
        height: 100%;
        width: auto;
        flex: none;
    }
    
    .logo-box-link { 
        padding: 0; 
        height: 100%; 
        display: flex; 
        align-items: center; 
    }

    /* Styling Fitur Bahasa Mobile Baru */
    .mobile-lang-switcher {
        display: flex !important;
        align-items: center;
        gap: 6px;
        margin-left: 15px;
        padding-left: 15px;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        height: 20px;
    }
    .mobile-lang-switcher .lang-btn {
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.4);
        font-family: var(--font-condensed);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        cursor: pointer;
        padding: 2px 4px;
        transition: var(--transition-smooth);
    }
    .mobile-lang-switcher .lang-btn:hover {
        color: var(--text-color);
    }
    .mobile-lang-switcher .lang-btn.active {
        color: var(--accent-color);
    }
    .mobile-lang-switcher .lang-sep {
        color: rgba(255, 255, 255, 0.15);
        font-size: 0.65rem;
        user-select: none;
    }
    
    .sidebar-bottom {
        display: none !important; /* Completely hide sidebar bottom cell to keep mobile header clean and uncluttered */
    }
    
    .sidebar-middle {
        display: flex;
        align-items: center;
        order: 2;
        padding: 0;
        height: 100%;
        margin: 0;
        flex: none;
        width: auto;
        flex-direction: row;
    }
    
    .menu-toggle { 
        height: 100%; 
        width: auto; 
        display: flex;
        justify-content: center;
        align-items: center;
        border-left: none;
        border-right: none;
        padding: 0;
        transition: var(--transition-smooth);
    }
    .menu-toggle:hover {
        background: transparent;
    }
    .hamburger { margin: 0; }
    
    .logo-box { width: 40px; height: 40px; font-size: 1rem; }
    .logo-box::after { bottom: 6px; right: 6px; width: 6px; height: 6px; }

    /* Responsive Slide-out Menu Panel */
    .menu-panel {
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        top: 70px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0 0 54px 0 !important; /* Brand Signature: Gorgeous bold bottom corner flow */
    }
    
    .menu-panel-inner {
        padding: 25px var(--mobile-gutter) 15px;
    }
    
    .menu-panel-subtitle {
        margin-bottom: 20px;
    }
    
    .menu-nav-group {
        gap: 8px;
    }
    
    .menu-panel-link {
        font-size: 1.25rem;
        gap: 12px;
    }
    
    .menu-panel-link span:first-child {
        font-size: 0.78rem;
    }
    
    .menu-nav-divider {
        margin: 12px 0;
    }
    
    .menu-nav-group.sub-group {
        gap: 8px;
    }
    
    .menu-nav-group.sub-group .menu-panel-link {
        font-size: 1.1rem;
    }
    
    .menu-panel-footer {
        padding-top: 15px;
    }
    
    .menu-panel-contact .footer-title {
        margin-bottom: 8px;
    }
    
    .menu-panel-contact a {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    
    .menu-panel-socials {
        margin-top: 12px;
    }

    /* On mobile: hide the desktop sticky sub-nav, show only the one inside hero */
    .sub-nav--desktop {
        display: none !important;
    }
    .hero-split .sub-nav {
        display: block !important;
    }

    /* Sub-nav: initial state absolute at bottom of hero, fixed when scrolled */
    .sub-nav { 
        position: absolute !important;
        top: auto !important;
        bottom: 0 !important; /* flush to bottom of hero section */
        left: 0 !important;
        width: 100% !important; 
        margin-left: 0 !important; 
        padding: 0 !important; 
        z-index: 999 !important; 
        background: rgba(6, 8, 8, 0.97) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid var(--border-color) !important;
        /* Start invisible for entrance animation */
        opacity: 0;
        transform: translateY(10px);
        /* Smooth transition for sticky snap */
        transition: opacity 0.4s ease, transform 0.4s ease !important;
    }

    /* Sticky state – JS adds this class when user scrolls past hero */
    .sub-nav.is-sticky {
        position: fixed !important;
        top: 70px !important;
        bottom: auto !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .sub-links-wrapper {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .sub-links {
        flex: 1 !important;
        display: flex !important;
        justify-content: flex-start !important; /* Rata kiri */
        overflow-x: auto !important; /* Scrollable halus jika layar ekstra sempit */
        -webkit-overflow-scrolling: touch !important;
        white-space: nowrap !important;
        gap: 16px !important; /* Jarak rapat antar tombol */
        padding: 0 15px 0 20px !important; /* Jarak kosong di sebelah kiri (padding-left: 20px) */
    }
    
    .sub-links::-webkit-scrollbar {
        display: none !important; /* Sembunyikan scrollbar untuk kebersihan estetis */
    }
    
    /* Link item bergaya minimalis tanpa garis */
    .sub-links a {
        flex: none !important;
        text-align: left !important;
        justify-content: flex-start !important;
        font-size: clamp(0.48rem, 1.8vw, 0.58rem) !important;
        letter-spacing: 0.04em !important;
        padding: 12px 0 !important;
        white-space: nowrap !important;
        border-right: none !important; /* Hilangkan garis pembatas kanan */
        transition: var(--transition-smooth) !important;
    }
    
    .sub-links a > span:first-child {
        display: none !important;
    }
    
    /* Tombol navigasi atas-bawah tetap di sebelah kanan */
    .nav-controls-minimal {
        display: flex !important;
        align-items: center !important;
        gap: 1px !important;
        margin-right: 15px !important; /* Sesuai grid kanan */
        flex-shrink: 0 !important;
    }

    .nav-controls-minimal .nav-arrow {
        font-size: 0.7rem !important;
        padding: 8px 5px !important;
        color: var(--accent-color) !important;
    }

    .nav-controls-minimal .nav-sep {
        font-size: 0.65rem !important;
    }
    
    .hero-split { 
        padding-left: 0; 
        height: 100vh; /* Restore full height */
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 70px; /* Only clear the top navbar; sub-nav is below hero initially */
        position: relative; /* needed so absolute sub-nav is positioned relative to hero */
    }
    .hero-content-wrapper { 
        padding-left: var(--mobile-gutter); 
        padding-right: var(--mobile-gutter); 
        text-align: left; /* Left aligned as requested */
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }
    .hero-accent-line { margin: 0 0 20px 0; } /* Left align the accent line */
    .hero-display-title { 
        font-size: clamp(1.45rem, 7.5vw, 2.1rem); 
        line-height: 1.15; 
        letter-spacing: -0.02em; 
        margin-bottom: 18px;
    }
    .hero-desc { 
        margin: 0 0 25px; 
        font-size: 0.82rem; 
        line-height: 1.5; 
        max-width: 520px;
    }
    .hero-status-wrap {
        gap: 4px;
        margin-bottom: 12px;
    }
    .hero-status-location {
        font-size: clamp(0.72rem, 3.2vw, 0.8rem);
    }
    .hero-status-opportunity {
        font-size: clamp(0.68rem, 3vw, 0.74rem);
    }
    .text-nowrap {
        white-space: normal !important;
    }
    .hero-bottom { 
        position: absolute; 
        bottom: 30px; 
        left: 0; 
        width: 100%;
        height: auto;
        border-top: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0 var(--mobile-gutter); 
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 20;
    }
    .hero-progress-indicator {
        gap: 10px;
    }
    .progress-bar-track {
        width: 80px;
    }
    .hero-scroll-discover {
        display: none !important; /* Hide center scroll text on mobile to avoid overcrowding */
    }
    .hero-arrow-btn {
        width: 38px;
        height: 38px;
    }

    .pinned-layout { flex-direction: column; padding-left: 0; }
    .fixed-left-panel { display: none !important; }
    .scrolling-right-panel { width: 100%; }
    
    /* Gutter Consistency across Sections */
    .content-section { padding: 80px var(--mobile-gutter); min-height: auto; }
    .about-body { flex-direction: column; gap: 40px; }
    
    /* Editorial Alignment Updates */
    .profile-frame { 
        width: 100%; 
        max-width: 260px; 
        margin: 0 0 10px 0; /* Left-aligned */
        align-self: flex-start; /* Unified Left Alignment */
    }
    
    .resume-wrapper { grid-template-columns: 1fr; }
    
    .footer-section { padding-left: 0; position: relative; z-index: 10; }
    .footer-box { padding: 40px var(--mobile-gutter); border-radius: 0 0 32px 0 !important; }
    
    /* Centered Mobile Footer Alignment */
    .footer-columns { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-tagline { font-size: clamp(1.6rem, 5vw, 2.2rem); text-align: center; }
    .footer-contact-details a { font-size: 1.2rem; text-align: center; }
    .footer-social-wrap { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; align-items: center; padding: 30px var(--mobile-gutter); }
    .map-container iframe { height: 150px; }
    .footer-location-box { text-align: center; }

    /* Process Mobile Rules */
    .process-cta-box {
        flex-direction: column;
        padding: 30px var(--mobile-gutter);
        text-align: center;
        border-radius: 0 0 20px 0 !important;
        align-items: center;
        gap: 20px;
    }
    
    .process-cta-box .cta-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr; /* Vertical stacking on handheld screens */
        gap: 25px;
        margin-top: 35px;
    }
    
    .process-card {
        gap: 15px;
    }
    
    .process-card-body {
        min-height: auto;
        padding: 25px 20px;
    }

    /* Premium responsive technical corner brackets positioning */
    .hero-corner-bracket.top-left {
        top: calc(70px + var(--mobile-gutter));
        left: var(--mobile-gutter);
    }
    .hero-corner-bracket.top-right {
        top: calc(70px + var(--mobile-gutter));
        right: var(--mobile-gutter);
    }
    .hero-corner-bracket.bottom-left {
        bottom: calc(70px + var(--mobile-gutter));
        left: var(--mobile-gutter);
    }
    .hero-corner-bracket.bottom-right {
        bottom: calc(70px + var(--mobile-gutter));
        right: var(--mobile-gutter);
    }
}

@media (max-width: 768px) {
    .social-sidebar .social-box { display: none !important; }
    .testimonial-slide {
        flex: 0 0 100%;
    }
    .testimonial-card-premium {
        min-height: auto;
        padding: 35px 25px 25px 25px; /* Compact padding matching mobile process cards */
    }
}

@media (max-width: 600px) {
    /* Compress hero text and position with balanced left margin to clear background image */
    .hero-content-wrapper {
        padding-left: var(--mobile-gutter);
        padding-right: var(--mobile-gutter);
        max-width: 100%; /* Wider width for neat wrapping on compact viewports */
        align-self: flex-start;
        width: 100%;
    }
    
    .vertical-tag {
        font-size: 0.65rem;
        letter-spacing: 0.3em;
        margin-bottom: 6px;
    }
    
    .hero-accent-line {
        margin-bottom: 15px;
        width: 35px;
        height: 1.5px;
    }
    
    .hero-display-title { 
        font-size: clamp(1.15rem, 6.2vw, 1.45rem); 
        line-height: 1.15;
        margin-bottom: 10px;
    }
    
    .hero-prefix {
        font-size: clamp(0.6rem, 2.8vw, 0.7rem);
        margin-bottom: 4px;
        letter-spacing: 0.12em;
    }
    
    .hero-desc { 
        font-size: clamp(0.68rem, 3vw, 0.74rem); 
        line-height: 1.45;
        margin-bottom: 20px; 
    }
    
    .cta-btn {
        padding: 10px 20px;
        font-size: 0.65rem;
        gap: 8px;
        letter-spacing: 0.12em;
    }
    
    .cta-arrow svg {
        width: 12px;
        height: 12px;
    }
    
    /* Optimized portfolio filters for mobile */
    .portfolio-filter-container { gap: 8px 12px; margin-bottom: 35px; justify-content: flex-start; }
    .filter-btn { padding: 8px 15px; font-size: 0.6rem; letter-spacing: 0.05em; }
    
    /* Editorial Left-Aligned Section Layouts */
    .main-title { font-size: clamp(2.2rem, 8vw, 3rem); line-height: 1.1; }
    .subtitle { font-size: 0.65rem; letter-spacing: 0.15em; line-height: 1.4; margin-bottom: 35px; }
    .description { font-size: 0.85rem; line-height: 1.6; }
    .portfolio-grid-new { column-count: 1; }
    .footer-bottom { padding: 25px var(--mobile-gutter); }
    .copyright { font-size: 0.6rem; }
    
    /* Resume details typography spacing */
    .resume-block h4 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin: 5px 0; color: var(--text-color); }
    .resume-block p { font-size: 0.85rem; color: var(--muted-text); margin: 0; }
    
    /* Similar labels */
    .stat-label { font-size: 0.5rem; }
    .service-num { font-size: 0.7rem; }

    /* Left-Aligned statistics for mobile */
    
    .inner-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 35px;
        width: 100%;
    }
    
    .stat-item {
        padding: 22px 18px;
        border-radius: 0 0 16px 0 !important; /* Smaller signature brand corner for mobile devices */
    }
    
    .stat-number {
        font-size: 2.4rem;
        margin-bottom: 8px;
    }
    
    .stat-number::after {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.6rem !important;
        letter-spacing: 0.12em;
    }
    
    .section-number {
        right: var(--mobile-gutter);
        top: 30px;
        font-size: clamp(4rem, 15vw, 8rem);
    }
}

@media (max-width: 480px) {
    :root {
        --mobile-gutter: 20px; /* Refined gutter to maximize text space on tight displays */
    }
}

/* Premium Portfolio Lightbox Modal Styling */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 20000; /* Above all site elements, sidebars, and loader */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(6, 8, 8, 0.96); /* PRETO background with high opacity */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.show {
    opacity: 1;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.show .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 35px;
    right: 45px;
    color: var(--text-color);
    font-size: 36px;
    font-weight: 200;
    transition: var(--transition-smooth);
    cursor: pointer;
    z-index: 20002;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-close:hover {
    color: var(--accent-color);
    background: rgba(152, 0, 0, 0.1);
    border-color: rgba(152, 0, 0, 0.3);
    transform: scale(1.05) rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 40px;
    text-align: center;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    z-index: 20001;
    background: rgba(6, 8, 8, 0.7);
    padding: 10px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.lightbox-modal.show .lightbox-caption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
    }
    .lightbox-caption {
        bottom: 30px;
        font-size: 0.85rem;
        padding: 8px 20px;
    }
}

/* Aspect ratio auto-managed by CSS columns masonry */

/* Lightbox Navigation Slider Styles */
.lightbox-img-wrapper {
    max-width: 85%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 24px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 20005;
    user-select: none;
}

.lightbox-nav:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(152, 0, 0, 0.3);
}

.lightbox-prev {
    left: 45px;
}

.lightbox-next {
    right: 45px;
}

.lightbox-counter {
    position: absolute;
    top: 35px;
    left: 45px;
    color: var(--text-color);
    font-family: var(--font-condensed);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    z-index: 20001;
    background: rgba(6, 8, 8, 0.6);
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: none; /* Only show when there are multiple slides */
}

/* Tablet overrides clean-up */

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .lightbox-prev {
        left: 20px;
    }
    .lightbox-next {
        right: 20px;
    }
    .lightbox-counter {
        top: 20px;
        left: 20px;
        font-size: 0.78rem;
        padding: 6px 12px;
    }
    
    /* Mobile aspect ratio managed by CSS columns masonry */
}
