* {
	box-sizing: border-box;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {

margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
vertical-align: baseline;
}

body{
	background-color:#e9e8e5;
	border:0;
	color:#000;
	font-size:14px;
	font-weight:normal;
	height:100%;
	margin:0;
	padding:0;
	position:relative;
	overflow-x:auto;
}

h1, h2, h3, h4, h5, h6, p, ul, li, a, img, input{
	border:0;
	margin:0;
	padding:0;
	text-decoration:none;
}

/**************** NAVBAR ****************/
#header-ibgroup{
	background: -webkit-linear-gradient(#939090,#DEDEDE,#FFFFFF);
	border-bottom:0px solid #a23;
	width:100%;
}

#header-content {
	width: 100%;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

a img{
	border:none;
}

header{
	position: relative;
	top:18em;
	text-align: center;
}

#header-logo {
	width: 100%;
}

#navbar_general {
	width: 100%;
}

#navbar_general.sticky-top {
	background-color:#e9e8e5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-nav {
	text-align: center;
}

.nav-link {
	background-color: rgb(243, 241, 241);
	border: 1px solid #cccbcb;
	margin: 5px;
	border-radius: 16px;
	font-size: 20px;
	font-weight: bolder;
	padding: 15px;
}

/**************** MENU  ****************/
.menu {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	place-items: center;
	width: 100%;
	gap: 10px;
}

.menu div {
	height: 9em;
}

#uno{	
	border-radius: 0%;
	-webkit-border-radius:8%;
	background-color: rgba(208, 3, 3, 0.8);
	width: 100%;
}

#dos{
	border-radius: 0%;
	-webkit-border-radius:8%;
	background-color: rgba(208, 3, 3, 0.8);
	width: 100%;
}

#tres{
	border-radius: 0%;
	-webkit-border-radius:8%;
	background-color: rgba(37, 37, 37, 0.8);
	width: 100%;
}

#cuatro{
	border-radius: 0%;
	-webkit-border-radius:8%;
	background-color: rgba(27, 54, 71, 0.8);
	width: 100%;
}

#cinco{
	border-radius: 0%;
	-webkit-border-radius:8%;
	background-color: rgba(27, 54, 71, 0.8);
	width: 100%;
}

.texto {
	color: white;
}

.icon{
	margin: 20px auto;
	background-color: rgba(255,255,255,.15);
	width: 30px;
	padding: 5px;
	border-radius: 0%;
	-webkit-border-radius: 50%;
	box-shadow: none;
	-webkit-box-shadow: 0px 0px 0px 30px rgba(255,255,255,0);
	transition: 0s;
	-webkit-transition:box-shadow .4s;
}

.col:hover img.icon{
	box-shadow: none;
	-webkit-box-shadow: 0px 0px 0px 0px rgba(255,255,255,.6);	
}


/* MENU HAMBURGUESA */
.container {
    display: block;
}

#navbar_general {
    display: none;
}

/*Cuerpo de main dentro cada vista*/
.body-1{
	width: 100%;
}

.img-serv{
	margin-top: 0em;
}

.img-serv img{
	width: 410px;
	height: 280px;
	object-fit: none;
	transform:scaleY(0.8);
}
.text-main{
	text-align: justify;
}

.seccion_servicios {
	border: 3px solid red;
}

/**************** SECCION SOBRE NOSOTROS****************/
.texto_titulo_contenido {
	text-align: center;
	color: #AA2233;
	font-size: 24px;
	font-weight: bold;
}

.texto_contenido {
	text-align: left;
	font-size: 18px;
	font-weight: bold;
	color: #1B1B2E;
}
  
/**************** SECCION SERVICIOS ****************/
.seccion_especialistas_servicios {
	display: grid;
	grid-template-columns: 1fr 1fr;
	place-items: center;
	width: 80%;
	margin: auto;
}

.div_contenido {
	width: 100%;
}

.div_imagen {
	width: 60%;
	margin: auto;
}

