body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
  overflow-x: hidden;
}

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;
}

#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/* === Main Section Styling === */
.intro-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 80px 10%;
  flex-wrap: wrap;
}

.intro-text {
  max-width: 700px;
}

.intro-text h1 {
  font-size: 40px;
  font-family: 'Orbitron', sans-serif;
  color: #2ef8f8;
  margin-bottom: 10px;
}

.intro-text p {
  font-size: 18px;
  line-height: 1.6;
}

.highlight {
  border-bottom: 2px solid #2ef8f8;
}

.digital-cv-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  border: 1px solid #2ef8f8;
  color: #2ef8f8;
  text-decoration: none;
  border-radius: 5px;
  background: transparent;
  transition: 0.3s;
}

.digital-cv-button:hover {
  background-color: #2ef8f8;
  color: #000;
}

.intro-image img {
  width: 500px;
  height: 500px;
  border-radius: 60%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #aaa;
}

/* === Responsive Styles === */

/* For tablets and below */
@media (max-width: 992px) {
  .intro-section {
    flex-direction: column;
    align-items: center;
    padding: 60px 5%;
  }

  .intro-text {
    text-align: center;
  }

  .intro-text h1 {
    font-size: 32px;
  }

  .intro-text p {
    font-size: 16px;
  }

  .intro-image img {
    width: 350px;
    height: 350px;
    margin-top: 20px;
  }

  nav a {
    margin-left: 16px;
    font-size: 14px;
  }

  .button-home {
    padding: 6px 12px;
    margin-left: 16px;
    font-size: 14px;
  }
}

/* For phones and smaller devices */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  nav {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo {
    font-size: 20px;
  }

  .intro-text h1 {
    font-size: 26px;
  }

  .intro-text p {
    font-size: 15px;
  }

  .intro-image img {
    width: 250px;
    height: 250px;
  }

  .digital-cv-button {
    padding: 8px 16px;
    font-size: 14px;
  }

  footer {
    font-size: 12px;
  }
}
