/* =========================================
   HOME & HEARTH PROPERTIES - Premium Design System
   ========================================= */

/* CSS Variables */
:root {
    /* Colors */
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-bg-tertiary: #1a1a1a;
    --color-bg-card: #141414;
    /* Gold Accent (from logo) */
    --color-accent: #d4af37;
    --color-accent-light: #e5c55e;
    --color-accent-dark: #b8962f;

    /* Forest Green (from logo background) */
    --color-green: #1a3d2e;
    --color-green-light: #245a42;
    --color-green-dark: #0f2920;

    --color-text-primary: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-text-muted: #666666;

    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-accent: rgba(212, 175, 55, 0.3);
    --color-border-green: rgba(26, 61, 46, 0.5);

    /* Typography - Premium Luxury Fonts */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 12vh, 140px);
    --container-width: 1400px;
    --container-padding: clamp(20px, 5vw, 60px);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(201, 165, 92, 0.2);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga" 1, "kern" 1;
    letter-spacing: 0.01em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =========================================
   PRELOADER - ANIMATED CONSTRUCTION SCENE
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f1a15 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
}

/* Preloader Scene Container */
.preloader-scene {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blueprint Grid Background */
.blueprint-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    animation: gridPulse 2s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Building Animation Container */
.building-animation {
    position: relative;
    width: 120px;
    height: 180px;
    z-index: 2;
}

/* Foundation */
.building-foundation {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 15px;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent), var(--color-accent-dark));
    border-radius: 2px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

/* Building Floors */
.building-floors {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    display: flex;
    flex-direction: column-reverse;
    gap: 3px;
}

.floor {
    height: 25px;
    background: linear-gradient(90deg,
            rgba(212, 175, 55, 0.2) 0%,
            rgba(212, 175, 55, 0.4) 20%,
            rgba(212, 175, 55, 0.4) 80%,
            rgba(212, 175, 55, 0.2) 100%);
    border: 1px solid var(--color-accent);
    border-radius: 2px;
    opacity: 0;
    transform: translateY(20px) scaleY(0);
    animation: buildFloor 3s ease-out infinite;
    position: relative;
}

/* Floor windows */
.floor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 10%,
            transparent 20%,
            rgba(255, 255, 255, 0.2) 30%,
            transparent 40%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 60%,
            rgba(255, 255, 255, 0.2) 70%,
            transparent 80%);
}

.floor-1 {
    animation-delay: 0s;
}

.floor-2 {
    animation-delay: 0.4s;
}

.floor-3 {
    animation-delay: 0.8s;
}

.floor-4 {
    animation-delay: 1.2s;
}

.floor-5 {
    animation-delay: 1.6s;
}

@keyframes buildFloor {
    0% {
        opacity: 0;
        transform: translateY(20px) scaleY(0);
    }

    15% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }

    85% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.8);
    }
}

/* Animated Crane */
.crane {
    position: absolute;
    right: -30px;
    bottom: 15px;
}

.crane-tower {
    width: 8px;
    height: 150px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 2px;
}

.crane-arm {
    position: absolute;
    top: 0;
    left: -40px;
    width: 80px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 2px;
    transform-origin: right center;
    animation: craneSwing 4s ease-in-out infinite;
}

.crane-cable {
    position: absolute;
    top: 6px;
    left: -35px;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    animation: cableSwing 4s ease-in-out infinite;
    transform-origin: top center;
}

.crane-hook {
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--color-accent);
    border-top: none;
    border-radius: 0 0 50% 50%;
}

@keyframes craneSwing {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

@keyframes cableSwing {

    0%,
    100% {
        transform: rotate(8deg);
    }

    50% {
        transform: rotate(-8deg);
    }
}

/* Flying Construction Elements */
.flying-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flying-brick {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0;
    animation: flyIn 3s ease-in-out infinite;
}

.brick-1 {
    top: 30%;
    left: -20px;
    animation-delay: 0s;
}

.brick-2 {
    top: 50%;
    right: -20px;
    animation-delay: 0.8s;
}

.brick-3 {
    top: 20%;
    left: 50%;
    animation-delay: 1.6s;
}

.brick-4 {
    bottom: 30%;
    left: -15px;
    animation-delay: 2.4s;
}

@keyframes flyIn {
    0% {
        opacity: 0;
        transform: translate(-30px, 30px) rotate(-45deg) scale(0.5);
    }

    20% {
        opacity: 1;
        transform: translate(10px, -10px) rotate(0deg) scale(1);
    }

    80% {
        opacity: 1;
        transform: translate(20px, -20px) rotate(15deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(40px, -40px) rotate(30deg) scale(0.5);
    }
}

/* Rotating Gears */
.gear-container {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.gear {
    position: absolute;
    color: rgba(212, 175, 55, 0.3);
}

.gear-1 {
    width: 50px;
    height: 50px;
    animation: rotateCW 4s linear infinite;
}

.gear-2 {
    width: 35px;
    height: 35px;
    left: 35px;
    top: 25px;
    animation: rotateCCW 3s linear infinite;
}

@keyframes rotateCW {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCCW {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* Preloader Info Section */
.preloader-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.preloader-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin: 0;
}

.preloader-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 250px;
}

.preloader-bar {
    flex: 1;
    height: 4px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent), var(--color-accent-light));
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.preloader-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.preloader-percent {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    min-width: 40px;
    text-align: right;
}

.preloader-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Legacy support for preloader-logo-img if needed */
.preloader-logo-img {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-img {
    height: 120px;
    width: auto;
}

.navbar.scrolled .nav-logo-img {
    height: 80px;
}

.footer-logo-img {
    height: 200px;
    width: auto;
}

.nav-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.2em;
}

.nav-logo .logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--color-text-secondary);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 4px;
    transition: var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-base);
}

