/* --- CSS Variables & Reset --- */
:root {
    /* The Cyber Palette */
    --bg-main: #050505;       /* Almost pure black */
    --bg-secondary: #0a0a0a;  /* Slightly lighter black */
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    /* The stunning neon accent color */
    --neon-cyan: #00f7ff;     
    /* Glassmorphism background */
    --glass-bg: rgba(20, 20, 20, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden; /* Prevents horizontal scrollbar from animations */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* --- Glassmorphism Navbar --- */
.navbar {
    background: var(--glass-bg);
    /* This creates the frosted glass effect */
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    /* Inverting logo colors to make it pop on dark bg if it's black */
    filter: brightness(0) invert(1); 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

/* Animated underline on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--neon-cyan);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Animated Hero Section --- */
.hero-section {
    position: relative;
    padding: 80px 0 120px 0;
    overflow: hidden;
    /* Deep space background */
    background: radial-gradient(circle at center, #111 0%, var(--bg-main) 80%);
}

/* The glowing animated blobs in the background */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--neon-cyan);
    top: -100px;
    left: -100px;
    /* Animation defined below */
    animation: floatBg 10s infinite alternate ease-in-out;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: #0051ff; /* A deeper blue for contrast */
    bottom: -50px;
    right: -50px;
    animation: floatBg 8s infinite alternate-reverse ease-in-out;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px; /* Adds 3D depth perspective */
}

.banner-wrapper {
    width: 100%;
    max-width: 1100px;
    /* Add a cool reflection effect below the banner */
    -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, #00000040);
}

.main-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

/* The floating animation for the banner */
.floating-animate {
    animation: floatBanner 6s ease-in-out infinite;
}

/* Keyframes for animations */
@keyframes floatBanner {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-25px); } /* Moves up 25px */
    100% { transform: translateY(0px); }
}

@keyframes floatBg {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* --- Stunning Services Section --- */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
    /* Gradient Text Effect */
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--neon-cyan);
    margin-bottom: 70px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

/* Modern 3D Cards */
.card {
    background: rgba(255, 255, 255, 0.03); /* Very subtle fill */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* The glowing hover effect */
.card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.2), inset 0 0 20px rgba(0, 247, 255, 0.05);
}

/* A sweeping light effect across the card on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(0, 247, 255, 0.2), transparent);
    transition: all 0.6s;
}

.card:hover::before {
    left: 100%;
}

.icon-wrapper {
    font-size: 60px;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Footer Section --- */
.footer-section {
    background: #000;
    text-align: center;
    padding: 100px 20px 50px;
    position: relative;
}

/* Top glowing border for footer */
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neon-cyan), transparent);
    box-shadow: 0 -10px 20px var(--neon-cyan);
}

.footer-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Neon Button */
.btn-neon {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 40px;
    background-color: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

.btn-neon:hover {
    background-color: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.8);
}

.copyright {
    margin-top: 80px;
    color: #555;
    font-size: 0.9rem;
}