/* Common Styles - Shared across all pages */

:root {
    --navy-blue: #0A192F;
    --electric-blue: #0fbcfa;
    --light-gray: #F8F9FA;
    --text-primary: #CCD6F6;
    --text-secondary: #8892B0;
}

.circuit-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--navy-blue);
    overflow: hidden;
    perspective: 1000px;
}

.circuit-line {
    position: absolute;
    background: rgba(100, 255, 218, 0.15);
    transform-style: preserve-3d;
    animation: moveCircuit 15s linear infinite;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.1);
}

.circuit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--electric-blue);
    border-radius: 50%;
    filter: blur(2px);
    box-shadow: 0 0 8px var(--electric-blue);
    animation: moveDot 8s linear infinite;
}

.circuit-path {
    position: absolute;
    background: rgba(100, 255, 218, 0.12);
    transform-origin: center;
    animation: pathFlow 12s linear infinite;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.08);
}

.circuit-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    filter: blur(2px);
    box-shadow: 0 0 12px rgba(100, 255, 218, 0.15);
    animation: nodeFloat 10s ease-in-out infinite;
}

@keyframes moveCircuit {
    0% {
        transform: translateZ(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateZ(100px) translateX(100px);
        opacity: 0;
    }
}

@keyframes moveDot {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translate(100px, 100px);
        opacity: 0;
    }
}

@keyframes pathFlow {
    0% {
        transform: translateX(-100%) translateY(-100%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%);
        opacity: 0;
    }
}

@keyframes nodeFloat {
    0% {
        transform: translate(0, 0);
        opacity: 0.1;
    }
    50% {
        transform: translate(20px, 20px);
        opacity: 0.3;
    }
    100% {
        transform: translate(0, 0);
        opacity: 0.1;
    }
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: transparent;
    color: var(--text-primary);
    position: relative;
}

.navbar {
    background-color: rgba(10, 25, 47, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: color 0.3s ease;
    margin: 0 1rem;
}

.nav-link:hover {
    color: var(--electric-blue) !important;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--electric-blue);
    color: var(--electric-blue);
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(100, 255, 218, 0.1);
    border-color: var(--electric-blue);
    color: var(--electric-blue);
}

.section-heading {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.section-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--electric-blue);
}

.card {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.card-body {
    color: var(--text-secondary);
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
}

.service-icon {
    color: var(--electric-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

section {
    padding: 6rem 0;
}

.section-content {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}