/* =========================================
   PAGE HEADER
   ========================================= */
.page-header {
    margin-top: 80px;
    /* Offset fixed navbar */
    padding: 100px 0 60px;
    background-color: var(--color-bg-secondary);
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(10, 10, 10, 0.9) 0%,
            rgba(10, 10, 10, 0.7) 50%,
            rgba(10, 10, 10, 0.5) 100%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 var(--container-padding);
    animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.tag-line {
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}

.tag-text {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title .title-line {
    display: block;
}

.hero-title .accent {
    color: var(--color-accent);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: fadeInUp 1s ease 1s both;
}

.hero-scroll span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateY(12px);
    }
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    right: var(--container-padding);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 40px;
    animation: fadeInUp 1s ease 1.2s both;
}

.hero-stats .stat-item {
    text-align: right;
}

.hero-stats .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent);
}

.hero-stats .stat-number::after {
    content: '+';
}

.hero-stats .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* =========================================
   SECTION STYLES
   ========================================= */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
}

.section-title .accent {
    color: var(--color-accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-top: 20px;
    max-width: 600px;
}

.section-header.center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   CONSTRUCTION ANIMATION SECTION
   ========================================= */
.construction-section {
    position: relative;
    height: 400vh;
    padding: 0;
}

.construction-canvas {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.construction-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.05s ease;
}

.construction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.4) 0%,
            transparent 30%,
            transparent 60%,
            rgba(10, 10, 10, 0.9) 100%);
    pointer-events: none;
}

.construction-content {
    position: absolute;
    bottom: 100px;
    left: var(--container-padding);
    right: var(--container-padding);
    z-index: 10;
}

.progress-indicator {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    transition: width 0.1s linear;
}

.progress-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

.stage-label {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.construction-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.construction-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    line-height: 1.6;
}

.scroll-hint-build {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.scroll-hint-build span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow-build {
    width: 24px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot-build {
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: scrollDotBuild 1.5s ease-in-out infinite;
}

@keyframes scrollDotBuild {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateY(12px);
    }
}

/* =========================================
   PREMIUM CONSTRUCTION FRAME - Luxury Animated
   ========================================= */
.construction-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    pointer-events: none;
    z-index: 20;
}

/* ===== CORNER NODES WITH PULSE ===== */
.frame-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
}

/* Organic Curved Corner Brackets */
.frame-corner::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    border-radius: 0;
}

/* Pulsing Corner Dots */
.frame-corner::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow:
        0 0 15px rgba(212, 175, 55, 0.8),
        0 0 30px rgba(212, 175, 55, 0.4),
        0 0 45px rgba(212, 175, 55, 0.2);
    animation: cornerPulse 2s ease-in-out infinite;
}

@keyframes cornerPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 15px rgba(212, 175, 55, 0.8),
            0 0 30px rgba(212, 175, 55, 0.4);
    }

    50% {
        transform: scale(1.3);
        box-shadow:
            0 0 25px rgba(212, 175, 55, 1),
            0 0 50px rgba(212, 175, 55, 0.6),
            0 0 75px rgba(212, 175, 55, 0.3);
    }
}

/* Top Left Corner */
.corner-tl {
    top: 0;
    left: 0;
}

.corner-tl::before {
    top: 0;
    left: 0;
    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    border-top-left-radius: 15px;
}

.corner-tl::after {
    top: -5px;
    left: -5px;
}

/* Top Right Corner */
.corner-tr {
    top: 0;
    right: 0;
}

.corner-tr::before {
    top: 0;
    right: 0;
    border-top: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    border-top-right-radius: 15px;
}

.corner-tr::after {
    top: -5px;
    right: -5px;
    animation-delay: 0.5s;
}

/* Bottom Left Corner */
.corner-bl {
    bottom: 0;
    left: 0;
}

.corner-bl::before {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    border-bottom-left-radius: 15px;
}

.corner-bl::after {
    bottom: -5px;
    left: -5px;
    animation-delay: 1s;
}

/* Bottom Right Corner */
.corner-br {
    bottom: 0;
    right: 0;
}

.corner-br::before {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    border-bottom-right-radius: 15px;
}

.corner-br::after {
    bottom: -5px;
    right: -5px;
    animation-delay: 1.5s;
}

/* ===== SCANNING LIGHT BEAMS ===== */
.frame-border {
    position: absolute;
    overflow: hidden;
}

