@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0b0b0b;
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.hero {
  padding: 120px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.hero h1 {
  font-size: 64px;
  font-weight: 700;
}

.hero span {
  color: #5aff9e;
}

.hero p {
  margin-top: 10px;
  opacity: 0.7;
}

.profile-photo {
  margin-top: 40px;
}

.profile-photo {
  margin-top: 40px;
  display: flex;
  justify-content: center;

  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.9s ease;
}


.profile-photo.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.profile-photo img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #1f1f1f;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
}


.profile-photo img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

section {
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.about p {
  max-width: 600px;
  opacity: 0.85;
}

.projects {
  display: grid;
  gap: 30px;
}

.card {
  border: 1px solid #1f1f1f;
  padding: 30px;
  border-radius: 10px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  opacity: 0.7;
}

.contact ul {
  list-style: none;
}

.contact li {
  margin-bottom: 12px;
}

.contact a {
  color: #5aff9e;
  text-decoration: none;
}

footer {
  padding: 40px 10%;
  opacity: 0.4;
}

.social {
  padding: 80px 10%;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.social-links a {
  border: 1px solid #222;
  padding: 12px 24px;
  border-radius: 30px;
  color: #eaeaea;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #5aff9e;
  color: #0b0b0b;
  border-color: #5aff9e;
}

@media (max-width: 768px) {

  .hero {
    padding: 100px 6%;
    text-align: center;
  }

  .hero h1 {
    font-size: 42px;
  }

  .tagline {
    font-size: 16px;
  }

  .profile-photo {
    margin-top: 250px;
    display: flex;
    justify-content: center;
  }

  .profile-photo img {
    width: 110px;
    height: 110px;
  }
}
