/* ========================================
   KGS Architecture & Management
   Premium Website Styles - International Grade
   ======================================== */

:root {
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-bg-tertiary: #1a1a1a;
    --color-bg-card: #151515;
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;
    --color-accent: #c9a962;
    --color-accent-light: #d4b97a;
    --color-accent-dark: #a88a4a;
    --color-border: #2a2a2a;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    --focus-ring: 2px solid var(--color-accent);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10002;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-bg-primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: top var(--transition-fast);
}
.skip-link:focus { top: 1rem; }

/* Focus Visible */
*:focus-visible {
    outline: var(--focus-ring);
    outline-offset: 3px;
}

/* Glow Hover Effect - lightweight, no lag */
a, button, .btn, .project-card, .feature-card, .pmo-card, .award-card, .service-card, .project-view, .filter-btn {
    transition: box-shadow var(--transition-medium), transform var(--transition-medium);
}
a:hover, button:hover, .btn:hover, .project-card:hover, .feature-card:hover, .pmo-card:hover,
.award-card:hover, .service-card:hover, .project-view:hover, .filter-btn:hover {
    box-shadow: 0 0 30px rgba(201, 169, 98, 0.15), 0 0 60px rgba(201, 169, 98, 0.05);
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; }
.preloader-logo {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    animation: pulse 1.5s ease-in-out infinite;
}
.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--color-border);
    margin: 2rem auto;
    border-radius: 2px;
    overflow: hidden;
}
.preloader-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    animation: loading 2s ease forwards;
}
@keyframes loading { to { width: 100%; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Container */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }
h1 { font-weight: 300; letter-spacing: -0.02em; }
h2 { font-weight: 400; letter-spacing: -0.01em; }
h3 { font-weight: 400; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
p { line-height: 1.7; color: var(--color-text-secondary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-bg-primary);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 98, 0.4);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}
.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}
.btn-full { width: 100%; justify-content: center; }

/* Section Styles */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.section-title .accent { color: var(--color-accent); }
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: all var(--transition-medium);
}
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; flex-direction: column; gap: 0; }
.logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
}
.logo-tagline {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}
.nav-menu { display: flex; align-items: center; gap: 2.5rem; list-style: none; }

/* Language Switcher */
.lang-switch {
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 0.4rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-switch:hover { border-color: var(--color-accent); color: var(--color-text-primary); }
.lang-vi, .lang-en { transition: all var(--transition-fast); }
.lang-vi.active, .lang-en.active { color: var(--color-accent); font-weight: 600; }
.lang-divider { color: var(--color-border); }

@media (max-width: 1024px) {
    .lang-switch { margin-top: 1rem; }
}

/* Bilingual Content */
[data-en] { }
body.lang-en [data-en]::after { content: none; }

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-medium);
}
.nav-link:hover, .nav-link.active { color: var(--color-text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-text-primary); transition: all var(--transition-fast); }

@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 100px 2rem 2rem;
        background: var(--color-bg-secondary);
        transition: right var(--transition-medium);
    }
    .nav-menu.active { right: 0; }
    .nav-link { display: block; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease, transform 8s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}
.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}
.hero-title .title-line { display: block; animation: fadeInUp 1s ease forwards; opacity: 0; }
.hero-title .title-line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .title-line:nth-child(2) { animation-delay: 0.4s; }
.hero-title .accent { color: var(--color-accent); font-style: italic; }
.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s ease 1.2s forwards;
    opacity: 0;
}
.scroll-indicator span { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text-muted); }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--color-accent), transparent); animation: scrollPulse 2s ease-in-out infinite; }
.hero-slider-nav {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}
.slider-dot {
    width: 40px;
    height: 3px;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
}
.slider-dot.active { background: var(--color-accent); width: 60px; }