.border-top {
    top: 0;
    left: 80px;
    right: 80px;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(212, 175, 55, 0.1) 0%,
            rgba(212, 175, 55, 0.3) 50%,
            rgba(212, 175, 55, 0.1) 100%);
}

.border-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 215, 0, 0.8),
            rgba(255, 255, 255, 0.9),
            rgba(255, 215, 0, 0.8),
            transparent);
    animation: scanLineH 4s linear infinite;
}

.border-bottom {
    bottom: 0;
    left: 80px;
    right: 80px;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(212, 175, 55, 0.1) 0%,
            rgba(212, 175, 55, 0.3) 50%,
            rgba(212, 175, 55, 0.1) 100%);
}

.border-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 215, 0, 0.8),
            rgba(255, 255, 255, 0.9),
            rgba(255, 215, 0, 0.8),
            transparent);
    animation: scanLineHR 4s linear infinite;
    animation-delay: 2s;
}

.border-left {
    left: 0;
    top: 80px;
    bottom: 80px;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(212, 175, 55, 0.1) 0%,
            rgba(212, 175, 55, 0.3) 50%,
            rgba(212, 175, 55, 0.1) 100%);
}

.border-left::before {
    content: '';
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg,
            transparent,
            rgba(255, 215, 0, 0.8),
            rgba(255, 255, 255, 0.9),
            rgba(255, 215, 0, 0.8),
            transparent);
    animation: scanLineV 4s linear infinite;
    animation-delay: 1s;
}

.border-right {
    right: 0;
    top: 80px;
    bottom: 80px;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(212, 175, 55, 0.1) 0%,
            rgba(212, 175, 55, 0.3) 50%,
            rgba(212, 175, 55, 0.1) 100%);
}

.border-right::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -100%;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg,
            transparent,
            rgba(255, 215, 0, 0.8),
            rgba(255, 255, 255, 0.9),
            rgba(255, 215, 0, 0.8),
            transparent);
    animation: scanLineVR 4s linear infinite;
    animation-delay: 3s;
}

/* Scanning Animations */
@keyframes scanLineH {
    0% {
        left: -50%;
    }

    100% {
        left: 150%;
    }
}

@keyframes scanLineHR {
    0% {
        right: -50%;
    }

    100% {
        right: 150%;
    }
}

@keyframes scanLineV {
    0% {
        top: -50%;
    }

    100% {
        top: 150%;
    }
}

@keyframes scanLineVR {
    0% {
        bottom: -50%;
    }

    100% {
        bottom: 150%;
    }
}


/* =========================================
   CONSTRUCTION SPLIT LAYOUT (60/40)
   ========================================= */
.construction-split {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 5;
}

/* Left Side - Construction View (60%) */
.construction-view {
    flex: 0 0 60%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.construction-view .construction-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.construction-view .construction-overlay {
    background: linear-gradient(90deg,
            rgba(10, 10, 10, 0.3) 0%,
            rgba(10, 10, 10, 0.1) 50%,
            rgba(10, 10, 10, 0.6) 100%);
}

.construction-progress-overlay {
    position: absolute;
    bottom: 40px;
    left: 30px;
    z-index: 10;
}

/* Right Side - Info Panel (40%) */
.construction-info-panel {
    flex: 0 0 40%;
    background: linear-gradient(135deg,
            rgba(15, 15, 15, 0.98) 0%,
            rgba(20, 20, 20, 0.95) 50%,
            rgba(10, 15, 12, 0.98) 100%);
    display: flex;
    flex-direction: column;
    padding: 40px 35px;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

/* Panel Background Pattern */
.construction-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(212, 175, 55, 0.03) 1px, transparent 0);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Panel Header */
.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 30px;
}

