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

/* ---------- Hero wrapper ---------- */
#hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--dark-bg);
    padding: 0;
}

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

/* Scanline texture */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.035) 2px,
            rgba(0, 0, 0, 0.035) 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 overlay — keeps text readable */
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 65% at 30% 50%,
            rgba(2, 11, 24, 0.30) 0%, transparent 70%),
        linear-gradient(135deg,
            rgba(2, 11, 24, 0.50) 0%, rgba(4, 21, 38, 0.20) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Content above canvas */
#hero .container {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Corner frame decorators */
.hero-corner {
    position: absolute;
    width: 56px;
    height: 56px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.7;
}

.hero-corner-tl {
    top: 22px;
    left: 22px;
    border-top: 2px solid var(--neon-blue);
    border-left: 2px solid var(--neon-blue);
}

.hero-corner-tr {
    top: 22px;
    right: 22px;
    border-top: 2px solid var(--neon-blue);
    border-right: 2px solid var(--neon-blue);
}

.hero-corner-bl {
    bottom: 22px;
    left: 22px;
    border-bottom: 2px solid var(--neon-blue);
    border-left: 2px solid var(--neon-blue);
}

.hero-corner-br {
    bottom: 22px;
    right: 22px;
    border-bottom: 2px solid var(--neon-blue);
    border-right: 2px solid var(--neon-blue);
}

/* Animated 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;
    }
}

/* ---------- Typography ---------- */
.hero-section h1.display-4 {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 900;
    font-size: clamp(1.75rem, 3.8vw, 3.1rem) !important;
    color: #ffffff !important;
    text-shadow:
        0 0 25px rgba(0, 212, 255, 0.75),
        0 0 55px rgba(0, 212, 255, 0.30);
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.hero-section p.lead {
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 400;
    color: rgba(195, 235, 255, 0.92) !important;
    letter-spacing: 0.4px;
}

/* ---------- CTA buttons ---------- */
.hero-buttons .btn-primary {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue) !important;
    padding: 12px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 0 12px rgba(0, 212, 255, 0.25),
        inset 0 0 12px rgba(0, 212, 255, 0.04);
}

.hero-buttons .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-buttons .btn-primary:hover {
    color: #fff !important;
    box-shadow:
        0 0 28px rgba(0, 212, 255, 0.65),
        0 0 55px rgba(0, 212, 255, 0.25);
    transform: translateY(-2px);
}

.hero-buttons .btn-primary:hover::before {
    opacity: 1;
}

.hero-buttons .btn-outline-light {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.38);
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 12px 28px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-outline-light:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan) !important;
    box-shadow: 0 0 18px rgba(0, 255, 234, 0.4);
    background: rgba(0, 255, 234, 0.05);
    transform: translateY(-2px);
}

/* ---------- Hero logo glow ---------- */
.hero-image {
    border-radius: 50%;
    filter:
        drop-shadow(0 0 35px rgba(0, 212, 255, 0.60)) drop-shadow(0 0 75px rgba(123, 47, 255, 0.30));
    max-width: 380px;
    width: 100%;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

.bounce {
    animation: bounce 3s ease-in-out infinite;
}

/* =============================================
           GLOBAL DARK NEON OVERRIDES
        ============================================= */
body {
    background: var(--dark-bg) !important;
    color: rgba(200, 230, 255, 0.88) !important;
}

/* ---- Features Section ---- */
.features-section {
    position: relative;
    background: #020e1a !important;
    overflow: hidden;
}

.features-section .sec-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.features-section h2 {
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: clamp(1.4rem, 3vw, 2.2rem) !important;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.features-section p.lead {
    color: rgba(180, 220, 255, 0.75) !important;
    font-family: 'Rajdhani', sans-serif !important;
}

.feature-card {
    background: rgba(0, 20, 40, 0.75) !important;
    border: 1px solid rgba(0, 212, 255, 0.15) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(6px);
    transition: all 0.35s ease !important;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.feature-card:hover {
    border-color: rgba(0, 212, 255, 0.55) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.18), 0 0 60px rgba(0, 212, 255, 0.06) !important;
}

.feature-card h3 {
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1rem !important;
    letter-spacing: 1px;
}

.feature-card p {
    color: rgba(180, 220, 255, 0.72) !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 1.05rem;
}

.feature-card .text-primary {
    color: var(--neon-blue) !important;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

/* ---- Services Section ---- */
.services-preview {
    position: relative;
    background: #020b18 !important;
    overflow: hidden;
}

.services-preview .sec-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.services-preview h2 {
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: clamp(1.4rem, 3vw, 2.2rem) !important;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.services-preview p.lead {
    color: rgba(180, 220, 255, 0.75) !important;
    font-family: 'Rajdhani', sans-serif !important;
}

.service-card {
    background: rgba(0, 15, 30, 0.80) !important;
    border: 1px solid rgba(0, 212, 255, 0.12) !important;
    border-radius: 14px !important;
    overflow: hidden;
    transition: all 0.35s ease !important;
}

.service-card:hover {
    border-color: rgba(0, 212, 255, 0.50) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.20), 0 0 70px rgba(0, 212, 255, 0.07) !important;
}

.service-card .service-img {
    position: relative;
    overflow: hidden;
}

.service-card .service-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(2, 11, 24, 0.85) 100%);
}

.service-card img {
    transition: transform 0.5s ease !important;
    filter: brightness(0.75) saturate(0.8);
}

.service-card:hover img {
    transform: scale(1.06) !important;
    filter: brightness(0.9) saturate(1);
}

.service-info {
    background: transparent !important;
}

.service-info h3 {
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.95rem !important;
    letter-spacing: 1px;
}

.service-info p {
    color: rgba(180, 220, 255, 0.72) !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 1.05rem;
}

.service-info .btn-outline-primary {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.7rem !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border-color: var(--neon-blue) !important;
    color: var(--neon-blue) !important;
    transition: all 0.3s ease !important;
}

.service-info .btn-outline-primary:hover {
    background: var(--neon-blue) !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5) !important;
}

