@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300;0,600;1,300;1,600&family=Space+Grotesk:wght@300;500;700&family=DM+Serif+Display:ital@0;1&family=Syne:wght@400;800&display=swap');

/* --- Theme Variables (Premium Warm Light Theme) --- */
:root {
    --bg-primary: #f9f7f3;
    --bg-secondary: #ffffff;
    --bg-tertiary: #ede9e0;
    --accent: #f59128;
    --accent-hover: #e07820;
    --accent-light: rgba(245, 145, 40, 0.09);
    --text-primary: #1c1917;
    --text-secondary: #57534e;
    --text-muted: #a8a29e;
    --border-color: rgba(180, 130, 60, 0.13);
    --glass-bg: rgba(255, 253, 249, 0.90);
    --glass-border: rgba(180, 130, 60, 0.10);
    --glass-shadow: rgba(100, 60, 10, 0.09);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 1.2s cubic-bezier(0.85, 0, 0.15, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-reveal: all 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Theme Variables (Premium Dark Theme) --- */
.dark-mode {
    --bg-primary: #0a0908;
    --bg-secondary: #12100e;
    --bg-tertiary: #1b1814;
    --accent: #f59128;
    --accent-hover: #fa9e42;
    --accent-light: rgba(245, 145, 40, 0.15);
    --text-primary: #f9f7f3;
    --text-secondary: #dcd7cd;
    --text-muted: #8c857b;
    --border-color: rgba(245, 145, 40, 0.20);
    --glass-bg: rgba(18, 16, 14, 0.85);
    --glass-border: rgba(245, 145, 40, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.4);

    /* Demo Ported variables mapped to dark theme */
    --bg: #0a0908;
    --surface: #12100e;
    --surface-card: #1b1814;
    --surface-glass: rgba(18, 16, 14, 0.85);
    --border-glass: rgba(245, 145, 40, 0.15);
    --white: #f9f7f3;
    --muted: #dcd7cd;
}

.dark-mode #preloader {
    background: linear-gradient(150deg, #12100e 0%, #0a0908 60%, #1f1d19 100%) !important;
}

.dark-mode .preloader-counter {
    color: var(--text-primary) !important;
}

/* Smooth transitions for theme switching */
body,
.navbar,
section,
.vr-viewport-wrapper,
.vr-tab,
.gallery-panel,
.renders-showcase-container,
.book-container,
.contact-form-wrapper,
.crm-grid,
.form-control,
.btn-secondary {
    transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* scroll-behavior: smooth; managed by Lenis */
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle warm noise texture */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.018'/%3E%3C/svg%3E");
    -webkit-font-smoothing: antialiased;
}

/* Prevent scrolling while loading */
body.loading {
    overflow: hidden;
}

/* --- Selection & Scrollbar --- */
::selection {
    background-color: rgba(245, 145, 40, 0.22);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent) 0%, #e07820 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Layout Containers --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Preloader Screen Wipe System --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

/* Secondary golden wipe layer behind the preloader */
.preloader-wipe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    z-index: 9998;
    transform: translateY(100%);
    transition: var(--transition-smooth);
    transition-delay: 0.08s;
}

body.loaded #preloader {
    transform: translateY(-100%);
}

body.loaded .preloader-wipe {
    transform: translateY(-100%);
}

/* Preloader Content Animation */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

/* SVG Prism Draw animation */
.loader-logo-svg {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawPrism 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes drawPrism {
    0% {
        stroke-dashoffset: 400;
        fill: rgba(245, 145, 40, 0);
    }

    60% {
        stroke-dashoffset: 0;
        fill: rgba(245, 145, 40, 0);
    }

    100% {
        stroke-dashoffset: 0;
        fill: rgba(245, 145, 40, 0.08);
    }
}

/* Staggered Letter Loading Animation */
.loader-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.loader-title span {
    display: inline-block;
    transform: translateY(110%);
    animation: revealLetter 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealLetter {
    to {
        transform: translateY(0);
    }
}

/* Stagger letters */
.loader-title span:nth-child(1) {
    animation-delay: 0.1s;
}

.loader-title span:nth-child(2) {
    animation-delay: 0.15s;
}

.loader-title span:nth-child(3) {
    animation-delay: 0.2s;
}

.loader-title span:nth-child(4) {
    animation-delay: 0.25s;
}

.loader-title span:nth-child(5) {
    animation-delay: 0.3s;
}

.loader-title span:nth-child(6) {
    animation-delay: 0.35s;
}

.loader-title span:nth-child(7) {
    animation-delay: 0.4s;
}

.loader-title span:nth-child(8) {
    animation-delay: 0.45s;
}

.loader-title span:nth-child(9) {
    animation-delay: 0.5s;
}

.loader-title span:nth-child(10) {
    animation-delay: 0.55s;
}

.loader-title span:nth-child(11) {
    animation-delay: 0.6s;
}

.loader-title span:nth-child(12) {
    animation-delay: 0.65s;
}

/* Loading Progress bar */
.loader-progress-bar {
    width: 180px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    border-radius: 10px;
}

.loader-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: fillProgress 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* --- Glassmorphism Elements --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 1000;
    background: rgba(249, 247, 243, 0.80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s, opacity 1.2s ease 0.6s, background-color 0.4s ease, box-shadow 0.4s ease;
}

body.loaded header {
    transform: translateY(0);
    opacity: 1;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(100, 60, 10, 0.07);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: var(--transition-fast);
}

header.scrolled .nav-container {
    height: 75px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

header.scrolled .logo-img {
    height: 34px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #111318;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-cta:hover {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(245, 145, 40, 0.35);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% -5%, rgba(245, 145, 40, 0.12) 0%, var(--bg-primary) 55%);
}

/* Cinematic Background Scaling (Ken Burns Effect) */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 1.8s ease-in-out 0.2s, transform 8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    filter: brightness(0.35) contrast(1.05) saturate(0.75);
}

body.loaded .hero-bg-image {
    opacity: 0.65;
    transform: scale(1);
}

/* Backdrop ambient glow overlays */
.hero-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 145, 40, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -10%;
    right: -10%;
    z-index: 2;
}

.hero-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 120, 200, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -20%;
    left: -10%;
    z-index: 2;
}

/* Linear gradient to fade bottom section into next */
.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    background: linear-gradient(to top, var(--bg-secondary) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 950px;
}

/* Cinematic Reveal Typography */
.reveal-wrapper {
    overflow: hidden;
    display: block;
    margin-bottom: 1.5rem;
}

.reveal-content {
    display: inline-block;
    transform: translateY(115%);
    transition: var(--transition-reveal);
}

body.loaded .reveal-content {
    transform: translateY(0);
}

/* Staggered transition delays for cinematic landing */
.hero-tag-reveal {
    transition-delay: 0.5s;
}

.hero-title-reveal-1 {
    transition-delay: 0.7s;
}

.hero-title-reveal-2 {
    transition-delay: 0.85s;
}

.hero-desc-reveal {
    transition-delay: 1.0s;
}

.hero-btn-reveal {
    transition-delay: 1.15s;
}

.hero-tag {
    font-family: var(--font-heading);
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.25em;
    font-size: 0.85rem;
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background: var(--accent-light);
    border: 1px solid rgba(245, 145, 40, 0.2);
    border-radius: 50px;
}

.hero h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff;
    border: 1px solid var(--accent);
    box-shadow: 0 4px 18px rgba(245, 145, 40, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #c86010 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 145, 40, 0.40);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(245, 145, 40, 0.06);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition-reveal);
    transition-delay: 1.3s;
}

body.loaded .scroll-down {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.scroll-down:hover {
    color: var(--accent);
}

.scroll-down span {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.scroll-down span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

.scroll-down:hover span {
    border-color: var(--accent);
}

.scroll-down:hover span::before {
    background-color: var(--accent);
}

@keyframes scroll-anim {
    0% {
        top: 6px;
        opacity: 1;
    }

    50% {
        top: 15px;
        opacity: 0;
    }

    100% {
        top: 6px;
        opacity: 1;
    }
}

/* --- Section Headers --- */
.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto 3rem;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(245, 145, 40, 0.2);
}

.section-header>*:first-child {
    flex: 1 1 400px;
    margin-bottom: 0 !important;
}

.section-header>p {
    flex: 1 1 400px;
    margin-bottom: 0 !important;
    text-align: left !important;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: block;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(245, 145, 40, 0.25));
    border-radius: 10px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 0.75rem;
}

/* --- Service Sections & Mosaic Gallery --- */
.service-section {
    padding: 8rem 0;
}

.service-section:nth-child(even) {
    background-color: var(--bg-secondary);
}

/* Warm left accent border for service sections â€” disabled for seamless look */
/*
.service-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    opacity: 0.35;
    pointer-events: none;
}
*/

.expanding-gallery {
    display: flex;
    width: 100%;
    height: 700px;
    gap: 0;
    margin-top: 4rem;
    perspective: 1000px;
}

/* Individual gallery panels */
.gallery-panel {
    position: relative;
    flex: 1;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    border: none;
    background-color: var(--bg-tertiary);
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: flex;
}

/* Link wrapper stretching across panel */
.panel-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Panel Background Image */
.gallery-panel .panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s ease;
    z-index: 1;
}

/* Hover & Active Expansion Styles */
.gallery-panel.active {
    flex: 5.5;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.6);
}

.gallery-panel:not(.active) {
    flex: 0.8;
}

/* Dim non-active panel slightly more on gallery hover */
.expanding-gallery:hover .gallery-panel:not(.active) {
    filter: none;
}

.gallery-panel.active .panel-bg {
    transform: scale(1.03);
}

/* Vertical Rotated Title (for collapsed state on desktop) */
.panel-title-vertical {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center center;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 1;
    z-index: 2;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
}

.gallery-panel:hover .panel-title-vertical {
    color: #ffffff;
}

.gallery-panel.active .panel-title-vertical {
    opacity: 0;
    pointer-events: none;
}

/* Content sitting on top of panel image */
.panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3rem 2.5rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(10, 12, 20, 0.92) 0%, rgba(10, 12, 20, 0.45) 45%, rgba(10, 12, 20, 0) 100%);
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-panel.active .panel-content {
    opacity: 1;
}

.panel-header {
    margin-bottom: 0.5rem;
    transition: margin 0.5s ease;
}

.gallery-panel.active .panel-header {
    margin-bottom: 1.5rem;
}

.panel-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    transition: font-size 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s ease;
}