.panel-icon {
    font-size: 1.2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

.panel-title {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

/* Panel Main Content */
.panel-main {
    margin-bottom: 30px;
}

.panel-headline {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.panel-headline .accent {
    font-family: var(--font-accent);
    color: var(--color-accent);
    display: block;
    font-size: 3.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 50%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.panel-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Rotating Facts/Info Section */
.rotating-info {
    flex: 1;
    position: relative;
    min-height: 120px;
    margin: 20px 0;
}

.info-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.info-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.info-item.exit {
    opacity: 0;
    transform: translateX(-30px);
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
}

.info-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.info-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Info Dots Indicator */
.info-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.info-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.info-dot.active {
    background: var(--color-accent);
    width: 20px;
    border-radius: 3px;
}

/* Panel Stats */
.panel-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    margin: 20px 0;
}

.panel-stats .stat-item {
    text-align: center;
}

.panel-stats .stat-value {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-accent);
    display: block;
}

.panel-stats .stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.panel-stats .stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

/* Panel Scroll Hint */
.panel-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    opacity: 0.7;
}

.panel-scroll-hint span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-arrow {
    width: 22px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 3px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: scrollDotBuild 1.5s ease-in-out infinite;
}

/* Responsive for construction section */
@media (max-width: 768px) {
    .construction-section {
        height: 300vh;
    }

    .construction-content {
        bottom: 80px;
        left: 20px;
        right: 20px;
    }

    .progress-bar {
        width: 150px;
    }

    /* Split Layout Mobile - Stack vertically */
    .construction-split {
        flex-direction: column;
    }

    .construction-view {
        flex: 0 0 50%;
    }

    .construction-info-panel {
        flex: 0 0 50%;
        padding: 25px 20px;
        border-left: none;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .panel-header {
        padding: 8px 14px;
        margin-bottom: 15px;
    }

    .panel-icon {
        font-size: 1rem;
    }

    .panel-title {
        font-size: 0.6rem;
    }

    .panel-main {
        margin-bottom: 15px;
    }

    .panel-headline {
        font-size: 1.8rem;
    }

    .panel-headline .accent {
        font-size: 2.2rem;
    }

    .panel-description {
        font-size: 0.85rem;
    }

    .rotating-info {
        min-height: 90px;
        margin: 10px 0;
    }

    .info-item {
        padding: 12px;
        gap: 10px;
    }

    .info-icon {
        font-size: 1.5rem;
        min-width: 40px;
        height: 40px;
    }

    .info-content h4 {
        font-size: 0.95rem;
    }

    .info-content p {
        font-size: 0.8rem;
    }

    .panel-stats {
        gap: 12px;
        padding: 15px 0;
        margin: 10px 0;
    }

    .panel-stats .stat-value {
        font-size: 1.3rem;
    }

    .panel-stats .stat-label {
        font-size: 0.55rem;
    }

    .construction-progress-overlay {
        bottom: 20px;
        left: 15px;
    }
}

/* =========================================
   CONSTRUCTION FRAME - DECORATIVE WINDOW
   ========================================= */
.construction-frame {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    pointer-events: none;
    z-index: 15;
}

/* Corner Brackets */
.frame-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--color-accent);
}

.corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    animation: cornerPulse 3s ease-in-out infinite;
}

.corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    animation: cornerPulse 3s ease-in-out infinite 0.5s;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    animation: cornerPulse 3s ease-in-out infinite 1s;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    animation: cornerPulse 3s ease-in-out infinite 1.5s;
}

@keyframes cornerPulse {

    0%,
    100% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(212, 175, 55, 0);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
}

/* Frame Borders */
.frame-border {
    position: absolute;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.3),
            rgba(212, 175, 55, 0.5),
            rgba(212, 175, 55, 0.3),
            transparent);
}

.border-top {
    top: 0;
    left: 80px;
    right: 80px;
    height: 1px;
}

.border-bottom {
    bottom: 0;
    left: 80px;
    right: 80px;
    height: 1px;
}

.border-left {
    left: 0;
    top: 80px;
    bottom: 80px;
    width: 1px;
    background: linear-gradient(180deg,
            transparent,
            rgba(212, 175, 55, 0.3),
            rgba(212, 175, 55, 0.5),
            rgba(212, 175, 55, 0.3),
            transparent);
}

.border-right {
    right: 0;
    top: 80px;
    bottom: 80px;
    width: 1px;
    background: linear-gradient(180deg,
            transparent,
            rgba(212, 175, 55, 0.3),
            rgba(212, 175, 55, 0.5),
            rgba(212, 175, 55, 0.3),
            transparent);
}

/* Frame Label */
.frame-label {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 25px;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    border: 1px solid var(--color-accent);
    border-top: none;
    border-radius: 0 0 20px 20px;
    animation: labelGlow 2s ease-in-out infinite;
}

@keyframes labelGlow {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
    }

    50% {
        box-shadow: 0 5px 30px rgba(212, 175, 55, 0.4);
    }
}

.frame-label-icon {
    font-size: 1.2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.frame-label-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
}

/* Decorative Bolts/Screws */
.frame-bolt {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
    box-shadow:
        inset 2px 2px 4px rgba(255, 255, 255, 0.3),
        inset -1px -1px 3px rgba(0, 0, 0, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.3);
}

.frame-bolt::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.4);
}

.bolt-tl {
    top: 25px;
    left: 25px;
}

.bolt-tr {
    top: 25px;
    right: 25px;
}

.bolt-bl {
    bottom: 25px;
    left: 25px;
}

.bolt-br {
    bottom: 25px;
    right: 25px;
}

