/* ========================================
   NOX HOLDING - Premium Corporate Website
   Modern, Clean, Professional Design
   ======================================== */

/* CSS Variables */
:root {
    /* NOX Brand Colors - Navy Blue */
    --nox-dark: #0a1628;
    --nox-primary: #1a2f4e;
    --nox-secondary: #2b4a7c;
    --nox-accent: #4a6fa5;

    /* Company Colors */
    --hc-primary: #1a2f4e;
    --hc-accent: #2b4a7c;

    --fac-primary: #1a5f4a;
    --fac-accent: #4a9b7f;

    --courier-primary: #c84b20;
    --courier-accent: #f26b3a;

    --tech-primary: #0891b2;
    --tech-accent: #22d3ee;

    --smart-primary: #dc2626;
    --smart-accent: #ef4444;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Current Theme */
    --theme-primary: var(--nox-primary);
    --theme-accent: var(--nox-accent);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.4s;
    --duration-slow: 0.8s;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--nox-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-logo img {
    width: 150px;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo img {
    height: 56px;
    transition: opacity var(--duration) var(--ease);
}

.nav-logo .logo-dark {
    display: none;
}

.navbar.scrolled .nav-logo .logo-white {
    display: none;
}

.navbar.scrolled .nav-logo .logo-dark {
    display: block;
}

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

.nav-link {
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all var(--duration) var(--ease);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.navbar.scrolled .nav-link:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.nav-link.nav-cta {
    background: var(--white);
    color: var(--nox-dark) !important;
    font-weight: 600;
}

.nav-link.nav-cta:hover {
    background: var(--gray-100);
}

.navbar.scrolled .nav-link.nav-cta {
    background: var(--nox-dark);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--duration) var(--ease);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-900);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--nox-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(42, 74, 124, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(42, 74, 124, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, var(--nox-dark) 0%, #0d1f35 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a6fa5' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 240px);
}

.hero-content {
    max-width: 600px;
    flex-shrink: 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    color: var(--nox-accent);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font);
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--duration) var(--ease);
}

.btn-primary {
    background: var(--white);
    color: var(--nox-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
}

/* Floating Company Icons */
.hero-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite, breathe 4s ease-in-out infinite;
}

.floating-icon img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Icon Positions and Sizes - Balanced Layout */
/* Right Side Icons */
.floating-icon-1 {
    width: 110px;
    height: 110px;
    top: 20%;
    right: 12%;
    animation-delay: 0s, 0s;
}

.floating-icon-2 {
    width: 130px;
    height: 130px;
    top: 50%;
    right: 8%;
    animation-delay: -1.2s, -0.5s;
}

.floating-icon-3 {
    width: 85px;
    height: 85px;
    top: 75%;
    right: 18%;
    animation-delay: -2.4s, -1s;
}

/* Left Side Icons */
.floating-icon-4 {
    width: 95px;
    height: 95px;
    top: 12%;
    left: 5%;
    right: auto;
    animation-delay: -3.6s, -1.5s;
}

.floating-icon-5 {
    width: 75px;
    height: 75px;
    top: 70%;
    left: 8%;
    right: auto;
    animation-delay: -4.8s, -2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(1deg);
    }
}

@keyframes breathe {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                    0 0 0 0 rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                    0 0 30px 10px rgba(255, 255, 255, 0.05);
        transform: scale(1.05);
    }
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-hint span {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ========================================
   Sections Base
   ======================================== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--theme-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--gray-700) !important;
    font-weight: 500;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    padding: 40px;
    border-radius: 20px;
    transition: transform var(--duration) var(--ease);
}

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

.about-card.vision {
    background: linear-gradient(135deg, var(--nox-primary) 0%, var(--nox-secondary) 100%);
    color: var(--white);
}

.about-card.mission {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card.mission h3 {
    color: var(--gray-900);
}

.about-card p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.about-card.mission p {
    color: var(--gray-600);
}

/* ========================================
   Values Section
   ======================================== */
.values {
    background: var(--gray-50);
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.value-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--nox-accent);
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   Ecosystem Section
   ======================================== */
.ecosystem {
    background: var(--white);
    padding-bottom: 60px;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 60px;
}

.ecosystem-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.eco-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    font-family: var(--font);
}

.eco-nav-btn img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform var(--duration) var(--ease);
}

.eco-nav-btn span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: color var(--duration) var(--ease);
}