.panel-category {
    font-family: var(--font-heading);
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(15px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: opacity 0.5s ease 0.2s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.gallery-panel.active .panel-category {
    opacity: 1;
    transform: translateY(0);
}

.panel-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(15px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: opacity 0.5s ease 0.2s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.gallery-panel.active .panel-title {
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 0.75rem;
}

.panel-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.5s ease,
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-panel.active .panel-body {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.panel-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 550px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.panel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    text-decoration: none;
}

.panel-btn i {
    transition: transform 0.3s ease;
}

.gallery-panel.active .panel-link-wrapper:hover .panel-btn {
    color: #ffffff;
}

.gallery-panel.active .panel-link-wrapper:hover .panel-btn i {
    transform: translateX(6px);
}

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

.about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 20px rgba(100, 60, 10, 0.07);
    transition: var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 145, 40, 0.12);
    border-color: rgba(245, 145, 40, 0.25);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    aspect-ratio: 4 / 5;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    padding: 2rem;
    border-radius: 6px;
    max-width: 250px;
}

.floating-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.floating-card-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* --- Services Section --- */
.services {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 24px rgba(100, 60, 10, 0.07);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(245, 145, 40, 0.12);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-list li::before {
    content: 'â†’';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    background: linear-gradient(135deg, #fff8f0, #fdf3e5);
    box-shadow: 0 4px 12px rgba(245, 145, 40, 0.14);
    flex-shrink: 0;
}

.contact-method-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.contact-method-text a,
.contact-method-text p,
.contact-method-val,
.contact-method-val a {
    color: var(--text-primary, #1c1917) !important;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0 !important;
    transition: var(--transition-fast);
}

.contact-method-text a:hover,
.contact-method-val a:hover {
    color: var(--accent) !important;
}

.contact-form-wrapper {
    padding: 3rem;
    border-radius: 6px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    padding: 1rem 1.25rem;
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(100, 60, 10, 0.05) inset;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 145, 40, 0.10), 0 2px 8px rgba(100, 60, 10, 0.05) inset;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    cursor: pointer;
    border: none;
}

/* --- Footer --- */
footer.footer,
footer {
    padding: 100px 0 40px;
    background-color: var(--bg-secondary, #060504);
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 80px;
    align-items: start;
}

.footer-brand {
    margin-top: -12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 20px 0 28px;
    color: var(--text-muted);
    max-width: 320px;
}

.footer-brand img,
.footer-logo-img {
    width: 230px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: -12px;
    display: block;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245, 145, 40, 0.08);
    border: 1px solid rgba(180, 130, 60, 0.2);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-primary, #ffffff);
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0 !important;
    box-sizing: border-box;
}

.footer-social .social-link svg,
.footer-social .social-link i {
    width: 20px !important;
    height: 20px !important;
    font-size: 20px !important;
    display: block !important;
    margin: auto !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
}

.footer-social .social-link:hover {
    background: var(--accent, #f59128) !important;
    border-color: var(--accent, #f59128) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(245, 145, 40, 0.4) !important;
    transform: translateY(-3px);
}

.footer-col-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary, #ffffff);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(6px);
}

.footer-bottom {
    border-top: 1px solid rgba(180, 130, 60, 0.1);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.footer-bottom-links {
    display: flex;
    gap: 32px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

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

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3.8rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 6rem 0;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
    }

    header.scrolled .nav-menu {
        top: 75px;
        height: calc(100vh - 75px);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
}

/* Subtle warm grain texture overlay (light themed) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}




/* Keep native cursor visible along with custom cursor elements */

@media (max-width: 992px) {
    .expanding-gallery {
        flex-direction: column;
        height: 650px;
        gap: 0;
    }

    .gallery-panel {
        width: 100%;
        transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .gallery-panel.active {
        flex: 3.5;
    }

    .gallery-panel:not(.active) {
        flex: 0.8;
    }

    .panel-title-vertical {
        display: none !important;
    }

    /* Collapsed panel content styling on mobile */
    .gallery-panel:not(.active) .panel-content {
        opacity: 1;
        padding: 1.25rem 2rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(to top, rgba(10, 12, 20, 0.85) 0%, rgba(10, 12, 20, 0.2) 100%);
    }

    .gallery-panel:not(.active) .panel-header {
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .gallery-panel:not(.active) .panel-number {
        font-size: 1.8rem;
    }

    .panel-title-mobile-collapsed {
        display: block;
        font-size: 1.1rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
        font-family: var(--font-heading);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    .gallery-panel.active .panel-title-mobile-collapsed {
        display: none !important;
    }

    /* Active panel mobile typography adjustments */
    .gallery-panel.active .panel-content {
        padding: 2rem 2rem;
    }

    .gallery-panel.active .panel-number {
        font-size: 2.5rem;
    }

    .gallery-panel.active .panel-title {
        font-size: 1.6rem;
    }

    .panel-desc {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
}

@media (min-width: 993px) {
    .panel-title-mobile-collapsed {
        display: none !important;
    }
}

/* Magnetic transition helper */
.magnetic {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* --- Seamless Horizontal Sliding Video Carousel Section --- */
.video-carousel-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 3rem 0;
}

.video-carousel-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: slideLoop 35s linear infinite;
    padding: 0 1.5rem;
}

/* Seamless slide loop keyframes translating by exactly half of the track content */
@keyframes slideLoop {
    0% {
        transform: translateX(0);
    }

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

.video-grid-card {
    display: block;
    flex-shrink: 0;
    width: 580px;
    height: 360px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pause sliding only when a video card is hovered */
.video-carousel-track:has(.video-grid-card:hover) {
    animation-play-state: paused;
}

/* Dim other cards only when a video card is hovered */
.video-carousel-track:has(.video-grid-card:hover) .video-grid-card:not(:hover) {
    opacity: 0.4;
    filter: brightness(0.5) blur(3px);
    transform: scale(0.95);
}

/* Zoom and lift hovered card */
.video-grid-card:hover {
    transform: scale(1.06);
    box-shadow: 0 25px 50px rgba(245, 145, 40, 0.35);
    filter: brightness(1) saturate(1.15);
    opacity: 1;
    z-index: 10;
}

.video-grid-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8) saturate(0.9);
    transition: filter 0.5s ease, transform 0.8s ease;
}

.video-grid-card:hover video {
    filter: brightness(1) saturate(1.15);
    transform: scale(1.05);
}

/* Card content overlays */
.video-grid-card .video-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.25rem 2rem;
    z-index: 2;
    background: linear-gradient(to top, rgba(10, 12, 20, 0.92) 0%, rgba(10, 12, 20, 0.35) 65%, rgba(10, 12, 20, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

.video-grid-card .video-tag {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-grid-card .video-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .video-grid-card {
        width: 480px;
        height: 300px;
    }

    .video-carousel-track {
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .video-grid-card {
        width: 400px;
        height: 250px;
    }

    .video-carousel-track {
        gap: 2rem;
        animation-duration: 30s;
    }

    .video-grid-card .video-title {
        font-size: 1.15rem;
    }

    .video-grid-card .video-card-overlay {
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .video-grid-card {
        width: 300px;
        height: 188px;
    }

    .video-carousel-track {
        gap: 1.5rem;
        animation-duration: 22s;
    }

    .video-grid-card .video-title {
        font-size: 1rem;
    }

    .video-grid-card .video-card-overlay {
        padding: 1.25rem 1rem;
    }
}

/* --- Service 03: 3D Renderings Advanced Hover Grid --- */
.render-grid-section {
    padding: 8rem 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.render-advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    perspective: 1000px;
}

.render-grid-card {
    position: relative;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Image zoom/rotate on hover */
.render-card-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.render-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) saturate(1.05);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.render-grid-card:hover .render-card-img {
    transform: scale(1.12) rotate(1deg);
    filter: brightness(1.05) saturate(1.15);
}

/* Glass gradient overlay */
.render-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(10, 12, 20, 0.92) 0%, rgba(10, 12, 20, 0.45) 45%, transparent 100%),
        linear-gradient(to right, rgba(10, 12, 20, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

/* Dynamic Glint (mouse-follow lens flare) */
.render-card-glint {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.render-grid-card:hover .render-card-glint {
    opacity: 1;
}

/* Sequential border drawing on hover */
.card-border-line {
    position: absolute;
    background: linear-gradient(90deg, var(--accent), #f3a647);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    pointer-events: none;
}

.card-border-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
}

.card-border-right {
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
    transition-delay: 0.08s;
}

.card-border-bottom {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition-delay: 0.16s;
}

.card-border-left {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition-delay: 0.24s;
}

.render-grid-card:hover .card-border-top {
    transform: scaleX(1);
}

.render-grid-card:hover .card-border-right {
    transform: scaleY(1);
}

.render-grid-card:hover .card-border-bottom {
    transform: scaleX(1);
}

.render-grid-card:hover .card-border-left {
    transform: scaleY(1);
}

/* Card content */
.render-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 4;
    box-sizing: border-box;
    transform: translateY(15px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.render-grid-card:hover .render-card-content {
    transform: translateY(0);
}

.render-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(245, 145, 40, 0.08);
    border: 1px solid rgba(245, 145, 40, 0.15);
    color: var(--accent);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.render-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.render-card-specs {
    display: flex;
    gap: 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.06s;
}

.render-grid-card:hover .render-card-specs {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for grid cards */
.render-grid-card:hover {
    border-color: rgba(245, 145, 40, 0.35);
    box-shadow: 0 20px 50px rgba(245, 145, 40, 0.18),
        0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Sibling focus dimming */
.render-advanced-grid:has(.render-grid-card:hover) .render-grid-card:not(:hover) {
    filter: brightness(0.55) saturate(0.8) blur(1px);
    opacity: 0.65;
    transform: scale(0.97) translate3d(0, 0, 0);
    transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

/* Responsive grid overrides */
@media (max-width: 1100px) {
    .render-advanced-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .render-grid-section {
        padding: 5rem 0;
    }

    .render-advanced-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .render-grid-card {
        height: 380px;
    }

    .render-card-specs {
        opacity: 1;
        transform: none;
    }

    .render-card-content {
        transform: none;
    }
}

/* --- Service 04: Brochure & Branding 3D Book styling --- */
#branding {
    padding: 3rem 0 4rem 0 !important;
    /* Reduced padding to fit heading and book in a single screen view */
}

#branding .section-header {
    margin-bottom: 2.2rem;
    /* Reduced margin-bottom to pull the book up */
}

.book-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    /* Reduced padding to minimize vertical footprint */
    perspective: 2200px;
    position: relative;
    width: 100%;
    min-height: 540px;
    /* Reduced min-height to fit standard laptop viewports */
    overflow: visible;
}

.book {
    position: relative;
    width: 380px;
    height: 520px;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(0);
    /* Closed: cover centered */
    will-change: transform;
}

/* Spine centered when opened */
.book.opened {
    transform: translateX(190px);
    /* Shift right by half page width */
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
    will-change: transform;
}

/* Double-sided card faces styling */
.page-front,
.page-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding: 2.5rem;
    box-sizing: border-box;
    border-radius: 4px 12px 12px 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* Page back face is rotated 180 degrees initially */
.page-back {
    transform: rotateY(180deg);
    border-radius: 12px 4px 4px 12px;
}

/* Flipped state rotation */
.page.flipped {
    transform: rotateY(-180deg);
}

/* Page stacked thickness effect (overlapping pages on the side) */
.page::before {
    content: '';
    position: absolute;
    top: 2px;
    right: -4px;
    width: 100%;
    height: 100%;
    background-color: rgba(230, 235, 245, 0.9);
    border-radius: 4px 12px 12px 4px;
    z-index: -1;
    transform: translateZ(-2px);
    pointer-events: none;
    border: 1px solid var(--border-color);
}

.page-back::before {
    left: -4px;
    right: auto;
    border-radius: 12px 4px 4px 12px;
}

/* Shadow spine valley gradients */
.page-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

.page-back::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Front Cover specific style */
.cover-front .page-front {
    background: linear-gradient(135deg, #fff8f0 0%, #fdf3e5 100%);
    border: 2px solid var(--accent);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.book-cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.book-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    padding: 0.3rem 0.8rem;
    background: var(--accent-light);
    border: 1px solid rgba(245, 145, 40, 0.2);
    border-radius: 20px;
}

.cover-front h3 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin: 0.5rem 0;
    color: #1a1a2e;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cover-front p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 85%;
    line-height: 1.5;
}

.flip-hint {
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: pulseHint 2s infinite ease-in-out;
}

@keyframes pulseHint {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(4px);
    }
}

/* Inner Page styling */
.book-page-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.book-page-content h4 {
    font-size: 1.4rem;
    color: #111318;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.book-page-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.book-page-content p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.book-page-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin-top: auto;
}

.book-page-content ul {
    list-style: none;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.book-page-content ul li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.book-page-content ul li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Back Cover specific styling */
.book-back-cover {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.book-back-cover h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.book-back-cover p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 2rem;
}

.brochure-download-btn {
    width: 100%;
    max-width: 260px;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.flip-hint-back {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.flip-hint-back:hover {
    color: var(--accent);
}

.cover-back .page-back {
    background: linear-gradient(135deg, #fdf3e5 0%, #fff8f0 100%);
    border: 2px solid var(--accent);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cover-back .page-back h3 {
    font-size: 1.6rem;
    color: #1a1a2e;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.cover-back .page-back p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Scale-down Rules for Book viewports */
@media (max-width: 900px) {
    .book-container {
        min-height: 450px;
        padding: 1.5rem 0;
    }

    .book {
        transform: scale(0.85) translateX(0);
        margin: -39px auto;
    }

    .book.opened {
        transform: scale(0.85) translateX(190px);
    }
}

@media (max-width: 720px) {
    .book-container {
        min-height: 350px;
        padding: 1rem 0;
    }

    .book {
        transform: scale(0.65) translateX(0);
        margin: -91px auto;
    }

    .book.opened {
        transform: scale(0.65) translateX(190px);
    }
}

@media (max-width: 480px) {
    .book-container {
        min-height: 300px;
        padding: 0.5rem 0;
    }

    .book {
        transform: scale(0.55) translateX(0);
        margin: -117px auto;
    }

    .book.opened {
        transform: scale(0.55) translateX(190px);
    }
}

@media (max-width: 380px) {
    .book-container {
        min-height: 260px;
        padding: 0;
    }

    .book {
        transform: scale(0.48) translateX(0);
        margin: -135px auto;
    }

    .book.opened {
        transform: scale(0.48) translateX(190px);
    }
}

/* --- Service 06: CRM Dashboard --- */
.crm-app-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 700px;
    width: 100%;
    background: transparent;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
    margin-top: 1.5rem;
    position: relative;
}

.crm-app-sidebar {
    background: transparent;
    border-right: none !important;
    padding: 2.5rem 2rem 2.5rem 5vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.dark-mode .crm-app-sidebar {
    background: transparent;
}

.crm-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

.crm-sidebar-logo i {
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(245, 145, 40, 0.35));
}

.crm-sidebar-logo span span {
    color: var(--accent);
}

.crm-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.crm-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: none !important;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
    width: 100%;
}

.crm-nav-item i {
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}

.crm-nav-item:hover {
    color: var(--text-primary);
    background: rgba(245, 145, 40, 0.08);
}

.crm-nav-item:hover i {
    transform: translateX(3px);
}

.crm-nav-item.active {
    background: var(--accent);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(245, 145, 40, 0.25);
}

.crm-nav-item.active i {
    color: #ffffff !important;
}

.crm-sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2.5rem;
}

.dark-mode .crm-sidebar-user {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
}

.user-info h6 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.user-info span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}

.crm-app-body {
    padding: 2rem 5vw 2rem 3rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 700px;
}

.crm-tab-panel {
    display: none;
    flex-direction: column;
}

.crm-tab-panel.active {
    display: flex;
}

.crm-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.crm-panel-header h3 {
    font-size: 1.35rem;
    font-weight: 750;
    color: var(--text-primary);
    margin: 0;
}

.crm-date-badge {
    background: var(--accent-light);
    color: var(--accent);
    border: 1.5px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dark-mode .crm-date-badge {
    border-color: rgba(245, 145, 40, 0.2);
}

/* KPI Indicators Row - borderless flat grid */
.crm-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.crm-kpi-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    transition: transform 0.35s ease;
}

.crm-kpi-card:hover {
    transform: translateY(-2px);
}

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.kpi-icon.blue {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.kpi-icon.green {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.kpi-icon.orange {
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
}

.kpi-icon.purple {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.kpi-data {
    display: flex;
    flex-direction: column;
}

.kpi-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kpi-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0.1rem 0 0 0;
}

/* Dashboard Grid for Charts & Timelines - borderless and flat */
.crm-dashboard-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3rem;
}

.crm-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.crm-card h5 {
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Source Performance chart styling */
.crm-chart-bars-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.chart-bar-item {
    display: grid;
    grid-template-columns: 110px 1fr 60px;
    align-items: center;
    gap: 0.85rem;
}

.chart-bar-lbl {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.chart-bar-track {
    height: 7px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.dark-mode .chart-bar-track {
    background: rgba(255, 255, 255, 0.08);
}

.chart-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-bar-val {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
}

/* Timeline System feed logs */
.crm-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

/* Custom scrollbar for timelines and panel body */
.crm-timeline-list::-webkit-scrollbar,
.crm-app-body::-webkit-scrollbar,
.crm-table-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.crm-timeline-list::-webkit-scrollbar-track,
.crm-app-body::-webkit-scrollbar-track,
.crm-table-container::-webkit-scrollbar-track {
    background: transparent;
}

.crm-timeline-list::-webkit-scrollbar-thumb,
.crm-app-body::-webkit-scrollbar-thumb,
.crm-table-container::-webkit-scrollbar-thumb {
    background: rgba(180, 130, 60, 0.15);
    border-radius: 4px;
}

.crm-timeline-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.dark-mode .crm-timeline-item {
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}

.crm-timeline-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
}

.timeline-time {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    background: var(--accent-light);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}

.timeline-desc {
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 500;
}

/* Lead Table Management - borderless flat tables */
.header-title-search {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.crm-search-bar {
    display: flex;
    align-items: center;
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid var(--border-color) !important;
    border-radius: 0 !important;
    padding: 0.35rem 0 !important;
    width: 250px;
    gap: 0.65rem;
    color: var(--text-muted);
}

.crm-search-bar i {
    font-size: 0.8rem;
}

.crm-search-bar input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.82rem;
    color: var(--text-primary);
}

.crm-table-container {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow-x: auto;
    width: 100%;
    margin-top: 1rem;
}

.crm-leads-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 750px;
}

.crm-leads-table th {
    background: transparent !important;
    padding: 0.9rem 1.25rem 0.9rem 0;
    font-size: 0.74rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--text-primary) !important;
}

.dark-mode .crm-leads-table th {
    border-bottom-color: var(--text-primary) !important;
    color: rgba(255, 255, 255, 0.6);
}

.crm-leads-table td {
    padding: 1.15rem 1.25rem 1.15rem 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.dark-mode .crm-leads-table td {
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}

.crm-leads-table tbody tr:last-child td {
    border-bottom: none !important;
}

.lead-cell-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.88rem;
}

.lead-cell-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.15rem;
}

.btn-delete-lead {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.88rem;
    padding: 0.3rem;
    transition: var(--transition-fast);
}

.btn-delete-lead:hover {
    color: #e74c3c;
}

/* Status Badges */
.lead-status-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
}

.lead-status-badge.new {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.lead-status-badge.contacted {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.lead-status-badge.sitevisit {
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
}

.lead-status-badge.negotiation {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.lead-status-badge.won {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.lead-status-badge.lost {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* Status selector drop */
.crm-status-select {
    padding: 0.25rem 0;
    border: none !important;
    border-bottom: 1.5px solid var(--border-color) !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 0.75rem;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
}

.dark-mode .crm-status-select {
    background: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
}

/* Property Inventory Visual Cards - flat borderless */
.crm-inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.crm-inventory-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.crm-inventory-card:hover {
    transform: translateY(-4px);
}

.crm-inventory-visual {
    height: 150px;
    background-color: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.crm-inventory-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crm-inventory-visual i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.08);
}

.unit-status-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.unit-status-tag.available {
    background: #2ecc71;
}

.unit-status-tag.booked {
    background: #e74c3c;
}

.crm-inventory-details {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.crm-inventory-details h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--text-primary);
}

.unit-info-specs {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.unit-booking-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding-top: 0.85rem;
}

.dark-mode .unit-booking-action {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
}

.unit-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 850;
    color: var(--accent);
}

/* Tasks / Followups list - flat */
.crm-tasks-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.crm-new-task-form {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
}

.crm-new-task-form input {
    flex: 1;
    padding: 0.5rem 0;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1.5px solid var(--border-color) !important;
    background: transparent !important;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.crm-task-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.crm-task-item {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.85rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.dark-mode .crm-task-item {
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}

.crm-task-item.completed {
    opacity: 0.5;
}

.task-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.task-checkbox-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.crm-task-item.completed .task-checkbox-btn {
    background: var(--accent);
}

.task-title-text {
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 600;
}

.crm-task-item.completed .task-title-text {
    text-decoration: line-through;
    color: var(--text-muted);
}

.btn-delete-task {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.btn-delete-task:hover {
    color: #e74c3c;
}

/* Buttons visual overrides */
.crm-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 30px !important;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.crm-btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.crm-btn-primary:hover {
    background: var(--text-primary);
    color: #ffffff;
}

.crm-btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

.dark-mode .crm-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.crm-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

.crm-btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 20px;
}

/* Modals & Overlay systems - borderless glass box */
.crm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 9, 8, 0.6);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.crm-modal-overlay.active {
    display: flex;
}

.crm-modal-box {
    background: var(--glass-bg);
    border: none !important;
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.crm-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1.5px solid var(--border-color) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crm-modal-header h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--text-primary);
}

.crm-modal-close {
    background: transparent;
    border: none !important;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.crm-modal-close:hover {
    color: var(--accent);
}

.crm-modal-form {
    padding: 2rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    padding: 0.6rem 0;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1.5px solid var(--border-color) !important;
    background: transparent !important;
    color: var(--text-primary);
    font-size: 0.88rem;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-bottom-color: var(--accent) !important;
}

.crm-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    border-top: 1.5px solid var(--border-color) !important;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

/* Responsiveness overrides */
@media (max-width: 1100px) {
    .crm-app-shell {
        grid-template-columns: 1fr;
        height: auto;
    }

    .crm-app-sidebar {
        flex-direction: row;
        border-bottom: 1.5px solid var(--border-color) !important;
        padding: 1.25rem 2rem;
        align-items: center;
    }

    .crm-sidebar-logo {
        margin-bottom: 0;
    }

    .crm-sidebar-nav {
        flex-direction: row;
        gap: 0.5rem;
        margin: 0 1.5rem;
        flex: initial;
    }

    .crm-sidebar-user {
        padding-top: 0;
        border-top: none !important;
    }

    .crm-kpi-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .crm-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .crm-inventory-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .crm-app-sidebar {
        flex-direction: column;
        gap: 1rem;
    }

    .crm-sidebar-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .crm-kpi-row {
        grid-template-columns: 1fr;
    }

    .crm-inventory-grid {
        grid-template-columns: 1fr;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --- Futuristic Cyber Text Effect --- */
.futuristic-cyber-text {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-primary);
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: cyberShine 3s linear infinite;
    text-shadow: 0 0 10px rgba(245, 145, 40, 0);
    transition: text-shadow 0.5s ease, color 0.4s ease;
}

.futuristic-cyber-text.decoded {
    color: #111318;
    -webkit-text-stroke: 0px;
    -webkit-background-clip: initial;
    background-clip: initial;
    background: none;
    text-shadow: 0 0 6px rgba(245, 145, 40, 0.3);
}

@keyframes cyberShine {
    to {
        background-position: 200% center;
    }
}

/* ==========================================================================
   SERVICE SECTION 5.B: BRANDING & LOGO IDENTITY SHOWCASE â€” UNBOX REVEAL
   ========================================================================== */
.logo-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

/* --- Logo Card --- */
.logo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 2rem 2.5rem;
    min-height: 260px;
    border-radius: 24px;
    border: 1px solid rgba(180, 130, 60, 0.07);
    background:
        radial-gradient(rgba(180, 130, 60, 0.04) 1px, transparent 1px),
        linear-gradient(165deg, var(--glass-bg) 0%, rgba(245, 145, 40, 0.01) 100%);
    background-size: 16px 16px, 100% 100%;
    overflow: hidden;
    cursor: default;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        background-size 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    perspective: 800px;
}

/* Accent top edge (faintly visible before hover to highlight brand color) */
.logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg,
            transparent,
            hsl(var(--card-hue, 28), 90%, 55%),
            transparent);
    opacity: 0.25;
    transition: opacity 0.35s ease, left 0.35s ease, right 0.35s ease;
}

.logo-card:hover::before {
    opacity: 1;
    left: 10%;
    right: 10%;
}

.dark-mode .logo-card {
    border: 1px solid rgba(255, 255, 255, 0.03);
    background:
        radial-gradient(rgba(245, 145, 40, 0.02) 1px, transparent 1px),
        linear-gradient(165deg, rgba(18, 16, 14, 0.55) 0%, rgba(245, 145, 40, 0.02) 100%);
    background-size: 16px 16px, 100% 100%;
}

.logo-card:hover {
    transform: translateY(-10px) scale(1.03);
    background-size: 20px 20px, 100% 100%;
    border-color: hsla(var(--card-hue, 28), 75%, 50%, 0.18);
    box-shadow:
        0 20px 40px rgba(245, 145, 40, 0.08),
        0 6px 14px rgba(0, 0, 0, 0.04);
}

.dark-mode .logo-card:hover {
    border-color: hsla(var(--card-hue, 28), 75%, 45%, 0.25);
    box-shadow:
        0 16px 36px rgba(245, 145, 40, 0.06),
        0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Hide shimmer & glow overlays */
.logo-card-shimmer,
.logo-card-glow {
    display: none;
}

/* --- Logo Image Wrapper (Container) --- */
.logo-card-img-wrap {
    position: relative;
    z-index: 2;
    /* Sits behind text when text shifts up */
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
    opacity: 0.35;
    filter: blur(14px) saturate(140%);
    transform: scale(0.78);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.logo-card:hover .logo-card-img-wrap {
    opacity: 1;
    filter: blur(0px) saturate(100%);
    transform: scale(1.02);
    pointer-events: auto;
}

.logo-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.04));
    transition: filter 0.5s ease;
}

.dark-mode .logo-card-img-wrap img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.logo-card:hover .logo-card-img-wrap img {
    filter: drop-shadow(0 8px 24px hsla(var(--card-hue, 28), 85%, 55%, 0.12));
}

.dark-mode .logo-card:hover .logo-card-img-wrap img {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

/* --- Smooth Soft Glow Aura on Reveal --- */
.logo-card-img-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    border-radius: 50%;
    background: radial-gradient(circle,
            hsla(var(--card-hue, 28), 75%, 55%, 0.05) 0%,
            transparent 70%);
    transform: translate(-50%, -50%) scale(0.85);
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.65s ease;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.logo-card:hover .logo-card-img-wrap::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* --- Card Text (Centered & Large in initial state, slides down to original place on hover) --- */
.logo-card-title {
    position: relative;
    z-index: 4;
    /* Floats above blurred logo orb */
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 750;
    color: var(--text-primary);
    margin: 0;
    transform: translateY(-56px) scale(1.35);
    transform-origin: center;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
}

.logo-card:hover .logo-card-title {
    color: var(--accent);
    transform: translateY(0) scale(1);
}

.logo-card-subtitle {
    position: relative;
    z-index: 4;
    /* Floats above blurred logo orb */
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: translateY(-56px) scale(1.15);
    transform-origin: center;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
}

.logo-card:hover .logo-card-subtitle {
    color: var(--text-secondary);
    transform: translateY(0) scale(1);
}

/* --- Glint (injected by JS) --- */
.logo-card-glint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    border-radius: 24px;
}

/* ==========================================================================
   RESPONSIVE: LOGO GRID
   ========================================================================== */
@media (max-width: 1024px) {
    .logo-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .logo-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .logo-card {
        padding: 2.5rem 1.5rem 2rem;
        min-height: 210px;
    }

    .logo-card-img-wrap {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 576px) {
    .logo-grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .logo-card {
        padding: 2.2rem 1rem 1.8rem;
        min-height: 190px;
    }

    .logo-card-img-wrap {
        width: 110px;
        height: 110px;
        margin-bottom: 1.25rem;
    }

    /* On mobile tap, the logo text moves up and scales less so it fits small cards */
    .logo-card-title {
        font-size: 0.9rem;
        transform: translateY(-42px) scale(1.2);
    }

    .logo-card:hover .logo-card-title {
        transform: translateY(0) scale(1);
    }

    .logo-card-subtitle {
        font-size: 0.65rem;
        transform: translateY(-42px) scale(1.1);
    }

    .logo-card:hover .logo-card-subtitle {
        transform: translateY(0) scale(1);
    }
}



/* â”€â”€ SYSTEM DESIGN TOKENS (PREMIUM WARM LIGHT) â”€â”€ */
:root {
    --bg: #f9f7f3;
    --surface: #ffffff;
    --surface-card: #ede9e0;
    --surface-glass: rgba(255, 253, 249, 0.90);
    --border-glass: rgba(180, 130, 60, 0.12);
    --border-glow: rgba(245, 145, 40, 0.22);

    --gold: #f59128;
    --gold-bright: #f5a528;
    --gold-glow: rgba(245, 145, 40, 0.22);
    --white: #1c1917;
    --muted: #57534e;
    --cyan: #0077b6;
    --cyan-glow: rgba(0, 119, 182, 0.18);
    --red: #e63946;
    --green: #2d9e6b;

    --font-display: 'Clash Display', sans-serif;
    --font-body: 'Satoshi', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
}

.text-glow-gold {
    text-shadow: 0 0 20px var(--gold-glow);
}

.text-glow-cyan {
    text-shadow: 0 0 20px var(--cyan-glow);
}

/* â”€â”€ PRELOADER â”€â”€ */
#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(150deg, #fff8f0 0%, #f9f7f3 60%, #f0ece4 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 1s cubic-bezier(0.8, 0, 0.2, 1);
}

#preloader-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
}

.preloader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo-img {
    max-width: clamp(200px, 35vw, 360px);
    height: auto;
    opacity: 0;
    filter: blur(20px);
    transform: scale(0.9);
    will-change: transform, opacity, filter;
}

.preloader-tagline {
    font-size: 11px;
    font-family: var(--font-mono);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    transform: translateY(15px);
}

.preloader-counter {
    font-family: var(--font-mono);
    font-size: clamp(24px, 4vw, 42px);
    color: #111318;
    margin-top: 30px;
    opacity: 0;
}

.preloader-progress-bar {
    width: 160px;
    height: 2px;
    background: rgba(180, 130, 60, 0.12);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    box-shadow: 0 0 10px var(--gold-glow);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
           FUTURISTIC RETICLE CURSOR SYSTEM
           â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Trail Canvas â€” full viewport overlay */
#cursor-trail-canvas {
    position: fixed;
    inset: 0;
    z-index: 100019;
    /* Render above lightbox backdrop */
    pointer-events: none;
    opacity: 0.5;
}

/* Keep native cursor visible â€” reticle is a companion, not a replacement */

/* â”€â”€ Reticle Container â”€â”€ */
/* â”€â”€ Reticle Container â”€â”€ */
#cursor-reticle {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    z-index: 100020;
    /* Render above lightbox elements */
    pointer-events: none;
    will-change: transform;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#cursor-reticle svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* â”€â”€ Outer Ring â€” Clean solid circle â”€â”€ */
.reticle-ring-outer {
    fill: none;
    stroke: #f89632;
    stroke-width: 1.2;
    transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

/* â”€â”€ Core Dot â€” center dot â”€â”€ */
.reticle-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f89632;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 6px 1.5px rgba(248, 150, 50, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* â”€â”€ Hover Label â”€â”€ */
.reticle-label {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    font-family: var(--font-heading);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #71272c;
    text-shadow: 0 0 6px rgba(113, 39, 44, 0.35);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• HOVER STATE â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#cursor-reticle.reticle-hover {
    width: 40px;
    height: 40px;
}

#cursor-reticle.reticle-hover .reticle-ring-outer {
    stroke: #71272c;
    stroke-width: 1.8;
}

#cursor-reticle.reticle-hover .reticle-core {
    width: 6px;
    height: 6px;
    background: #71272c;
    box-shadow: 0 0 8px 2px rgba(113, 39, 44, 0.55);
}

#cursor-reticle.reticle-hover .reticle-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• CLICK STATE â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#cursor-reticle.reticle-click {
    width: 18px;
    height: 18px;
}

#cursor-reticle.reticle-click .reticle-core {
    width: 5px;
    height: 5px;
    background: #71272c;
    box-shadow: 0 0 8px 3px rgba(113, 39, 44, 0.7);
}

#cursor-reticle.reticle-click .reticle-ring-outer {
    stroke: #71272c;
    stroke-width: 2.2;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• KEYFRAMES â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@keyframes reticleSpinCW {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes reticleSpinCCW {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes corePulse {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.4;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• MOBILE â€” HIDE â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 992px) {

    #cursor-reticle,
    #cursor-trail-canvas {
        display: none !important;
    }
}

/* â”€â”€ NAVIGATION BAR â”€â”€ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    border-bottom: 1px solid rgba(180, 130, 60, 0.10);
    background: rgba(249, 247, 243, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: height 0.3s, background-color 0.3s;
}

.navbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(245, 145, 40, 0.18);
    box-shadow: 0 4px 24px rgba(100, 60, 10, 0.08);
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.25));
    transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.45));
    transform: scale(1.03);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #111318;
    transition: var(--transition);
}

.nav-logo-text span {
    color: var(--accent);
}

.nav-logo:hover .nav-logo-text {
    text-shadow: 0 0 12px var(--gold-glow);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 101;
}

@media (max-width: 768px) {
    .nav-right {
        gap: 0.8rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    text-decoration: none;
    color: #555c6e;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: #111318;
    text-shadow: none;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 10px 22px;
    border-radius: 2px;
    transition: var(--transition);
    background: transparent;
}

.nav-cta:hover {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 15px var(--gold-glow);
    transform: translateY(-2px);
}

/* --- Premium Modern Sliding Theme Switcher --- */
.theme-toggle-slider {
    background: rgba(180, 130, 60, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    width: 68px;
    height: 36px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 0 4px;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(100, 60, 10, 0.05);
}

.theme-toggle-slider:hover {
    border-color: var(--accent);
    background: rgba(245, 145, 40, 0.06);
    transform: scale(1.03);
}

.slider-track {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.slider-thumb {
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, box-shadow 0.4s;
    box-shadow: 0 3px 8px rgba(100, 60, 10, 0.15);
}

.dark-mode .slider-thumb {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(245, 145, 40, 0.45);
}

.slider-thumb i {
    font-size: 0.85rem;
    position: absolute;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
}

/* Light mode: moon visible, sun hidden and rotated */
body:not(.dark-mode) .sun-icon {
    transform: rotate(-180deg);
    opacity: 0;
}

body:not(.dark-mode) .moon-icon {
    transform: rotate(0deg);
    opacity: 1;
    color: var(--text-secondary);
}

/* Dark mode: sun visible, moon hidden, thumb translated to the right */
.dark-mode .theme-toggle-slider .slider-thumb {
    transform: translateX(32px);
}

.dark-mode .sun-icon {
    transform: rotate(0deg);
    opacity: 1;
    color: #ffffff;
}

.dark-mode .moon-icon {
    transform: rotate(180deg);
    opacity: 0;
}

.dark-mode .theme-toggle-slider {
    background: rgba(245, 145, 40, 0.1);
}

/* â”€â”€ LAYOUT & SECTIONS â”€â”€ */
.section-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 8%;
    border-bottom: 1px solid rgba(180, 130, 60, 0.10);
    z-index: 5;
    background-color: var(--bg-primary);
}

/* â”€â”€ HERO SECTION â”€â”€ */
#hero-section {
    background: radial-gradient(ellipse at 50% -10%, rgba(245, 145, 40, 0.13) 0%, var(--bg-primary) 55%);
    flex-direction: column;
    text-align: center;
    z-index: 1;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: clamp(9px, 1.2vw, 11px);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(245, 145, 40, 0.06);
    border: 1px solid rgba(245, 145, 40, 0.18);
    padding: 0.45rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(245, 145, 40, 0.03);
    opacity: 0;
    transform: translateY(20px);
}

.rolling-text-container {
    display: inline-flex;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.1em;
    /* Match hero-title line-height */
    line-height: 1.1;
    align-items: flex-end;
}

.rolling-text {
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

/* Floating Hover Reveal Images */
.hover-reveal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.hover-img {
    position: absolute;
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    will-change: transform, opacity;
}

.hover-img.active {
    opacity: 1;
    transform: scale(1);
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: clamp(38px, 6.5vw, 72px);
    /* Reduced from 120px for a classier, more refined and professional look */
    font-weight: 300;
    /* Light weight for Prizma for premium minimalist feel */
    text-transform: uppercase;
    letter-spacing: 0.06em;
    /* Slightly wider spacing for a futuristic, modern tech aesthetic */
    line-height: 1.1;
    color: #71272c;
    margin-bottom: 24px;
    transition: text-shadow 0.3s ease;
}

.hero-title .rolling-text {
    font-weight: 800;
    /* Strong bold contrast for Brixx */
    color: #f89632;
    text-shadow: 0 0 20px rgba(248, 150, 50, 0.15);
    background: linear-gradient(135deg, #f89632 0%, #ffca2b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.1em;
    /* Prevent descender clipping */
}

.hero-title:hover {
    text-shadow: 0 0 25px rgba(245, 145, 40, 0.15);
}

.hero-subtitle {
    font-size: clamp(14px, 1.8vw, 17px);
    color: #555c6e;
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 40px;
    letter-spacing: 0.01em;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: #555c6e;
    z-index: 2;
    cursor: pointer;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: #111318;
    animation: scroll-dot 2.5s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

@keyframes scroll-dot {
    0% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(50px);
    }
}

/* ==========================================================================
   FUTURISTIC HOLOGRAPHIC MOSAIC MATRIX GRID (SERVICE 06)
   ========================================================================== */
.vr-matrix-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 2.5rem auto 0 auto;
    background-color: #edf0f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Responsive height for VR matrix */
@media (max-width: 992px) {
    .vr-matrix-wrapper {
        height: 500px;
    }
}

@media (max-width: 576px) {
    .vr-matrix-wrapper {
        height: 400px;
        margin: 1.5rem auto 0 auto;
    }
}

/* Grifting neon crosshair divider lines */
.vr-grid-line {
    position: absolute;
    background-color: var(--accent);
    z-index: 10;
    pointer-events: none;
    transition: background-color 0.4s ease;
}

.vr-line-x {
    height: 2px;
    left: 0;
    width: 100%;
    /* Position will be controlled by JS --grid-y */
    top: var(--grid-y, 50%);
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(245, 145, 40, 0.4);
}

.vr-line-y {
    width: 2px;
    top: 0;
    height: 100%;
    /* Position will be controlled by JS --grid-x */
    left: var(--grid-x, 50%);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(245, 145, 40, 0.4);
}

/* Matrix Cells */
.vr-matrix-cell {
    position: absolute;
    overflow: hidden;
    transition: border 0.3s ease;
}

.vr-cell-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

/* Video display settings and multi-spectrum color tints */
.vr-cell-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-cyan {
    filter: hue-rotate(140deg) saturate(1.8) brightness(0.65) contrast(1.1);
}

.video-gold {
    filter: hue-rotate(0deg) saturate(1.8) brightness(0.65) contrast(1.1);
}

.video-emerald {
    filter: hue-rotate(75deg) saturate(1.8) brightness(0.65) contrast(1.1);
}

.video-magenta {
    filter: hue-rotate(245deg) saturate(2.0) brightness(0.6) contrast(1.15);
}

/* Reveal raw colors on hover */
.vr-cell-inner:hover .vr-cell-video {
    filter: hue-rotate(0) saturate(1) brightness(0.9) contrast(1);
    transform: scale(1.03);
}

/* Cybernetic HUD elements inside cells */
.vr-cell-hud {
    position: absolute;
    inset: 0;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to top, rgba(10, 12, 20, 0.90) 0%, rgba(10, 12, 20, 0.20) 50%, transparent 100%);
    z-index: 5;
    pointer-events: none;
    box-sizing: border-box;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.vr-cell-inner:hover .vr-cell-hud {
    opacity: 1;
}

.cell-hud-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hud-mono {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.60);
}

.text-glow-cyan {
    color: #00f3ff;
    text-shadow: 0 0 6px rgba(0, 243, 255, 0.5);
}

.text-glow-gold {
    color: var(--accent);
    text-shadow: 0 0 6px rgba(245, 145, 40, 0.5);
}

.text-glow-emerald {
    color: #10b981;
    text-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.text-glow-magenta {
    color: #ff00ff;
    text-shadow: 0 0 6px rgba(255, 0, 255, 0.5);
}

.cell-hud-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cell-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.hud-coords {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* Corner bracket frames */
.cell-hud-corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
}

.c-bracket {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: rgba(255, 255, 255, 0.15);
    border-style: solid;
    transition: all 0.3s ease;
}

.c-tl {
    top: 8px;
    left: 8px;
    border-width: 1.5px 0 0 1.5px;
}

.c-tr {
    top: 8px;
    right: 8px;
    border-width: 1.5px 1.5px 0 0;
}

.c-bl {
    bottom: 8px;
    left: 8px;
    border-width: 0 0 1.5px 1.5px;
}

.c-br {
    bottom: 8px;
    right: 8px;
    border-width: 0 1.5px 1.5px 0;
}

.vr-cell-inner:hover .c-bracket {
    border-color: var(--accent);
}

.vr-cell-inner:hover .c-tl {
    top: 12px;
    left: 12px;
}

.vr-cell-inner:hover .c-tr {
    top: 12px;
    right: 12px;
}

.vr-cell-inner:hover .c-bl {
    bottom: 12px;
    left: 12px;
}

.vr-cell-inner:hover .c-br {
    bottom: 12px;
    right: 12px;
}

/* Laser Line Scanning Effect */
.cell-laser-scanner {
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    box-shadow: 0 0 8px var(--accent);
    opacity: 0;
    z-index: 7;
    pointer-events: none;
}

.vr-cell-inner:hover .cell-laser-scanner {
    animation: cellLaserScan 2.5s linear infinite;
    opacity: 1;
}

@keyframes cellLaserScan {
    0% {
        top: -5px;
    }

    50% {
        top: 105%;
    }

    100% {
        top: -5px;
    }
}

/* Central Controller Module */
.vr-central-controller {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    z-index: 20;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctrl-circle-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(245, 145, 40, 0.45);
    border-radius: 50%;
    animation: rotateCW 20s linear infinite;
    box-shadow: 0 0 15px rgba(245, 145, 40, 0.1);
}

.ctrl-circle-inner {
    position: relative;
    width: 58px;
    height: 58px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05), 0 0 15px rgba(0, 0, 0, 0.08);
}

.vr-shuffle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    outline: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(245, 145, 40, 0.2);
}

.vr-shuffle-btn:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    transform: rotate(180deg) scale(1.05);
    box-shadow: 0 0 18px var(--accent);
}

.vr-shuffle-btn i {
    font-size: 0.95rem;
}

@keyframes rotateCW {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Glitch Mosaic Block Transition Layer */
.vr-matrix-glitch-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 1fr);
    opacity: 0;
}

.vr-glitch-block {
    background-color: var(--bg-primary);
    border: 0.5px solid rgba(255, 255, 255, 0.02);
    transform: scale(0);
}

/* Cyber Telemetry Readout Console */
.vr-matrix-readout {
    position: absolute;
    bottom: 12px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 12px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 15;
    font-family: monospace;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
}

.readout-title {
    color: var(--accent);
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
}

.readout-lines {
    color: rgba(0, 0, 0, 0.50);
    font-size: 0.55rem;
    line-height: 1.3;
}

/* Hide Readout on Small Mobile Screens */
@media (max-width: 576px) {
    .vr-matrix-readout {
        display: none;
    }

    .vr-central-controller {
        width: 70px;
        height: 70px;
    }

    .ctrl-circle-inner {
        width: 48px;
        height: 48px;
    }

    .vr-shuffle-btn {
        width: 38px;
        height: 38px;
    }

    .vr-shuffle-btn i {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   SERVICE 03 â€” SECTION HEADER & DIVIDERS
   ========================================================================== */

.s03-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto 3rem;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(245, 145, 40, 0.2);
}

.s03-header>*:first-child {
    flex: 1 1 400px;
    margin-bottom: 0 !important;
}

.s03-header>p {
    flex: 1 1 400px;
    margin-bottom: 0 !important;
    text-align: left !important;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
}

.s03-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.s03-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1c1917;
    margin-bottom: 1rem;
    padding-bottom: 1.25rem;
    position: relative;
}

.s03-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(245, 145, 40, 0.2));
    border-radius: 10px;
}

.s03-heading span {
    color: var(--accent);
    font-weight: 600;
}

.s03-para {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

/* â”€â”€ Sub-section dividers (03.A, 03.B) â”€â”€ */
.s03-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.s03-divider-label {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.s03-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(245, 145, 40, 0.25), transparent);
}


/* ==========================================================================
   REALISTIC 3D RENDERS & TOWNSHIP PLANNING (SERVICE 03 - ROTATING RINGS)
   ========================================================================== */
:root {
    --photo-radius: 520px;
    --video-radius: 300px;
}

@media (max-width: 992px) {
    :root {
        --photo-radius: 360px;
        --video-radius: 210px;
    }
}

@media (max-width: 768px) {
    :root {
        --photo-radius: 340px;
        --video-radius: 170px;
    }
}

@media (max-width: 480px) {
    :root {
        --photo-radius: 260px;
        --video-radius: 120px;
    }
}

.renders-showcase-container {
    width: 100%;
    max-width: 1200px;
    margin: 2.5rem auto 0 auto;
    position: relative;
}

.block-header-cyber {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: none;
    padding-bottom: 0.6rem;
    margin-bottom: 2rem;
    font-family: monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.cyber-num {
    color: var(--accent);
    font-weight: bold;
}

.cyber-lbl {
    text-transform: uppercase;
}

/* 3D Scene Wrapper */
.ring-scene-wrapper {
    position: relative;
    width: 100%;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1600px;
    background: linear-gradient(160deg, #f0ede6 0%, #edeae0 100%);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(100, 60, 10, 0.08);
}

@media (max-width: 992px) {
    .ring-scene-wrapper {
        height: 460px;
    }
}

@media (max-width: 768px) {
    .ring-scene-wrapper {
        border-radius: 0;
        border-left: none;
        border-right: none;
        height: 380px;
    }
}

@media (max-width: 480px) {
    .ring-scene-wrapper {
        height: 320px;
    }
}

/* 3D Container */
.ring-3d-scene {
    width: 340px;
    height: 220px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-6deg);
    transition: transform 0.5s ease;
}

@media (max-width: 992px) {
    .ring-3d-scene {
        width: 240px;
        height: 160px;
        transform: rotateX(-5deg);
    }
}

@media (max-width: 768px) {
    .ring-3d-scene {
        width: 220px;
        height: 150px;
        transform: rotateX(-5deg);
    }
}

@media (max-width: 480px) {
    .ring-3d-scene {
        width: 170px;
        height: 120px;
        transform: rotateX(-5deg);
    }
}

/* Rotating Carousel - Controlled dynamically by JS and GSAP */
.ring-3d-carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Card Styling inside Ring */
.ring-card {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 8px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    transform-style: preserve-3d;
}

/* Set radii dynamically using variables */
#photoCarousel .ring-card {
    --ring-radius: var(--photo-radius);
    transform: rotateY(var(--card-rot)) translateZ(var(--ring-radius));
    cursor: pointer;
}

#photoCarousel .ring-card.middle-card {
    cursor: pointer;
}

#photoCarousel .ring-card.middle-card:hover {
    transform: rotateY(var(--card-rot)) translateZ(calc(var(--ring-radius) + 50px)) scale(1.18);
    z-index: 50;
}

/* --- 3D Video Grid Quadrant Styling --- */

.cinematic-deck-window {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2.5rem auto 0 auto;
    height: 620px;
    background: linear-gradient(160deg, #f0ede6 0%, #edeae0 100%);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(100, 60, 10, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

@media (max-width: 992px) {
    .cinematic-deck-window {
        height: 420px;
    }
}

@media (max-width: 576px) {
    .cinematic-deck-window {
        height: 280px;
    }
}

.video-deck-scene {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.video-deck-wrapper {
    position: absolute;
    inset: 0;
}

.deck-video-card {
    position: absolute;
    width: 50%;
    height: 50%;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        z-index 0.5s ease,
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    padding: 8px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.deck-video-card.quad-tl {
    top: 0;
    left: 0;
}

.deck-video-card.quad-tr {
    top: 0;
    left: 50%;
}

.deck-video-card.quad-bl {
    top: 50%;
    left: 0;
}

.deck-video-card.quad-br {
    top: 50%;
    left: 50%;
}

/* Staggered slow float animation for quadrants inside their bounds (2D only, no tilting) */
@keyframes floatQuadCard {
    0% {
        transform: translate(0px, 0px);
    }

    33% {
        transform: translate(-3px, 4px);
    }

    66% {
        transform: translate(3px, -3px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.deck-video-float-wrap {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    animation: floatQuadCard 9s ease-in-out infinite;
    animation-delay: calc(var(--card-idx) * -2.2s);
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-video-card.js-hover .deck-video-float-wrap {
    animation-play-state: paused;
}

.deck-video-card .rc-glass-frame {
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Elevate the hovered card container z-index, but keep its coordinates static to avoid flicker loops */
.deck-video-card.js-hover {
    z-index: 100 !important;
}

/* Smooth In-Place Scale Hover State without position shifting */
.deck-video-card.quad-tl.js-hover .rc-glass-frame,
.deck-video-card.quad-tr.js-hover .rc-glass-frame,
.deck-video-card.quad-bl.js-hover .rc-glass-frame,
.deck-video-card.quad-br.js-hover .rc-glass-frame {
    transform: scale(1.08);
}

/* Sibling Dimming & Scaling: shrink and fade non-hovered sibling videos in the deck */
.video-deck-wrapper:has(.deck-video-card.js-hover) .deck-video-card:not(.js-hover) {
    opacity: 0.18;
    filter: brightness(0.3) blur(6px) grayscale(0.4);
    transform: scale(0.85);
}

.deck-video-card.js-hover .rc-glass-frame {
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 25px rgba(245, 145, 40, 0.4), inset 0 0 15px rgba(245, 145, 40, 0.15);
}

/* Light glint sweep effect strictly for deck video glass frames */
.deck-video-card .rc-glass-frame::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.18) 50%,
            transparent 55%);
    transform: rotate(-45deg) translate(-100%, -100%);
    pointer-events: none;
    z-index: 6;
}

.deck-video-card.js-hover .rc-glass-frame::after {
    transform: rotate(-45deg) translate(100%, 100%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Futuristic inner glowing tech border on hover */
.deck-video-card .rc-glass-frame::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(245, 145, 40, 0);
    pointer-events: none;
    z-index: 5;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-video-card.js-hover .rc-glass-frame::before {
    border-color: rgba(245, 145, 40, 0.45);
    inset: 6px;
    box-shadow: 0 0 12px rgba(245, 145, 40, 0.25);
}

/* Muted indicator light next to HUD tag */
.deck-video-card .rc-hud-tag::before {
    content: 'â—';
    color: var(--accent);
    display: inline-block;
    margin-right: 6px;
    font-size: 0.55rem;
    animation: livePulse 1.6s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }
}

/* Default video styling with clean natural colors */
.deck-video-card .rc-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) saturate(0.95);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.deck-video-card.js-hover .rc-video {
    filter: brightness(1) saturate(1.1);
    transform: scale(1.02);
}

/* Base Glass Frame & Image Styles for Photos Carousel */
.rc-glass-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    overflow: hidden;
    background: rgba(15, 15, 18, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Bobbing/Floating animation for photos */
@keyframes photoCardFloat {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateY(-8px) rotateX(1.5deg) rotateY(-1.5deg);
    }

    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
}

#photoCarousel .rc-glass-frame {
    animation: photoCardFloat 8s ease-in-out infinite;
    animation-delay: calc(var(--card-idx) * -1.3s);
}

.ring-card:hover .rc-glass-frame {
    animation-play-state: paused;
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(245, 145, 40, 0.45);
    transform: scale(1.02);
}

.rc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6) saturate(0.85);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.ring-card:hover .rc-image {
    filter: brightness(0.95) saturate(1.1);
    transform: scale(1.02);
}

/* HUD telemetry box */
.rc-hud-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 1rem;
    z-index: 4;
    background: linear-gradient(to top, rgba(7, 8, 10, 0.95) 0%, rgba(7, 8, 10, 0.25) 75%, transparent 100%);
    box-sizing: border-box;
}

.rc-hud-tag {
    font-family: monospace;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    color: var(--accent);
    display: block;
    margin-bottom: 0.15rem;
}

.rc-hud-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .rc-hud-info {
        padding: 0.6rem 0.75rem;
    }

    .rc-hud-tag {
        font-size: 0.52rem;
    }

    .rc-hud-title {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .rc-hud-info {
        padding: 0.5rem 0.6rem;
    }

    .rc-hud-tag {
        font-size: 0.48rem;
    }

    .rc-hud-title {
        font-size: 0.64rem;
    }
}

/* Cleaned up old CRM styles */

/* ==========================================================================
   CAROUSEL NAVIGATION & LIGHTBOX STYLES
   ========================================================================== */

/* Navigation Buttons for 3D Photo Carousel */
.ring-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #111318;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ring-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 18px rgba(245, 145, 40, 0.5);
    color: #ffffff;
}

.ring-nav-btn.prev-btn {
    left: 2rem;
}

.ring-nav-btn.next-btn {
    right: 2rem;
}

@media (max-width: 768px) {
    .ring-nav-btn {
        width: 38px;
        height: 38px;
    }

    .ring-nav-btn.prev-btn {
        left: 0.8rem;
    }

    .ring-nav-btn.next-btn {
        right: 0.8rem;
    }
}

/* Lightbox Modal Structure */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(12, 13, 18, 0.96) 0%, rgba(4, 5, 7, 0.99) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    flex-direction: row;
    box-sizing: border-box;
}

.lightbox-content {
    position: relative;
    max-width: 75%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100005;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    filter: drop-shadow(0 15px 45px rgba(245, 145, 40, 0.15));
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, filter 0.4s ease;
}

.lightbox-content img:hover {
    transform: scale(1.015);
    filter: drop-shadow(0 20px 55px rgba(245, 145, 40, 0.25));
    border-color: rgba(245, 145, 40, 0.4);
}

.lightbox-caption-wrapper {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.lightbox-meta-tag {
    font-family: monospace;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
}

.lightbox-caption {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    margin: 0;
}

.lightbox-counter {
    font-family: monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
    margin-top: 0.1rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100015;
}

.lightbox-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 25px rgba(245, 145, 40, 0.6);
}

.lightbox-nav {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.7);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 3.5rem;
    z-index: 100015;
    font-size: 1rem;
}

.lightbox-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(245, 145, 40, 0.6);
    transform: scale(1.1);
}

.lightbox-nav:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .lightbox-nav {
        margin: 0 0.5rem;
        width: 44px;
        height: 44px;
    }

    .lightbox-content {
        max-width: 92%;
    }

    .lightbox-content img {
        max-height: 60vh;
    }

    .lightbox-close {
        top: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* --- Testimonials Gallery Wall Section --- */
.testimonials-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.testimonials-backdrop-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(245, 145, 40, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.gallery-wall-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 3rem 2rem;
    background: linear-gradient(to bottom, rgba(240, 242, 248, 0.95), rgba(245, 246, 250, 0.98));
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    perspective: 1800px;
    z-index: 2;
}

.gallery-wall-scene {
    width: 100%;
    transform-style: preserve-3d;
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}

.gallery-wall-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    transform-style: preserve-3d;
}

@media (max-width: 992px) {
    .gallery-wall-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-wall-container {
        padding: 2rem 1rem;
    }
}

.gallery-frame {
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, filter 0.8s ease;
    z-index: 2;
}

/* Floating animation for frames to simulate hanging artwork */
@keyframes floatGalleryFrame {
    0% {
        transform: translate3d(0, 0, 0) rotate(0.2deg);
    }

    50% {
        transform: translate3d(0, -8px, 15px) rotate(-0.2deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotate(0.2deg);
    }
}

.gallery-frame .frame-canvas {
    animation: floatGalleryFrame 8s ease-in-out infinite;
    animation-delay: calc(var(--frame-idx) * -2.6s);
}

.frame-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 8px solid #e8eaf0;
    border-image: linear-gradient(135deg, #dde0ec 0%, #f0f2f8 50%, #e8e4da 100%) 8;
    outline: 1px solid rgba(245, 145, 40, 0.20);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, outline-color 0.4s ease;
}

.canvas-art-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 145, 40, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.canvas-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.quote-icon {
    font-size: 1.8rem;
    color: var(--accent);
    opacity: 0.6;
}

.quote-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333748;
    font-weight: 400;
    font-style: italic;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 1rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111318;
    font-family: var(--font-heading);
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.project-tag {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--accent);
    margin-top: 0.3rem;
}

.canvas-hud {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 0.8rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Hover effects */
.gallery-frame:hover {
    transform: translateZ(60px);
    z-index: 100;
}

.gallery-frame:hover .frame-canvas {
    animation-play-state: paused;
    outline-color: var(--accent);
    border-color: #dde0ec;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12), 0 0 30px rgba(245, 145, 40, 0.18);
}

/* Sibling focus dimming */
.gallery-wall-wrapper:has(.gallery-frame:hover) .gallery-frame:not(:hover) {
    opacity: 0.35;
    filter: blur(2px) brightness(0.6);
    transform: scale(0.93) translateZ(-20px);
}

/* --- 3D VR Video Carousel Command Deck --- */
.vr-command-deck {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 3.5rem;
    width: 100%;
    align-items: stretch;
}

@media (max-width: 992px) {
    .vr-command-deck {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.vr-control-console {
    background: rgba(245, 243, 238, 0.60);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 0 15px 35px rgba(100, 60, 10, 0.05);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.console-branding {
    flex: 1;
    min-width: 280px;
}

@media (max-width: 1100px) {
    .vr-control-console {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
}

.vr-console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
}

.console-hud-tag {
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
}

.console-status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: monospace;
    font-size: 0.6rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.console-status-pill .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    animation: statusPulse 1.6s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.console-main-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.console-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Stream selector tabs in vertical layout */
.vr-stream-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 320px;
    flex-shrink: 0;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .vr-stream-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .vr-stream-tabs {
        grid-template-columns: 1fr;
    }
}

.vr-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vr-tab:hover {
    background: var(--bg-secondary);
    border-color: rgba(245, 145, 40, 0.3);
    transform: translateX(6px);
}

@media (max-width: 992px) {
    .vr-tab:hover {
        transform: translateY(-3px);
    }
}

.vr-tab.active {
    background: var(--bg-secondary);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(245, 145, 40, 0.08);
}

.tab-num {
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: color 0.3s;
}

.vr-tab.active .tab-num {
    color: var(--accent);
}

.tab-details {
    display: flex;
    flex-direction: column;
}

.tab-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s;
}

.vr-tab.active .tab-title {
    color: var(--accent);
}

.tab-meta {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

/* Telemetry display panel */
.vr-telemetry-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    padding: 1rem;
    min-width: 280px;
}

@media (max-width: 576px) {
    .vr-telemetry-panel {
        min-width: 100%;
    }
}

.telemetry-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tel-label {
    font-family: monospace;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.tel-value {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--text-secondary);
}

.tel-value.tel-green {
    color: #10b981;
}

/* Console buttons */
.console-actions {
    display: flex;
    gap: 10px;
    min-width: 280px;
}

@media (max-width: 576px) {
    .console-actions {
        min-width: 100%;
        flex-direction: column;
    }
}

.vr-console-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    padding: 0.85rem 1rem;
}

.vr-cycle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    padding: 0.85rem 1.2rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.vr-cycle-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
    color: #111318;
}





/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   VR CINEMATIC SPOTLIGHT PLAYER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.vr-spotlight-deck {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

/* HUD status bar above the main stage */
.vr-hud-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.vr-hud-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.vr-hud-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: vrDotPulse 1.4s ease-in-out infinite;
}

@keyframes vrDotPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--accent);
    }

    50% {
        opacity: 0.4;
        box-shadow: 0 0 3px var(--accent);
    }
}

.vr-hud-label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.vr-hud-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.vr-hud-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.7rem;
}

.vr-hud-stat i {
    color: #e05050;
    font-size: 0.6rem;
    animation: vrLivePulse 1s ease-in-out infinite;
}

@keyframes vrLivePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Main Stage container */
.vr-main-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(245, 145, 40, 0.30);
    box-shadow:
        0 0 0 1px rgba(245, 145, 40, 0.12),
        0 30px 80px rgba(0, 0, 0, 0.18),
        inset 0 0 60px rgba(245, 145, 40, 0.04);
    background: #0a0906;
}

.vr-main-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 60%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

/* The stage video itself */
.vr-stage-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.vr-stage-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
}