/* Responsive Frame */
@media (max-width: 768px) {
    .construction-frame {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .frame-corner {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }

    .border-top,
    .border-bottom {
        left: 50px;
        right: 50px;
    }

    .border-left,
    .border-right {
        top: 50px;
        bottom: 50px;
    }

    .frame-label {
        padding: 6px 15px;
    }

    .frame-label-icon {
        font-size: 1rem;
    }

    .frame-label-text {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }

    .frame-bolt {
        width: 8px;
        height: 8px;
    }

    .frame-bolt::after {
        font-size: 6px;
    }

    .bolt-tl {
        top: 12px;
        left: 12px;
    }

    .bolt-tr {
        top: 12px;
        right: 12px;
    }

    .bolt-bl {
        bottom: 12px;
        left: 12px;
    }

    .bolt-br {
        bottom: 12px;
        right: 12px;
    }
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    background: var(--color-bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-lead {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-text-primary);
}

.about-text {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border-accent);
    border-radius: 8px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* About Images */
.about-images {
    position: relative;
}

.image-stack {
    position: relative;
    height: 500px;
}

.about-img {
    position: absolute;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

.about-img.img-1 {
    width: 70%;
    top: 0;
    left: 0;
    z-index: 2;
}

.about-img.img-2 {
    width: 60%;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.about-images:hover .img-1 {
    transform: translate(-10px, -10px);
}

.about-images:hover .img-2 {
    transform: translate(10px, 10px);
}

.experience-badge {
    position: absolute;
    bottom: 100px;
    left: -40px;
    background: var(--color-accent);
    color: var(--color-bg-primary);
    padding: 25px 30px;
    border-radius: 8px;
    text-align: center;
    z-index: 3;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

/* =========================================
   PORTFOLIO SECTION - Premium Theme
   ========================================= */
.portfolio {
    background: var(--color-bg-primary);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: visible;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Decorative Frame Container */
.portfolio-item::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    pointer-events: none;
    transition: all 0.5s ease;
    z-index: -1;
}

/* Corner Accents */
.portfolio-item::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    pointer-events: none;
    z-index: 10;
    background:
        /* Top Left Corner */
        linear-gradient(135deg, rgba(212, 175, 55, 0.6) 0%, transparent 50%) no-repeat 0 0 / 25px 25px,
        /* Top Right Corner */
        linear-gradient(225deg, rgba(212, 175, 55, 0.6) 0%, transparent 50%) no-repeat 100% 0 / 25px 25px,
        /* Bottom Left Corner */
        linear-gradient(45deg, rgba(212, 175, 55, 0.6) 0%, transparent 50%) no-repeat 0 100% / 25px 25px,
        /* Bottom Right Corner */
        linear-gradient(315deg, rgba(212, 175, 55, 0.6) 0%, transparent 50%) no-repeat 100% 100% / 25px 25px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-item:hover::before {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow:
        0 0 30px rgba(212, 175, 55, 0.1),
        inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

/* Image Container with Inner Border */
.portfolio-item .portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.portfolio-item .portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    z-index: 5;
    pointer-events: none;
    transition: border-color 0.5s ease;
}

.portfolio-item:hover .portfolio-image::before {
    border-color: rgba(212, 175, 55, 0.4);
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.portfolio-item.wide {
    grid-column: span 2;
}

.portfolio-image {
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(10, 10, 10, 0.95) 0%,
            rgba(10, 10, 10, 0.5) 50%,
            transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.portfolio-item.large .portfolio-title {
    font-size: 2rem;
}

.portfolio-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
}

.portfolio-link:hover {
    gap: 12px;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    background: linear-gradient(180deg,
            var(--color-bg-secondary) 0%,
            rgba(15, 18, 16, 1) 50%,
            var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

/* Ambient Background Effect */
.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.services-marquee {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 60px 0;
    perspective: 2000px;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.services-track {
    display: flex;
    gap: 35px;
    width: max-content;
    padding-left: 30px;
}

/* 3D Scroll Animation Class (Added by JS) */
.services-track.animating {
    animation: marqueeScroll 40s linear infinite;
}

.services-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Premium Glassmorphism Service Cards */
.service-card {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    position: relative;
    padding: 35px 28px;
    background: linear-gradient(145deg,
            rgba(35, 35, 35, 0.95) 0%,
            rgba(25, 25, 25, 0.9) 50%,
            rgba(20, 25, 22, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: grab;
    overflow: hidden;
}

/* Animated Top Light Bar */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 175, 55, 0.3) 20%,
            rgba(212, 175, 55, 0.8) 50%,
            rgba(212, 175, 55, 0.3) 80%,
            transparent 100%);
    transform: translateX(-100%);
    animation: shimmerLine 3s ease-in-out infinite;
    animation-delay: var(--shimmer-delay, 0s);
}

.service-card:nth-child(1) {
    --shimmer-delay: 0s;
}

.service-card:nth-child(2) {
    --shimmer-delay: 0.3s;
}

.service-card:nth-child(3) {
    --shimmer-delay: 0.6s;
}

.service-card:nth-child(4) {
    --shimmer-delay: 0.9s;
}

.service-card:nth-child(5) {
    --shimmer-delay: 1.2s;
}

.service-card:nth-child(6) {
    --shimmer-delay: 1.5s;
}

@keyframes shimmerLine {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Inner Glow Effect */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.2),
            transparent);
}

.service-card:hover {
    transform: translateY(-20px) rotateY(8deg) rotateX(3deg) scale(1.03);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow:
        0 30px 60px -10px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 10;
}

/* Featured Card Styling */
.service-card.featured {
    background: linear-gradient(145deg,
            rgba(40, 40, 35, 0.98) 0%,
            rgba(30, 30, 25, 0.95) 50%,
            rgba(25, 30, 27, 0.98) 100%);
    border-color: rgba(212, 175, 55, 0.25);
}

.service-card.featured::before {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 175, 55, 0.5) 20%,
            rgba(212, 175, 55, 1) 50%,
            rgba(212, 175, 55, 0.5) 80%,
            transparent 100%);
}

/* Futuristic Number Badge */
.service-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-family: var(--font-accent);
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(180deg,
            rgba(212, 175, 55, 0.3) 0%,
            rgba(212, 175, 55, 0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    opacity: 1;
    transform: scale(1.1);
}

/* Animated Icon Container */
.service-icon {
    position: relative;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-accent);
}

/* Pulsing Background Ring */
.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconPulse 2s ease-in-out infinite;
}

/* Rotating Border */
.service-icon::after {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    border: 1px solid transparent;
    border-top-color: rgba(212, 175, 55, 0.5);
    border-right-color: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: iconRotate 4s linear infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

@keyframes iconRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-icon svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
    transition: all 0.4s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

/* Service Title */
.service-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--color-accent);
}

/* Service Description */
.service-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Service List with Animated Bullets */
.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-list li {
    color: rgba(255, 255, 255, 0.7);
}

.service-card:hover .service-list li::before {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    background: var(--color-bg-tertiary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 165, 92, 0.1);
    border-radius: 50%;
    color: var(--color-accent);
    margin: 0 auto 20px;
}

.stat-value {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    font-style: normal !important;
    color: var(--color-accent);
}

.stat-name {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials {
    background: var(--color-bg-primary);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.testimonial-quote {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-bg-primary);
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 50%;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
}

.author-title {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.nav-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
}

.dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* =========================================
   FUTURISTIC 3D STATS SECTION
   ========================================= */
.stats-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg,
            var(--color-bg-primary) 0%,
            rgba(15, 20, 18, 1) 50%,
            var(--color-bg-primary) 100%);
    overflow: hidden;
    perspective: 1000px;
}

/* Animated Background Grid */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(60px);
    }
}

