/* Import futuristic font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
}

/* Body Background */
body {
  background: #0b002b url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
  background-size: 600px 600px;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  animation: galaxyMotion 160s linear infinite;
  position: relative;
}

/* Rainbow Background Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, red, orange, yellow, green, cyan, blue, violet);
  background-size: 600% 600%;
  animation: rainbowBG 80s linear infinite;
  opacity: 0.1;
  z-index: -2;
  filter: blur(16px);
}

/* Floating Star Glow */
body::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff66cc80 0%, transparent 70%);
  filter: blur(55px);
  z-index: -1;
  pointer-events: none;
  bottom: 10%;
  right: 8%;
  animation: floatStar 12s ease-in-out infinite alternate;
}

/* Animations */
@keyframes rainbowBG {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes floatStar {
  0% { transform: translateY(0) rotate(0); opacity: 0.7; }
  50% { opacity: 1; }
  100% { transform: translateY(-25px) rotate(8deg); opacity: 0.6; }
}

@keyframes galaxyMotion {
  from { background-position: 0 0; }
  to { background-position: 2000px 2000px; }
}

@keyframes rainbowGlow {
  0%, 100% { text-shadow: 0 0 10px red; color: red; }
  14% { text-shadow: 0 0 10px orange; color: orange; }
  28% { text-shadow: 0 0 10px yellow; color: yellow; }
  42% { text-shadow: 0 0 10px green; color: lime; }
  57% { text-shadow: 0 0 10px cyan; color: cyan; }
  71% { text-shadow: 0 0 10px blue; color: blue; }
  85% { text-shadow: 0 0 10px violet; color: violet; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blueBG {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Container */
.container {
  width: 92%;
  max-width: 900px;
  margin: auto;
  padding: 3rem 2rem;
}

/* Header */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem 2rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 16px rgba(255, 0, 255, 0.2);
}

.logo {
  grid-column: 2;
  justify-self: center;
  font-size: 3rem;
  font-weight: 900;
  animation: rainbowGlow 5s linear infinite;
  user-select: none;
  cursor: default;
  letter-spacing: 2px;
}

.logo:hover {
  transform: scale(1.08);
  text-shadow: 0 0 20px white;
}

/* Navigation */
nav ul {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  list-style: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff33ff;
}

/* Page Content */
.page-content {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1.5s ease;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.page-content:hover {
  transform: scale(1.015);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.page-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.page-content p {
  color: #e4e4ff;
  margin-bottom: 1.6rem;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

form input[type="text"],
form input[type="email"],
form select,
form textarea {
  padding: 0.75rem 1.2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  box-shadow: 0 0 6px rgba(255, 0, 255, 0.15);
  transition: all 0.25s ease-in-out;
  resize: vertical;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  box-shadow: 0 0 12px #ff00ffb4;
  transform: scale(1.02);
}

form button[type="submit"] {
  padding: 0.75rem 2rem;
  background: linear-gradient(90deg, #1e90ff, #00bfff); /* Dodger Blue to Deep Sky Blue */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 0 15px #00bfff, 0 0 25px #1e90ff inset;
  transition: transform 0.3s, box-shadow 0.3s;
}

form button[type="submit"]:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #4682b4, #00ced1); /* Steel Blue to Dark Turquoise */
  box-shadow: 0 0 18px #87ceebaa; /* Light Blue glow */
}

/* Status Result */
.status-result p {
  padding: 1.2rem;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(10px);
}

.approved {
  background-color: rgba(0, 255, 100, 0.12);
  color: #80ffcc;
  border: 1px solid #00ff80;
  box-shadow: 0 0 8px #00ff80b7;
}

.pending {
  background-color: rgba(255, 255, 0, 0.1);
  color: #ffff99;
  border: 1px solid #ffff00b6;
  box-shadow: 0 0 8px #ffff00;
}

.rejected {
  background-color: rgba(255, 0, 0, 0.08);
  color: #ff8080;
  border: 1px solid #ff0000b6;
  box-shadow: 0 0 8px #ff0000a6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(270deg, #004080, #0066cc, #3399ff, #66ccff, #3399ff, #0066cc, #004080);
  background-size: 400% 400%;
  color: white;
  border-radius: 14px;
  box-shadow: 0 0 10px #3399ff, 0 0 25px #3399ff inset;
  cursor: pointer;
  animation: blueBG 12s linear infinite;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #00aaff, #007ea9);
  box-shadow: 0 0 18px #00f2ff88;
}

.btn:active {
  transform: scale(0.96);
  box-shadow: 0 0 12px #00bfff inset;
}

.btn:disabled {
  background-color: #333;
  color: #aaa;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-outline {
  background: transparent;
  border: 2px solid #00d4ff;
  color: #00f2ff;
  box-shadow: 0 0 10px #00d4ff55;
}

.btn-outline:hover {
  background: #00d4ff20;
  color: white;
  box-shadow: 0 0 20px #00f2ff99;
}

.btn:hover {
    background: linear-gradient(135deg, #00aaff, #007ea9);
    transform: scale(1.04);
    box-shadow: 0 0 18px #00f2ff88;
    color: white;
}

.btn:active {
    transform: scale(0.96);
    box-shadow: 0 0 12px #00bfff inset;
}

.btn:disabled {
    background-color: #333;
    color: #aaa;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Optional variant: outline button */
.btn-outline {
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00f2ff;
    box-shadow: 0 0 10px #00d4ff55;
}

.btn-outline:hover {
    background: #00d4ff20;
    color: white;
    box-shadow: 0 0 20px #00f2ff99;
}

/* --- Navbar Container & Layout --- */
.site-header {
    background: rgba(0, 255, 255, 0.12);
    padding: 1rem 3rem;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9999;
    backdrop-filter: blur(20px);
    transition: background 0.4s ease, box-shadow 0.4s ease;
    will-change: transform, box-shadow;
}

/* Sticky scroll effect - subtle background darken and shadow */
.site-header.scrolled {
    background: rgba(0, 40, 50, 0.85);
    box-shadow: 0 8px 28px rgba(0, 255, 255, 0.7);
    transform: translateY(0);
}

/* Logo */
.logo {
    font-size: 3rem;
    font-weight: 900;
    color: #00f2ff;
    text-shadow:
        0 0 12px #00f2ff,
        0 0 24px #00d4ff,
        0 0 40px #00aaff,
        0 0 60px #00aaff;
    animation: pulseGlow 3s ease-in-out infinite;
    user-select: none;
    cursor: default;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #00d4ff;
    text-shadow:
        0 0 16px #00d4ff,
        0 0 32px #00ffff,
        0 0 50px #00ffff,
        0 0 80px #00ffff;
    transform: scale(1.05);
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

nav ul li {
    position: relative;
    overflow: visible;
}

nav ul li a {
    color: #a6f0ff;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    user-select: none;
}

/* Neon underline effect on hover */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f2ff, #00d4ff, #00aaff);
    border-radius: 4px;
    transition: width 0.4s ease, left 0.4s ease;
    filter: drop-shadow(0 0 8px #00d4ff);
    transform: translateX(-50%);
    z-index: -1;
}

nav ul li a:hover::after {
    width: 100%;
    left: 50%;
}

/* Glow and color shift on hover */
nav ul li a:hover {
    color: #00f2ff;
    text-shadow:
        0 0 8px #00f2ff,
        0 0 20px #00d4ff,
        0 0 30px #00aaff;
    transform: scale(1.08);
    font-weight: 700;
}

/* Active Nav Link */
nav ul li a.active {
    color: #00ffff;
    font-weight: 700;
    text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffffaa;
}

/* Super cool neon flicker animation on nav items */
@keyframes neonFlicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        text-shadow:
            0 0 5px #00f2ff,
            0 0 10px #00d4ff,
            0 0 20px #00aaff,
            0 0 40px #00aaff;
        color: #00f2ff;
    }

    20%,
    22%,
    24%,
    55% {
        text-shadow: none;
        color: #0099cc;
    }
}

/* Applying flicker on nav links on hover */
nav ul li a:hover {
    animation: neonFlicker 1.5s infinite alternate;
}

/* Responsive hamburger menu placeholder */
@media (max-width: 768px) {
    nav ul {
        gap: 1.5rem;
        font-size: 1rem;
    }

    .site-header {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 2.2rem;
    }
}

/* Optional: Smooth scroll on page */
html {
    scroll-behavior: smooth;
}

.button-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 35vw;          /* Only take up the left half of the screen */
    margin-left: 0;       /* Align it to the left */
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 1.8rem 0;
    text-align: center;
    color: #aaa;
    background-color: rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.social-links {
  margin-top: 14px;
}

.social-links a img.social-icon {
  width: 38px;
  height: 38px;
  margin: 0 8px;
  filter: drop-shadow(0 0 10px #275368);
  transition: transform 0.35s ease, filter 0.3s ease;
}

.social-links a img.social-icon:hover {
  transform: scale(1.3);
  filter: drop-shadow(0 0 20px #275368);
}