@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #0d1b2a;
  color: #fff;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
}

header {
  background: rgba(13, 71, 161, 0.9);
  padding: 10px 0;
  position: relative;
  z-index: 2;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

nav ul li a,
nav select {
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  transition: 0.3s;
  background: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

nav ul li a:hover,
.active {
  background-color: #1976d2;
  border-radius: 5px;
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  /* z-index: 2; */
}

.hero-container {
  max-width: 720px;
}

.profile-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid #1976d2;
  box-shadow: 0 0 20px rgba(25, 118, 210, 0.5);
}

h1 {
  font-size: 2.5rem;
  color: #90caf9;
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #bbdefb;
}

.desc {
  font-size: 1rem;
  margin: 15px auto 20px;
  color: #e3f2fd;
  line-height: 1.6;
}

.motto {
  font-size: 0.95rem;
  font-style: italic;
  color: #81d4fa;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: #1565c0;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #1e88e5;
}

footer {
  background-color: #0a192f;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 2;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  nav ul {
    flex-direction: column;
  }
}

/* ABOUT */

.about-section {
  padding: 60px 20px 100px;
  position: relative;
  /* z-index: 2; */
  max-width: 800px;
  margin: auto;
  text-align: left;
}

.about-section h1,
.about-section h2 {
  color: #90caf9;
  margin-bottom: 15px;
}

.about-section p {
  color: #e3f2fd;
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.7;
}

.skills {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills li {
  background: #1976d2;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* CONTACT */
.contact-section {
  padding: 60px 20px 100px;
  position: relative;
  /* z-index: 2; */
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.contact-section h1 {
  color: #90caf9;
  margin-bottom: 15px;
}

.contact-section p {
  color: #e3f2fd;
  margin-bottom: 25px;
  font-size: 1rem;
}

.contact-info {
  margin-top: 20px;
  font-size: 0.95rem;
}

.contact-info a {
  color: #81d4fa;
  text-decoration: underline;
}
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-icons a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #bbdefb;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-icons a:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.contact-icons span {
  margin-top: 8px;
  font-weight: 500;
}

/* PROJECTS */
.projects-section {
  padding: 60px 20px 100px;
  position: relative;
  /* z-index: 2; */
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.projects-section h1 {
  color: #90caf9;
  margin-bottom: 15px;
}

.projects-section p {
  color: #e3f2fd;
  margin-bottom: 35px;
  font-size: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  color: #fff;
  border: 1px solid #1976d2;
  transition: transform 0.3s ease;
}

.project-card h3 {
  color: #bbdefb;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  color: #e3f2fd;
  margin-bottom: 10px;
}

.project-card .tech {
  font-size: 0.8rem;
  color: #90caf9;
  font-style: italic;
}

.project-card:hover {
  transform: translateY(-5px);
}

/* HAMBURGER ICON */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  z-index: 1000;
  position: absolute;
  top: 15px;
  right: 20px;
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 60px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: #0d1b2a;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 999;
  }

  nav ul.open {
    left: 0;
  }

  nav ul li {
    margin: 10px 0;
  }
}
