* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f2f2f2;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #0f1b2d, #1f2f4a);
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  transform: translateY(10px);
}

header h1 {
  font-size: 36px;
  letter-spacing: 2px;
}

header p {
  margin-top: 10px;
  font-size: 16px;
  color: #ccc;
}

header nav {
  margin-top: 25px;
}

header nav a {
  display: inline-block;
  margin: 0 12px;
  padding: 8px 18px;
  border: 2px solid #ffffff55;
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

header nav a:hover {
  background-color: white;
  color: #0f1b2d;
  transform: scale(1.05);
}

/* GENERAL SECTION STYLE */
section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 35px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 26px;
}

/* ABOUT SECTION */
#about {
  background: linear-gradient(145deg, #ffffff, #f7f9fc);
  border-left: 6px solid #1f2f4a;
}

#about p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #444;
}

/* SKILLS SECTION */
#profile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 30px;
}

#profile h2 {
  grid-column: 1 / -1;
}

#profile p {
  background-color: #f7f9fc;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 15px;
  transition: 0.3s ease;
}

#profile p:hover {
  background-color: #e6eefc;
  transform: translateY(-4px);
}

/* PROJECT CARDS */
.project-card {
  background-color: #f4f4f4;
  padding: 20px;
  margin: 15px 0;
  border-radius: 8px;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.project-card a {
  color: #1f2f4a;
  font-weight: 600;
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
}

/* CONTACT SECTION */
#contact {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, #1f2f4a, #0f1b2d);
  color: white;
}

#contact h2 {
  margin-bottom: 20px;
}

#contact button {
  background-color: white;
  color: #1f2f4a;
  font-weight: 600;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

#contact button:hover {
  background-color: #bbc9de;
  transform: scale(1.08);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background-color: #0f1b2d;
  color: white;
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #profile {
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: 28px;
  }

  section {
    padding: 25px;
  }
}