/* === General Body Styling === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
}

/* === Header === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background-color: rgba(0, 0, 0, 0.3);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  color: #2ef8f8;
}

.logo a {
  color: #2ef8f8;
  text-decoration: none;
}

.logo a:hover {
  color: white;
}

nav a {
  color: #ccc;
  margin-left: 24px;
  text-decoration: none;
}

nav a:hover {
  color: white;
}

.button-home {
  border: 1px solid #2ef8f8;
  color: #2ef8f8;
  padding: 8px 16px;
  border-radius: 5px;
  background: transparent;
  margin-left: 32px;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

.profile img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #2ef8f8;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.bio {
  flex: 1;
  min-width: 280px;
  color: #e0e0e0;
}

.bio h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  color: white;
  margin-bottom: 20px;
}

.bio .highlight {
  color: #2ef8f8;
}

.bio .label {
  font-size: 14px;
  letter-spacing: 2px;
  color: #888;
}

.tech-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.tech-section h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  color: #2ef8f8;
  margin-bottom: 30px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  padding: 0 20px;
}

.tech-item {
  background-color: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px 0;
  color: white;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease;
}

.tech-item:hover {
  background-color: #2ef8f8;
  color: black;
}


/* === Footer === */
footer {
  text-align: center;
  padding: 32px;
  font-size: 12px;
  color: #888;
}


/* === Particle Background === */
#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/* === Responsive Styling === */

/* Tablets and below */
@media (max-width: 992px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  nav {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo {
    font-size: 20px;
  }

  nav a {
    margin-left: 0;
    font-size: 14px;
  }

  .button-home {
    margin-left: 0;
    padding: 6px 12px;
    font-size: 14px;
  }

  .about-section {
    flex-direction: column;
    padding: 40px 5%;
    text-align: center;
  }

  .profile img {
    width: 240px;
    height: 320px;
  }

  .bio h2 {
    font-size: 28px;
  }

  .bio p {
    font-size: 15px;
  }

  .tech-section h3 {
    font-size: 20px;
  }

  .tech-grid {
    gap: 12px;
  }

  .tech-item {
    font-size: 13px;
    padding: 10px 0;
  }
}

/* Phones and smaller devices */
@media (max-width: 600px) {
  .profile img {
    width: 180px;
    height: 240px;
  }

  .bio h2 {
    font-size: 24px;
  }

  .bio p {
    font-size: 14px;
  }

  .tech-section {
    margin: 40px auto;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .tech-item {
    padding: 8px 0;
    font-size: 12px;
  }

  footer {
    padding: 24px;
    font-size: 11px;
  }
}