.imagen {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

.seccion_beneficios {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	place-items: center;
	width: 80%;
	margin: auto;
	gap: 30px;
}

.seccion_beneficios div {
	text-align: center;
	background-color: whitesmoke;
	border-radius: 8px;
	width: 100%;
	padding: 20px;
	height: 100%;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.seccion_beneficios div p {
	font-size: 16px;
	font-weight: bold;
}

.seccion_beneficios div:hover {
	background-color: #f0f0f0;
	transform: translateY(-5px);
}

/**************** SECCION SECTORES ****************/
.seccion_sectores {
	width: 80%;
	margin: auto;
}

.seccion_subcontenido {
	display: grid;
	grid-template-columns: 1fr 1fr;
	place-items: center;
	width: 100%;
	gap: 10px;
}

.seccion_subcontenido div {
	width: 100%;
	height: 100%;
}	

.seccion_area {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
    width: 100%;
    gap: 10px;
}

.seccion_area figure {
    position: relative;
    width: 100%;
}

.seccion_area img {
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
}

.seccion_area figcaption {
    position: absolute; 
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6); 
    color: white;
    text-align: center;
    padding: 10px;
	font-size: 18px;
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.seccion_area figure:hover figcaption {
    opacity: 1;
}

.text-main li{
	margin-left: 2em;
}

#main, footer{
	top: 5em;
	position: relative;
}

/*Cuerpo de main en contacto (Formulario)*/
#contactoForm {
	width: 80%;
	margin: auto;
	background-color: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.seccion_form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	place-items: center;
	width: 100%;
}

.seccion_form div {
	width: 70%;
	margin: 10px;
}

#nombre,
#apellido,
#telefono,
#email,
#mensaje {
	padding: 10px;
	outline: none;
	border: none;
	width: 100%;
	background: transparent;
	border-bottom: 2px solid rgb(134, 134, 134);
}

#submit {
	padding: 10px;
	width: 100%;
    transition: background-color 0.5s;
}

#submit:hover {
	color: white;
	background-color: black;
}

.custom-swal-popup {
    color: red;
}

.texto-verde {
	color: green;
}

/**************** SECCION FOOTER ****************/
footer{
	background: -webkit-linear-gradient(#939090,#DEDEDE,#FFFFFF);
	padding: 20px 0;
}

.text-footer{
	text-wrap: balance;
	text-align: center;
	color:#997777;
}

@media only screen and (max-width: 767px) {
	.seccion_especialistas_servicios {
		grid-template-columns: 1fr;
	}

	.seccion_beneficios {
		grid-template-columns: 1fr 1fr;
	}

	#header-logo {
		width: 100%;
	}

	#header-ibgroup {
		display: none;
	}

	.container {
        display: none;
    }

    #navbar_general {
        display: block;
    }
	
	#uno,
	#dos,
	#tres,
	#cuatro,
	#cinco {
		width: 100%;
		margin: 15px;
	}

	.seccion_beneficios div {
		padding: 15px;
	}

	.seccion_subcontenido,
	.seccion_area {
		grid-template-columns: 1fr;
	}

	#contactoForm {
		width: 80%;
	}

	.seccion_form div {
		width: 80%;
	}

}

@media only screen and (max-width: 468px) {
	.seccion_especialistas_servicios {
		width: 100%;
		padding: 10px;
	}

	.texto_contenido {
		text-align: center;
	}	

	.seccion_beneficios {
		grid-template-columns: 1fr;
	}

	#menu_general {
        display: none;
    }

	.nav-link {
		font-size: 18px;
	}

	.seccion_servicios{
		margin-top: 80px;
	}

	.texto_titulo_contenido {
		font-size: 20px;
	}

	.seccion_form {
		grid-template-columns: 1fr;
	}

	footer {
		padding: 10px 0;
	}
}
  
.carouselFondo {
	height: 400px;
	background-size: cover;
	background-position: center;
	transition: opacity 1s ease;
	margin-bottom: 100px;
}