/* Glowing Orbs Background */
.stats-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Futuristic 3D Floating Cards */
.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 30px;
    background: linear-gradient(145deg,
            rgba(30, 30, 30, 0.9) 0%,
            rgba(20, 20, 20, 0.8) 50%,
            rgba(15, 20, 18, 0.9) 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatCard 6s ease-in-out infinite;
    overflow: hidden;
}

/* Staggered Float Animation */
.stat-card:nth-child(1) {
    animation-delay: 0s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-card:nth-child(3) {
    animation-delay: 1s;
}

.stat-card:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) translateZ(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-15px) translateZ(30px) rotateX(2deg);
    }
}

/* Holographic Border Effect */
.stat-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(212, 175, 55, 0.3) 25%,
            transparent 50%,
            rgba(212, 175, 55, 0.3) 75%,
            transparent 100%);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: holographicShift 3s linear infinite;
    background-size: 200% 200%;
}

@keyframes holographicShift {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 200%;
    }
}

/* Inner Glow */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.5),
            transparent);
    opacity: 0.5;
}

.stat-card:hover {
    transform: translateY(-20px) translateZ(50px) rotateX(5deg);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.stat-card:hover::before {
    opacity: 1;
}

/* Futuristic Icon Container */
.stat-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-accent);
}

/* Rotating Ring Around Icon */
.stat-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    animation: iconRing 3s linear infinite;
}

.stat-icon::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border: 1px solid transparent;
    border-bottom-color: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: iconRing 2s linear infinite reverse;
}

@keyframes iconRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.stat-icon svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

/* Futuristic Number Display */
.stat-value {
    font-family: var(--font-body);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    display: inline;
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
    vertical-align: top;
    margin-left: 2px;
}

.stat-name {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 15px;
    text-align: center;
}

/* Responsive Stats */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 80px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 30px 15px;
        border-radius: 15px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .stat-icon svg {
        width: 30px;
        height: 30px;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat-suffix {
        font-size: 1.5rem;
    }

    .stat-name {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 50%, var(--color-green-light) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(212,175,55,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    background: var(--color-bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-secondary);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 165, 92, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--color-bg-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px;
    background: rgba(15, 15, 15, 0.8);
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.2em;
}

.footer-logo .logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--color-text-secondary);
    text-transform: uppercase;
}

.footer-tagline {
    color: var(--color-text-muted);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg-primary);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border: none;
    border-radius: 8px;
    color: var(--color-bg-primary);
    cursor: pointer;
    transition: var(--transition-base);
}

