* {  
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "DM Sans", Helvetica, Arial, sans-serif;
}

/*HEADER*/
.header { 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; 
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 5px 20px; 
    background: rgba(255,255,255,0.3);
}
.header.scroll {
    background: rgba(255,255,255,1);	
}
header nav{
    display: none;
}
.header .menu ul {
    display: flex;
    list-style: none;
}
.header .menu ul li {
    margin: 0 10px;
    padding: 5px 7px;
    background-color: rgba(0, 158, 73, 1);
    border-radius: 10px;
}
.header .menu ul li a{
    text-decoration: none;
    color: white;
    padding: 5px 7px;
}
.header .isologotipo img {
    height: 80px; 
}


/*BANNER*/
.banner-container{ 
    position: relative;
    width: 100%;
    height: 100vh;
}
.banner-about{ 
    position: relative;
    width: 100%;
    height: 100%;
}
.banner-container img,
.banner-about img{ 
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.banner-container img.active,
.banner-about img.active{ 
    opacity: 1;
    position: relative;
}

/*SECTION CONTENT*/
section#content{ 
    background: #F5F5F5;
    background-position: center top;
	width: 100%;
    padding-top: 5%;
    padding-bottom: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section#content aside{ 
	width: 80%;
	background: white;
	border-radius: 20px;
	font-size: 12px;
	margin-top: 5%;
	display: flex;
	flex-direction: column;
	align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*ABOUT*/
#about{
    display: flex;
    justify-content: center;
    padding: 120px 40px 60px; 
    gap: 40px; 
    flex-wrap: wrap; 
}
.about-container{
    flex: 1;
	min-height: 500px;
}
.about-container h2{
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}
.about-container p{
    font-size: 16px;
    line-height: 1.6;
}
.banner-about{
    flex: 1;
    min-width: 300px;
    position: relative;
}
.banner-about img{
    width: 100%;
    height: auto;
    display: none;
    object-fit: cover;
    border-radius: 8px; 
}
.banner-about img.active{
    display: block;
}


/*SERVICIOS*/
#servicios{
    text-align: center;
    padding: 120px 0 50px;
    background-color: rgba(0, 112, 192, 0.4);
}
.title{
    font-size: 2.5rem;
    font-weight: bold;
}
.slider{
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.slider-content{
    display: flex;
    transition: transform 0.5s ease-in-out;
    justify-content: center;
}
.grid{
    display: none; 
    padding: 20px;
}
.grid h3{
    font-size: 2rem;
    margin-bottom: 20px;
}
.slider-content ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.slider-button{
    position: absolute;
    top: 50%;
    transform: translateY(-10%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 2rem;
}
.prev{
    left: 10px;
}
.next{
    right: 10px;
}
.grid.active{
    display: block; 
    width: 90%;
}


/*PRODUCTOS*/
#productos{
    background-color: rgba(0, 158, 73, 0.4);
    padding: 120px 20px 60px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#productos h2{
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}
.btn-productos{
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    background-color: rgba(0, 112, 192, 1);
    color: white;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-productos:hover{
    background-color: rgba(0, 112, 192, 1);
    transform: translateY(-3px);
}
.btn-productos:active{
    background-color: rgba(0, 112, 192, 1);
    transform: translateY(1px);
}


/*CONTACTO*/
section#contacto{
	width: 100%;
	height: 50%;
    background: url('assets/background.jpg') no-repeat rgba(0, 112, 192, 1);
    background-position: center top;
    display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 5%;
	padding-bottom: 5%;
}
section#contacto h3{
	margin-top: 5%;
	font-size: 48px;
	font-weight: 600;
	color: #1B2C70;
	text-align: center;
}
section#contacto form{
	width: 80%;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
section#contacto input,
section#contacto select,
section#contacto textarea{
	height: 50px;
	border-radius: 10px;
	border: none;
	color: #666;
	font-size: 18px;
	margin: 0.5%;
	padding-left: 10px;
}

section#contacto form input#nombre,
section#contacto form input#empresa,
section#contacto form input#telefono,
section#contacto form input#email,
section#contacto form select#producto,
section#contacto form input#motivo,
section#contacto form textarea#mensaje
{
	width: 99%;
}
section#contacto form textarea#mensaje{
	height: 100px;
}
section#contacto form input#button{
	background: #456094;
	color: white;
	width: 50%;
}

.mensaje-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    display: none; /* Oculto por defecto */
}
.mensaje-status.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
.mensaje-status.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/*FOOTER*/
footer{ 
	background: white;
	width: 100%;
	padding: 1% 2% 0px 2%;
	display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    color: #666;
}
footer *{ 
	align-items: center;
	justify-content: center;
}
footer a{ 
	color: #666;
    text-decoration: none;
}
footer div#datos-contacto,
footer div#informar,
footer div#logo{ 
	width: 90%;
	display: flex;
	flex-direction: column;
    align-items: center;
    font-size: medium;
}
div#datos-contacto *{ 
	margin: 5px 2px;
    display: flex;
}
div#ubicacion,
div#llamar,
div#redes
{ 
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
}
div#ubicacion a{ 
	display: flex;
	flex-direction: row;
}
footer figure{ 
	margin: 0px;
}



/*MEDIA QUERYS*/
@media screen and (min-width: 767px){ 
    header nav{
        display: flex;
    }
	footer{
        flex-direction: row;
    }
    footer a:hover{
    	font-weight: bold;
    }
    footer div#datos-contacto,
    footer div#informar{
    	width: 30%;
        align-items: flex-end;
    }
    footer div#logo{
        width: 30%;
    }
    div#informar{
    	text-align: center;
    }
    div#datos-contacto{
    	justify-content: flex-start;
    }

    div#datos-contacto *{
    	margin: 5px 2px;
     	justify-content: normal;
	}
    div#ubicacion,
    div#llamar,
    div#redes
    {
    	width: 100%;
    	display: flex;
    	flex-direction: row;
    }
    div#ubicacion a{
    	display: flex;
    	flex-direction: row;
    }
    footer figure{
    	margin: 0px;
    }

}

@media (min-width: 940px){ 
    #about{
      flex-direction: column;
      padding: 120px 20px 40px;
    }
    .slider-content ul{
        margin-left: 100px;
    }
    section#contacto form input#nombre,
    section#contacto form input#empresa,
    section#contacto form input#telefono,
    section#contacto form input#email
    {
        width: 49%;
    }
}

@media screen and (min-width: 1150px){
    section#content aside{ 
        font-size: 16px;
        
        display: flex;
        flex-direction: column;
    }
    section#content aside#about{
        flex-direction: row;
    }
    section#contacto form{ 
        width: 75%;
    }
    
    section#contacto form input#button{ 
        width: 130%;
        cursor: pointer;
    }
}
