@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fdf6e3;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Header Styling  */
header,
footer {
  background-color: #5f2c2c;
  color: #fff;
  text-align: center;
}
header {
  padding: 2rem 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
footer {
  padding: 1rem 0;
  margin-top: 2rem;
}

/* Section Styling */
section {
  padding: 2.5rem;
  background-color: #fef3e2;
  color: #4e342e;
  margin: 1.5rem auto;
  max-width: 1100px;
  border: 1px solid #d6ccc2;
  border-radius: 10px;
  box-shadow: 12px 6px 12px rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
section:hover {
  box-shadow:
    0 12px 32px rgba(129, 88, 84, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px) scale(1.0125);
  z-index: 2;
}
@media (hover: none) {
  section:hover {
    box-shadow: 0 6px 12px rgba(129, 88, 84, 0.1);
    transform: none;
  }
}

/* Heading Styling  */
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
h2 {
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 1.15rem;
  color: #4e342e;
  border-bottom: 2.5px solid #d4a373;
  display: inline-block;
  padding-bottom: 6px;
  line-height: 1.18;
  letter-spacing: 0.5px;
}
h3 {
  margin-top: 1.5rem;
  color: #6d4c41;
}

/* Links Styling  */
a {
  color: #4a2b23;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
a:hover {
  color: #2f2f2f;
  text-decoration: underline;
}

/* Lists Styling  */
ul {
  padding-left: 1.2rem;
}
ul li {
  margin-bottom: 0.5rem;
}

/* Profile Picture Styling */
.profile-pic {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #815854;
  box-shadow: 0 4px 12px rgba(90, 64, 51, 0.18);
  margin: 10px auto 12px;
  display: block;
}

/* Buttons Styling  */
.view-btn,
.resume-btn,
.contact-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border: none;
}

.view-btn {
  font-size: 0.9rem;
  padding: 5px 10px;
  background-color: #815854;
  color: #fff;
  border-radius: 16px;
  margin-left: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}
.view-btn:hover {
  background-color: #623f3b;
  transform: translateY(-1px);
}

.resume-btn {
  margin-top: 14px;
  padding: 8px 18px;
  background: #d4a373;
  color: #fff;
  border-radius: 20px;
  font-size: 0.98rem;
  box-shadow: 0 2px 6px rgba(129, 88, 84, 0.11);
  transition:
    background 0.25s,
    box-shadow 0.23s;
}
.resume-btn:hover,
.resume-btn:focus {
  background: #815854;
  box-shadow: 0 4px 12px rgba(90, 64, 51, 0.15);
  color: #fff;
  outline: 2px solid #d4a373;
  outline-offset: 2px;
}

.contact-btn {
  margin: 8px 8px 0 0;
  padding: 5px 14px;
  font-size: 0.95rem;
  background: #815854;
  color: #fff;
  border-radius: 15px;
  transition:
    background 0.18s,
    box-shadow 0.16s;
}
.contact-btn:hover,
.contact-btn:focus {
  background: #d4a373;
  color: #362a21;
}

/* Skills Styling  */
.skills-list {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-pill {
  display: inline-block;
  background: #f6e9e0;
  color: #4a2b23;
  padding: 6px 14px;
  font-size: 1rem;
  border-radius: 18px;
  font-weight: 500;
  border: 1px solid #d8bba2;
  box-shadow: 0 2px 6px rgba(129, 88, 84, 0.1);
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}
.skill-pill:hover {
  background: #815854;
  color: #fff;
  border-color: #815854;
}

/* Projects Section Styling */
.project {
  margin-bottom: 2rem;
  padding-left: 0.5rem;
  transition:
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Contact Styling */
#contact a {
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Adding Responsiveness */
@media (max-width: 768px) {
  header,
  section {
    padding: 1.2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    margin: 1rem;
  }
}
