
body{
  background-color: white;
  height: 100%;
  padding: 0;
  margin: 0%;
  height: 100vh;
   overflow-x: hidden !important;
}

/*menu la pagina
diseño del contenedor*/
header {
    white-space: nowrap;
    width: 100%; 
    position: sticky;
    position: fixed;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 0; 

}

/* botones y logo dentro del menu*/
header {
   /*Logo del header(menu)*/
   .logo-link {
    display: inline-block;
    background: none;
    border: none;
    text-decoration: none;
}

/* Evita cualquier efecto hover */
.logo-link:hover {
    background: none;
    filter: none;
}
    .logo {
        height: 100px;
        display: flex;
        align-items: center;
        position: relative; 
        left: -200px;
    }
  /* dimension del logo*/
    .logo img {
        width: 150px;
        margin-bottom: 5px;
    }
   
    /* DIseño de los botones del menu*/
    nav ul {
        margin-left: -220px;
        list-style: none;
        display: flex;
        font-family: Arial, sans-serif;
    }

    nav ul li {
        margin: 0 10px;
    }

    nav a {
        font-size: 18px;
        text-decoration: none;
        color: #424141;
        font-weight: bold;
        font-family: Arial, sans-serif;
    }

    .login {
        font-size: 15px;
        height: 100px;
        display: flex;
        align-items: center;
        position: relative; 
        left: 230px;   
    }

    .login a {
        font-size: 17px;
        text-decoration: none;
        color: #424141;
        font-family: Arial, sans-serif;
        display: flex;
        align-items: center;
    }

    .login img {
        width: 40px;
        margin-right: 5px;
    }

    a {
        display: inline-block;
        padding: 10px 20px;
        font-size: 20px;
        text-decoration: none;
        color: white;
        background-color: white;
        border-radius: 5px;
        border: 2px solid transparent; 
        cursor: pointer;
        transition: background-color 1s ease, border-color 0.3s ease;
    }

    a:hover {
        background-color: rgba(0, 156, 163, 0.7); 
        border-color: white;
        color: white;
    }
}
 
/* contenedor principal, INICIAL*/
 
.container {
    position: relative;
    background-image: url("index-inicio/images/index/background.png");
    background-position: center 30%;
    background-color: #009ca3;
    background-size: cover; 
    background-attachment: fixed; 
    background-repeat: no-repeat; 
    padding: 240px 20px;
    text-align: center; 
    color: white; 
    border: none; 
    flex-wrap: nowrap;
    height: 350px;
    justify-content: center;
    align-items: center;  
   
/*Imagen central del contenedor*/
 
    img {
        height: auto;
        position: relative;
        top: -230px; 
        left: -4px;
        width: 650px;
    }

/* titulo principal "CONECTANDO"*/

    h1 {
        position: relative;
        font-family: Arial, sans-serif;
        letter-spacing: -10px;
        color: #fff; 
        text-shadow: 0px 10px 30px rgba(0, 0, 0, 0.9);
        font-size: 150px; 
        font-weight: bold;
        font-stretch: condensed; 
        letter-spacing: 1px;
        margin-top: -140px;
        display: inline-block; 
        transform: scaleY(1.2);
    }

    /*Titulo "contratistas calificados con clientes en colombia "*/

     .p-one {
        position: relative;
        white-space: nowrap;
        letter-spacing: 1px;
        font-size: 25px; 
        margin: -80px 0; 
        font-family: Arial, sans-serif;
        font-weight: bold;
        transform: scaleY(1.2);
        font-weight: 100;
        text-shadow: 5px 10px 6px rgba(0, 0, 0, 0.9);
        top: -708px; 
        right:340px;
    }
    .p-two {
        position: relative;
        white-space: nowrap;
        letter-spacing: 1px;
        font-size: 25px; 
        margin: -70px 0; 
        font-family: Arial, sans-serif;
        font-weight: bold;
        transform: scaleY(1.2);
        font-weight: 100;
        text-shadow: 5px 10px 6px rgba(0, 0, 0, 0.9);
        top: -655px; 
        margin-left: 650px;
        left:10px;
    }
     /*Texto debajo de los botones */
   .b-suplier {
        position: relative;
        white-space: nowrap;
        letter-spacing: 1px;
        font-size: 12px; 
        margin: -80px 0; 
        font-family: Arial, sans-serif;
        transform: scaleY(1.2);
        font-weight: 100;
        top: -350px; 
        right:370px;
       text-shadow: none !important;
    }
    .b-costuner{
        position: relative;
        white-space: nowrap;
        letter-spacing: 1px;
        font-size: 12px; 
        margin: -70px 0; 
        font-family: Arial, sans-serif;
        font-weight: bold;
        transform: scaleY(1.2);
        font-weight: 100;
        top: -300px; 
        margin-left: 760px;
        left:10px;
         text-shadow: none !important;
    }



/*diseño de botones del contenedor */
    .button-container {
        justify-content: center;
        align-items: center;  
        position: relative;
        display: flex; 
        gap: 25rem; 
        width: 100%; 
        justify-content: space-evenly; 
        align-items: center;
        top: 80px;
    }

    .button-container button {
        background-color: #f7aa00; 
        color: white; 
        font-family: Arial, sans-serif;
        font-size: 16px;
        font-weight: bold;
        border: none;
        border-radius: 50px;
        padding: 15px 40px;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.2s ease;
        transition: background-color 1s ease, border-color 0.3s ease;
    }
    
    .button-container button:hover {
        transform: scale(1.01);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
        background-color: #005459;
        color: white;
        
      }
      
    .button-container button:active {
        transform: scale(0.95);
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
      }


}

