:root {
    --primary-neon-blue: #04d9ff;
    --background-color: #000000;
    --text-color: #FFFFFF;
    --card-background: #1a1a1a;
    --font-family: 'Orbitron', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px var(--primary-neon-blue);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-neon-blue);
    text-shadow: 0 0 15px var(--primary-neon-blue);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-neon-blue);
    text-shadow: 0 0 10px var(--primary-neon-blue);
}

/* Service Detail Styles */
.service-details {
    margin-top: 20px;
    width: 100%;
}

/* Responsive Mobile UI */
@media (max-width: 768px) {
    .service-item {
        width: 90%;
        align-self: center !important; /* Center all items on mobile */
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .service-item h3 {
        font-size: 1.5rem;
    }
}

/* Main Content */
main {
    padding: 2rem 5%;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 60px 0;
}

#home {
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1, h2 {
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-neon-blue);
    text-shadow: 0 0 15px var(--primary-neon-blue);
}

/* Services Section - Alternating Layout */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-item {
    width: 60%;
    max-width: 690px;
    background-color: var(--card-background);
    border: 2px solid var(--primary-neon-blue);
    border-radius: 20px;
    box-shadow: 0 0 25px var(--primary-neon-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-out;
}

.service-item:nth-child(odd) { align-self: flex-start; transform: translateX(-50px); }
.service-item:nth-child(even) { align-self: flex-end; transform: translateX(50px); }
.service-item.visible { opacity: 1; transform: translateX(0); visibility: visible; }

.service-item:hover {
    box-shadow: 0 0 40px var(--primary-neon-blue);
    transform: scale(1.03) !important;
}

.service-item h3 {
    color: var(--primary-neon-blue);
    font-size: 2rem;
    text-align: center;
}

/* Contact Page */
#contact-page h2 {
    margin-bottom: 40px;
}

.contact-details {
    text-align: center;
    font-size: 1.5rem;
    line-height: 2;
}

.contact-details .detail-item {
    color: var(--primary-neon-blue);
    text-shadow: 0 0 10px var(--primary-neon-blue);
}
