* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f4f6f8;
  color: #333;
}

/* NAV */
header {
  background: #1e1e2f;
  padding: 15px 0;
}

nav {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h2 {
  color: #fff;
}

nav a {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
}

/* HERO */
.hero {
  height: 90vh;
  background: linear-gradient(to right, #4b6cb7, #182848);
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero span {
  color: #ffd700;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background: #ffd700;
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* SECTIONS */
section {
  padding: 60px 10%;
}

h2 {
  margin-bottom: 20px;
  text-align: center;
}

/* ABOUT */
.info {
  list-style: none;
  margin-top: 20px;
}

.info li {
  margin: 8px 0;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.skills-grid span {
  background: #e3e3e3;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
}

/* PROJECTS */
.project-card {
  background: white;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* CONTACT */
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea {
  padding: 10px;
}

button {
  padding: 10px;
  background: #1e1e2f;
  color: white;
  border: none;
  cursor: pointer;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 15px;
  background: #1e1e2f;
  color: white;
}
.hero {
  height: 90vh;
  background: linear-gradient(to right, #4b6cb7, #182848);
  color: white;

  /* ✅ CENTER ALIGNMENT */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}
/* 🔥 Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid yellow;
  opacity: 1;   /* 👈 ye add karo */
}