/* Glitch flash overlay for transitions */
.vr-stage-flash {
    position: absolute;
    inset: 0;
    background: rgba(245, 145, 40, 0.25);
    display: none;
    z-index: 10;
    pointer-events: none;
}

/* Bottom info strip inside stage */
.vr-stage-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.5rem 1.75rem 1.4rem;
    gap: 1rem;
}

.vr-stage-tag-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.vr-stage-tag {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.85;
}

.vr-stage-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.vr-stage-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.4;
}

.vr-stage-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: rgba(245, 145, 40, 0.18);
    border: 1px solid rgba(245, 145, 40, 0.5);
    border-radius: 6px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.vr-stage-cta:hover {
    background: rgba(245, 145, 40, 0.35);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Film Strip Wrapper */
.vr-filmstrip-wrap {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 145, 40, 0.3) transparent;
}

.vr-filmstrip-wrap::-webkit-scrollbar {
    height: 4px;
}

.vr-filmstrip-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.vr-filmstrip-wrap::-webkit-scrollbar-thumb {
    background: rgba(245, 145, 40, 0.3);
    border-radius: 4px;
}

.vr-filmstrip {
    display: flex;
    gap: 0.85rem;
    padding: 0.2rem 0.1rem 0.6rem;
    min-width: max-content;
}

