html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/*submenu proyectos*/
.submenu-plantillas {
  background-color: #f5f5f5;
  padding:100px 20px 20px 20px;
  font-size: 0.95rem;
  text-align: center;
  border-bottom: 2px solid #ddd;
}

.submenu-plantillas .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.submenu-plantillas a {
  color: #0077b6;
  text-decoration: none;
  font-weight: 500;
  padding-right: 10px;
  padding-left: 10px;

}

.submenu-plantillas a:hover {
  text-decoration: underline;
}

/*page header*/

.page-header-servicios{
    width:100%;
    height: auto;
    background: url("img/stacked-peaks-haikei.svg") no-repeat center center;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 40px;
}
.page-header-servicios h1{
    color: #fff;
    text-align: center;
    font-size: 2rem;
}

/*seccion proyecto*/

.proyecto-img{
    width:95%;
    padding: 0;
    margin: 0 auto;
    display: block;
    border-radius: 5px;
    padding-bottom: 20px;
    padding-top: 10px;
}
.visitar{
    background-color: #00c4ff;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  display: block;
}
.visitar:hover{
    background-color: #009ac2;
}
.visitar a{
    text-decoration: none;
    color: #fffefe;
    text-transform: uppercase;
}
.proyecto-container {
      max-width: 1200px;
      margin: auto;
      padding: 2rem;
      font-family: 'Helvetica Neue', sans-serif;
      line-height: 1.6;
    }
    .proyecto-container p{
        padding-left: 20px;
        padding-right: 20px;
        text-indent: 30px;
    }

    .proyecto-container h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
      color: #27559f;
      text-align: center;
    }

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

    .bloque {
      background: #f9f9f9;
      border-radius: 8px;
      padding: 1.5rem;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .bloque h3 {
      display: flex;
      align-items: center;
      font-size: 1.2rem;
      margin-bottom: 1rem;
      color: #333333;
    }

    .bloque h3 svg {
      width: 20px;
      height: 20px;
      margin-right: 0.5rem;
      stroke: #0d6efd;
    }
    .section-subtitle{
        color:#0d6efd;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .bloque ul {
      padding-left: 1.2rem;
    }

    .bloque ul li {
      margin-bottom: 0.5rem;
    }

    @media (max-width: 600px) {
      .proyecto-container {
        padding: 1rem;
      }
    }

    /*Seccion Galeria de Proyectos*/
.projects-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.projects-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.project-card {
  text-align: left;
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.project-card h3 {
  font-size: 1.4rem;
  margin: 15px;
  color: #222;
}

.project-card p {
  font-size: 1rem;
  color: #555;
  margin: 0 15px 20px;
  line-height: 1.5;
}

.project-card a {
  display: inline-block;
  margin: 0 15px 20px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-card a:hover {
  text-decoration: underline;
}