/* Titulo "ENCUENTRA LO QUE NECESITAS "*/
h2{
    text-align: center;
    white-space: nowrap;
    color: #1d687a;
    font-family: Arial, sans-serif;
    letter-spacing: -5px;
    font-size: 70px; 
    font-weight: 90;
    margin: 20px;
}

/* Carrusel imagenes proyectos*/
.carrusel {
    position: relative;
    width: 100%;
    height: 400px;
    max-width: 1400px;
    margin: auto;
    overflow: hidden;
  

  .carrusel-imagenes {
    display: flex;
    transition: transform 0.3s ease-in-out;
   
  }

  .carrusel-imagen {
    flex: 0 0 33.333%; 
    position: relative; 
    overflow: hidden; 
  }

  .carrusel-imagen img {
    width: 100%;
    display: block;
    pointer-events: none;
  }

  .carrusel-imagen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(247, 170, 0, 0.5);
    z-index: 1;
    transition: background-color 0.3s ease-in-out;
    pointer-events: none;
  }

  .carrusel-imagen:hover::before {
    background-color: rgba(0, 84, 89, 0.5); 
  }

  /* .information  */
  .carrusel-imagen .information {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0; 
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
   }

  .carrusel-imagen:hover .information {
    opacity: 1;
   }


  .carrusel-imagen .information h3 {
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  }


  .carrusel-imagen .information button {
    background-color:rgba(132, 63, 146, 0.0);
    font-family: Arial, sans-serif;
    border: 3px solid white;
    color: white;
    padding: 12px 50px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
  }

  .carrusel-imagen .information button:hover {
    background-color:rgba(0, 84, 89, 0.9);
  }

  /* Botones de navegación de carrusel */
  .carrusel-botones {
    position: absolute;
    top: 45%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-45%);
    pointer-events: none;
  }

  .carrusel-botones button {
    background-color:rgba(194, 14, 230, 0);
    pointer-events: all;
    border: none;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 28px;

  }


}
.p-carrusel{
    position: relative;
    text-align: center;
   
  }

/*contenedor "ERES CONTRATISTA Y BUSCAS NUEVOS CLIENTES?"*/

