.flex-container{
	display: flex;
	background-color: #070707;
	flex-direction: row;
}

.flex-container div{
	background-color: #070707;
	margin: 5px;
	color: #070707;
	width: 100px;
}

@media (max-width: 300px){
	.flex-container{
		flex-direction: column;
	}

	.flex-container div{
		flex-basis: 100%;
	}
}

nav {
	background-color: #333;
	color: #fff;
	padding: 10px 0;
	text-align: center;
}
		
nav ul {
	list-style: none;
	padding: 0;
}

nav ul li {
	display: inline-block;
	margin-right: 20px;
}

nav ul li a {
	text-decoration: none;
	color: #f0f0f0;
	font-weight: bold;
	transition: color 0.3s ease;
	animation: fadeIn 0.5s ease;
}

nav ul li a:hover {
	color: #8e9ca4;
}
		
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
		
body {
	background-image: url('../img/header-bg.jpg');
	background-size: 100% auto;
	background-repeat: repeat-y;
	background-position: center top;
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
}

header {
	position: relative;
	background-color: #FFFFFF;
	background-size: cover;
	text-align: center;
	padding-top: 100px ;
}

header h1 {
	font-size: 36px;
	margin-bottom: 20px;
}

#company-logo {
    display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	width: 200px;
    height: 200px;
    top: 0px;
    left: 0px;
}

section {
	margin: 20px;
	padding: 40px 0;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s ease;
}

section:hover {
	background-color: #f0f0f0;
}

h2 {
	color: #0077b6;
}

label {
	display: block;
	font-weight: bold;
	margin-top: 10px;
}

#home {
    text-align: left; /* Align text to the left */
    padding: 20px;
    background-color: #f7f7f7;
    position: relative; /* Set a relative position for the container */
}

/* Ajustes específicos para el slider de 2 imágenes */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.slider {
    display: flex;
    width: 200%; /* 100% por cada slide (2 slides) */
    transition: transform 0.5s ease;
}

.slide {
    width: 50%; /* Cada slide ocupa la mitad del contenedor */
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.prev-slide, 
.next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

.prev-slide img, 
.next-slide img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

/* Style for the subtitle */
.subtitle {
    margin-top: 10px;
    font-weight: bold;
}

/* Style for the previous and next buttons */
.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

#quote {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 45%; /* Adjust the width to your preferred size */
    float: left; /* Float the form to the left side of the container */
    margin-right: 20px; /* Add some margin to separate it from other content */
}

#quote form {
    text-align: left;
}

#quote label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

#quote input[type="text"],
#quote input[type="email"],
#quote input[type="tel"],
#quote input[type="date"],
#quote input[type="number"],
#quote input[type="time"],
#quote select,
#quote textarea {
	width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
}

#quote input[type="text"] + input[type="text"],
#quote input[type="email"] + input[type="email"],
#quote input[type="tel"] + input[type="tel"],
#quote input[type="date"] + input[type="date"],
#quote input[type="number"] + ,input[type="number"]
#quote input[type="time"] + input[type="time"],
#quote select + select,
#quote textarea + textarea {
    margin-left: 10px; /* Adjust this value to control horizontal spacing */
}

#quote textarea {
    height: 100px;
}

.two-column-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.column {
	flex: 1;
	padding: 10px;
	box-sizing: border-box;
	margin-right: 20px;
}

.column:last-child {
    margin-right: 0;
}

.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

.button-container {
	text-align: center;
	margin-top: 20px;
}

#quote input[type="submit"] {
    background-color: #0E2B89;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    cursor: pointer;
}

#quote input[type="submit"]:hover {
    background-color: #000370; /* Change to your preferred hover button color */
}

/* Media query for responsive design */
@media (max-width: 768px) {
    #quote {
        width: 100%; /* Expand to full width on smaller screens */
        float: none; /* Remove the float to center it vertically */
        margin-right: 0; /* Remove the right margin */
    }
}

#contact {
    text-align: left; /* Align text to the left */
    padding: 20px;
    background-color: #f7f7f7;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.cta-button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #0E2B89;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	transition: background-color 0.3s;
}

.cta-button:hover {
	background-color: #000370;
}

blockquote {
	background-color: #fff;
	border-left: 4px solid #ff5722;
	padding: 10px;
	margin: 20px 0;
	font-style: italic;
}

.pie-pagina{
    width: 100%;
    background-color: #000370;
}

.pie-pagina .grupo-1{
    background-color: #000370;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-1 small{
    font-size: 15px;
}
@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}

@media (max-width: 768px) {
	header {
		padding: 80px 0;
	}
}