@keyframes scrollPulse { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.5); opacity: 0.5; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* About Section */
.about { padding: 7rem 0; background: var(--color-bg-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-content { padding-right: 1.5rem; }
.about-text { font-size: 1.05rem; color: var(--color-text-secondary); margin-bottom: 2rem; line-height: 1.75; }
.about-philosophy {
    padding: 2rem;
    background: var(--color-bg-tertiary);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 8px 8px 0;
}
.about-philosophy blockquote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.about-philosophy cite { font-style: normal; font-size: 0.875rem; color: var(--color-accent); }
.about-features { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-card {
    padding: 2.5rem 2rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all var(--transition-medium);
}
.feature-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.feature-icon { width: 44px; height: 44px; margin-bottom: 1.25rem; color: var(--color-accent); }
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; font-weight: 400; }
.feature-card p { color: var(--color-text-secondary); line-height: 1.7; font-size: 0.95rem; }

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-content { padding-right: 0; }
}

/* Services Section */
.services { padding: 7rem 0; background: var(--color-bg-primary); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-bottom: 4rem; }
.service-card {
    position: relative;
    padding: 3rem 2.5rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-medium);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: var(--color-border); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.service-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-accent);
    opacity: 0.25;
    position: absolute;
    top: 1.25rem;
    right: 2rem;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; font-weight: 400; }
.service-card > p { color: var(--color-text-secondary); margin-bottom: 1.25rem; line-height: 1.7; font-size: 0.95rem; }
.service-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-list li { padding: 0.5rem 1rem; font-size: 0.8rem; background: var(--color-bg-tertiary); border-radius: 50px; color: var(--color-text-secondary); }

.pmo-section {
    padding: 2.5rem;
    background: var(--color-bg-secondary);
    border-radius: 12px;
    text-align: center;
}
.pmo-title { font-size: 1.35rem; color: var(--color-accent); margin-bottom: 0.5rem; }
.pmo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.75rem; text-align: left; }
.pmo-card {
    padding: 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: all var(--transition-medium);
}
.pmo-card:hover { border-color: var(--color-accent); }
.pmo-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 400; }
.pmo-card p { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.65; }

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; }
    .pmo-grid { grid-template-columns: 1fr; }
}

/* KGS System */
.kgs-system { padding: 7rem 0; background: var(--color-bg-secondary); }
.system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.system-text { color: var(--color-text-secondary); margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.8; }
.system-features { display: flex; flex-direction: column; gap: 1.5rem; }
.system-feature { display: flex; gap: 1rem; }
.feature-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
    color: var(--color-bg-primary);
    font-size: 0.8rem;
}
.system-feature h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.system-feature p { font-size: 0.9rem; color: var(--color-text-secondary); }
.system-visual { display: flex; justify-content: center; }
.system-mockup {
    width: 100%;
    max-width: 500px;
    background: var(--color-bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
}
.mockup-header { display: flex; gap: 6px; padding: 1rem; background: var(--color-bg-tertiary); border-bottom: 1px solid var(--color-border); }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.mockup-dot:first-child { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:last-child { background: #28ca42; }
.mockup-content { display: flex; min-height: 250px; }
.mockup-sidebar { width: 120px; padding: 1rem; background: var(--color-bg-secondary); border-right: 1px solid var(--color-border); }
.sidebar-item { padding: 0.5rem 0.75rem; font-size: 0.75rem; color: var(--color-text-secondary); border-radius: 4px; margin-bottom: 4px; transition: all var(--transition-fast); }
.sidebar-item.active, .sidebar-item:hover { background: var(--color-bg-tertiary); color: var(--color-accent); }
.mockup-main { flex: 1; padding: 1rem; }
.mockup-chart { height: 120px; background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-secondary)); border-radius: 8px; margin-bottom: 1rem; }
.mockup-stats { display: flex; gap: 1rem; }
.stat-item { flex: 1; padding: 1rem; background: var(--color-bg-secondary); border-radius: 8px; text-align: center; }
.stat-value { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-accent); }

@media (max-width: 1024px) {
    .system-grid { grid-template-columns: 1fr; gap: 2rem; }
    .system-visual { order: -1; }
}

