:root {
  --white: #ffffff;
  --gray: #dfdede;
  --dark-gray: #2d2c2c;
  --orange: #f57c00;
  --black: #222;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--black);
  background-color: var(--white);
}

header {
  background-color: var(--dark-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.logo img {
  max-height: auto;
  max-width: 30%;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.3s;
  text-align: center;
  font-size: 1rem;
}

nav a:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 25px;
  height: 22px;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background-color: var(--gray);
    padding: 3rem;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 999;
  }

  nav a {
    color: var(--dark-gray);
    font-size: 1.2rem;
  }

  nav.active {
    display: flex;
  }

  #services {
    flex-direction: column;
    align-items: center;
  }

  footer .contact-info {
    align-items: center;
    padding-right: 0;
    text-align: center;
  }

  footer .link-cop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  background-color: var(--white);
}

section {
  padding: 3rem;
}

h2 {
  color: var(--orange);
  font-size: 2rem;
  margin-bottom: 1rem;
}

#services {
  display: flex;
  gap: 2rem;
  background-color: var(--white);
  box-shadow: 0px 3px 21px 0px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#services .services-wraper {
  padding-left: 2rem;
  max-width: 500px;
}

#services img {
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#services h2 {
  margin-top: 0;
}

ul {
  list-style-type: square;
  padding-left: 1.2rem;
}

#about-us {
  color: var(--black);
  background-color: var(--gray);
  box-shadow: 0px 3px 21px 0px rgba(0, 0, 0, 0.2);
}

#about-us .about-us-button {
  margin-top: 2rem;
  text-decoration: none;
  color: var(--white);
  background-color: var(--black);
}

#about-us .about-us-button:hover {
  background-color: var(--orange);
}

#projects ul li a {
  color: var(--orange);
}

#team {
  background-color: var(--white);
}

#projects {
  background-color: var(--black);
  color: var(--white);
  box-shadow: 0px 3px 21px 0px rgba(0, 0, 0, 0.2);
}

#team {
  background-color: var(--white);
}

.team {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.team-text,
.team-photo {
  display: flex;
  flex: 1;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  min-width: 280px;
}

.team-photo img {
  width: 100%;
  max-width: 350px;
  border: 6px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#team .btn-group {
  display: flex;
  margin-top: 2rem;
}

#team .btn,
#about-us .btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: color 0.5s;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-decoration: none;
  display: inline-block;
}

#team .resume-button {
  font-size: inherit;
  color: var(--white);
  background-color: var(--orange);
}

#team .resume-button:hover {
  background-color: var(--gray);
  color: var(--dark-gray);
}

@media (max-width: 438px) {
  #team .btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #team .resume-button {
    margin: 0 0 1rem 0;
  }
}

footer {
  display: flex;
  flex-direction: column;
  font-size: inherit;
  background-color: var(--dark-gray);
  text-align: center;
  padding: 2rem 3rem;
}

footer p {
  color: var(--gray);
}

footer a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

footer .contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer .link-cop {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

footer .linkedin-icon:hover {
  background-color: var(--orange);
  transition: color 0.3s;
  border-radius: 4px;
}

footer .link-cop p {
  font-size: 0.8rem;
}

footer .link-cop {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

footer .planet-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

footer .planet-message img {
  width: 150px;
  max-width: 80%;
}