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

body {
  font-family: 'Poppins', sans-serif;
  background: #0f0f0f;
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Hero Section */
header.hero {
  background: #111;
  box-shadow: 0 0 10px #00f0ff;
  padding: 3rem 1rem;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.hero-text {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.hero-text h1 {
  font-size: 3rem;
}

.hero-text p {
  font-size: 1.1rem;
}

.hero-content img.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px #00f0ff;
  flex-shrink: 0;
}

/* Cards */
.card {
  margin: 2rem auto;
  padding: 2rem;
  max-width: 850px;
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Tags */
.tags span {
  background-color: #00f0ff;
  color: #000;
  padding: 0.4rem 0.8rem;
  margin: 0.3rem;
  display: inline-block;
  border-radius: 20px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.tags span:hover {
  transform: scale(1.3);
  box-shadow: 0 0 15px #00f0ff, 0 0 30px #00f0ff;
  background-color: #1a1a1a;
  color: #00f0ff;
  border: 1px solid #00f0ff;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.project-card {
  background: #222;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #00f0ff20;
  transition: transform 0.3s ease, background 0.3s ease;
}
.project-card:hover {
  background: #2a2a2a;
  transform: translateY(-5px);
}
.project-card h3 {
  margin-bottom: 0.5rem;
  color: #00f0ff;
}
.project-card p {
  margin-bottom: 0.5rem;
  color: #ccc;
}
.project-card a {
  color: #00ffd5;
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
footer.contact {
  background-color: #101010;
  text-align: center;
  padding: 2rem;
}

/* Socials Bar */
.socials-bar {
  position: fixed;
  top: 40%;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}
.socials-bar .label {
  background: #00f0ff;
  padding: 0.5rem 1rem;
  color: #000;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  font-weight: bold;
}
.socials-bar .icons {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  flex-direction: column;
  background: #111;
  padding: 1rem;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.socials-bar:hover .icons {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* Fade-in Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    margin-top: 1rem;
  }

  .hero-content img.profile-pic {
    margin-bottom: 1rem;
  }
}
