/* Home Section */
.home-section {
    position: relative;
    height: 100vh; /* Full height for parallax */
    overflow: hidden;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png') repeat; /* Cubes pattern */
    background-size: 100px 100px;
    transform: translateZ(0);
    z-index: -1; /* Send background to back */
    will-change: transform; /* For smoother performance */
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1; /* Above the background */
}

.home-content {
    position: relative;
    z-index: 2; /* Above the overlay */
    color: #00ffff;
    text-align: center;
    padding: 20px;
    transform: translateY(50%); /* Adjust the vertical position */
}

/* Parallax Scrolling Effect */
.home-section {
    perspective: 1px; /* Create a 3D perspective */
}

.home-content {
    transform: translateZ(0); /* Prevents blurriness */
}

.home-section {
    transform: translateZ(-1px) scale(2); /* Creates the parallax effect */
}


/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VT323', monospace;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

header .logo {
    display: flex;
    align-items: center;
}

header .nexus-logo {
    max-width: 150px; /* Adjust size as needed */
    margin-right: 15px;
}

header .logo-text {
    font-size: 2.5rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    animation: glow 2s infinite alternate;
}

/* Apply glowing animation only to text */
@keyframes glow {
    0% {
        text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
    }
    100% {
        text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff;
    }
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #39ff14;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8), #000000), url('cubes.png') repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    color: #39ff14;
    text-shadow: 0 0 15px #39ff14;
    animation: flicker 2s infinite alternate;
}

.hero-content p {
    font-size: 1.5rem;
    margin: 20px 0;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 10px 30px;
    background-color: #39ff14;
    color: #000;
    border: 2px solid #39ff14;
    text-decoration: none;
    font-size: 1.2rem;
    text-shadow: 0 0 10px #000;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background-color: #000;
    color: #39ff14;
}

.btn.secondary {
    background-color: #00ffff;
    border: 2px solid #00ffff;
}

.btn.secondary {
    background-color: #00ffff;
    border: 2px solid #00ffff;
}

.btn.secondary:hover {
    background-color: #000;
    color: #00ffff;
}

.btn.red {
    background-color: red;
    border: 2px solid red;
}

.btn.red:hover {
    background-color: #000;
    color: red;
}

/* Animations */
@keyframes flicker {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

h1 {
    font-family: "Playfair Display", serif;
}

/* About Section */
.about-section {
    padding: 50px 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8), #000000), url('cubes.png') repeat;
    /* Added background-size to ensure the cubes repeat */
    height: 100vh;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    color: #00ffff;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #39ff14;
    text-shadow: 0 0 10px #39ff14;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00ffff;
}

.about-content h3 {
    font-size: 2rem;
    margin: 30px 0;
    color: #00ffff;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content ul li {
    font-size: 1.2rem;
    text-shadow: 0 0 5px #00ffff;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.about-content ul li::before {
    content: '✔';
    color: #39ff14;
    position: absolute;
    left: 0;
    top: 0;
}

.cursor {
    display: inline-block;
    border-left: 0.15em solid rgba(0, 191, 255, 1); /* Blinking cursor */
    animation: blink 0.7s infinite; /* Cursor blink effect */
}

@keyframes blink {
    0% { border-color: rgba(0, 191, 255, 1); }
    50% { border-color: transparent; }
    100% { border-color: rgba(0, 191, 255, 1); }
}

nav ul li a:hover, nav ul li a.active {
    color: #39ff14;
}

#feature-image {
    border: 2px dotted #555;
}