* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f5f5f5;
  color: #111;
  line-height: 1.6;
}

section {
  padding: 80px 10%;
}

h1 {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: 4px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

p {
  font-size: 1rem;
  max-width: 700px;
}

.hero {
  position: relative;
  min-height: 90vh;
  background: #f7f6f3;
  display: flex;
  align-items: center;
  padding: 0 10%;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
}

.hero h1 {
  font-size: 7rem;
  font-weight: 700;
  letter-spacing: 8px;
  line-height: 1;
}

.hero-text {
  margin-top: 30px;
}

.hero .name {
  font-size: 1.4rem;
  font-weight: 600;
}

.hero .role {
  font-size: 1rem;
  letter-spacing: 2px;
  color: #666;
  margin-top: 8px;
}


.hero-star {
  position: absolute;
  top: 60px;
  right: 80px;
  font-size: 8rem;
  font-weight: 900;
}


.intro,
.contact {
  background: #111;
  color: #f7f6f3;
}

.contact h2 {
  letter-spacing: 3px;
  align-items: center;
}

.contact p {
  margin-top: 15px;
  align-items: center;
  color: #ffffff;

}
  
.skills {
  background: #000;;
  color: #fff;
}

.skills h2,
.skills h3,
.skills p {
  color: #fff;
}

.skill {
  border-top: 1px solid #444;
  padding-top: 15px;
} 

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

.skill {
  border-top: 2px solid #111;
  padding-top: 15px;
}

.contact {
  background:  #111;
  color: #fff;
  text-align: center;
}

.contact .links {
  margin-top: 20px;
}

.contact a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover {
  text-decoration: underline;
}

.project-links {
  margin-top: 15px;
}

.project-links a {
  display: inline-block;
  margin-right: 15px;
  padding: 10px 18px;
  border: 1px solid #111;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s;
  color: #111;
}

.project-links a:hover {
  background: #111; 
  color: #fff; 
}


@media (max-width: 768px) {

  section {
    padding: 70px 8%;
  }

  h1 {
    font-size: 3.2rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p {
    font-size: 1.1rem;
    line-height: 1.8;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 100px 8%;
  }

  .hero .name {
    font-size: 1.4rem;
  }

  .hero-star {
    display: none;
  }

  .project {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 90px;
  }

  .project img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
  }

  .project-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .project-links a {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

}

.project {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 60px;
  margin-bottom: 120px;
  align-items: center;
}

.project img {
  width: 100%;
  height: 380px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project img:hover {
  transform: scale(1.03);
}

.project-info span {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeUp 0.8s ease both;
}


.skill,
.project img {
  transition: transform 0.3s ease;
}

.skill:hover,
.project img:hover {
  transform: translateY(-5px);
}

.experience {
  background: #fff;
}

.job {
  max-width: 800px;
}

.job span {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  color: #555;
}

.job ul {
  padding-left: 20px;
}

.job li {
  margin-bottom: 8px;
}

@media (max-width: 480px) {

  section {
    padding: 60px 6%;
  }

  h1 {
    font-size: 2.6rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero {
    flex-direction: column;
    padding: 90px 6%;
    align-items: flex-start; 
    text-align: left;
  }

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

  .hero .name {
    font-size: 1rem;
  }

  .hero-star {
    position: absolute;
    top: 40px;
    right: 20px;
    font-size: 3rem;
    display: block;
  }

  
  .hero .role{
    font-size: 1rem;
  }

  .project {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 80px;
  }

  .project img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 16px;
}

  .project-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .project-info h2 {
    font-size: 1.6rem;
  }

  .project-info p {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .project-links {
    display: flex;
    gap: 15px;
  }

  .project-links a {
    flex: 1;
    text-align: center;
    padding: 14px;
    font-size: 0.9rem;
  }

}
