/* Basic Setup & Reset */
:root {
  --primary-color: #ffffff;
  --secondary-color: #94a3b8;
  --accent-color: #38bdf8;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #cbd5e1;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-image: url("bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
  position: relative;
}

/* Overlay for better text readability */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 3, 20, 0.6); /* Dark overlay matching the navy theme */
  z-index: 1;
}

/* Main Container */
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  padding: 20px;
}

/* Glassmorphism Card */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Content Styling */
h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

p.subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Loader Graphic */
.loader {
  width: 60px;
  height: 60px;
  margin: 0 auto 30px;
  border: 4px solid var(--glass-border);
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Contact Info Section */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: var(--primary-color);
}

.icon {
  width: 24px;
  height: 24px;
  stroke: var(--accent-color);
}

/* Responsive */
@media (max-width: 480px) {
  .card {
    padding: 40px 20px;
  }

  h1 {
    font-size: 2rem;
  }
}