/* Individual thumbnail button */
.vr-thumb {
    position: relative;
    width: 180px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--border-color);
    background: var(--bg-primary);
    cursor: pointer;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
    padding: 0;
}

.vr-thumb:hover {
    border-color: rgba(245, 145, 40, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 145, 40, 0.18);
}

.vr-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(245, 145, 40, 0.25), 0 8px 28px rgba(245, 145, 40, 0.25);
}

.vr-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.vr-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.5rem 0.65rem;
    gap: 0.1rem;
    pointer-events: none;
}

.vr-thumb-num {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.vr-thumb-name {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

/* Active indicator bar at bottom of thumb */
.vr-thumb-active-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 0 10px 10px;
}

.vr-thumb.active .vr-thumb-active-bar {
    transform: scaleX(1);
}

/* Responsive: On smaller screens stack title / make thumbs smaller and make section full-width */
@media (max-width: 768px) {
    #vr-experience .container {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }

    #vr-experience .section-header {
        padding: 0 1.5rem;
    }

    .vr-spotlight-deck {
        margin-top: 1.5rem;
        gap: 0.85rem;
    }

    .vr-hud-bar {
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 0.6rem 1rem;
        font-size: 0.65rem;
    }

    .vr-hud-left {
        gap: 0.5rem;
    }

    .vr-hud-right {
        gap: 0.8rem;
    }

    .vr-main-stage {
        aspect-ratio: 4 / 3;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .vr-stage-video {
        height: 100%;
        object-fit: cover;
    }

    .vr-stage-info {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1rem 1.25rem;
        gap: 0.85rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    }

    .vr-stage-tag-group {
        gap: 0.15rem;
    }

    .vr-stage-title {
        font-size: 1.2rem;
    }

    .vr-stage-desc {
        font-size: 0.75rem;
        max-width: 100%;
    }

    .vr-stage-cta {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        box-sizing: border-box;
    }

    .vr-filmstrip-wrap {
        padding: 0 1.25rem;
        box-sizing: border-box;
    }

    .vr-filmstrip {
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .vr-thumb {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .vr-main-stage {
        aspect-ratio: 1.25 / 1;
    }

    .vr-stage-title {
        font-size: 1.05rem;
    }

    .vr-thumb {
        width: 120px;
    }
}

/* Dark mode overrides */
.dark-mode .vr-main-stage {
    border-color: rgba(245, 145, 40, 0.35);
    box-shadow:
        0 0 0 1px rgba(245, 145, 40, 0.15),
        0 30px 80px rgba(0, 0, 0, 0.45),
        inset 0 0 60px rgba(245, 145, 40, 0.06);
}

.dark-mode .vr-thumb {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .vr-hud-bar {
    background: rgba(10, 9, 8, 0.7);
    border-color: rgba(245, 145, 40, 0.15);
}

/* Viewport window container */
.vr-viewport-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    background: linear-gradient(160deg, #f3f0e8 0%, #ebe8df 100%);
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(100, 60, 10, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow: hidden;
    padding: 2.25rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Grid background on viewport */
.vr-viewport-grid {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: linear-gradient(rgba(0, 0, 0, 1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 1) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
}

/* Corner decorators for the HUD frame */
.vr-viewport-corners {
    position: absolute;
    inset: 12px;
    pointer-events: none;
    z-index: 5;
}

.vr-viewport-corners [class^="corner-"] {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--accent);
    border-style: solid;
    opacity: 0.65;
}

.vr-viewport-corners .corner-tl {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.vr-viewport-corners .corner-tr {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.vr-viewport-corners .corner-bl {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.vr-viewport-corners .corner-br {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

/* scanlines holographic effect */
.vr-scanlines {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.04) 50%);
    background-size: 100% 4px;
    z-index: 4;
    pointer-events: none;
    opacity: 0.7;
}

.vr-viewport-fullscreen-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vr-viewport-fullscreen-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(245, 145, 40, 0.4);
    transform: scale(1.08);
}

.vr-viewport-fullscreen-btn i {
    font-size: 0.95rem;
}

/* Fullscreen simulation overrides */
.vr-viewport-wrapper:fullscreen {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: #0d0e12;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-viewport-wrapper:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: #0d0e12;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make grid lines and scanlines highly visible in dark fullscreen mode */
.vr-viewport-wrapper:fullscreen .vr-viewport-grid {
    opacity: 0.15;
    background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
}

.vr-viewport-wrapper:-webkit-full-screen .vr-viewport-grid {
    opacity: 0.15;
    background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
}

.vr-viewport-wrapper:fullscreen .vr-scanlines {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.12) 50%);
}

.vr-viewport-wrapper:-webkit-full-screen .vr-scanlines {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.12) 50%);
}

/* Scale up the 3D VR carousel in fullscreen mode for immersive experience */
.vr-viewport-wrapper:fullscreen .vr-carousel-container {
    height: 80vh;
    max-height: 800px;
}

.vr-viewport-wrapper:-webkit-full-screen .vr-carousel-container {
    height: 80vh;
    max-height: 800px;
}

.vr-viewport-wrapper:fullscreen .vr-ring-card {
    width: 480px;
    height: 285px;
    transform: rotateY(var(--card-rot)) translateZ(420px) !important;
}

.vr-viewport-wrapper:-webkit-full-screen .vr-ring-card {
    width: 480px;
    height: 285px;
    transform: rotateY(var(--card-rot)) translateZ(420px) !important;
}

.vr-viewport-wrapper:fullscreen .vr-ring-card:hover {
    transform: rotateY(var(--card-rot)) translateZ(470px) scale(1.1) !important;
}

.vr-viewport-wrapper:-webkit-full-screen .vr-ring-card:hover {
    transform: rotateY(var(--card-rot)) translateZ(470px) scale(1.1) !important;
}

.vr-carousel-container {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1800px;
    z-index: 2;
}

@media (max-width: 1200px) and (min-width: 993px) {
    .vr-carousel-container {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .vr-carousel-container {
        height: 440px;
    }
}

@media (max-width: 768px) {
    .vr-carousel-container {
        height: 360px;
    }
}

@media (max-width: 480px) {
    .vr-carousel-container {
        height: 280px;
    }
}

.vr-3d-scene {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-8deg);
    transition: transform 0.5s ease;
}

.vr-3d-carousel {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-ring-card {
    position: absolute;
    width: 320px;
    height: 190px;
    transform-style: preserve-3d;
    transform: rotateY(var(--card-rot)) translateZ(260px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, filter 0.8s ease;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 1200px) and (min-width: 993px) {
    .vr-ring-card {
        width: 270px;
        height: 160px;
        transform: rotateY(var(--card-rot)) translateZ(220px);
    }

    .vr-ring-card:hover {
        transform: rotateY(var(--card-rot)) translateZ(250px) scale(1.08) !important;
    }
}

@media (max-width: 992px) {
    .vr-ring-card {
        width: 300px;
        height: 180px;
        transform: rotateY(var(--card-rot)) translateZ(240px);
    }

    .vr-ring-card:hover {
        transform: rotateY(var(--card-rot)) translateZ(270px) scale(1.08) !important;
    }
}

@media (max-width: 768px) {
    .vr-ring-card {
        width: 240px;
        height: 145px;
        transform: rotateY(var(--card-rot)) translateZ(190px);
    }

    .vr-ring-card:hover {
        transform: rotateY(var(--card-rot)) translateZ(215px) scale(1.08) !important;
    }
}

@media (max-width: 480px) {
    .vr-ring-card {
        width: 170px;
        height: 105px;
        transform: rotateY(var(--card-rot)) translateZ(130px);
    }

    .vr-ring-card:hover {
        transform: rotateY(var(--card-rot)) translateZ(145px) scale(1.08) !important;
    }
}

/* Float drift animations to simulate hanging VR telemetry screens */
@keyframes vrRingCardFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.vr-ring-card .rc-glass-frame {
    animation: vrRingCardFloat 8s ease-in-out infinite;
    animation-delay: calc(var(--card-idx) * -2s);
    border: 1px solid rgba(245, 145, 40, 0.20);
    /* Warm accent border */
}

/* Hover state: active screen tilts forward, scales up and glows cyan */
.vr-ring-card:hover {
    transform: rotateY(var(--card-rot)) translateZ(300px) scale(1.08) !important;
    z-index: 100 !important;
}

.vr-ring-card:hover .rc-glass-frame {
    animation-play-state: paused;
    border-color: var(--accent);
    box-shadow: 0 0 35px rgba(245, 145, 40, 0.45);
}

/* Sibling cards dim and blur when any screen is focused */
.vr-3d-carousel:has(.vr-ring-card:hover) .vr-ring-card:not(:hover) {
    opacity: 0.35;
    filter: blur(2px) brightness(0.5);
}

/* Portfolio Overlay Modal Styling (Safe default hiding) */
#portfolio-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 9, 8, 0.6);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    background: transparent;
}

.modal-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    padding: 2.25rem 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--accent);
}

/* ==========================================================================
   DARK MODE COMPREHENSIVE STYLE OVERRIDES (WOW AESTHETIC)
   ========================================================================== */

/* Headings and elements with hardcoded light-theme colors */
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode .logo-text,
.dark-mode .nav-logo-text,
.dark-mode .footer-logo-text,
.dark-mode .section-header h2,
.dark-mode .about-content h3,
.dark-mode .service-card h3,
.dark-mode .contact-info h3,
.dark-mode .book-page-content h4,
.dark-mode .cover-front h3,
.dark-mode .cover-back .page-back h3,
.dark-mode .crm-feature-text h4,
.dark-mode .crm-db-title h4,
.dark-mode .feed-lead-name,
.dark-mode .calc-title,
.dark-mode .result-val,
.dark-mode .futuristic-cyber-text.decoded,
.dark-mode .s03-heading,
.dark-mode .author-name {
    color: var(--text-primary) !important;
}

/* Subtitles, secondary readouts and items with dark gray light-theme colors */
.dark-mode .hero-subtitle,
.dark-mode .hero-scroll-indicator,
.dark-mode .quote-text,
.dark-mode .readout-lines {
    color: var(--text-secondary) !important;
}

/* Navigation links in dark mode */
.dark-mode .nav-link {
    color: var(--text-secondary);
}

/* Active links and hover styles inside navigation/elements in dark mode */
.dark-mode .nav-link:hover,
.dark-mode .nav-link.active {
    color: var(--accent) !important;
}

.dark-mode .contact-method-text a,
.dark-mode .contact-method-text p {
    color: var(--text-primary) !important;
}

/* Layout container transitions and color corrections in dark mode */
.dark-mode .navbar {
    background: rgba(10, 9, 8, 0.82) !important;
    border-bottom-color: rgba(245, 145, 40, 0.15) !important;
}

.dark-mode header.scrolled,
.dark-mode .navbar.scrolled {
    background: rgba(18, 16, 14, 0.97) !important;
    border-bottom-color: rgba(245, 145, 40, 0.25) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

/* 3D Book Component pages adjustments */
.dark-mode .cover-front .page-front,
.dark-mode .cover-back .page-back {
    background: linear-gradient(135deg, #1b1814 0%, #12100e 100%) !important;
    border-color: var(--border-color) !important;
}

/* Cleaned up old CRM dark mode adjustments */

/* VR Viewport wrapper details */
.dark-mode .vr-viewport-wrapper {
    background: linear-gradient(160deg, #1b1814 0%, #12100e 100%) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4) !important;
    border-color: var(--border-color) !important;
}

.dark-mode .ring-scene-wrapper,
.dark-mode .cinematic-deck-window {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.dark-mode .section-container,
.dark-mode section,
.dark-mode .service-section {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

.dark-mode .ctrl-circle-inner {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

.dark-mode .vr-matrix-readout {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .vr-viewport-fullscreen-btn {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

.dark-mode .vr-cycle-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-mode .vr-cycle-btn:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--text-primary) !important;
}

/* Testimonial Gallery Wall corrections */
.dark-mode .gallery-wall-container {
    background: linear-gradient(to bottom, rgba(18, 16, 14, 0.95), rgba(27, 24, 20, 0.98)) !important;
    border-color: rgba(245, 145, 40, 0.15) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .frame-canvas {
    background: rgba(18, 16, 14, 0.92) !important;
    border-color: #272420 !important;
    border-image: linear-gradient(135deg, #272420 0%, #1b1814 50%, #201c18 100%) 8 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .contact-icon {
    background: linear-gradient(135deg, #1b1814, #12100e) !important;
    border-color: var(--border-color) !important;
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO CTA BUTTONS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin-top: 2.2rem;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, #e07820 100%);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 6px;
    border: none;
    box-shadow: 0 6px 24px rgba(245, 145, 40, 0.38), 0 2px 8px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(245, 145, 40, 0.52), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hero-btn-primary:hover::before {
    opacity: 1;
}

.hero-btn-primary i {
    font-size: 0.78rem;
    transition: transform 0.25s ease;
}

.hero-btn-primary:hover i {
    transform: scale(1.2);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.93rem 2rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    border: 1.5px solid var(--border-color);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(245, 145, 40, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 145, 40, 0.15);
}

.hero-btn-secondary i {
    transition: transform 0.25s ease;
}

.hero-btn-secondary:hover i {
    transform: translateX(4px);
}

/* Dark mode hero buttons */
.dark-mode .hero-btn-secondary {
    border-color: rgba(245, 145, 40, 0.25);
    color: var(--text-secondary);
}

.dark-mode .hero-btn-secondary:hover {
    color: var(--accent);
    background: rgba(245, 145, 40, 0.08);
    border-color: var(--accent);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO STATS BAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
    padding: 1.4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--glass-shadow);
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.hero-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.6;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.8rem;
    flex: 1;
    min-width: 100px;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .hero-stats-bar {
        gap: 0.5rem;
        padding: 1rem;
    }

    .hero-stat-item {
        padding: 0.5rem 0.8rem;
        min-width: 80px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CONTACT FORM SUCCESS CARD
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.contact-success-card {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    gap: 1.2rem;
    height: 100%;
    min-height: 320px;
}

.contact-success-card.visible {
    display: flex;
}

.success-icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 145, 40, 0.08);
    box-shadow: 0 0 0 8px rgba(245, 145, 40, 0.08), 0 0 32px rgba(245, 145, 40, 0.18);
    animation: successPulse 2s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

.success-icon-ring i {
    font-size: 2rem;
    color: var(--accent);
}

@keyframes successPulse {

    0%,
    100% {
        box-shadow: 0 0 0 8px rgba(245, 145, 40, 0.08), 0 0 32px rgba(245, 145, 40, 0.18);
    }

    50% {
        box-shadow: 0 0 0 16px rgba(245, 145, 40, 0.04), 0 0 48px rgba(245, 145, 40, 0.28);
    }
}

.contact-success-card h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.contact-success-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 280px;
    line-height: 1.6;
}

.success-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s;
}

.success-reset-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(245, 145, 40, 0.06);
    transform: translateY(-2px);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SUBMIT BUTTON LOADING STATE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.submit-btn .btn-loader {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: inline-flex;
}

.submit-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TESTIMONIALS â€” INFINITE CONSTELLATION GALLERY
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Section Wrapper â”€â”€ */
.testi-constellation-section {
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 1;
}

.testi-constellation-section .section-header {
    margin-bottom: 2rem;
}

.testi-constellation-section .section-header h2 {
    font-size: 2.2rem;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.testi-constellation-section .section-header p {
    font-size: 1rem;
}

/* â”€â”€ Ambient Particle Canvas â”€â”€ */
.testi-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* â”€â”€ Glow Orbs â”€â”€ */
.testi-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
}

.testi-glow-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 145, 40, 0.10) 0%, transparent 70%);
    top: -10%;
    left: -8%;
    animation: testiOrbFloat1 12s ease-in-out infinite;
}

.testi-glow-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(100, 140, 255, 0.07) 0%, transparent 70%);
    bottom: -5%;
    right: -5%;
    animation: testiOrbFloat2 15s ease-in-out infinite;
}

.testi-glow-orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 145, 40, 0.06) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation: testiOrbFloat3 10s ease-in-out infinite;
}

@keyframes testiOrbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, 30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, -15px) scale(0.95);
    }
}

@keyframes testiOrbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, -40px) scale(1.15);
    }
}