/* Projects */
.projects { padding: 7rem 0; background: var(--color-bg-primary); }
.projects-filter { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg-primary); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.project-card {
    position: relative;
    background: var(--color-bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-medium);
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.project-card.featured { grid-column: span 2; }
.project-image { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.project-card.featured .project-image { aspect-ratio: 21/9; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-card:hover .project-image img { transform: scale(1.1); }
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-view {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-accent);
    border: none;
    color: var(--color-bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform var(--transition-medium);
}
.project-card:hover .project-view { transform: scale(1); }
.project-info { padding: 1.75rem; }
.project-category { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-accent); }
.project-title { font-size: 1.35rem; margin: 0.25rem 0 0.5rem; font-weight: 400; }
.project-desc { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.65; }

@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
    .project-card.featured { grid-column: span 1; }
    .project-card.featured .project-image { aspect-ratio: 16/10; }
}

/* Testimonials */
.testimonials { padding: 6rem 0; background: var(--color-bg-secondary); }
.testimonials-slider { max-width: 800px; margin: 0 auto; }
.testimonial-card { text-align: center; padding: 2rem; }
.testimonial-card p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testimonial-author h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.testimonial-author span { font-size: 0.875rem; color: var(--color-text-secondary); }

/* Clients */
.clients { padding: 4rem 0; background: var(--color-bg-primary); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); overflow: hidden; }
.clients-label { text-align: center; font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 2rem; letter-spacing: 0.1em; }
.clients-marquee { display: flex; overflow: hidden; position: relative; }
.clients-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    animation: marqueeScroll 40s linear infinite;
    flex-shrink: 0;
    min-width: 100%;
}
.client-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    opacity: 0.4;
    transition: all 0.5s ease;
    white-space: nowrap;
    padding: 0.5rem 0;
}
.client-logo:hover { opacity: 1; color: var(--color-accent); }

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Pause on hover */
.clients-marquee:hover .clients-track { animation-play-state: paused; }

/* Edge fade gradient */
.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 1;
    pointer-events: none;
}
.clients-marquee::before { left: 0; background: linear-gradient(to right, var(--color-bg-primary), transparent); }
.clients-marquee::after { right: 0; background: linear-gradient(to left, var(--color-bg-primary), transparent); }

/* Stats */
.stats { padding: 4rem 0; background: var(--color-bg-secondary); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-card { text-align: center; padding: 1.5rem; }
.stat-number { font-family: var(--font-display); font-size: 3.5rem; font-weight: 300; color: var(--color-text-primary); }
.stat-suffix { font-family: var(--font-display); font-size: 2rem; color: var(--color-accent); }
.stat-label { display: block; font-size: 0.875rem; color: var(--color-text-secondary); margin-top: 0.25rem; }

@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact { padding: 7rem 0; background: var(--color-bg-primary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-text { color: var(--color-text-secondary); margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { }
.contact-item h4 { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 0.25rem; }
.contact-item p { font-size: 0.95rem; color: var(--color-text-primary); }
.contact-form-wrapper { background: var(--color-bg-secondary); padding: 3rem; border-radius: 16px; border: 1px solid var(--color-border); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.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: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
}
.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, 169, 98, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--color-text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }

@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Footer */
.footer { padding: 4rem 0 2rem; background: var(--color-bg-secondary); border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-desc { color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-links h4 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: var(--color-text-secondary); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--color-border); text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.25rem; }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.lightbox-close:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg-primary); }
.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 8px; }

/* Reveal Animations */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s ease;
}
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* ========================================
   NEW FEATURES - International Grade Upgrades
   ======================================== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    z-index: 10001;
    width: 0%;
    transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    color: var(--color-bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-medium);
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(201, 169, 98, 0.4);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.6);
}
.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Split Text Animation */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
    animation: charReveal 0.8s ease forwards;
}
.split-text .char-space { width: 0.3em; }

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

