html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  background-color: #001f3f;
  overflow: hidden;
}

/* Background image */
/* Background image (fixed) */
.bg {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background-image: url('images/background.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  animation: fadeIn 3s ease-in-out;
}

/* Dark blue overlay with blur
   Put overlay above bg (z-index:1) but below content (z-index:2) */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,15,40,0.9), rgba(0,15,40,0.7)); /* darker at top */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* Safari */
  z-index: 1;
}

/* Dark blur overlay */
.bg-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 31, 63, 0.6);
  backdrop-filter: blur(5px);
  z-index: -1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Header */
header {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  z-index: 1;
}
header img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}
header h2 {
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Main content */
.content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: 1;
}

h1 {
  font-size: 4.5rem;
  margin: 0.5em 0;
  font-weight: 700;
  animation: slideInDown 1.5s ease-out;
}

.highlight {
  color: #FFDA29;
  font-weight: 700;
}

@keyframes slideInDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

p {
  font-size: 1.8rem;
  margin: 0.5em 0;
  font-weight: 400;
  animation: slideInUp 1.5s ease-out;
}

.lower-body {
  margin-top: 40px;
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 80%;
  z-index: 1;
  animation: slideInUp 2s ease-out;
}

/* Typing effect */
#typing-text {
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}


@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #FFDA29; }
}

/* Footer */
.footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  opacity: 0.7;
  z-index: 1;
  animation: fadeIn 2.5s ease-in;
}

/* Follow link */
#follow-link {
  color: #FFDA29;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
#follow-link:hover {
  color: #ffffff;
}

/* Responsive text sizes */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  p { font-size: 1.4rem; }
  .lower-body { font-size: 1.2rem; }
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; line-height: 1.3; }
  p { font-size: 1rem; }
  .lower-body { font-size: 0.95rem; }
}