.newsletter-form button:hover {
    background: var(--color-accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1200px) {
    .hero-stats {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 60px 40px;
        transition: var(--transition-slow);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        order: -1;
    }

    .image-stack {
        height: 400px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item.large,
    .portfolio-item.wide {
        grid-column: span 1;
    }

    .portfolio-item {
        aspect-ratio: 16/10;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }

    .experience-badge {
        left: 20px;
        bottom: 20px;
    }
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   GLOBAL PRESENCE / 3D GLOBE SECTION
   ========================================= */
/* =========================================
   GLOBAL PRESENCE - CREATIVE REDESIGN
   ========================================= */
.global-presence {
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    padding: 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}


/* Globe Hero Specific Styles */
.globe-hero {
    min-height: 100vh;
    padding-top: 160px;
    /* Account for fixed navbar with large logo */
    position: relative;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #0a0a0a 100%);
}

.globe-hero .globe-scene {
    height: calc(100vh - 80px);
    /* Fill remaining height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 60px;
    /* Space for scroll hint */
}

.globe-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: fadeIn 1s ease-out 2s backwards;
}

.globe-scroll-hint span {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Globe Stats Row Adjustment for Hero */
.globe-hero .globe-stats-row {
    margin-top: 20px;
    margin-bottom: 30px;
}

.globe-hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* Base Globe Scene Styles */
.globe-scene {
    width: 100%;
    position: relative;
    padding: 80px 40px;
}

.globe-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(212, 175, 55, 0.03) 1px, transparent 0);
    background-size: 50px 50px;
    pointer-events: none;
}

.globe-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Left Side - Creative Copy */
.globe-intro {
    padding-right: 20px;
}

.globe-tag {
    display: inline-block;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.globe-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.globe-headline .accent {
    color: var(--color-accent);
}

.globe-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.globe-stats-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

.globe-stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.globe-stat-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    font-style: normal;
    color: var(--color-accent);
    letter-spacing: -0.01em;
}

.globe-stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.globe-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Center - Globe with Glow */
.globe-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-glow-ring {
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    animation: rotateRing 20s linear infinite;
}

.globe-glow-ring.ring-2 {
    width: 580px;
    height: 580px;
    border-color: rgba(212, 175, 55, 0.08);
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cobe-canvas {
    width: 450px;
    height: 450px;
    cursor: grab;
    outline: none;
    position: relative;
    z-index: 2;
}

.cobe-canvas:active {
    cursor: grabbing;
}

/* Floating Location Tags */
.floating-location {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--color-accent);
    border-radius: 20px;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

.floating-location.loc-mumbai {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.floating-location.loc-bangalore {
    bottom: 25%;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.float-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

/* Right Side - Status & Cards */
.globe-info-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 20px;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 30px;
    width: fit-content;
    position: relative;
}

.pulse-ring {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(34, 197, 94, 0.5);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.availability-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
}

.availability-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.office-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.office-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.office-card:hover {
    border-color: var(--color-accent);
    transform: translateX(5px);
}

.office-icon {
    font-size: 1.5rem;
}

.office-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.office-details p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.globe-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--color-accent);
    color: var(--color-bg-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-base);
    width: fit-content;
}

.globe-cta:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.globe-cta svg {
    transition: transform var(--transition-base);
}

.globe-cta:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .globe-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .globe-intro,
    .globe-info-right {
        padding: 0 20px;
    }

    .globe-stats-row {
        justify-content: center;
    }

    .globe-center {
        order: -1;
    }

    .floating-location {
        display: none;
    }

    .office-cards,
    .availability-badge,
    .globe-cta {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .cobe-canvas {
        width: 240px;
        height: 240px;
    }

    .globe-glow-ring {
        width: 260px;
        height: 260px;
    }

    .globe-glow-ring.ring-2 {
        width: 290px;
        height: 290px;
    }
}

.globe-container:active {
    cursor: grabbing;
}

/* Globe Section Responsive */
@media (max-width: 992px) {
    .presence-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .presence-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }

    .presence-stat {
        flex: 1;
        min-width: 150px;
        padding-bottom: 20px;
    }

    .presence-number {
        font-size: 2.5rem;
    }

    .globe-container {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .presence-stats {
        flex-direction: column;
    }

    .presence-stat {
        min-width: auto;
    }

    .presence-number {
        font-size: 2rem;
    }

    .globe-container {
        height: 350px;
    }

    .globe-header {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        margin-bottom: 20px;
    }
}

/* =========================================
   MOBILE PREMIUM HERO STYLES
   ========================================= */
@media (max-width: 768px) {

    /* Smaller logo on mobile */
    .nav-logo-img {
        height: 60px;
    }

    .navbar.scrolled .nav-logo-img {
        height: 50px;
    }

    /* Give navbar a solid background on mobile */
    .navbar {
        background: rgba(10, 10, 10, 0.98);
        padding: 10px 0;
    }

    /* Globe Hero Mobile - MORE top padding to clear navbar */
    .globe-hero {
        min-height: 100vh;
        padding-top: 80px;
        overflow: hidden;
        position: relative;
    }

    .globe-hero .globe-scene {
        height: auto;
        min-height: calc(100vh - 80px);
        padding: 10px 15px 60px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
    }

    /* Create top row with tags on left/right corners */
    .globe-intro {
        position: static;
        padding-top: 0;
    }

    .globe-tag {
        position: fixed;
        top: 85px;
        left: 15px;
        font-size: 0.5rem;
        letter-spacing: 0.12em;
        font-weight: 500;
        padding: 5px 10px;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
        border: 1px solid rgba(212, 175, 55, 0.5);
        border-radius: 15px;
        text-transform: uppercase;
        margin: 0;
        z-index: 100;
    }

    .availability-badge {
        position: fixed;
        top: 85px;
        right: 15px;
        z-index: 100;
        font-size: 0.5rem;
        padding: 5px 10px;
        background: rgba(10, 10, 10, 0.8);
        border-radius: 20px;
    }

    .availability-text {
        font-size: 0.5rem !important;
    }

    .globe-content-wrapper {
        gap: 15px;
        padding: 0;
    }

    /* Premium Mobile Typography */
    .globe-headline {
        font-family: var(--font-heading);
        font-size: 2.4rem;
        font-weight: 500;
        line-height: 1.1;
        margin-bottom: 18px;
        text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
        letter-spacing: -0.01em;
    }

    .globe-headline .accent {
        font-family: var(--font-accent);
        display: block;
        background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 50%, var(--color-accent) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-shadow: none;
    }

    .globe-description {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 28px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 400;
        letter-spacing: 0.02em;
    }

    /* Globe Container Mobile */
    .globe-center {
        margin: 10px 0;
        max-height: 280px;
        overflow: hidden;
        position: relative;
    }

    .cobe-canvas {
        width: 220px !important;
        height: 220px !important;
    }

    .globe-glow-ring {
        width: 240px !important;
        height: 240px !important;
    }

    .globe-glow-ring.ring-2 {
        width: 270px !important;
        height: 270px !important;
    }

    /* Stats Row Mobile */
    .globe-stats-row {
        justify-content: center;
        gap: 18px;
        margin: 20px 0;
        flex-wrap: nowrap;
    }

    .globe-stat-item {
        text-align: center;
    }

    .globe-stat-value {
        font-family: var(--font-body);
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--color-accent);
        letter-spacing: -0.02em;
    }

    .globe-stat-label {
        font-family: var(--font-body);
        font-size: 0.6rem;
        font-weight: 500;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.7);
        margin-top: 4px;
    }

    .globe-stat-divider {
        height: 30px;
        background: linear-gradient(180deg, transparent, var(--color-accent), transparent);
    }

    /* CTA Buttons Mobile */
    .globe-hero-cta {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .globe-hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 8px;
    }

    .globe-hero-cta .btn-primary {
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    }

    /* Office Cards Mobile - Hide on very small screens */
    .office-cards {
        display: none;
    }

    .availability-badge {
        padding: 10px 18px;
        font-size: 0.75rem;
    }

    .globe-info-right {
        gap: 20px;
        padding: 0 15px;
    }

    /* Hide right side CTA on mobile (use main CTAs instead) */
    .globe-info-right .globe-cta {
        display: none;
    }

    /* Scroll Hint Mobile */
    .globe-scroll-hint {
        bottom: 20px;
    }

    .globe-scroll-hint span {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .scroll-indicator {
        width: 20px;
        height: 32px;
    }
}