.eco-nav-btn:hover {
    background: var(--white);
    border-color: var(--gray-200);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.eco-nav-btn:hover img {
    transform: scale(1.1);
}

.eco-nav-btn.active {
    background: var(--white);
    border-color: var(--nox-secondary);
    box-shadow: 0 10px 30px rgba(26, 47, 78, 0.15);
}

.eco-nav-btn.active span {
    color: var(--nox-primary);
}

/* ========================================
   Company Sections
   ======================================== */
.company-section {
    padding: 100px 0;
    position: relative;
    transition: background var(--duration-slow) var(--ease);
}

.company-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease);
    pointer-events: none;
}

.company-section .container,
.company-info,
.company-services {
    position: relative;
    z-index: 2;
}

/* Company Section Themes */
#nok-human-capital { background: linear-gradient(180deg, rgba(26, 47, 78, 0.03) 0%, var(--white) 100%); }
#nok-facilities { background: linear-gradient(180deg, rgba(26, 95, 74, 0.03) 0%, var(--white) 100%); }
#nok-courier { background: linear-gradient(180deg, rgba(200, 75, 32, 0.03) 0%, var(--white) 100%); }
#nok-technology { background: linear-gradient(180deg, rgba(8, 145, 178, 0.03) 0%, var(--white) 100%); }
#nok-smart { background: linear-gradient(180deg, rgba(220, 38, 38, 0.03) 0%, var(--white) 100%); }

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.company-logo-wrap {
    margin-bottom: 32px;
}

.company-logo {
    height: 80px;
    width: auto;
}

.company-lead {
    font-size: 1.25rem;
    color: var(--gray-700);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 16px;
}

.company-info p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.btn-company {
    background: var(--gray-900);
    color: var(--white);
    padding: 14px 28px;
}

#nok-human-capital .btn-company { background: var(--hc-primary); }
#nok-facilities .btn-company { background: var(--fac-primary); }
#nok-courier .btn-company { background: var(--courier-primary); }
#nok-technology .btn-company { background: var(--tech-primary); }
#nok-smart .btn-company { background: var(--smart-primary); }

.btn-company:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Company Services */
.company-services {
    background: var(--gray-50);
    padding: 40px;
    border-radius: 24px;
}

.company-services h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

#nok-human-capital .company-services h3 { color: var(--hc-primary); }
#nok-facilities .company-services h3 { color: var(--fac-primary); }
#nok-courier .company-services h3 { color: var(--courier-primary); }
#nok-technology .company-services h3 { color: var(--tech-primary); }
#nok-smart .company-services h3 { color: var(--smart-primary); }

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 12px;
    transition: all var(--duration) var(--ease);
}

.service-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.service-item span:last-child {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* Services Columns (Facilities) */
.services-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-column h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--fac-accent);
}

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

.service-column li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease);
}

.service-column li:hover {
    color: var(--gray-900);
    padding-left: 8px;
}

.service-column li:last-child {
    border-bottom: none;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tech-block {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
}

.tech-block.full {
    grid-column: span 2;
}

.tech-block h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.tech-block ul {
    list-style: none;
}

.tech-block li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    padding: 8px 0;
}

.tech-block p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags span {
    padding: 8px 16px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--tech-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 100px;
}

/* Smart Services Grid */
.smart-services {
    grid-template-columns: repeat(2, 1fr);
}

/* ========================================
   Why NOX Section
   ======================================== */
.why-nox {
    background: var(--gray-50);
}

.why-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.why-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nox-primary) 0%, var(--nox-secondary) 100%);
    border-radius: 16px;
}

.why-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.why-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   Presence Section
   ======================================== */
.presence {
    background: var(--nox-dark);
    color: var(--white);
}

.presence-content {
    text-align: center;
}

.presence .section-label {
    color: var(--nox-accent);
}

.presence .section-title {
    color: var(--white);
}

.presence > .container > .presence-content > p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 48px;
}

.flags-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform var(--duration) var(--ease);
}

.flag-item:hover {
    transform: translateY(-4px);
}

.flag-emoji {
    font-size: 2.5rem;
}

.flag-name {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--nox-primary);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text a,
.contact-text span:last-child {
    font-size: 1rem;
    color: var(--gray-700);
}

.contact-text a:hover {
    color: var(--nox-primary);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--gray-50);
    padding: 48px;
    border-radius: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all var(--duration) var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nox-secondary);
    box-shadow: 0 0 0 4px rgba(43, 74, 124, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--nox-primary);
    color: var(--white);
    justify-content: center;
    padding: 18px 32px;
    font-size: 1rem;
    width: 100%;
}

.btn-submit:hover {
    background: var(--nox-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 47, 78, 0.3);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-900);
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 72px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--duration) var(--ease);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Theme Transitions - Navbar Colors
   ======================================== */
