/* ==========================================================================
   Inurum Technologies — Global 3D Background + Full-Page Premium Styling
   ========================================================================== */

/* ── Canvas & Overlay ───────────────────────────────────────── */
#global-3d-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.global-depth-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0) 20%, rgba(247, 249, 253, 0.82) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ── Base z-index layer ─────────────────────────────────────── */
html {
    background-color: #f7f9fd;
}

body {
    background: transparent !important;
}

header,
section,
footer {
    position: relative;
    z-index: 2;
}

nav.navbar {
    position: fixed;
    z-index: 99999 !important;
    overflow: visible !important;
}

.nav-inner,
.nav-links,
.nav-item,
.nav-item.dropdown {
    overflow: visible !important;
}

.dropdown-menu {
    z-index: 100000 !important;
    overflow: visible !important;
}

/* ── Translucent section surfaces ──────────────────────────── */
.surface-l0 {
    background-color: rgba(247, 249, 253, 0.18) !important;
}

.surface-l1 {
    background-color: rgba(243, 245, 250, 0.55) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.surface-l2 {
    background-color: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* ── Section-specific backgrounds ──────────────────────────── */
#hero {
    background: transparent !important;
}

#services {
    background: rgba(243, 245, 250, 0.42) !important;
}

#portfolio {
    background: rgba(255, 255, 255, 0.52) !important;
}

#process {
    background: rgba(243, 245, 250, 0.38) !important;
}

/* Dark command-center team section */
#teams {
    background: linear-gradient(135deg, rgba(12, 16, 32, 0.94) 0%, rgba(6, 8, 18, 0.97) 100%) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
    position: relative;
    z-index: 2;
    padding: 0 0 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(216, 132, 0, 0.22);
    border-radius: 1.1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 4px 20px rgba(10, 20, 60, 0.07),
        0 1px 0 rgba(255, 255, 255, 1) inset;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 40px rgba(10, 20, 60, 0.14),
        0 1px 0 rgba(255, 255, 255, 1) inset;
}

.stat-value {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, oklch(0.18 0.04 250) 0%, oklch(0.63 0.14 75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: oklch(0.46 0.025 250);
}

/* ── Services Cards ─────────────────────────────────────────── */
#services .card {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1.5px solid rgba(216, 132, 0, 0.14) !important;
    border-radius: 1.1rem !important;
    padding: 2rem 1.75rem !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    box-shadow:
        0 2px 16px rgba(10, 20, 60, 0.05),
        0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

#services .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(0.63 0.14 75), oklch(0.18 0.04 250));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.1rem 1.1rem 0 0;
}

#services .card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(216, 132, 0, 0.35) !important;
    box-shadow:
        0 20px 48px rgba(10, 20, 60, 0.12),
        0 1px 0 rgba(255, 255, 255, 1) inset !important;
}

#services .card:hover::before {
    opacity: 1;
}

/* Why Choose section benefit cards */
#services #why-choose .card {
    border-left: 3px solid oklch(0.63 0.14 75) !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem !important;
}

/* ── Case Studies ───────────────────────────────────────────── */
#portfolio .card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1.5px solid rgba(10, 20, 60, 0.08) !important;
    border-radius: 1.1rem !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 24px rgba(10, 20, 60, 0.07) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

#portfolio .card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 50px rgba(10, 20, 60, 0.13) !important;
}

/* ── Process Steps ──────────────────────────────────────────── */
.process-step {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1.5px solid rgba(216, 132, 0, 0.15) !important;
    border-radius: 1rem !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 4px 20px rgba(10, 20, 60, 0.05) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease !important;
    text-align: center;
    padding: 2rem 1.25rem !important;
}

.process-step:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(10, 20, 60, 0.12) !important;
    border-color: rgba(216, 132, 0, 0.4) !important;
}

.step-number {
    width: 48px !important;
    height: 48px !important;
    background: linear-gradient(135deg, oklch(0.18 0.04 250), oklch(0.63 0.14 75)) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Oxanium', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin: 0 auto 1rem !important;
    box-shadow: 0 4px 16px rgba(216, 132, 0, 0.35) !important;
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1.5px solid rgba(216, 132, 0, 0.18) !important;
    border-radius: 1.1rem !important;
    padding: 2.25rem 2rem !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    box-shadow: 0 4px 24px rgba(10, 20, 60, 0.07) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Oxanium', sans-serif;
    font-size: 5rem !important;
    line-height: 0.7;
    color: oklch(0.63 0.14 75);
    opacity: 0.55 !important;
    display: block;
    margin-bottom: 0.75rem;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, oklch(0.63 0.14 75), oklch(0.18 0.04 250));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 50px rgba(10, 20, 60, 0.12) !important;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-card p {
    color: oklch(0.22 0.03 250) !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
    font-style: italic;
    text-shadow: none !important;
}

.testimonial-card .label-md {
    color: oklch(0.18 0.04 250) !important;
    font-weight: 700;
    text-shadow: none !important;
    margin-top: 1.25rem;
    display: block;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
    background: rgba(16, 20, 36, 0.94) !important;
    border-top: 1px solid rgba(216, 132, 0, 0.2) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
}

footer .label-md {
    color: rgba(255, 255, 255, 0.5) !important;
    text-shadow: none !important;
}

footer p,
footer ul li a,
footer a {
    color: rgba(255, 255, 255, 0.65) !important;
    text-shadow: none !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer ul li a:hover,
footer a:hover {
    color: oklch(0.63 0.14 75) !important;
}

footer>.container>.grid>div>.label-md {
    color: white !important;
    font-weight: 700 !important;
    margin-bottom: 1.25rem !important;
    display: block;
}

/* ── Dedicated Teams section card ──────────────────────────── */
#teams .card {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 1rem !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* ── Readable text shadows ──────────────────────────────────── */
h1,
h2,
h3,
h4 {
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.5);
}

p,
.hero-desc {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

#teams h2,
#teams h3,
#teams h4,
#teams p,
footer h2,
footer h3,
footer h4,
footer p {
    text-shadow: none !important;
}

#teams h2 {
    color: white !important;
}

#teams h3 {
    color: white !important;
}

#teams h4 {
    color: oklch(0.63 0.14 75) !important;
}

#teams p {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        gap: 0.75rem;
    }

    .stat-item {
        padding: 1.25rem 1rem;
    }
}

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .global-depth-overlay {
        background: rgba(247, 249, 253, 0.88) !important;
    }
}