body {
  text-align: justify;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

.container2 {
  width: 100%;
  background-color: #2c3a5d;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.jumbotron01 {
  padding: 2rem 1rem;
  background-image: url(images/fondo_agua_4.webp);
  background-color: #2C3A5D;
  border-radius: 0.3rem;
}

.jumbotron2 {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-image: url(images/fondo2.jpg);
  background-color: #00bfc8;
  border-radius: 0.3rem;
}

.jumbotron21 {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-image: url(images/fondo_agua_3.webp);
  background-color: #00bfc8;
  border-radius: 0.3rem;
}

.jumbotron3 {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #00bfc8;
  border-radius: 0.3rem;
}
.jumbotron6 {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #2c3a5d;
  color: #ffffff;
}
.title-style {
  color: #2c3a5d;
  padding: 1rem;
  font-weight: bold;
  width: 65%;
  display: inline-block;
  justify-content: center;
}
.title-style p{
  font-size: 1.8em;
}

.jumbotron4 {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #00bfc8;
  color: #2c3a5d;
}
.background-style {
  background-color: rgba(
    44,
    58,
    93,
    0.91
  );
  padding: 1rem;
  border-radius: 1rem;
  width: 65%;
  display: inline-block;
  justify-content: center;
}
.jumbotron4-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
.jumbotron4-content p {
  line-height: 0.8;
}
.jumbotron5 {
  background-color: #2c3a5d;
  padding: 2rem 0;
  color: #ffffff;
}
.border-img {
  border: 6px solid #2c3a5d;
}
.border-img2 {
  border: 6px solid #2c3a5d;
  justify-content: center;
}
.desktop-only {
  display: block;
}
.responsive-header {
  display: flex;
  align-items: center;
}

.mobile-only {
  display: none;
}

@media (max-width: 767px) {
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    margin: 0 auto !important;
    overflow-x: hidden;
  }
  .background-style {
    width: 95%;
  }
  .width-image {
    width: 300px !important;
    height: 150px !important;
  }
  .responsive-header {
    display: flex;
    flex-direction: column; 
    align-items: center;  
    text-align: center; 
}

.responsive-img {
    margin: 0 0 10px 0; 
}

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }
  .desktop-only {
    display: none;
  }
  .navbar-toggler {
    display: none; 
  }

  .mobile-only {
    display: block;
  }
  .jumbotron4-content p {
    line-height: 1.3;
  }
  .phone-center{
    justify-content: center !important;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.service-title {
  font-size: 20px;
  margin: 10px 0;
}
.service-link {
  text-decoration: none;
  color: #00bcd4;
  font-weight: 500;
  transition: color 0.3s;
}
.service-link:hover {
  color: #007a8c;
  text-decoration: none;
}
.list-container {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-container li {
  background-color: #ffffff;
  margin: 10px 0;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}
.list-container li img {
  width: 40px;
  height: 40px;
  margin-right: 15px;
}
.list-container li span {
  font-size: 16px;
  font-weight: 500;
  color: #555;
}
.content {
  max-width: 800px;
  margin: 0 auto;
}
.content img {
  display: block;
  margin: 20px auto;
}