body[data-active-theme="human-capital"] .navbar.scrolled {
    background: rgba(26, 47, 78, 0.98);
}

body[data-active-theme="facilities"] .navbar.scrolled {
    background: rgba(26, 95, 74, 0.98);
}

body[data-active-theme="courier"] .navbar.scrolled {
    background: rgba(200, 75, 32, 0.98);
}

body[data-active-theme="technology"] .navbar.scrolled {
    background: rgba(8, 145, 178, 0.98);
}

body[data-active-theme="smart"] .navbar.scrolled {
    background: rgba(220, 38, 38, 0.98);
}

body[data-active-theme="human-capital"] .navbar.scrolled .nav-link,
body[data-active-theme="facilities"] .navbar.scrolled .nav-link,
body[data-active-theme="courier"] .navbar.scrolled .nav-link,
body[data-active-theme="technology"] .navbar.scrolled .nav-link,
body[data-active-theme="smart"] .navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

body[data-active-theme="human-capital"] .navbar.scrolled .nav-link:hover,
body[data-active-theme="facilities"] .navbar.scrolled .nav-link:hover,
body[data-active-theme="courier"] .navbar.scrolled .nav-link:hover,
body[data-active-theme="technology"] .navbar.scrolled .nav-link:hover,
body[data-active-theme="smart"] .navbar.scrolled .nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

body[data-active-theme="human-capital"] .navbar.scrolled .logo-dark,
body[data-active-theme="facilities"] .navbar.scrolled .logo-dark,
body[data-active-theme="courier"] .navbar.scrolled .logo-dark,
body[data-active-theme="technology"] .navbar.scrolled .logo-dark,
body[data-active-theme="smart"] .navbar.scrolled .logo-dark {
    display: none;
}

