/* Base Reset */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0b1c2d;
  color: #ffffff;
}

/* Header/Profile */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #0b1c2d;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 3px solid #1da1f2;
}

.name-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  gap: 0.5rem;
}

@media (min-width: 769px) {
  .name-container {
    font-size: 2.5rem;
    gap: 1rem;
  }
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #1da1f2;
}

/* Hamburger (mobile) */
.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  display: none;
  color: #ffffff;
}

/* About Me */
#about {
  text-align: left;
  padding: 4rem 2rem;
  scroll-margin-top: 6rem;
}

#about h2,
#about h3,
#about ul {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

#about h2 {
  margin-top: 0;
}

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background-color: #0b1c2d;
}

.highlight {
  color: #1da1f2;
  font-weight: bold;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #1da1f2;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* Projects */
#projects {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #112b45;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #183a58;
  padding: 1.5rem;
  border: 1px solid #29557b;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.project-card a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.project-card a:hover {
  color: #1da1f2;
}

/* Footer & Socials */
footer {
  background-color: #0b1c2d;
  padding: 3rem 2rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #ffffff;
  position: relative;
  z-index: 10;
}

.social-icons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: fadeUp 1s ease-out forwards;
}

.social-icons a {
  font-size: 2.2rem;
  color: #ffffff;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #1da1f2;
}

/* Keyframe */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Hero Tweaks */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem;
  }
  .hero h2 {
    font-size: 1.5rem;
  }
  .hero h3 {
    font-size: 1.2rem;
  }
  .cta {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  /* shift About Me list left and add right gap */
  #about ul {
    margin: 0 2rem 1.5rem 0;
    padding-left: 0;
  }
}

/* Tiny Phone Projects */
@media (max-width: 480px) {
  #projects {
    padding: 2rem 1rem;
  }
  .project-card {
    padding: 1rem;
  }
  .project-card h3 {
    font-size: 1.2rem;
  }
  .project-card p {
    font-size: 0.9rem;
  }
  .social-icons {
    flex-direction: row;
    gap: 1rem;
  }

  /* maintain right gap on very small screens */
  #about ul {
    margin: 0 1.5rem 1.5rem 0;
    padding-left: 0;
  }
}

/* Mobile Nav */
@media (max-width: 768px) {
  header.top-bar {
    flex-direction: row;
    align-items: center;
    padding: 1rem 1.5rem;
  }
  .profile-nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .menu-toggle {
    display: block;
    position: absolute;
    top: calc(50% + 0.5rem);
    right: 1rem;
    transform: translateY(-50%);
    z-index: 1000;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    background-color: #0b1c2d;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    gap: 0.75rem;
    z-index: 999;
  }
  .nav-links.show {
    display: flex;
  }
  .profile {
    gap: 0.5rem;
  }
  .profile-img {
    width: 50px;
    height: 50px;
  }
  .name-container {
    font-size: 1.2rem;
    gap: 0.4rem;
  }
}

/* Desktop-Only Nav (≥769px) */
@media (min-width: 769px) {
  .nav-links {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    display: flex;
    gap: 3rem;
  }
  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 1.8rem;
  text-decoration: none;
  z-index: 10000;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

/* Hide on super-small screens (optional) */
@media (max-width: 320px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 15px;
    right: 15px;
  }
}
```