body {
    background-color: #000000;
    color: #00ffff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/matrix.png') repeat;
    opacity: 0.1; /* Subtle effect */
    z-index: -1;
    animation: scroll-bg 20s linear infinite;
}

@keyframes scroll-bg {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

header {
    background-color: #1c1c1c;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); /* Add subtle shadow */
}

.logo img {
    max-width: 150px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #00ffff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #00ffff;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

nav ul li a:hover {
    color: #ff004d;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #00ffff;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(50%); /* Darken the video slightly */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff004d; /* Neon red for emphasis */
    animation: glitch 1.5s infinite; /* Add a glitch effect */
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
}

.cta-button {
    background-color: #00ffff;
    color: #000;
    padding: 15px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.cta-button:hover {
    background-color: #ff004d;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 0, 77, 0.7);
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    #bg-video {
        position: relative;
        width: 100%;
        height: auto;
        margin-bottom: 20px; /* Add some space between the video and the content */
    }

    .hero-content {
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1em;
    }
}

footer {
    background-color: #1c1c1c;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #00ffff; /* Add a neon line at the top */
}

.social-media a {
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2);
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #00ffff;
}

h2 {
    color: #ff004d;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
}

.operations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.operation-card {
    background-color: #1c1c1c;
    padding: 20px;
    border: 1px solid #00ffff;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.operation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
}

form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background-color: #1c1c1c;
    color: #00ffff;
    border: 1px solid #00ffff;
    border-radius: 5px;
}

form button {
    background-color: #00ffff;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover {
    background-color: #ff004d;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 77, 0.7);
}

.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #1c1c1c;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    color: #00ffff;
}

.about-content h2 {
    font-size: 2.8em;
    color: #ff004d;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: text-glow 1.5s ease-in-out infinite alternate;
}

.about-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.about-content p:hover {
    transform: scale(1.02);
    text-shadow: 0 0 10px #00ffff;
}

.easter-egg {
    margin-top: 30px;
    text-align: center;
    color: #ff004d;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
    transition: color 0.3s ease;
}

.easter-egg:hover {
    color: #00ffff;
}

.glitch-text {
    font-size: 1.5em;
    position: relative;
    display: inline-block;
    color: #00ffff;
    animation: glitch 1.5s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 2px #ff004d, -2px -2px #00ffff;
    }
    20% {
        text-shadow: -2px 2px #ff004d, 2px -2px #00ffff;
        transform: translate(-2px, 2px);
    }
    40% {
        text-shadow: 2px -2px #ff004d, -2px 2px #00ffff;
        transform: translate(2px, -2px);
    }
    60% {
        text-shadow: -2px -2px #ff004d, 2px 2px #00ffff;
        transform: translate(-2px, -2px);
    }
    80% {
        text-shadow: 2px 2px #ff004d, -2px -2px #00ffff;
        transform: translate(2px, 2px);
    }
    100% {
        text-shadow: 0 0 #ff004d, 0 0 #00ffff;
        transform: translate(0, 0);
    }
}

@keyframes text-glow {
    from {
        text-shadow: 0 0 10px #ff004d, 0 0 20px #ff004d, 0 0 30px #ff004d, 0 0 40px #ff004d;
    }
    to {
        text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff, 0 0 50px #00ffff;
    }
}

.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: #00ffff;
    animation: glitch 1.5s infinite;
}


.banner {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.banner.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.banner.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