body[data-active-theme="human-capital"] .navbar.scrolled .logo-white,
body[data-active-theme="facilities"] .navbar.scrolled .logo-white,
body[data-active-theme="courier"] .navbar.scrolled .logo-white,
body[data-active-theme="technology"] .navbar.scrolled .logo-white,
body[data-active-theme="smart"] .navbar.scrolled .logo-white {
    display: block;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .hero-content {
        max-width: 550px;
    }

    /* Right side */
    .floating-icon-1 {
        width: 85px;
        height: 85px;
        right: 5%;
    }

    .floating-icon-2 {
        width: 100px;
        height: 100px;
        right: 3%;
    }

    .floating-icon-3 {
        width: 70px;
        height: 70px;
        right: 10%;
    }

    /* Left side */
    .floating-icon-4 {
        width: 75px;
        height: 75px;
        left: 3%;
    }

    .floating-icon-5 {
        width: 60px;
        height: 60px;
        left: 5%;
    }

    .about-grid,
    .company-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .hero-floating-icons {
        display: none;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero .container {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
        display: block;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-badge {
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 32px;
    }

    .hero-actions {
        margin-bottom: 48px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .scroll-hint {
        bottom: 24px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--nox-dark);
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration) var(--ease);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
        z-index: 100;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--white);
    }

    .section {
        padding: 80px 0;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-nav {
        gap: 12px;
    }

    .eco-nav-btn {
        padding: 16px 20px;
    }

    .eco-nav-btn img {
        width: 36px;
        height: 36px;
    }

    .eco-nav-btn span {
        font-size: 0.75rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .services-columns {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-block.full {
        grid-column: span 1;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .flags-row {
        gap: 20px;
    }

    .flag-emoji {
        font-size: 2rem;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero .container {
        padding-top: 90px;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 0.9375rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .ecosystem-nav {
        flex-direction: column;
    }

    .eco-nav-btn {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px 24px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s var(--ease) forwards;
    opacity: 0;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-description { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.5s; }
.hero-stats { animation-delay: 0.6s; }

/* Scroll animations */
.section-title,
.section-label,
.about-card,
.value-card,
.eco-nav-btn,
.company-logo-wrap,
.why-card,
.flag-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease);
}

.in-view .section-title,
.in-view .section-label,
.in-view .about-card,
.in-view .value-card,
.in-view .eco-nav-btn,
.in-view .company-logo-wrap,
.in-view .why-card,
.in-view .flag-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.in-view .value-card:nth-child(1) { transition-delay: 0.1s; }
.in-view .value-card:nth-child(2) { transition-delay: 0.15s; }
.in-view .value-card:nth-child(3) { transition-delay: 0.2s; }
.in-view .value-card:nth-child(4) { transition-delay: 0.25s; }
.in-view .value-card:nth-child(5) { transition-delay: 0.3s; }

.in-view .eco-nav-btn:nth-child(1) { transition-delay: 0.1s; }
.in-view .eco-nav-btn:nth-child(2) { transition-delay: 0.15s; }
.in-view .eco-nav-btn:nth-child(3) { transition-delay: 0.2s; }
.in-view .eco-nav-btn:nth-child(4) { transition-delay: 0.25s; }
.in-view .eco-nav-btn:nth-child(5) { transition-delay: 0.3s; }

.in-view .why-card:nth-child(1) { transition-delay: 0.1s; }
.in-view .why-card:nth-child(2) { transition-delay: 0.15s; }
.in-view .why-card:nth-child(3) { transition-delay: 0.2s; }
.in-view .why-card:nth-child(4) { transition-delay: 0.25s; }

.in-view .flag-item:nth-child(1) { transition-delay: 0.05s; }
.in-view .flag-item:nth-child(2) { transition-delay: 0.1s; }
.in-view .flag-item:nth-child(3) { transition-delay: 0.15s; }
.in-view .flag-item:nth-child(4) { transition-delay: 0.2s; }
.in-view .flag-item:nth-child(5) { transition-delay: 0.25s; }
.in-view .flag-item:nth-child(6) { transition-delay: 0.3s; }
.in-view .flag-item:nth-child(7) { transition-delay: 0.35s; }
.in-view .flag-item:nth-child(8) { transition-delay: 0.4s; }
.in-view .flag-item:nth-child(9) { transition-delay: 0.45s; }

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

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

/* ========================================
   Custom Editable Sections
   ======================================== */
.nox-media-placeholder {
    min-height: 220px;
    width: 100%;
    border: 1.5px dashed rgba(255,255,255,0.25);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75);
    text-align: center;
    padding: 24px;
}

.culture {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: var(--white);
}

.culture .section-label,
.culture .section-title,
.culture .section-subtitle {
    color: var(--white);
}

.culture .section-subtitle {
    max-width: 760px;
    margin: 0 auto 48px;
    color: rgba(255,255,255,0.72);
}

.culture-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.culture-card {
    min-height: 280px;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
}

.culture-card-large {
    grid-row: span 2;
    min-height: 584px;
}

.culture-image,
.culture-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-list-unified {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.service-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: currentColor;
    display: inline-block;
}

.company-logo-text {
    font-size: 2rem;
    color: var(--white);
}

.flag-image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.16);
}

.flag-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 1.5px dashed rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.blog-listing-page,
.single-article-page,
.generic-page {
    background: #f8fafc;
    min-height: 70vh;
}

.blog-page-shell,
.article-shell {
    padding-top: 140px;
    padding-bottom: 80px;
}

.blog-page-header {
    text-align: center;
    margin-bottom: 48px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.blog-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e5e7eb;
}

.blog-card-media img,
.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 12px 0;
}

.blog-card-title a,
.blog-read-more,
.article-back-link a {
    color: var(--nox-primary);
}

.blog-card-title a:hover,
.blog-read-more:hover,
.article-back-link a:hover {
    color: var(--nox-secondary);
}

.blog-meta {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.blog-read-more {
    display: inline-flex;
    margin-top: 16px;
    font-weight: 700;
}

.blog-empty-state {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.blog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.blog-pagination .page-numbers {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,0.08);
}

.blog-pagination .current {
    background: var(--nox-primary);
    color: var(--white);
}

.single-article {
    background: var(--white);
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.article-header {
    margin-bottom: 28px;
}

.article-content {
    color: var(--gray-700);
    line-height: 1.9;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content h2,
.article-content h3,
.article-content h4 {
    margin-bottom: 18px;
}

.article-featured-image {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 32px;
}

.article-back-link {
    margin-top: 32px;
}

.article-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid rgba(43, 74, 124, 0.14);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease);
}

.article-back-link a:hover {
    background: var(--white);
    border-color: rgba(43, 74, 124, 0.28);
    transform: translateY(-1px);
}

.blog-placeholder {
    min-height: 100%;
    background: #eef2ff;
    color: #334155;
    border-color: rgba(15,23,42,0.12);
}

@media (max-width: 1024px) {
    .culture-grid,
    .blog-grid,
    .services-list-unified {
        grid-template-columns: 1fr 1fr;
    }

    .culture-card-large {
        grid-row: span 1;
        min-height: 360px;
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .culture-grid,
    .blog-grid,
    .services-list-unified {
        grid-template-columns: 1fr;
    }

    .culture-card-large {
        grid-column: span 1;
        min-height: 280px;
    }

    .single-article {
        padding: 28px;
    }
}
