body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #f0f0f0;
  color: #333;
}

header {
  background: #1a1a1d;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.profile-image {
  width: 50px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  border-radius: 50%;
  margin-right: 10px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-left: 10px; /* Adjust as needed */
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, transform 0.3s;
}

header nav ul li a:hover {
  color: #ffcc29;
  transform: scale(1.1);
}

.section {
  padding: 80px;
  text-align: center;
}

.intro {
  background: linear-gradient(135deg, #0abfbc, #29a3a3);  /* Teal gradient */
  color: #fff;
  padding: 165px 20px;
  border-radius: 10px;
  margin: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  animation: fadeIn 2s ease-in-out;
}

.intro h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: slideInFromLeft 1.5s ease-in-out;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.intro p {
    font-size: 18px;
    margin-bottom: 20px;
    animation: slideInFromRight 1.5s ease-in-out;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(50%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #0abfbc;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: scale(1.1) rotate(-3deg);
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: calc(33.333% - 40px);
  box-sizing: border-box;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-card img {
    max-width: 100%;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.project-card h3 {
  margin-top: 10px;
  font-size: 20px;
  color: #0abfbc;
}

.project-card p {
  font-size: 16px;
  margin: 10px 0;
}

.project-link {
  display: inline-block;
  margin-top: 10px;
  color: #0abfbc;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s;
}

.project-link:hover {
  transform: scale(1.1) rotate(-3deg);
}

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

ul li {
  font-size: 18px;
  margin: 10px 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0abfbc;
}

.contact-form button {
  padding: 15px 30px;
  background: #0abfbc;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #29a3a3;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 5px;
  background-color: #1a1a1d;
  color: white;
  text-align: center;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav ul {
    flex-direction: column;
    width: 100%;
  }

  header nav ul li {
    margin: 10px 0;
  }

  .intro h1 {
    font-size: 36px;
  }

  .projects-grid {
      flex-direction: column;
      align-items: center;
  }

  .project-card {
      width: 100%;
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* takes all available space between header and footer */
}

.intro {
  min-height: 60vh; /* 60% of the screen height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#projects h1 {
  font-size: 48px; /* Increase from default */
}

#projects p {
  font-size: 22px; /* Increase paragraph size */
} 

.project-card {
  background: #fff;
  padding: 30px; /* Increased padding */
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  width: calc(40% - 40px); /* Make each card wider */
  box-sizing: border-box;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card img {
  height: 100px; /* Larger image */
}

@media (max-width: 768px) {
  .project-card {
    width: 90%; /* Full-width on smaller screens */
  }

  #projects h1 {
    font-size: 36px;
  }

  #projects p {
    font-size: 18px;
  }
}