/* Header and Navigation */
header {
  background-color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: #3a86ff;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
  text-decoration: none;
  color: #3a86ff;
  transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
  color: #8338ec;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3a86ff;
  transition: all 0.3s ease-in-out;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Main Content */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #212121;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin-bottom: 4rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #3a86ff;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
  line-height: 1.2;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 50px;
  background-color: #8338ec;
}

h3 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.profile-image {
  flex: 0 0 200px;
}

.profile-image img {
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

.about-text {
  flex: 1;
}

.project-card {
  background-color: #fff;
  border-radius: 5px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  margin: 20px;
}

.project-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  color: #8338ec;
  font-size: 1.25rem;
}

.project-links {
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  background: #3a86ff;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
  margin-right: 0.5rem;
}

.button:hover {
  background: #8338ec;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Section */

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #495057;
}

.contact-form input,
.contact-form textarea {
  width: 90%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3a86ff;
}

/* Footer */
footer {
  background-color: #212121;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}