:root {
    --bg-color: #050a10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --primary: #00509d;
    /* Dark Blue */
    --secondary: #003366;
    /* Even Darker Blue */
    --text-primary: #ffffff;
    --text-secondary: #f0f0f0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

.glitch {
    color: var(--primary);
    text-shadow: 0 0 5px rgba(0, 80, 157, 0.5);
    display: inline-block;
    font-weight: 800;
}

/* 
   Unique Image Variations via CSS 
   Used to ensure every service looks distinct even with limited base assets.
*/
.img-cyber {
    /* Extreme zoom to eliminate white background edges and focus on the secure core */
    transform: scale(1.6);
    filter: brightness(0.9) contrast(1.1);
}

.img-wireless {
    /* Keep original blue, just adjust clarity */
    filter: brightness(1.1) saturate(1.1);
}

.img-voip {
    /* Keep original blue, just adjust clarity */
    filter: brightness(1.1) contrast(1.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 10, 16, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    color: var(--text-primary);
    /* Default white */
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.cta-btn {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 80, 157, 0.4);
}

/* Hero Section */
header.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.4s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.6s;
}

/* Sections */
section {
    padding: 5rem 5%;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(5px);
    overflow: hidden;
    /* For scale effects */
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
/* Default Burger State (Hidden on Desktop) */
.burger {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger {
        display: block;
        cursor: pointer;
    }

    .burger div {
        width: 30px;
        height: 3px;
        background-color: var(--primary);
        margin: 6px;
        transition: all 0.3s ease;
        border-radius: 3px;
        box-shadow: 0 0 8px rgba(0, 80, 157, 0.6);
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: rgba(5, 10, 16, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        border-left: 1px solid var(--primary);
        padding-top: 20vh;
        z-index: 999;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Page Specific Styles */
/* Contact Page */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-bottom: 5rem;
}


.contact-info {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.2rem;
    font-weight: 600;
}