/* Base layout */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  display: flex;
  flex: 1;
}

/* Sidebar */
.sidebar {
  width: 25%;
  background-color: #fff;
  padding: 30px 20px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.sidebar h1 {
  font-size: 24px;
  color: #008c7e;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  margin: 10px 0;
}

nav ul li a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #008c7e;
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  text-decoration: none;
  margin: 5px;
  padding: 10px;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 20px;
  color: white;
  border-radius: 50%;
}

.fa-facebook { background: #3B5998; }
.fa-twitter { background: #55ACEE; }
.fa-linkedin { background: #007bb5; }
.fa-instagram { background: #E1306C; }

.social-icons a:hover {
  opacity: 0.8;
}

/* Main content */
.main-content {
  flex: 1;
  padding: 40px;
  background-color: #fff;
}

/* Intro section */
.intro-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.intro-image img {
  max-width: 300px;
  border-radius: 8px;
  object-fit: contain;
}

.intro-right {
  flex: 1;
}

.intro-text h2 {
  font-size: 32px;
  color: #008c7e;
  margin-bottom: 20px;
}

.intro-text h3 {
  font-size: 20px;
  margin-top: 25px;
  color: #007066;
}

.intro-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #008c7e;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #007066;
}

/* Projects */
.projects-inline {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.project-card {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 280px;
  flex: 1;
}

.project-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
}

.project-card h4 {
  font-size: 18px;
  margin: 10px 0;
  color: #333;
}

.project-card p {
  font-size: 14px;
  color: #555;
}

/* Contact form */
.contact-section {
  margin-top: 60px;
  padding: 40px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #008c7e;
  color: white;
  position: relative;
}

.contact-section h2 {
  font-size: 28px;
  color: #008c7e;
  margin-bottom: 20px;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.contact-section input,
.contact-section textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
}

.contact-section input:focus,
.contact-section textarea:focus {
  border-color: #008c7e;
  outline: none;
}