.services-preview .btn-primary {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue) !important;
    padding: 12px 32px;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

.services-preview .btn-primary:hover {
    background: var(--neon-blue) !important;
    color: #000 !important;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6) !important;
    transform: translateY(-2px);
}

/* ---- CTA Section ---- */
.cta-section {
    position: relative;
    background: #030d1c !important;
    overflow: hidden;
}

.cta-section .sec-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.cta-section h2 {
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: clamp(1.5rem, 3.5vw, 2.6rem) !important;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.2);
}

.cta-section p.lead {
    color: rgba(190, 230, 255, 0.80) !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 1.2rem;
}

.cta-section .btn-primary {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan) !important;
    padding: 14px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.25), inset 0 0 20px rgba(0, 255, 234, 0.04);
}

.cta-section .btn-primary:hover {
    background: var(--neon-cyan) !important;
    color: #000 !important;
    box-shadow: 0 0 40px rgba(0, 255, 234, 0.7) !important;
    transform: translateY(-3px) scale(1.03);
}

/* CTA neon divider lines */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.4;
    z-index: 2;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.4;
    z-index: 2;
}

/* ---- Technologies Section ---- */
.technologies-section {
    position: relative;
    background: #020e1a !important;
    overflow: hidden;
}

.technologies-section .sec-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.technologies-section h2 {
    color: #fff !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: clamp(1.4rem, 3vw, 2.2rem) !important;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.technologies-section p.lead {
    color: rgba(180, 220, 255, 0.75) !important;
    font-family: 'Rajdhani', sans-serif !important;
}

.tech-card {
    background: rgba(0, 20, 42, 0.70) !important;
    border: 1px solid rgba(0, 212, 255, 0.13) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(8px);
    transition: all 0.35s ease !important;
    cursor: default;
}

.tech-card:hover {
    border-color: rgba(0, 212, 255, 0.6) !important;
    transform: translateY(-8px) scale(1.04) !important;
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.22), 0 0 55px rgba(0, 212, 255, 0.08) !important;
}

.tech-card i.text-primary {
    color: var(--neon-blue) !important;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.7));
    transition: filter 0.3s;
}

.tech-card:hover i.text-primary {
    filter: drop-shadow(0 0 18px rgba(0, 212, 255, 1));
}

.tech-card h3 {
    color: rgba(200, 235, 255, 0.85) !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 600;
    letter-spacing: 1px;
}

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

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

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

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

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

.footer p {
    color: rgba(160, 210, 240, 0.65) !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 0.95rem;
}

.footer a {
    color: rgba(160, 210, 240, 0.65) !important;
    transition: color 0.25s, text-shadow 0.25s;
    text-decoration: none !important;
}

.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.15) !important;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.45rem;
    font-family: 'Rajdhani', sans-serif;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 1rem;
}

/* Back to top */
.back-to-top {
    background: rgba(0, 212, 255, 0.12) !important;
    border: 1px solid rgba(0, 212, 255, 0.4) !important;
    color: var(--neon-blue) !important;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.25);
    transition: all 0.3s ease !important;
}

.back-to-top:hover {
    background: var(--neon-blue) !important;
    color: #000 !important;
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.6) !important;
}

/* Section divider lines */
.sec-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.35) 30%, rgba(0, 255, 234, 0.5) 50%, rgba(0, 212, 255, 0.35) 70%, transparent 100%);
}