/* Stagger char animation delays */
.split-text .title-line:nth-child(1) .char:nth-child(1) { animation-delay: 0.1s; }
.split-text .title-line:nth-child(1) .char:nth-child(2) { animation-delay: 0.12s; }
.split-text .title-line:nth-child(1) .char:nth-child(3) { animation-delay: 0.14s; }
.split-text .title-line:nth-child(1) .char:nth-child(4) { animation-delay: 0.16s; }
.split-text .title-line:nth-child(1) .char:nth-child(5) { animation-delay: 0.18s; }
.split-text .title-line:nth-child(1) .char:nth-child(6) { animation-delay: 0.20s; }
.split-text .title-line:nth-child(1) .char:nth-child(7) { animation-delay: 0.22s; }
.split-text .title-line:nth-child(1) .char:nth-child(8) { animation-delay: 0.24s; }
.split-text .title-line:nth-child(1) .char:nth-child(9) { animation-delay: 0.26s; }
.split-text .title-line:nth-child(1) .char:nth-child(10) { animation-delay: 0.28s; }
.split-text .title-line:nth-child(1) .char:nth-child(11) { animation-delay: 0.30s; }
.split-text .title-line:nth-child(1) .char:nth-child(12) { animation-delay: 0.32s; }
.split-text .title-line:nth-child(1) .char:nth-child(13) { animation-delay: 0.34s; }
.split-text .title-line:nth-child(1) .char:nth-child(14) { animation-delay: 0.36s; }
.split-text .title-line:nth-child(1) .char:nth-child(15) { animation-delay: 0.38s; }
.split-text .title-line:nth-child(1) .char:nth-child(16) { animation-delay: 0.40s; }
.split-text .title-line:nth-child(1) .char:nth-child(17) { animation-delay: 0.42s; }
.split-text .title-line:nth-child(1) .char:nth-child(18) { animation-delay: 0.44s; }
.split-text .title-line:nth-child(1) .char:nth-child(19) { animation-delay: 0.46s; }

.split-text .title-line:nth-child(2) .char:nth-child(1) { animation-delay: 0.5s; }
.split-text .title-line:nth-child(2) .char:nth-child(2) { animation-delay: 0.52s; }
.split-text .title-line:nth-child(2) .char:nth-child(3) { animation-delay: 0.54s; }
.split-text .title-line:nth-child(2) .char:nth-child(4) { animation-delay: 0.56s; }
.split-text .title-line:nth-child(2) .char:nth-child(5) { animation-delay: 0.58s; }
.split-text .title-line:nth-child(2) .char:nth-child(6) { animation-delay: 0.60s; }
.split-text .title-line:nth-child(2) .char:nth-child(7) { animation-delay: 0.62s; }
.split-text .title-line:nth-child(2) .char:nth-child(8) { animation-delay: 0.64s; }
.split-text .title-line:nth-child(2) .char:nth-child(9) { animation-delay: 0.66s; }
.split-text .title-line:nth-child(2) .char:nth-child(10) { animation-delay: 0.68s; }
.split-text .title-line:nth-child(2) .char:nth-child(11) { animation-delay: 0.70s; }
.split-text .title-line:nth-child(2) .char:nth-child(12) { animation-delay: 0.72s; }
.split-text .title-line:nth-child(2) .char:nth-child(13) { animation-delay: 0.74s; }
.split-text .title-line:nth-child(2) .char:nth-child(14) { animation-delay: 0.76s; }
.split-text .title-line:nth-child(2) .char:nth-child(15) { animation-delay: 0.78s; }
.split-text .title-line:nth-child(2) .char:nth-child(16) { animation-delay: 0.80s; }

/* Hero Video */
.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
}
.hero-video-container.active {
    display: block;
}
.hero-video-container.active + .hero-slider {
    display: none;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-toggle {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
}
.hero-video-toggle:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg-primary);
}
.hero-video-toggle svg {
    width: 20px;
    height: 20px;
}

