html,
body {
    overflow-x: hidden;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/*BOTONES COTIZACION*/

.btn {
    display: inline-block;
    font-size: 20px;
    padding: 10px;
    height: 57px;
    width: auto;
    max-width: 425px;
    border: 1px solid white;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    text-align: center;
    line-height: 37px;
}

@media (max-width: 360px) {
    .btn {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

@media (min-width: 361px) and (max-width: 480px) {
    .btn {
        font-size: 1.05rem;
        padding: 9px 18px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .btn {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .btn {
        font-size: 1.2rem;
        padding: 10px 22px;
    }
}

@media (min-width: 1025px) {
    .btn {
        font-size: 1.25rem;
        padding: 10px 24px;
    }
}

/*LEADING INDUSTRIES*/

.industries_s {
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
}

.industries_s h1 {
    font-size: 14px;
    color: white;
}

.industries_s h2 {
    font-size: 52px;
    font-weight: bold;
    color: white;
    margin-bottom: 40px;
}

.industry-grid_s {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    max-width: 1100px;
    margin-left: 310px;
    padding: 20px;
}

.industry-card_s {
    background-color: transparent;
    height: 268px;
    width: 228px;
    padding: 30px;
    border-radius: 12px;
    font-size: 1.1em;
    text-align: left;
    color: white;
    border: 2px solid white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.industry-card_s h3 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.industry-card_s p {
    font-size: 13px;
    line-height: 1.4;
    color: white;
    text-align: left;
}

.industry-card_s img {
    width: 70px;
    height: 70px;
    display: block;
    margin-top: 15px;
    margin-right: 100px;
    transition: filter 0.3s ease-in-out;
}

.industry-card_s:hover img {
    filter: none;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1280px) {
    .industry-grid_s {
        grid-template-columns: repeat(4, 1fr);
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .industries_s h2 {
        font-size: 42px;
    }

    .industry-grid_s {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .industry-card_s {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .industry-card_s img {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .industries_s h2 {
        font-size: 32px;
    }

    .industry-grid_s {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-card_s {
        padding: 15px;
    }

    .industry-card_s h3 {
        font-size: 1.1em;
    }

    .industry-card_s p {
        font-size: 12px;
    }

    .industry-card_s img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .industries_s h2 {
        font-size: 24px;
    }

    .industry-grid_s {
        grid-template-columns: 1fr;
    }

    .industry-card_s {
        align-items: flex-start;
        text-align: left;
    }

    .industry-card_s img {
        align-self: flex-end;
    }
}

/*Header*/

.template-header {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: flex-end !important;
    justify-content: flex-start;
    overflow: hidden;
}


.template-header .overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.template-header-content {
    position: relative;
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    text-align: left;
    padding-left: 5%;
    width: 100%;
    padding-bottom: 50px;
}

.template-header-content h1 {
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 1.1;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.template-header-content h1.visible {
    opacity: 1;
    transform: translateX(0);
}


@media (max-width: 992px) {

    .template-header {
        height: 400px;
        width: 100%;
    }

    .template-header-content h1 {
        font-size: 40px;
        margin: 20px;
    }
}

@media (max-width: 768px) {

    .template-header {
        height: 400px;
    }

    .template-header-content h1 {
        font-size: 28px;
    }


}

@media (max-width: 480px) {


    .template-header-content h1 {
        font-size: 22px;
    }
}

@media (max-width: 1024px) {


    .template-header-content h1 {
        font-size: 40px;
    }

  
}

@media (max-width: 480px) {
    .template-header-content h1 {
        font-size: 28px;
    }
}



@media (max-width: 1024px) {

  .industry-article-block {
    flex-direction: column;
  }

  .industry-article-block-img,
  .industry-article-block-text {
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {

  .industry-article-block-text h4 {
    font-size: 28px;
  }

  .industry-article-block-text p {
    font-size: 16px;
  }

  #mapContainer {
    margin: 0;
    padding: 0 10px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {

  .industry-article2-header {
    height: 400px;
  }

  .industry-article2-header-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .industry-article-content h2 {
    font-size: 20px;
  }

  .industry-article-content p {
    font-size: 14px;
  }

  .industry-article-content blockquote {
    font-size: 16px;
  }

  .industry-article-block-text h4 {
    font-size: 20px;
  }

  .industry-article-block-text p {
    font-size: 14px;
  }
}