body {
    margin: 0;
    font-family: Roboto, sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}



main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}



.header {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 2fr 6fr 1fr;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}
.logo{
    grid-column: 1;
}
.logo img {
    max-height: 50px;
}
.menu{
    grid-column: 2;
    align-items: center;
}
.menu ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.menu ul li {
    margin: 0 25px;
}
.menu ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}
.menu ul li a:hover {
    color: #006F64;
    text-decoration: underline;
}
.social {
    display: flex;    
    justify-content: flex-end;         
    align-items: center;      
    
    grid-column: 3;
}
.social img {
    max-height: 35px;
}
.iconos {
    margin-left: 20px;
    width: 40px; 
    height: auto;
}



.section1{
    width: 100%;
    height: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-image: url('/media/Media/footer.png');
}
.section1 img{
    grid-column: 1;
    width: 100%;
    height: 500px;
}
.cont1{
    grid-column: 2;
    padding-right: 40px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.cont1 h1{
    font-family: "montserrat";
    font-size: 45px;
    color: orange;
    text-align: center;
}
.cont1 p{
    font-size: 20px;
    font-family: "merriweather";
    line-height: 1.5;
    text-align: justify;
    color: white;
}


.section2{
    width: 1000px;
    min-height: 500px;
}
.section2 p{
    text-align: center;
}
.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 30px;
    margin: auto;
}
.gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 850px;
}
.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 300px;
}
.gallery img {
    width: 300px;
    height: 260px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 15px;
}
.gallery img.selected {
    border: 3px solid orange;
    transform: scale(1.1);
}
.section2 .top{
    padding-top: 50px;
    font-size: 24px;
    font-weight: bold;
    font-family: "merriweather";
}
.arrow {
    font-size: 50px;
    display: none;
    margin-top: 30px;
    margin-bottom: 20px;
    transform: scale(2,1);
    color: #006F64;
}
.dropdown-container {
    display: none;
    margin-top: 0px;
    border: 1px solid #f9f9f9;
    width: 1000px;
    text-align: center;
    background-color: #f9f9f9;
}
#dropdown0{
    height: 1200px;
}
#dropdown1{
    min-height: 1600px;
    padding-bottom: 70px;
}
#dropdown2{
    min-height: 1000px;
    padding-bottom: 70px;
}

.ingenieria, .detalle, .escaneo, .metal, .tuberias, .termo, .polyken, .lineas, .produce, .tanques, .pintado, .content, .tierra, .close, .vias, .lozas{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}
.ingenieria1, .escaneo1, .metal1, .termo1, .lin1, .tank1, .conte1, .close1, .loza1{
    grid-column: 1;
    width: 500px;
}
.metal1, .termo1, .lin1, .tube2, .poly2, .prod2, .tank1, .print2, .conte1, .terra2, .close1, .via2, .loza1{
    height: 340px;
}
.detalle2, .tube2, .poly2, .prod2, .print2, .terra2, .via2{
    width: 500px;
    grid-column: 2;
}
.ingenieria2, .escaneo2, .metal2, .termo2, .lin2, .tank2, .conte2, .close2, .loza2{
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 10px;
}
.ingenieria2 h1, .escaneo2 h1, .tube2 h1, .metal2 h1, .termo2 h1, .lin2 h1, .prod2 h1, .tank2 h1, .conte2 h1, .close2 h1, .loza2 h1{
    grid-column: 2;
    font-family: "montserrat";
    font-size: 25px;
    color: #006F64;
    text-align: center;
    margin-top: 0;
}
.ingenieria2 ul, .escaneo2 ul, .tube2 ul, .metal2 ul, .termo2 ul, .lin2 ul, .prod2 ul, .tank2 ul, .conte2 ul, .close2 ul, .loza2 ul{
    grid-column: 2;
    margin: 0;
    text-align: justify;
    font-size: 18px;
    line-height: 2;
}

.detalle, .escaneo, .tuberias, .termo, .polyken, .lineas, .produce, .tanques, .pintado, .tierra, .close, .vias, .lozas{
    padding-top: 50px;
    justify-content: center;
}
.detalle1, .tube1, .poly1, .prod1, .print1, .terra1, .via1{
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 10px;
}
.detalle1 h1, .tube1 h1, .poly1 h1, .prod1 h1, .print1 h1, .terra1 h1, .via1 h1{
    grid-column: 1;
    font-family: "montserrat";
    font-size: 25px;
    color: #006F64;
    text-align: center;
    margin: 0;
}
.detalle1 ul, .tube1 ul, .poly1 ul, .prod1 ul, .print1 ul, .terra1 ul, .via1 ul{
    grid-column: 2;
    text-align: justify;
    font-size: 18px;
    line-height: 2;
}



footer{
    background-image: url('/media/Media/footer.png');
    height: 450px;
    width: 100%;
    margin-top: auto;
}
.footerr{
    height: 380px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.pie img{
    padding-top: 30px;
    padding-left: 45px;
    width: 240px;
    height: 60px;
    grid-column: 1;
}
.pie h3{
    margin-top: 42px;
    margin-left: 45px;
    color: orange;
    grid-column: 1;
}
.pie p{
    color: white;
    margin-left: 45px;
    margin-top: 0;
    grid-column: 1;
}
.indice{
    padding: 25px;
    grid-column: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.indice a{
    color: white;
    text-decoration: none;
}
.indice a+a{
    margin-top: 15px;
}
.indice a:hover{
    text-decoration: underline;
}
.indice h3{
    color: orange;
}
.indice p{
    color: white;
    grid-column: 3;
}
.cont{
    grid-column: 3;
    padding: 25px;
    padding-left: 150px;
}
.cont h3{
    color: orange;
}
.sec1{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.img{
    width: 22px;
    height: auto;
    margin-right: 10px;
}
.sec1 p {
    color: white;
    margin: 0;
    font-size: 16px;
}
.sec2{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.sec2 p{
    color: white;
    margin: 0;
    font-size: 16px;
}
.sec2 img{
    width: 20px;
    height: auto;
    margin-right: 10px;
}
.cierre{
    text-align: center;
    color: white;
}
.cierre p{
    font-weight: bold;
    margin: 0;
}