body {
  margin: 0;
   font-family: 'Poppins', sans-serif;  /* 👈 FIX */
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: white;
}

.logo {
  font-size: 26px;
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 10px;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
  transition: 0.3s;
}

/* Hover effect */
nav ul li a:hover {
  background: rgba(255,255,255,0.2);
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 60px;
  background: #e0f2fe;
  align-items: center;
}

.hero span {
  color: #2563eb;
}

/* PROFILE IMAGE (RECTANGLE STYLE 🔥) */
.profile-img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: 15px;
  border: 4px solid #2563eb;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.4s;
}

/* Hover animation */
.profile-img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* ABOUT */
#about {
  padding: 40px;
  background: #fef9c3;
}

.resume-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #6366f1;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

/* PROJECTS */
#projects {
  padding: 40px;
  background: #f1f5f9;
}

.project {
  padding: 20px;
  margin: 15px 0;
  border-radius: 10px;
  transition: 0.3s;
}

/* Different colors */
.project:nth-child(1) { background: #fde68a; }
.project:nth-child(2) { background: #bbf7d0; }

.project:hover {
  transform: translateY(-5px);
}

/* SOCIAL */
#social {
  padding: 40px;
  background: #e0e7ff;
  text-align: center;
}

.social-links a {
  margin: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
}

/* Colors */
.social-links a:nth-child(1) { background: #0077b5; }
.social-links a:nth-child(2) { background: #333; }
.social-links a:nth-child(3) { background: #e1306c; }
.social-links a:nth-child(4) { background: #1877f2; }
.social-links a:nth-child(5) { background: #fffc00; color: black; }

/* CONTACT */
#contact {
  padding: 40px;
  background: #dcfce7;
  text-align: center;
}

.contact-box {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.contact-box a {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.contact-box a:hover {
  transform: scale(1.05);
}

.contact-box i {
  font-size: 24px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .contact-box {
    flex-direction: column;
  }
}