body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  background: #60777f;
  color: #d6e5e3;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #495a60;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo img {
  width: 120px;
  height: 60px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #8db1c6;
  transition: all 0.3s ease;
}

.hamburger.open .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #74b3ce;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #9ed570;
}

header.hero-section {
  background-image: linear-gradient(#ebf4f5, #d6e5e3, #b8c6c4);
  padding: 7rem 2rem 3rem;
  min-height: 60vh;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10rem;
}

.hero-content .text {
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2e6a7b;
}

.hero-content h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #787979;
}

.hero-content p {
  color: #6395a5;
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.social-links a {
  margin-right: 1rem;
  text-decoration: none;
  color: #5d5e5e;
  font-weight: 500;
  transition: 0.3s;
}

.social-links a:hover {
  color: #d79494;
}

.hero-img {
  padding-top: 10px;
  text-align: center;
}

.hero-img img {
  max-width: 250px;
  border-radius: 50%;
  box-shadow: 0 0 20px #124559;
}

.skills-section h2 {
  text-align: center;
  color: #184653;
}

.projects-section h2 {
  text-align: center;
  color: #e7ecef;
}

.about-section h2 {
  color: #74b3ce;
}

.about-section,
.projects-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.skills-section {
  background-color: #e7ecef;
  padding: 4rem 2rem;
  box-sizing: border-box;
  width: 100%;
}

.skills-section h3 {
  color: #74b3ce;
}

.skills-container {
  max-width: 1000px;
  margin: auto;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.skill-category {
  border: 2px solid #8db1c6;
  box-shadow: 2px 2px 10px rgb(0, 0, 0);
  flex: 1 1 250px;
  background: #60777f;
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: #b8c7c5;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  border: 3px solid #9eb9b7;
  box-shadow: 2px 2px 2px 2px #000000;

}

.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border: 1px solid #184653;

}

.project-card h3 {
  margin: 0.5rem 0;
  color: #4a4b4b;
}

.project-card a {
  margin-right: 5px;
  color: #5d8e9e;
  text-decoration: none;
  font-weight: 500;
}

.project-card a:hover {
  color: #d79494;
}

.contact-section {
  background-color: #e7ecef;
  padding: 4rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
}

.contact-section h2 {
  text-align: center;
  color: #184653;
  margin-bottom: 2rem;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  border: 2px solid #d79494;
  box-shadow: 2px 2px 10px rgb(0, 0, 0);
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  background: #c1cccb;
  color: rgb(0, 0, 0);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 2px solid #0c6062;
  box-shadow: 2px 2px 10px rgb(0, 0, 0);
  padding: 0.75rem;
  background-color: #60777f;
  border: none;
  border-radius: 8px;
  color: #e7ecef;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #6590a8;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  background: #60777f;
  font-size: 0.9rem;
  color: #ccd4d7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.link-img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

blockquote {
  margin-top: 2rem;
  font-style: italic;
  color: #74b3ce;
  padding-left: 1rem;
  border-left: 3px solid #74b3ce;
}

.main-content {
  transition: transform 0.3s ease;
}

.main-content.pushed-down {
  transform: translateY(300px);
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.3s ease, opacity 0.3s ease;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #60777f;
    padding: 0 2rem;
    margin: 0;
    z-index: 999;
  }

  .nav-links.active {
    height: 300px;
    opacity: 1;
    padding: 1rem 2rem;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: left;
    gap: 3rem;
  }

  .hero-img img {
    max-width: 180px;
  }

  header.hero-section {
    padding: 6rem 2rem 3rem;
  }
}