@keyframes testiOrbFloat3 {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    50% {
        transform: translateX(-50%) translateY(-30px) scale(1.08);
    }
}

/* â”€â”€ Marquee Track Container â”€â”€ */
.testi-marquee-track {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding: 0.5rem 0;
    /* Edge fade masks */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testi-marquee-track+.testi-marquee-track {
    margin-top: 1rem;
}

/* â”€â”€ Marquee Inner (JS duplicates children for seamless loop) â”€â”€ */
.testi-marquee-inner {
    display: flex;
    gap: 1.2rem;
    width: max-content;
    will-change: transform;
}

/* â”€â”€ Marquee Animation Directions â”€â”€ */
.testi-marquee--left .testi-marquee-inner {
    animation: testiScrollLeft 55s linear infinite;
}

.testi-marquee--right .testi-marquee-inner {
    animation: testiScrollRight 60s linear infinite;
}

@keyframes testiScrollLeft {
    0% {
        transform: translateX(0);
    }

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

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

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

/* Pause on hover */
.testi-marquee-track:hover .testi-marquee-inner {
    animation-play-state: paused;
}

/* â”€â”€ Testimonial Card â”€â”€ */
.testi-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem 1.5rem 1.2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.35s ease;
    cursor: default;
    /* Subtle floating animation per card */
    animation: testiCardFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--float-delay, 0) * 1s);
}

