:root {
    --neon-blue: #00d4ff;
    --neon-cyan: #00ffea;
    --neon-purple: #7b2fff;
    --dark-bg: #020b18;
}

body {
    background: var(--dark-bg) !important;
    color: rgba(200, 230, 255, 0.88) !important;
}

/* =============================================
           PAGE HEADER — FULL 3D HERO
        ============================================= */
.page-header {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: var(--dark-bg) !important;
    overflow: hidden;
    padding: 120px 0 80px !important;
}

/* canvas behind everything */
#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
}

/* scanlines */
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px,
            rgba(0, 0, 0, 0.038) 2px, rgba(0, 0, 0, 0.038) 4px);
    z-index: 1;
    pointer-events: none;
    animation: scanlines 10s linear infinite;
}

@keyframes scanlines {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 100px;
    }
}

/* vignette */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 85% 85% at 50% 50%,
            rgba(2, 11, 24, 0.20) 0%, rgba(2, 11, 24, 0.60) 100%);
    z-index: 1;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* corner decorators */
.hero-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.65;
}

.hc-tl {
    top: 20px;
    left: 20px;
    border-top: 2px solid var(--neon-blue);
    border-left: 2px solid var(--neon-blue);
}

.hc-tr {
    top: 20px;
    right: 20px;
    border-top: 2px solid var(--neon-blue);
    border-right: 2px solid var(--neon-blue);
}

.hc-bl {
    bottom: 20px;
    left: 20px;
    border-bottom: 2px solid var(--neon-blue);
    border-left: 2px solid var(--neon-blue);
}

.hc-br {
    bottom: 20px;
    right: 20px;
    border-bottom: 2px solid var(--neon-blue);
    border-right: 2px solid var(--neon-blue);
}

/* scanning line */
.hero-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%, var(--neon-blue) 30%,
            var(--neon-cyan) 50%, var(--neon-blue) 70%, transparent 100%);
    z-index: 3;
    pointer-events: none;
    animation: scanLine 5s ease-in-out infinite;
}

@keyframes scanLine {
    0% {
        top: 10%;
        opacity: 0;
    }

    8% {
        opacity: 0.55;
    }

    92% {
        opacity: 0.25;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

/* title */
.page-header h1 {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 900 !important;
    font-size: clamp(2rem, 5vw, 3.6rem) !important;
    color: #fff !important;
    text-shadow:
        0 0 25px rgba(0, 212, 255, 0.75),
        0 0 55px rgba(0, 212, 255, 0.30) !important;
    letter-spacing: 3px;
}

/* animated underline */
.hero-title-line {
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
    margin: 12px auto 0;
    border-radius: 2px;
    animation: titleLine 1.2s 0.5s ease forwards;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

@keyframes titleLine {
    to {
        width: 160px;
    }
}

/* breadcrumb */
.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(0, 212, 255, 0.5) !important;
}

.breadcrumb-item a {
    font-family: 'Rajdhani', sans-serif !important;
    color: rgba(180, 220, 255, 0.75) !important;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: color 0.25s;
}

.breadcrumb-item a:hover {
    color: var(--neon-cyan) !important;
}

.breadcrumb-item.active {
    font-family: 'Rajdhani', sans-serif !important;
    color: var(--neon-blue) !important;
    letter-spacing: 0.5px;
}

/* sec divider */
.sec-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%, rgba(0, 212, 255, 0.32) 25%,
            rgba(0, 255, 234, 0.48) 50%, rgba(0, 212, 255, 0.32) 75%,
            transparent 100%);
}

/* =============================================
           MAIN CONTENT — PROJECT CARDS
        ============================================= */
main {
    position: relative;
    z-index: 1;
}

.detail-card {
    background: rgba(0, 16, 34, 0.82) !important;
    border: 1px solid rgba(0, 212, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
    margin-top: 30px !important;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
    backdrop-filter: blur(6px);
}

/* top accent line */
.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.detail-card:hover::before {
    opacity: 1;
}

.detail-card:hover {
    border-color: rgba(0, 212, 255, 0.45) !important;
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.14), 0 4px 40px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-4px);
}

.detail-card h2 {
    font-family: 'Orbitron', sans-serif !important;
    color: #fff !important;
    font-size: clamp(1rem, 2.5vw, 1.5rem) !important;
    letter-spacing: 1.5px;
    text-shadow: 0 0 14px rgba(0, 212, 255, 0.35);
}

.detail-card .lead {
    font-family: 'Rajdhani', sans-serif !important;
    color: rgba(185, 225, 255, 0.80) !important;
    font-size: 1.08rem !important;
    line-height: 1.8;
}

/* buttons */
.detail-card .btn-primary {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    background: transparent !important;
    border: 2px solid var(--neon-blue) !important;
    color: var(--neon-blue) !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.18) !important;
}

.detail-card .btn-primary:hover {
    background: var(--neon-blue) !important;
    color: #000 !important;
    box-shadow: 0 0 26px rgba(0, 212, 255, 0.60) !important;
    transform: translateY(-2px) !important;
}

.detail-card .btn-secondary {
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(180, 210, 235, 0.45) !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
}

.detail-card .btn-outline-primary {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border: 2px solid var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.detail-card .btn-outline-primary:hover {
    background: var(--neon-cyan) !important;
    color: #000 !important;
    box-shadow: 0 0 22px rgba(0, 255, 234, 0.55) !important;
    transform: translateY(-2px) !important;
}

/* empty state */
.detail-card.text-center p {
    font-family: 'Rajdhani', sans-serif !important;
    color: rgba(180, 220, 255, 0.55) !important;
    font-size: 1.1rem;
}

/* =============================================
           FOOTER
        ============================================= */
.footer,
footer {
    position: relative;
    background: #010810 !important;
    border-top: 1px solid rgba(0, 212, 255, 0.18) !important;
    overflow: hidden;
}

footer canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer h4,
footer .h4 {
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.92rem !important;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
}

footer h5 {
    color: var(--neon-blue) !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.70rem !important;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

footer p {
    color: rgba(150, 200, 230, 0.58) !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 0.95rem;
}

footer a {
    color: rgba(150, 200, 230, 0.58) !important;
    text-decoration: none !important;
    transition: color 0.25s, text-shadow 0.25s;
}

footer a:hover {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
}

footer hr {
    border-color: rgba(0, 212, 255, 0.13) !important;
}

footer .footer-logo {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.35));
    width: 40px;
}

footer .list-unstyled li {
    margin-bottom: 0.42rem;
    font-family: 'Rajdhani', sans-serif;
}