* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  header {
    background-color: #ffffff;
    padding: 20px 0;
  }
  

  
  nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    justify-content: flex-end;
  }
  
  nav a {
    position: relative;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
  }
  
  nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
  }
  
  nav a:hover::after {
    transform: scaleX(1);
  }
  
  
  .hero {
    background: url(img/1.jpg) no-repeat center center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background-color: #004466;
    background-size: cover;
    background-attachment: fixed;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    height: 100vh;
  }

  .hero h2,p{
        animation: text 2s;
  }
  @keyframes text {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
 
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .sobre,
  .servicos,
  .projetos,
  .contato {
    padding: 60px 20px;
    background-color: white;
  }

  .instads{
    color: black;
    text-decoration: none;
    font-weight: 500;
  }

  .instads:hover{
    color: #ff8c00;
  }
  
  h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #002b45;
  }

  .servicos-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .servico-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #eef2f5;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }
  
  .servico-card i {
    font-size: 2rem;
    color: #002b45;
    flex-shrink: 0;
  }
  
  .servico-texto h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #002b45;
  }
  
  .servico-texto p {
    font-size: 0.95rem;
    color: #555;
  }
  
  
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
  }
  
  .card-item i {
    margin-right: 10px;
    color: #002b45;
  }
  

  .cards li {
    background-color: #eef2f5;
    padding: 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.459);
  }

  .cards li:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
    cursor: pointer;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .projeto-card {
    background-color: #dde7ee;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
  }

  #p1{
    background-image: url(img/1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.5s ease-in-out;
  }
  #p2{
    background-image: url(img/1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.5s ease-in-out;
  }
  #p3{
    background-image: url(img/1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s ease-in-out;
  }

  #p1:hover{
    cursor: pointer;
    transform: translateX(-10px) translateY(10px);
    scale: 1.1;
  }
  #p2:hover{
    cursor: pointer;
    transform: translateX(0px) translateY(10px);
    scale: 1.1;
  }
  #p3:hover{
    cursor: pointer;
    transform: translateX(10px) translateY(10px);
    scale: 1.1;
  }
  

  footer {
  background-color: #002b45;
  color: #fff;
  padding: 40px 20px;
  font-family: sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-ds {
  max-width: 70%;
}

.footer-ds h3 {
  font-size: 20px;
  margin-bottom: 10px;
   color: #ff8c00;
}

.footer-ds p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-social {
  margin: 10px 0;
}

.footer-social a {
  margin-right: 10px;
}

.social-icon {
  width: 24px;
  height: 24px;
}

.footer-copy {
  margin-top: 15px;
  font-size: 12px;
  color: #ccc;
}

.footer-credits {
  text-align: right;
  font-size: 13px;
  color: #ffffff;
  max-width: 30%;
}
  .eliterodape{
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
  }

  .eliterodape:hover{
    color: #ff8c00;
  }
  .contato{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .contato a{
    color: white;
    text-decoration: none;
    font-weight: 500;
  }

  .btn-cta {
    margin-top: 60rem;
    padding: 12px 24px;
    background: orange;
    color: white;
    font-size: x-large;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .btn-cta:hover {
    background: #002b45;
  }


  @media (min-width: 768px) {
    .servicos-grid {
      flex-direction: row;
      flex-wrap: wrap;
    }
  
    .servico-card {
      flex: 1 1 calc(50% - 20px);
    }
  
  }


  @media (max-width: 768px) {
    .hero {
      background-attachment: scroll;
      height: 70vh;
      padding: 60px 20px;
    }
  
    .hero h2 {
      font-size: 1.8rem;
    }
  
    .hero p {
      font-size: 1rem;
    }
      figure{
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }
    nav{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    
  }
  