/* Process Section */
.process {
    padding: 7rem 0;
    background: var(--color-bg-primary);
}
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--color-border);
}
.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}
.step-number {
    width: 80px;
    height: 80px;
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-accent);
    position: relative;
    z-index: 1;
    transition: all var(--transition-medium);
}
.process-step:hover .step-number {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(201, 169, 98, 0.4);
}
.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}
.step-content p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.step-line {
    display: none;
}

@media (max-width: 1024px) {
    .process-timeline {
        flex-direction: column;
        gap: 3rem;
    }
    .process-timeline::before {
        top: 0;
        bottom: 0;
        left: 40px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .process-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 2rem;
    }
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    .step-content {
        flex: 1;
    }
}

/* Awards Section */
.awards {
    padding: 6rem 0;
    background: var(--color-bg-tertiary);
}
.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.award-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-medium);
}
.award-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.award-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    color: var(--color-accent);
}
.award-icon svg { width: 100%; height: 100%; }
.award-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
    font-weight: 400;
}
.award-card p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Labels Form */
.form-group-floating {
    position: relative;
}
.form-group-floating label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: transparent;
    padding: 0 0.25rem;
}
.form-group-floating textarea ~ label {
    top: 1.5rem;
    transform: none;
}
.form-group-floating select ~ label {
    top: -0.5rem;
    transform: none;
    font-size: 0.75rem;
    color: var(--color-accent);
    background: var(--color-bg-secondary);
}
.form-group-floating input:focus ~ label,
.form-group-floating input:not(:placeholder-shown) ~ label,
.form-group-floating textarea:focus ~ label,
.form-group-floating textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    transform: none;
    font-size: 0.75rem;
    color: var(--color-accent);
    background: var(--color-bg-secondary);
}
.focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-medium);
}
.form-group-floating input:focus ~ .focus-line,
.form-group-floating textarea:focus ~ .focus-line,
.form-group-floating select:focus ~ .focus-line {
    width: 100%;
}

/* Project Card Enhanced */
.project-overlay {
    flex-direction: column;
    gap: 1rem;
}
.project-quick-info {
    text-align: center;
    color: var(--color-text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium) 0.1s;
}
.project-card:hover .project-quick-info {
    opacity: 1;
    transform: translateY(0);
}
.project-quick-info .project-category {
    color: var(--color-accent);
}
.project-quick-info h3 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

/* Smooth Filter Animation */
.projects-grid {
    transition: all var(--transition-medium);
}
.project-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, transform 0.5s ease;
}
.project-card.hiding {
    opacity: 0;
    transform: scale(0.8);
}
.project-card.showing {
    opacity: 0;
    transform: scale(0.8);
}

/* ========================================
   FINAL UPGRADES - 100% International Grade
   ======================================== */

/* Particles Canvas */
.particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* Blur-up Lazy Loading */
.lazy-img {
    position: relative;
    transition: filter 0.6s ease, opacity 0.6s ease;
}
.lazy-img:not(.loaded) {
    filter: blur(20px);
    opacity: 0.7;
}
.lazy-img.loaded {
    filter: blur(0);
    opacity: 1;
}

/* Stagger Children Reveal - applies to grid children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(40px);
}
.stagger-children.revealed > * {
    animation: staggerReveal 0.7s ease forwards;
}
.stagger-children.revealed > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children.revealed > *:nth-child(6) { animation-delay: 0.6s; }

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

/* Enhanced Mobile Experience */
@media (max-width: 1024px) {
    .nav-toggle span {
        transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }
    .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);
    }

    /* Touch-friendly spacing */
    .nav-link { padding: 1.25rem 0; }
    .btn { padding: 1.25rem 2rem; }
    .project-view { width: 70px; height: 70px; }
}

@media (max-width: 600px) {
    .hero-title { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    .section-title { font-size: 1.75rem; }
    .container { padding: 0 1rem; }
    .project-quick-info { display: none; }
}

/* Touch device adjustments */
@media (hover: none) and (pointer: coarse) {
    .magnetic, .project-overlay {
        transition: none;
    }
}

/* Smooth scroll offset */
html { scroll-padding-top: 80px; }