.testi-card:nth-child(1) {
    --float-delay: 0;
}

.testi-card:nth-child(2) {
    --float-delay: 0.8;
}

.testi-card:nth-child(3) {
    --float-delay: 1.6;
}

.testi-card:nth-child(4) {
    --float-delay: 2.4;
}

.testi-card:nth-child(5) {
    --float-delay: 3.2;
}

.testi-card:nth-child(6) {
    --float-delay: 4.0;
}

@keyframes testiCardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.testi-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(245, 145, 40, 0.12),
        0 0 0 1px rgba(245, 145, 40, 0.2);
    border-color: rgba(245, 145, 40, 0.3);
    z-index: 10;
}

/* Card internal glow on hover */
.testi-card__glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(245, 145, 40, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.testi-card:hover .testi-card__glow {
    opacity: 1;
}

/* â”€â”€ Card Header (Avatar + Meta) â”€â”€ */
.testi-card__header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg,
            hsl(var(--av-hue, 28), 85%, 55%) 0%,
            hsl(calc(var(--av-hue, 28) + 30), 75%, 45%) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px hsla(var(--av-hue, 28), 85%, 45%, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testi-card:hover .testi-avatar {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 5px 15px hsla(var(--av-hue, 28), 85%, 45%, 0.45);
}

.testi-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.testi-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.testi-role {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
}

/* â”€â”€ Star Rating â”€â”€ */
.testi-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.6rem;
}

.testi-stars i {
    font-size: 0.75rem;
    color: #f59128;
    transition: transform 0.3s ease;
}

.testi-card:hover .testi-stars i {
    animation: testiStarPop 0.4s ease forwards;
}

.testi-card:hover .testi-stars i:nth-child(1) {
    animation-delay: 0s;
}

.testi-card:hover .testi-stars i:nth-child(2) {
    animation-delay: 0.06s;
}

.testi-card:hover .testi-stars i:nth-child(3) {
    animation-delay: 0.12s;
}

.testi-card:hover .testi-stars i:nth-child(4) {
    animation-delay: 0.18s;
}

.testi-card:hover .testi-stars i:nth-child(5) {
    animation-delay: 0.24s;
}

@keyframes testiStarPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

/* â”€â”€ Quote Text â”€â”€ */
.testi-quote {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-weight: 400;
    font-style: italic;
    position: relative;
}

.testi-quote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: -4px;
    font-size: 2.5rem;
    font-family: Georgia, serif;
    color: rgba(245, 145, 40, 0.12);
    line-height: 1;
    pointer-events: none;
}

/* â”€â”€ Project Tag â”€â”€ */
.testi-project {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid rgba(245, 145, 40, 0.15);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.testi-project i {
    font-size: 0.65rem;
}

.testi-card:hover .testi-project {
    background: rgba(245, 145, 40, 0.14);
    transform: translateX(3px);
}

/* â”€â”€ Aggregate Badge â”€â”€ */
.testi-aggregate-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin: 1.5rem auto 0;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: fit-content;
    position: relative;
    z-index: 3;
    box-shadow: 0 6px 24px var(--glass-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testi-aggregate-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(245, 145, 40, 0.12);
}

.testi-aggregate-stars {
    display: flex;
    gap: 4px;
}

.testi-aggregate-stars i {
    font-size: 1rem;
    color: #f59128;
    animation: testiStarGlow 2s ease-in-out infinite;
}

.testi-aggregate-stars i:nth-child(1) {
    animation-delay: 0s;
}

.testi-aggregate-stars i:nth-child(2) {
    animation-delay: 0.2s;
}

.testi-aggregate-stars i:nth-child(3) {
    animation-delay: 0.4s;
}

.testi-aggregate-stars i:nth-child(4) {
    animation-delay: 0.6s;
}

.testi-aggregate-stars i:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes testiStarGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 2px rgba(245, 145, 40, 0.3));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(245, 145, 40, 0.6));
        transform: scale(1.1);
    }
}

.testi-aggregate-score {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testi-aggregate-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}


/* â”€â”€ Dark Mode Adjustments â”€â”€ */
.dark-mode .testi-card {
    background: rgba(18, 16, 14, 0.7);
    border-color: rgba(245, 145, 40, 0.12);
}

.dark-mode .testi-card:hover {
    border-color: rgba(245, 145, 40, 0.35);
    box-shadow: 0 20px 60px rgba(245, 145, 40, 0.12),
        0 0 0 1px rgba(245, 145, 40, 0.25);
}

.dark-mode .testi-quote::before {
    color: rgba(245, 145, 40, 0.08);
}

.dark-mode .testi-aggregate-badge {
    background: rgba(18, 16, 14, 0.75);
    border-color: rgba(245, 145, 40, 0.15);
}

.dark-mode .testi-glow-orb--1 {
    background: radial-gradient(circle, rgba(245, 145, 40, 0.07) 0%, transparent 70%);
}

.dark-mode .testi-glow-orb--2 {
    background: radial-gradient(circle, rgba(100, 140, 255, 0.04) 0%, transparent 70%);
}


/* â”€â”€ Responsive: Tablet â”€â”€ */
@media (max-width: 1024px) {
    .testi-card {
        width: 340px;
        padding: 1.6rem 1.5rem 1.4rem;
    }

    .testi-constellation-section {
        padding: 5rem 0 3.5rem;
    }
}

/* â”€â”€ Responsive: Mobile â”€â”€ */
@media (max-width: 768px) {
    .testi-card {
        width: 300px;
        padding: 1.5rem 1.3rem 1.3rem;
        border-radius: 16px;
    }

    .testi-avatar {
        width: 42px;
        height: 42px;
        font-size: 0.88rem;
        border-radius: 12px;
    }

    .testi-name {
        font-size: 0.92rem;
    }

    .testi-quote {
        font-size: 0.85rem;
    }

    .testi-aggregate-badge {
        padding: 1.2rem 1.8rem;
    }

    .testi-aggregate-score {
        font-size: 1.3rem;
    }

    .testi-marquee--left .testi-marquee-inner {
        animation-duration: 35s;
    }

    .testi-marquee--right .testi-marquee-inner {
        animation-duration: 40s;
    }
}