.record{
  background-image: url("index-inicio/images/index/background.png");
   background-position: center 30%;
   background-size: cover; 
  background-attachment: fixed; 
  background-repeat: no-repeat; 
   display: flex;
   background-color: #009ca3;
   width: 100%;
   height: 600px;
   position: relative;
   align-items: center;
   flex-wrap: nowrap;
   justify-content: center;
   align-items: center;

   
    .image-section {
      margin-top: 200px; 
      display: block;
      transform: scale(1.2, 1.1);
      object-fit: cover;
      position: relative;
      flex: 1;
      text-align: center;
      justify-content: center;
      align-items: center;
    }
   .image-section img {
      position: absolute;
      transform: translate(-50%, -50%);
      padding: -60px;
      width: 690px;
    }
    .text-section {
        position: relative;
        overflow: hidden;
        flex: 1;
        padding: -5px;
       
    }

    .text-section h1 {
        margin-left: 15px;
        margin-top: 20px;
        white-space: nowrap;
        display: flex;
        color: white;
        letter-spacing: -1px;
        font-size: 45px; 
        font-family: Arial, sans-serif;
        transform: scaleY(1.2);
        font-weight: 100px;
        text-shadow: 5px 5px 0px  rgba(0, 84, 89, 0.9);
    }

    .text-section h2 {
        margin-top: -30px; 
        margin-bottom: -55px;
        margin-left: 5px;
        position: relative;
        font-family: Arial, sans-serif;
        letter-spacing: -1px;
        color:#f7aa00; 
        text-shadow: 10px 10px 0px rgba(0, 84, 89, 0.9);
        font-size: 100px; 
        font-weight: bold;
        font-stretch: condensed; 
        letter-spacing: 1px;
        display: inline-block; 
        transform: scaleY(1.2);
    }

    .text-section h3 {
        margin-left: 20px;
        margin-top: 30px;
        white-space: nowrap;
        display: flex;
        color: white;
        letter-spacing: -1px;
        font-size: 40px; 
        font-family: Arial, sans-serif;
        transform: scaleY(1.2);
        font-weight: 100px;
        text-shadow: 5px 5px 0px  rgba(0, 84, 89, 0.9);;
        
    }
    .paragraph{
        .text-section p {
        margin-top:-40px ;
        color: white;
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 45px;
        font-family: Arial, sans-serif;
        position: flex;
        overflow: hidden;
    }
    }
    .text-section p {
        position: absolute;
        width: 580px;
        text-align:justify;
        margin-left: 30px;
        margin-top: 30px;
        color: #005459;
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 35px;
        font-family: Arial, sans-serif;
      
    }
    .text-section button {
        margin-left: 210px;
        margin-top: 125px;
        background-color: #f7aa00; 
        color: white; 
        font-family: Arial, sans-serif;
        font-size: 16px;
        font-weight: bold;
        border: none;
        border-radius: 50px;
        padding: 15px 50px;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.2s ease;
        transition: background-color 1s ease, border-color 0.3s ease;
    }
    .text-section button:hover {
        transform: scale(1.01);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
        background-color: #005459;
        color: white;
        
      }
      
    .text-section button:active {
        transform: scale(0.95);
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
      }
      .container-record {
        position: relative;
        background-color: white;
        border-radius: 50px;
        width: 650px;
        height: 200px;
        
      }



}

.container-info{
    display: flex;
    width: 100%;
    height: 600px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    background-position: right ;
    background-size: cover; 
    background-repeat: no-repeat; 
    background-size: 65%; 
    
    .title {
        font-family: Arial, sans-serif;
        font-weight: bold;
        color:#009ca3;
        padding: 215px;
        margin-top: -260px;
        margin-left: -80px;
        font-size: 90px;
        width: 400px;
    }
      
      .default-text,
      .hover-text {
        position: absolute;
        line-height: 1;
        transition: opacity 0.3s ease;
        
      }
      .hover-text {
        opacity: 0; 
        
      }
  
      .title:hover .default-text {
        opacity: 0; 
      }
  
      .title:hover .hover-text {
        opacity: 1; 
      }

      img{
        position: relative;
        width: 600px;
      }   
}

.container-icons {
  height: 300px;
  display: flex;
  justify-content: center;
  gap: 10px;
  
  .card {
    position: relative;
    background-color:#009ca3;
    font-family: Arial, sans-serif;
    border-radius: 10px;
    width: 180px;
    height: 200px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding-top: 30px;
    top: 140px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease
    }
    .card:hover {
      transform: translateY(-10px); 
      box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); 
    }

    .card h3 {
      color: #f7aa00;
      margin-bottom: 15px;
      font-size: 15;
    }
    .card img {
      height: auto;
      margin-bottom: 15px;
    }
    .card p {
      color: white;
      font-size: 15px;
      line-height: 1.5;
      text-align: justify;
    }
    .card img{
      position: absolute; 
      top: -130px;
      left: 50%; 
      transform: translateX(-50%); 
      width: 130px;
    }
}

.footer{
  background-color: #1d687a;;
  font-family: Arial, sans-serif;
  height: 40px;
  padding: 150px 20px;
  color: white;
  justify-content: center;
  
  
  .footer-content {
    flex-direction: column;
    display: flex;
    gap: 20px;
  }
  .footer-links p {
    margin: 5px 0;
    font-size: 16px;
  }
  .footer-links a  {
    color: white;
    text-decoration: none;
  }
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  .footer-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    
    
  }
  .footer-icons img {
    width: 80px; 
    margin-top: -150px;
  }
}
