/* Footer styling */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-links {
    font-size: 14px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px; /* Adjust spacing between links */
}

.footer-links span {
    color: #fff; /* Color for separators */
    margin: 0 5px; /* Adjust spacing around separators */
}

/* Matrix-style glitch text for agency note */
.agency-note {
    position: relative;
    color: #0f0;
    font-size: 16px;
    font-family: monospace;
    text-shadow: 0 0 5px #0f0, 0 0 10px #0f0;
    margin-top: 10px;
    display: inline-block;
    z-index: 2;
}

/* Glitch pseudo-element */
.agency-note::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: glitch 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
    color: #0f0;
    text-shadow: 0 0 5px #0f0, 0 0 15px #0f0;
    z-index: 2;
}

/* Matrix rain background */
.agency-note .rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.1) 0,
        rgba(0, 255, 0, 0.2) 2px,
        transparent 4px
    );
    animation: rain 10s linear infinite;
    z-index: 1;
}

/* Animations */
@keyframes rain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes glitch {
    0%, 100% { clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); transform: translate(0); }
    33% { clip-path: polygon(0 0, 100% 0, 100% 15%, 0 15%); transform: translate(-3px, -3px); }
    66% { clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0 100%); transform: translate(3px, 3px); }
}