@media (max-width: 480px) {
    .testi-card {
        width: 270px;
        padding: 1.3rem 1.1rem 1.1rem;
    }

    .testi-constellation-section {
        padding: 4rem 0 3rem;
    }

    .testi-marquee-track {
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE NAV & OVERFLOW FIXES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
html,
body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px !important;
    }

    .nav-logo {
        flex-shrink: 0;
    }

    .nav-logo-text {
        font-size: 15px !important;
    }

    .nav-logo-img {
        height: 32px !important;
    }

    .nav-cta {
        display: none !important;
    }

    .theme-toggle-slider {
        flex-shrink: 0;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        z-index: 99;
    }

    .navbar.scrolled .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 15px !important;
    }

    .nav-logo {
        gap: 8px;
    }

    .nav-logo-text {
        font-size: 13px !important;
        letter-spacing: 0;
    }

    .theme-toggle-slider {
        width: 56px !important;
        height: 30px !important;
    }

    .slider-thumb {
        width: 24px !important;
        height: 24px !important;
    }

    .dark-mode .theme-toggle-slider .slider-thumb {
        transform: translateX(26px) !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   GLOBAL HUMANIZED & ORGANIC AESTHETIC OVERRIDES
   ══════════════════════════════════════════════════════════════════ */

/* Soft Geometry: Organic curves instead of harsh tech squares */
.service-card,
.render-grid-card,
.crm-dashboard-card,
.crm-info-card,
.testi-card,
.form-control,
.btn-secondary,
.btn-primary,
.hero-btn-primary,
.hero-btn-secondary,
.vr-ring-card,
.vr-tab,
.contact-card,
.nav-cta {
    border-radius: 20px !important;
}

.btn-primary,
.hero-btn-primary,
.hero-btn-secondary,
.nav-cta {
    border-radius: 30px !important;
}

/* Natural Spring Physics for Transitions */
.service-card,
.render-grid-card,
.crm-dashboard-card,
.testi-card,
.vr-ring-card,
.btn-primary,
.hero-btn-primary,
.hero-btn-secondary,
.nav-cta {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease, background 0.4s ease, border-color 0.4s ease !important;
}

/* Warm, diffused ambient shadows instead of sharp drops */
.service-card:hover,
.render-grid-card:hover,
.crm-dashboard-card:hover,
.testi-card:hover,
.vr-ring-card:hover {
    box-shadow: 0 25px 50px rgba(100, 60, 10, 0.08), 0 10px 20px rgba(100, 60, 10, 0.04) !important;
}

.dark-mode .service-card:hover,
.dark-mode .render-grid-card:hover,
.dark-mode .crm-dashboard-card:hover,
.dark-mode .testi-card:hover,
.dark-mode .vr-ring-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.25), 0 0 40px rgba(245, 145, 40, 0.08) !important;
}

/* Refined, softer borders */
.service-card,
.render-grid-card,
.crm-info-card,
.crm-dashboard-card,
.testi-card {
    border: 1px solid rgba(180, 130, 60, 0.12) !important;
}

.dark-mode .service-card,
.dark-mode .render-grid-card,
.dark-mode .crm-info-card,
.dark-mode .crm-dashboard-card,
.dark-mode .testi-card {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* VR Section "Looking Glass" Redesign (Removing aggressive neon matrix) */
.vr-glitch-layer,
.cell-laser-scanner,
.vr-line-x,
.vr-line-y,
.c-bracket,
.cell-hud-top,
.cell-hud-bottom {
    display: none !important;
}

.vr-cell-inner {
    border: 1px solid rgba(245, 145, 40, 0.15) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(8px) !important;
    overflow: hidden !important;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.vr-cell-inner:hover {
    border-color: var(--accent) !important;
    box-shadow: 0 15px 30px rgba(245, 145, 40, 0.1) !important;
    transform: scale(1.02) !important;
}

.video-cyan,
.video-gold,
.video-emerald,
.video-magenta {
    /* Remove harsh color filters to show actual natural footage */
    filter: none !important;
    opacity: 0.8 !important;
}

.vr-cell-inner:hover .video-cyan,
.vr-cell-inner:hover .video-gold,
.vr-cell-inner:hover .video-emerald,
.vr-cell-inner:hover .video-magenta {
    opacity: 1 !important;
}

/* Testimonial Orbs - Organic Fireflies instead of grid nodes */
.testi-orb {
    border-radius: 50% !important;
    filter: blur(8px) !important;
    opacity: 0.6 !important;
    background: var(--accent) !important;
    mix-blend-mode: screen !important;
}

.testi-grid-lines {
    opacity: 0.15 !important;
    stroke: rgba(245, 145, 40, 0.5) !important;
    stroke-width: 0.5 !important;
}

/* Cleaned up old CRM restore overrides */

/* ══════════════════════════════════════════════════════════════════
   STRICT PERFORMANCE & HARDWARE ACCELERATION (GPU OFFLOADING)
   ══════════════════════════════════════════════════════════════════ */

/* Force GPU rendering for elements that are heavily animated via GSAP/CSS */
.service-card,
.gallery-panel,
.testi-card,
.render-grid-card,
.vr-ring-card,
.preloader-logo-img,
.preloader-tagline,
.crm-info-card,
.crm-dashboard-card {
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    /* 3D hint for older webkit engines */
}

/* Optimize heavy paints during scroll */
body.is-scrolling .crm-info-card,
body.is-scrolling .crm-dashboard-card,
body.is-scrolling .vr-cell-inner {
    /* Temporarily disable extremely heavy filters during active scroll if needed */
    backdrop-filter: none !important;
}

/* Stop SVG repaints on non-interactive states */
svg {
    transform: translateZ(0);
}

/* Dark mode glow enhancement for hero title brand color */
.dark-mode .hero-title {
    text-shadow: 0 0 30px rgba(113, 39, 44, 0.25);
}

/* --- AI TYPOGRAPHY REFACTOR STYLES --- */

/* Style 01 — Wide Condensed Caps */
.section-heading {
    font-family: "Space Grotesk", sans-serif !important;
    font-weight: 700 !important;
    font-size: 42px !important;
    letter-spacing: -0.02em !important;
    color: var(--text-primary) !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    text-shadow: 0 0 15px rgba(245, 145, 40, 0.3) !important;
}

.section-subheading {
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
}

/* Style 02 — Editorial Serif with Ruled Label */
.project-label {
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    border-left: 2px solid var(--text-primary) !important;
    padding-left: 10px !important;
    margin-bottom: 12px !important;
    display: inline-block !important;
}

.project-heading {
    font-family: "DM Serif Display", serif !important;
    font-weight: 300 !important;
    font-style: italic !important;
    font-size: 48px !important;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9) !important;
    line-height: 1.1 !important;
    margin-bottom: 0.5rem !important;
}

/* Style 03 — Ghost Number + Bold Text */
.numbered-heading-wrapper {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 8px;
}

.ghost-number {
    font-family: "Bebas Neue", sans-serif !important;
    font-size: 64px !important;
    color: var(--text-primary) !important;
    opacity: 0.12 !important;
    line-height: 0.8 !important;
}

.numbered-heading {
    font-family: "Space Grotesk", sans-serif !important;
    font-weight: 700 !important;
    font-size: 38px !important;
    letter-spacing: -0.02em !important;
    color: var(--text-primary) !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 15px rgba(245, 145, 40, 0.3) !important;
}

/* Style 04 — Outline Ghost + Solid Stack */
.ghost-stack-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ghost-layer {
    font-family: "DM Serif Display", serif !important;
    font-style: italic !important;
    font-weight: 800 !important;
    font-size: 54px !important;
    color: transparent !important;
    -webkit-text-stroke: 1px var(--text-primary) !important;
    opacity: 0.15 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    position: absolute;
    top: -20px;
    z-index: 0;
}

.solid-layer {
    font-family: "DM Serif Display", serif !important;
    font-style: italic !important;
    font-weight: 800 !important;
    font-size: 38px !important;
    color: var(--text-primary) !important;
    line-height: 1.1 !important;
    margin-top: 0px !important;
    z-index: 1;
    position: relative;
}

/* Style 05 — Serif Italic with Ruled Footer Tag */
.creative-heading {
    font-family: "Space Grotesk", sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    letter-spacing: -0.02em !important;
    color: var(--text-primary) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 15px rgba(245, 145, 40, 0.3) !important;
}

.creative-tagline {
    border-top: 0.5px solid var(--border-color) !important;
    padding-top: 8px !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
    display: inline-block !important;
}

/* Style 06 — Index Rule + Heavy Grotesque */
.tech-index {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
    margin-bottom: 4px !important;
}

.tech-index::before {
    content: "" !important;
    display: inline-block !important;
    width: 32px !important;
    height: 2px !important;
    background-color: var(--text-primary) !important;
}

.tech-heading {
    font-family: "Space Grotesk", sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    letter-spacing: -0.02em !important;
    color: var(--text-primary) !important;
    line-height: 1 !important;
    margin-top: 4px !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 15px rgba(245, 145, 40, 0.3) !important;
    margin-bottom: 0.5rem !important;
}

/* ==========================================
   NEW SECTIONS: WEB DEV, SOCIAL MARKETING & CLIENTELE
   ========================================== */

/* Section 1: Web Development Video Showcase Stage - Full Screen Bleed by Default */
.web-dev-section {
    background-color: var(--bg-secondary);
    padding: 3.5rem 0 0 0;
    position: relative;
    overflow: hidden;
}

/* Custom Web Dev Section Header */
.web-dev-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 1rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.web-dev-main-heading {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.web-dev-subheading {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 760px;
}

/* ── 3/4 LAPTOP + 1/4 DETAILS SHOWCASE GRID ── */
.web-laptop-showcase-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
}

/* 3/4th Column: Office Desk Workspace Container */
.web-laptop-col {
    position: relative;
    width: 100%;
}

/* ── REAL 8K PHOTOGRAPH MACBOOK DESK STAGE ── */
.real-photo-desk-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    background: #000000;
}

.real-desk-bg-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── SCREEN BEZEL FRAME (sits on top of laptop photo) ── */
.screen-bezel-frame {
    position: absolute;
    top: 5.5%;
    left: 10.2%;
    width: 79.6%;
    height: 66.5%;
    border-radius: 8px;
    overflow: hidden;
    background: #0c0c0f;
    border: 4px solid #1a1a20;
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Top bezel strip with camera */
.bezel-top-bar {
    height: 14px;
    background: #0c0c0f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.facetime-camera-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1e1e28;
    border: 1px solid #2a2a35;
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Bottom bezel chin */
.bezel-bottom-bar {
    height: 4px;
    background: #0c0c0f;
    flex-shrink: 0;
}

/* ── MACOS CHROME BROWSER WINDOW ── */
.macos-browser-window {
    flex-shrink: 0;
}

/* Tab Bar */
.macos-tab-bar {
    display: flex;
    align-items: flex-end;
    padding: 0 10px;
    padding-top: 4px;
    background: #dee1e6;
    gap: 0;
    height: 30px;
    border-bottom: 1px solid #c5c8cc;
}

.dark-mode .macos-tab-bar {
    background: #202124;
    border-bottom-color: #35363a;
}

.macos-window-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 6px 6px 4px;
    flex-shrink: 0;
}

.macos-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.macos-dot-close {
    background: #ff5f57;
}

.macos-dot-minimize {
    background: #febc2e;
}

.macos-dot-maximize {
    background: #28c840;
}

.macos-tabs-row {
    display: flex;
    align-items: flex-end;
    gap: 0;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.macos-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #5f6368;
    background: transparent;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    position: relative;
    max-width: 180px;
    min-width: 0;
}

.macos-tab.active {
    background: #ffffff;
    color: #1a1a2e;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.08);
}

.dark-mode .macos-tab {
    color: #9aa0a6;
}

.dark-mode .macos-tab.active {
    background: #35363a;
    color: #e8eaed;
}

.macos-tab-favicon {
    font-size: 0.65rem;
    flex-shrink: 0;
}

.macos-tab-label {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.macos-tab-close {
    font-size: 0.85rem;
    line-height: 1;
    opacity: 0;
    margin-left: auto;
    flex-shrink: 0;
    color: #80868b;
    transition: opacity 0.15s ease;
}

.macos-tab:hover .macos-tab-close {
    opacity: 1;
}

.macos-new-tab-btn {
    font-size: 1rem;
    color: #80868b;
    padding: 2px 8px 6px 8px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}

/* Address Bar */
.macos-address-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #ffffff;
    border-bottom: 1px solid #dadce0;
}

.dark-mode .macos-address-bar {
    background: #35363a;
    border-bottom-color: #4a4b50;
}

.macos-nav-btns {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.macos-nav-btn {
    background: none;
    border: none;
    color: #5f6368;
    font-size: 0.7rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s ease;
}

.macos-nav-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.dark-mode .macos-nav-btn {
    color: #9aa0a6;
}

.dark-mode .macos-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.macos-url-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f3f4;
    padding: 4px 14px;
    border-radius: 18px;
    font-size: 0.72rem;
    color: #5f6368;
    min-width: 0;
}

.dark-mode .macos-url-box {
    background: #202124;
    color: #bdc1c6;
}

.macos-lock-icon {
    font-size: 0.6rem;
    color: #5f6368;
    flex-shrink: 0;
}

.dark-mode .macos-lock-icon {
    color: #9aa0a6;
}

.macos-url-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.macos-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #80868b;
    font-size: 0.75rem;
}

/* ── VIDEO VIEWPORT ── */
.macos-viewport {
    flex: 1;
    width: 100%;
    overflow: hidden;
    background: var(--bg-primary, #ffffff);
    min-height: 0;
}

.macos-viewport-video {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transition: opacity 0.3s ease;
}

/* 1/4th Column: Details Panel Card */
.web-details-col {
    width: 100%;
}

/* ── PREMIUM INFO PANEL CARD ── */
.web-info-panel-card {
    background: var(--bg-secondary, #ffffff);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 20px 50px var(--glass-shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: background 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.web-info-panel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #f59128, #e07820, var(--accent));
    background-size: 200% auto;
    animation: shimmerGradient 3s linear infinite;
}

@keyframes shimmerGradient {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.dark-mode .web-info-panel-card {
    background: #131217;
    border-color: rgba(245, 145, 40, 0.15);
}

/* Top Meta Row: Counter + Live Badge */
.web-info-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.web-project-counter {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.counter-current {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 800;
}

.web-live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.web-info-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.web-showcase-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(245, 145, 40, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    align-self: flex-start;
    border: 1px solid rgba(245, 145, 40, 0.2);
}

.web-showcase-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #000000 !important;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-shadow: none !important;
}

.dark-mode .web-showcase-title {
    color: #ffffff !important;
}

.web-showcase-desc {
    font-size: 0.98rem;
    font-weight: 600;
    color: #000000 !important;
    line-height: 1.65;
}

.dark-mode .web-showcase-desc {
    color: #f8fafc !important;
}

/* Tech Stack Chips */
.web-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.tech-chip i {
    font-size: 0.75rem;
    color: var(--accent);
}

.dark-mode .tech-chip {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

/* CTA Button */
.web-showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, #e07820 100%);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 145, 40, 0.3);
    position: relative;
    overflow: hidden;
}

.web-showcase-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.web-showcase-cta:hover::before {
    left: 100%;
}

.web-showcase-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 145, 40, 0.5);
    color: #ffffff;
}

.cta-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.72rem;
}

/* Panel Divider */
.web-panel-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* Project Selector List */
.web-project-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.web-list-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.web-list-label i {
    color: var(--accent);
    font-size: 0.7rem;
}

.web-project-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.web-project-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--bg-primary);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.dark-mode .web-project-item {
    background: rgba(255, 255, 255, 0.03);
}

.web-project-item:hover {
    background: rgba(245, 145, 40, 0.08);
    border-color: rgba(245, 145, 40, 0.2);
    transform: translateX(3px);
}

.web-project-item.active {
    background: rgba(245, 145, 40, 0.12);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(245, 145, 40, 0.15);
}

.project-item-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.5;
    min-width: 18px;
}

.web-project-item.active .project-item-num {
    color: var(--accent);
    opacity: 1;
}

.project-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(245, 145, 40, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.web-project-item.active .project-item-icon {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(245, 145, 40, 0.3);
}

.project-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    gap: 1px;
}

.project-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #000000 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark-mode .project-item-title {
    color: #ffffff !important;
}

.project-item-domain {
    font-size: 0.7rem;
    color: #475569 !important;
    font-family: 'Space Grotesk', monospace;
}

.dark-mode .project-item-domain {
    color: #94a3b8 !important;
}