/* Extra Small Screens */
@media (max-width: 400px) {
    .globe-headline {
        font-size: 1.7rem;
    }

    .globe-description {
        font-size: 0.88rem;
    }

    .globe-stat-value {
        font-size: 1.4rem;
    }

    .globe-stats-row {
        gap: 12px;
    }

    .globe-center {
        max-height: 250px;
    }

    .cobe-canvas {
        width: 200px !important;
        height: 200px !important;
    }

    .globe-glow-ring {
        width: 220px !important;
        height: 220px !important;
    }

    .globe-glow-ring.ring-2 {
        width: 250px !important;
        height: 250px !important;
    }
}

/* =========================================
   MOBILE STATS SECTION - 2 Column Grid
   ========================================= */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .stat-card {
        padding: 25px 15px !important;
        border-radius: 15px !important;
    }

    .stat-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 10px !important;
    }

    .stat-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    .stat-value {
        font-size: 2rem !important;
    }

    .stat-suffix {
        font-size: 1.2rem !important;
    }

    .stat-name {
        font-size: 0.7rem !important;
        letter-spacing: 0.15em !important;
        margin-top: 10px !important;
    }

    /* Disable 3D hover effects on mobile */
    .stat-card:hover {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        gap: 10px !important;
        padding: 0 10px;
    }

    .stat-card {
        padding: 20px 12px !important;
    }

    .stat-value {
        font-size: 1.6rem !important;
    }

    .stat-suffix {
        font-size: 1rem !important;
    }

    .stat-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .stat-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* =========================================
   PREMIUM MOBILE MENU OVERLAY
   ========================================= */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
        z-index: 2000;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-20px);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 2rem;
        font-family: var(--font-heading);
        color: var(--color-text-primary);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered Delay for Links */
    .nav-menu.active li:nth-child(1) .nav-link {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) .nav-link {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(3) .nav-link {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(4) .nav-link {
        transition-delay: 0.4s;
    }

    .nav-menu.active li:nth-child(5) .nav-link {
        transition-delay: 0.5s;
    }

    .nav-link:hover {
        color: var(--color-accent);
        transform: scale(1.1);
    }

    /* Hide Desktop CTA in Menu */
    .nav-cta {
        display: none;
    }

    /* Add decorated line to links */
    .nav-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -30px;
        width: 20px;
        height: 1px;
        background: var(--color-accent);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }

    .nav-link:hover::before {
        transform: scaleX(1);
    }
}

/* =========================================
   TEXT REVEAL ANIMATIONS
   ========================================= */
.reveal-text {
    visibility: hidden;
    /* Hidden until JS runs */
}

.text-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    line-height: 1.2;
}

.text-hidden-word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.5s ease;
}

.reveal-text.active .text-hidden-word {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger delays handled by JS or nth-child here, but JS is more flexible for sentences */