<style nonce="{{ nonce }}">
* {
  box-sizing: border-box;
}
/*  General Styles */
body {
    font-family: Open Sans;
    margin: 0;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth; 
}

.container {
    max-width: 1300px;
    margin-left: 20px;
	margin-right:20px;
    padding-top: 10px; 

}

a {
    text-decoration: none;
    color: #002366; 
    transition: color 0.3s ease; 
}

a:hover {
    color: #808080;
}

/*  Section Styles */
.section-title {
    text-align: center;
    font-family: Open Sans;
    font-size: 2em;
    margin-bottom: 20px;
    color: #002366;
}

/*  Header Styles */
.header {
    background-color: #fff;
    padding: 0px;
    position: fixed; 
    width: 100%;
    top: 0px;
    z-index: 10; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



.nav {
    text-align: center; /* Centra el menú de navegación */
}

.nav ul {
    list-style: none;
    margin: 10px 0; /* Ajusta el margen superior e inferior */
    padding: 0;
}

.nav li {
    display: inline-block; 
    margin: 0 15px; /* Ajusta el espacio entre elementos del menú */
}

/*  Hero Section  */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), image-set(url("hero.webp") type("image/webp") 1x, url("hero.jpg") type("image/jpg") 1x); /*  Reemplaza con tu imagen */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 8% 0; 
    color: white;


		 
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;

}

@media (max-width: 768px) { 
   
	.logo img {
    height: 40%; /* Ajusta el tamaño del logo aquí */
	width: 40%; /* Ajusta el tamaño del logo aquí */
    display: block; /* Para que el margen automático funcione correctamente */
    margin-top: 15px;
margin-bottom:10px;
margin-left:10px;
}
	.hero h1 {
    font-family: Open Sans, serif;
    font-size: 2.6em;
    margin-bottom: 20px;
	margin-top: 100px;

}

.hero p {
    font-size: 1em;
    line-height: 1;
    margin-bottom: 20px;
}}

@media (min-width: 769px) { 

	.logo img {
    height: 15%; /* Ajusta el tamaño del logo aquí */
	width: 15%; /* Ajusta el tamaño del logo aquí */
    display: block; /* Para que el margen automático funcione correctamente */
      margin-top: 15px;
margin-bottom:10px;
margin-left:10px;
	/* Centra el logo horizontalmente */
}
.hero h1 {
    font-family: Open Sans, serif;
    font-size: 4.8em;
    margin-bottom: 20px;

}

.hero p {
    font-size: 1.2em;
    line-height: 1;
    margin-bottom: 20px;
}}

/* Button Styles */
.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
	
}

.primary {
    background-color: #002366; 
    color: white;

}

.primary:hover {
    background-color: #00174d; 
}

/* Services Grid */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 30px;
}

.service {
    text-align: center;
    border: 1px solid #eee;
    padding: 40px; 
    border-radius: 5px;
    flex: 1 1 250px; /* Ajusta la flexibilidad de las columnas */
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra sutil por defecto */
}

.service:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada al pasar el ratón */
}

.service i {
    font-size: 3em;
    color: #002366;
    margin-bottom: 20px;
}

.service h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #002366;
}

/* About Section */
.about {
    padding: 20px 0; 
    background-color: #f8f8f8; 
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center; /* Centra el contenido de la sección About */
}

/* Contact Section */
.contact {
    padding: 0px 0px;
}

.contact-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: flex-start; 
    flex-wrap: wrap; 
    gap: 30px; 
}

.contact-info {
    text-align: left;
    flex: 1 0 20px; /* Ajusta la flexibilidad del bloque de información */
}

.contact-form-wrapper {
    flex: 1 0 200px; /* Ajusta la flexibilidad del formulario de contacto */
}

.contact-info p {
    margin-bottom: 15px;
	margin-left:5px;
	text-align:left;
}

.contact-info i {
    margin-right: 10px;
}

.contact-form {
    width: 100%; 
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding:12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}

.contact-form textarea {
    height: 120px;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 5px ;
    background-color: #333;
    color: white;
		 padding-bottom: 20px; 
}

/*  Media Queries para mejor responsive design */
@media (max-width: 768px) { 
    .service {
        flex: 1 1 100%; /* Las columnas de servicios ocupan todo el ancho */
    }

    .contact-wrapper {
        flex-direction: column; 
        align-items: center;
    }

    .contact-info,
    .contact-form-wrapper {
        width: 100%; 
    }
	
}
</style>