/* Status Dot */
.project-item-status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.status-dot.active-dot,
.web-project-item.active .status-dot {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

/* Card Nav Buttons Row */
.web-card-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.web-card-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dark-mode .web-card-nav-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.web-card-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 145, 40, 0.3);
}

/* Authentic 2-Row Chrome Browser Top Frame */
.web-showcase-browser-header {
    background: #e3dfd7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 8px 16px 8px 16px;
    gap: 8px;
    transition: background 0.4s ease, border-color 0.4s ease;
}

/* Line 1: Top Row (Controls & Tabs) */
.browser-top-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.browser-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 4px;
    flex-shrink: 0;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dot.dot-close {
    background: #ff5f56;
}

.browser-dot.dot-minimize {
    background: #ffbd2e;
}

.browser-dot.dot-maximize {
    background: #27c93f;
}

.browser-tabs-container {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.browser-tabs-container::-webkit-scrollbar {
    display: none;
}

.browser-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 18px;
    border-radius: 10px 10px 0 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #57534e;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    white-space: nowrap;
}

.browser-tab:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1c1917;
}

.browser-tab.active {
    background: #ffffff;
    border-color: rgba(245, 145, 40, 0.4);
    border-bottom-color: #ffffff;
    color: #f59128;
    font-weight: 700;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.04);
}

.browser-tab-icon {
    font-size: 0.78rem;
    color: var(--accent);
}

.browser-tab-close {
    font-size: 0.7rem;
    color: #78716c;
    opacity: 0.6;
    margin-left: 4px;
    transition: opacity 0.2s;
}

.browser-tab-close:hover {
    opacity: 1;
}

/* Line 2: Toolbar & Address Bar Row */
.browser-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.browser-nav-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.browser-icon-btn {
    background: transparent;
    border: none;
    color: #78716c;
    font-size: 0.8rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.browser-icon-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #1c1917;
}

.browser-url-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f4f1ea;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.82rem;
    color: #1c1917;
    transition: background 0.4s ease, color 0.4s ease;
}

.browser-lock-icon {
    color: #10b981;
    font-size: 0.78rem;
}

.browser-url-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}

.browser-star-icon {
    color: #a8a29e;
    font-size: 0.78rem;
    cursor: pointer;
    transition: color 0.2s;
}

.browser-star-icon:hover {
    color: #f59128;
}

.web-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.browser-status-pill {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 6px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-status-pill::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: pulseGlow 1.8s infinite;
}

.web-fullscreen-btn {
    background: rgba(245, 145, 40, 0.12);
    border: 1px solid rgba(245, 145, 40, 0.3);
    color: var(--text-primary, #1c1917);
    padding: 6px 18px;
    border-radius: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.web-fullscreen-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 145, 40, 0.3);
}

/* ── DARK MODE OVERRIDES FOR WEB SHOWCASE BROWSER MOCKUP ── */
.dark-mode .web-showcase-stage {
    background: #0d0c0a;
    box-shadow: 0 25px 60px var(--glass-shadow);
}

.dark-mode .web-showcase-browser-header {
    background: #151419;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .browser-tab {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
}

.dark-mode .browser-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dark-mode .browser-tab.active {
    background: #23222a;
    border-color: rgba(245, 145, 40, 0.4);
    border-bottom-color: #23222a;
    color: #f59128;
    box-shadow: none;
}

.dark-mode .browser-tab-close {
    color: rgba(255, 255, 255, 0.5);
}

.dark-mode .browser-toolbar-row {
    background: #23222a;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.dark-mode .browser-icon-btn {
    color: rgba(255, 255, 255, 0.55);
}

.dark-mode .browser-icon-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.dark-mode .browser-url-wrap {
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.dark-mode .browser-star-icon {
    color: rgba(255, 255, 255, 0.35);
}

.dark-mode .web-fullscreen-btn {
    color: var(--text-primary, #f9f7f3);
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

.web-showcase-viewport {
    position: relative;
    width: 100vw;
    height: 82vh;
    min-height: 560px;
    max-height: 880px;
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fullscreen native API overrides */
.web-showcase-stage:fullscreen,
.web-showcase-stage:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    background: #090807 !important;
}

.web-showcase-stage:fullscreen .web-showcase-viewport,
.web-showcase-stage:-webkit-full-screen .web-showcase-viewport {
    height: calc(100vh - 130px) !important;
    max-height: calc(100vh - 130px) !important;
}

.web-showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nav Overlay Buttons */
.web-showcase-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(15, 13, 11, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(245, 145, 40, 0.4);
    color: #ffffff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 145, 40, 0.2);
}

.web-showcase-nav-btn.prev {
    left: 28px;
}

.web-showcase-nav-btn.next {
    right: 28px;
}

.web-showcase-nav-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 12px 35px rgba(245, 145, 40, 0.45);
}

/* HUD Info Bar Overlay */
.web-showcase-hud {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 3rem 2rem 3rem;
    background: linear-gradient(0deg, rgba(10, 9, 8, 0.95) 0%, rgba(10, 9, 8, 0.6) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
}

.web-showcase-hud-content {
    pointer-events: auto;
    max-width: 650px;
}

.web-showcase-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.web-showcase-title {
    text-shadow: none !important;
}

.web-showcase-desc {
    font-size: 0.95rem;
    color: #dcd7cd;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.web-showcase-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.web-showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, #e07820 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 145, 40, 0.35);
}

.web-showcase-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 145, 40, 0.5);
    color: #ffffff;
}

.web-showcase-counter {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

/* Sleek Innovative Brand Selector Pills */
.web-brand-selector-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 30px;
    background: var(--bg-secondary, #ffffff);
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    transition: background 0.4s ease;
}

.dark-mode .web-brand-selector-bar {
    background: rgba(12, 10, 9, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.web-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-primary, #f9f7f3);
    border: 1px solid rgba(180, 130, 60, 0.18);
    color: var(--text-secondary, #57534e);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.dark-mode .web-brand-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
}

.web-brand-pill i {
    font-size: 0.88rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.web-brand-pill:hover {
    background: rgba(245, 145, 40, 0.15);
    border-color: rgba(245, 145, 40, 0.4);
    color: var(--text-primary, #1c1917);
    transform: translateY(-2px);
}

.dark-mode .web-brand-pill:hover {
    color: #ffffff;
}

.web-brand-pill:hover i {
    transform: scale(1.2);
}

.web-brand-pill.active {
    background: linear-gradient(135deg, var(--accent) 0%, #e07820 100%);
    border-color: var(--accent);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(245, 145, 40, 0.4);
    transform: translateY(-2px);
}

.web-brand-pill.active i {
    color: #ffffff;
}



.web-more-badge {
    background: rgba(245, 145, 40, 0.08);
    border: 1px dashed rgba(245, 145, 40, 0.4);
    color: var(--text-primary);
    cursor: default;
    opacity: 0.9;
}

.dark-mode .web-more-badge {
    color: rgba(255, 255, 255, 0.9);
}

.web-more-badge:hover {
    background: rgba(245, 145, 40, 0.08);
    border-color: rgba(245, 145, 40, 0.4);
    transform: none;
}

@media (max-width: 992px) {
    .web-showcase-hud {
        padding: 1.5rem;
    }

    .web-showcase-title {
        font-size: 1.4rem;
    }

    .web-brand-selector-bar {
        gap: 10px;
        padding: 14px;
    }

    .web-brand-pill {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
}

.web-dev-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--accent-light);
    color: var(--accent);
}

.web-dev-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.web-dev-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* Section 2: Social Media Management Interactive 3D Hub */
.social-marketing-section {
    background-color: var(--bg-primary);
    padding: 7rem 0;
    position: relative;
}

/* Instagram Story Navigation Bar */
.social-story-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto 3.5rem auto;
    overflow-x: auto;
    padding: 10px 20px;
    max-width: 100%;
}

.story-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    flex-shrink: 0;
}

.story-nav-item:hover {
    transform: translateY(-4px) scale(1.05);
}

.story-avatar-gradient {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 6px 18px rgba(220, 39, 67, 0.25);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.story-nav-item.active .story-avatar-gradient {
    box-shadow: 0 0 25px rgba(220, 39, 67, 0.6);
    transform: scale(1.1);
    animation: storyPulse 2s infinite;
}

@keyframes storyPulse {

    0%,
    100% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.15);
    }
}

.story-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.35rem;
}

.story-nav-item span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.story-nav-item.active span,
.story-nav-item:hover span {
    color: var(--text-primary);
}

/* 3D Grid Layout */
.social-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

/* 3D Interactive Card */
.social-card-3d {
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.social-card-inner {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px var(--glass-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transform-style: preserve-3d;
}

.social-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    opacity: 0.8;
}

.social-card-3d:hover .social-card-inner {
    transform: translateY(-10px) rotateX(4deg) rotateY(-2deg);
    border-color: rgba(220, 39, 67, 0.45);
    box-shadow: 0 25px 50px rgba(220, 39, 67, 0.2);
}

/* Card Header Visual Banners (Uniform 210px height for all 6 cards - Full Edge-to-Edge Cover) */
.social-card-cover {
    width: 100%;
    height: 210px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0d0c;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.cover-logo-full {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-card-3d:hover .cover-logo-full {
    transform: scale(1.08);
}

/* Top Stats Pills */
.social-card-top-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.stat-pill {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-pill.growth {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.social-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.social-avatar-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
}

.social-meta {
    overflow: hidden;
}

.social-handle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-verified {
    color: #3897f0;
    font-size: 0.9rem;
}

.social-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.social-service-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e1306c;
    background: rgba(225, 48, 108, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Metrics Bar */
.social-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.dark-mode .social-card-metrics {
    background: rgba(255, 255, 255, 0.03);
}

.metric-val {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.metric-lbl {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Action Button */
.social-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #e1306c 0%, #c13584 50%, #833ab4 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.35);
    margin-top: auto;
}

.social-action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(225, 48, 108, 0.5);
    color: #ffffff !important;
}

.social-action-btn i:last-child {
    transition: transform 0.3s ease;
}

.social-action-btn:hover i:last-child {
    transform: translateX(5px);
}

/* Section 3: Clientele Showcase (45+ Clients Served) */
.clientele-section {
    background-color: var(--bg-secondary);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.clientele-counter-banner {
    text-align: center;
    margin-bottom: 3.5rem;
}

.clientele-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-light);
    border: 1px solid rgba(245, 145, 40, 0.3);
    padding: 8px 20px;
    border-radius: 40px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.client-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px var(--glass-shadow);
}

.client-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 25px rgba(245, 145, 40, 0.15);
}

.client-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.client-card-info {
    overflow: hidden;
}

.client-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 2px;
}

.client-badge-new {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    background: #10b981;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.client-type {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Dual Infinite Scrolling Marquee */
.client-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.client-marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}

.client-marquee-track.reverse {
    animation: marqueeScrollReverse 35s linear infinite;
}

.client-marquee-wrapper:hover .client-marquee-track {
    animation-play-state: paused;
}

.marquee-pill {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.marquee-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.marquee-pill i {
    color: var(--accent);
    font-size: 0.8rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

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

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

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

@media (max-width: 768px) {

    .web-dev-grid,
    .social-grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .web-showcase-stage {
        width: 100vw;
        border-radius: 0;
        margin-top: 1rem;
    }

    .web-showcase-browser-header {
        padding: 10px 14px;
        gap: 8px;
    }

    .browser-nav-icons {
        display: none;
    }

    .browser-url-wrap {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .web-fullscreen-btn span {
        display: none;
    }
}

@media (max-width: 1024px) {
    .web-laptop-showcase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .macos-tab-bar {
        height: 24px;
    }

    .macos-tab {
        padding: 3px 8px;
        font-size: 0.65rem;
    }

    .macos-address-bar {
        padding: 3px 6px;
    }

    .macos-url-box {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .macos-toolbar-right {
        display: none;
    }
}

/* ── ULTRA-WIDE & LARGE DESKTOP SCREEN RESPONSIVENESS (1440px, 1600px, 1920px+ 4K Monitors) ── */
@media (min-width: 1440px) {
    .container {
        max-width: 1560px;
        padding: 0 3rem;
    }

    .web-laptop-showcase-grid {
        grid-template-columns: 2.8fr 1fr;
        gap: 40px;
    }

    .web-showcase-title {
        font-size: 1.85rem;
    }

    .web-showcase-desc {
        font-size: 1.02rem;
    }

    .macos-tab-bar {
        height: 34px;
        padding-top: 5px;
    }

    .macos-tab {
        padding: 6px 16px;
        font-size: 0.78rem;
    }

    .macos-address-bar {
        padding: 5px 12px;
    }

    .macos-url-box {
        font-size: 0.78rem;
        padding: 5px 16px;
    }

    .web-info-panel-card {
        padding: 32px 28px;
    }

    .web-project-item {
        padding: 12px 16px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1720px;
        padding: 0 4rem;
    }

    .web-laptop-showcase-grid {
        grid-template-columns: 3fr 1.1fr;
        gap: 48px;
    }

    .web-showcase-title {
        font-size: 2.1rem;
    }

    .web-showcase-desc {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .macos-tab-bar {
        height: 38px;
        padding-top: 6px;
    }

    .macos-tab {
        padding: 7px 18px;
        font-size: 0.84rem;
    }

    .macos-address-bar {
        padding: 6px 14px;
    }

    .macos-url-box {
        font-size: 0.84rem;
        padding: 6px 18px;
    }

    .bezel-top-bar {
        height: 18px;
    }

    .facetime-camera-dot {
        width: 6px;
        height: 6px;
    }
}

/* ==========================================
   VIDEO CAROUSEL COMPONENT
   ========================================== */
.video-carousel-section {
    position: relative;
    padding-top: 4rem;
}

.carousel-deck {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 40px auto 0;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fullscreen-carousel-section {
    height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.fullscreen-carousel-section .container {
    max-width: none !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
}

.fullscreen-carousel-section .section-header {
    position: absolute;
    top: 5vh;
    left: 5vw;
    width: auto;
    z-index: 20;
    text-align: left;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.fullscreen-carousel-section .section-header h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.7));
}

.fullscreen-carousel-section .section-header p {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
    font-weight: 500;
}

.video-title-overlay {
    position: absolute;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: opacity 0.3s ease;
    white-space: nowrap;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none !important;
}

.video-title-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none !important;
}

.video-title-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateX(-50%) scale(1.02);
}

.yt-hint {
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    font-weight: 500;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.yt-hint i {
    font-size: 1.2em;
}


.fullscreen-carousel-section .carousel-deck {
    height: 100vh !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    aspect-ratio: auto !important;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-viewport {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform, opacity;
}

.carousel-flash-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.carousel-hud {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
}

.carousel-hud-stat {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-btn-left {
    left: 20px;
}

.carousel-btn-right {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-deck {
        border-radius: 12px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .carousel-btn-left {
        left: 10px;
    }

    .carousel-btn-right {
        right: 10px;
    }

    .carousel-hud {
        top: 10px;
        left: 10px;
        padding: 4px 10px;
    }

    .carousel-hud-stat {
        font-size: 0.7rem;
    }
}


/* --- FULLWIDTH VIDEO SLIDER (3D ADVERTISEMENTS & MINIATURES) --- */
.fullwidth-video-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.fvs-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fvs-slide {
    position: relative;
    min-width: 100vw;
    height: 100%;
    overflow: hidden;
}

.fvs-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.8s ease;
}

.fvs-slide.active video {
    opacity: 1;
}

.fvs-overlay {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem 3rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
    transform: translate(-50%, 20px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    cursor: pointer;
    z-index: 30;
}

.fvs-slide.active .fvs-overlay {
    opacity: 1;
    transform: translate(-50%, 0);
}

.fvs-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -2px) scale(1.05);
}

.fvs-title {
    color: #fff !important;
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.fvs-youtube-icon {
    color: rgba(255, 0, 0, 0.9);
    font-size: 2rem;
    background: radial-gradient(circle, #fff 30%, transparent 60%);
    border-radius: 50%;
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fvs-overlay:hover .fvs-youtube-icon {
    transform: scale(1.15);
    color: #ff0000;
}

.fvs-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #000;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.3s ease, transform 0.3s ease;
}

.fvs-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.fvs-nav-btn.prev {
    left: 1rem;
}

.fvs-nav-btn.next {
    right: 1rem;
}