/* ========== Base Styling ========== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  background: #121212;
  padding: 1em 2em;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: rgbGlow 6s linear infinite;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header nav h1 {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1.6em;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #ffffff;
}

/* ========== Hero Section ========== */
#hero {
  background: radial-gradient(circle at top left, #1a1a1a, #0d0d0d);
  padding: 4em 2em;
  text-align: center;
  color: #ffffff;
  border-bottom: 1px solid #1a1a1a;
}

#hero h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

#hero p {
  font-size: 1.2em;
  color: #cccccc;
}

/* ========== Sections ========== */
section {
  padding: 2em;
  max-width: 900px;
  margin: auto;
}

h2 {
  color: #ffffff;
  border-left: 4px solid #ffffff;
  padding-left: 10px;
  margin-bottom: 1em;
}

.project, .feedback-entry {
  background-color: #1a1a1a;
  padding: 1.5em;
  border-left: 4px solid #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5em;
  border-radius: 8px;
}

/* ========== Form ========== */
form input, form textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  background: #222;
  border: 1px solid #333;
  border-radius: 4px;
  color: white;
  font-size: 1em;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background-color: #00fff7;
  color: #0d0d0d;
  border: none;
  padding: 0.75em 1.5em;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #00cfc9;
}

/* ========== Footer ========== */
footer {
  background: #121212;
  color: #888;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  border-top: 1px solid #1a1a1a;
}

/* ========== Links ========== */
a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ========== Tech Logos Section ========== */
#tech {
  padding: 3em 2em;
  text-align: center;
}

#tech h2 {
  color: #ffffff;
  font-size: 2em;
  margin-bottom: 1em;
}

.tech-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
}

.tech-logos img {
  width: 60px;
  height: 60px;
  animation: float 4s ease-in-out infinite;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.tech-logos img:hover {
  transform: scale(1.2);
}

/* ========== Floating Animation ========== */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.download-btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  background-color: #121212;
  color: #ffffff;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1em;
  box-shadow: 0 0 15px 2px rgb(255, 0, 0);
  animation: rgbGlow 4s linear infinite;
  transition: transform 0.3s ease, background 0.3s ease;
}

.download-btn:hover {
  transform: scale(1.05);
  background-color: #1e1e1e;
}

/* ========== RGB Glow ========== */
@keyframes rgbGlow {
  0% {
    box-shadow: 0 0 15px 2px rgb(255, 0, 0);
  }
  25% {
    box-shadow: 0 0 15px 2px rgb(0, 255, 0);
  }
  50% {
    box-shadow: 0 0 15px 2px rgb(0, 0, 255);
  }
  75% {
    box-shadow: 0 0 15px 2px rgb(255, 0, 255);
  }
  100% {
    box-shadow: 0 0 15px 2px rgb(255, 0, 0);
  }
}

/* ========== Mobile Responsive Fixes ========== */
@media (max-width: 768px) {
  header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }

  header nav ul {
    flex-direction: column;
    gap: 1em;
  }

  #hero h2 {
    font-size: 1.8em;
  }

  #hero p {
    font-size: 1em;
  }

  section {
    padding: 1.2em;
  }

  .tech-logos img {
    width: 50px;
    height: 50px;
  }

  form input, form textarea, button {
    font-size: 1em;
    min-height: 44px;
  }

  button {
    width: 100%;
    padding: 1em;
  }

  .project, .feedback-entry {
    padding: 1em;
  }
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  text-align: center;
  font-size: 0.95em;
  max-width: 120px;
}
