* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
	text-decoration: none;
	scroll-behavior: smooth;
}

body {
	text-decoration: none;
	background: linear-gradient(45deg, #000000, #81a476);
}

header {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 8%;
	transition: ease .40s;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1000;
}

.logo {
	width: 100px;
}

.navbar {
	display: flex;
	list-style: none;
}

.navbar li {
	margin-left: 5px;
}

.navbar a {
	color: #FFFFFF;
	font-size: 1.1rem;
	font-weight: 500;
	padding: 10px 22px;
	border-radius: 4px;
	transition: ease .40s;
}

.navbar a:hover {
	background: #C9EDBB;
	color: #000000;
	box-shadow: 5px 10px 30px rgb(85 85 85 / 20%);
	border-radius: 4px;
}

#menu {
	display: none;
}

.menu-icono {
	width: 30px;
	margin-top: 8px;
}

.lab {
	cursor: pointer;
	display: none;
}

#btn-mas {
	display: none;
}

.social {
	position: fixed;
	z-index: 4;
	bottom: 20px;
	right: 20px;
}

.redes a, .icon-plus {
	display: block;
	text-decoration: none;
	background: #8EBC7D;
	color: #fff;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
	transition: all 500ms ease;
}

.redes a:hover {
	background-color: #fff;
	color: #8EBC7D;
}

.redes a {
	margin-bottom: -15px;
	opacity: 0;
	visibility: hidden; 
}

#btn-mas:checked ~ .redes a {
	margin-bottom: 10px;
	opacity: 1;
	visibility: visible;
}

.icon-plus {
	cursor: pointer;
	background-color: #428E25;
	font-size: 18px;
}

#btn-mas:checked ~ .btn-mas .icon-plus {
	transform: rotate(137deg);
}

.btn-open-popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #D90C43;
	display: block;
	background: #FFFFFF;
	padding: 20px 50px;
	border-radius: 50px;
}

/* Sección Hero con imagen de fondo */
.hero {
    background-image: url('../img15/hero7.jpg'); /* Reemplaza con tu imagen */
    background-size: cover;
    background-position: top;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Filtro oscuro para mejor contraste */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Estilo del texto sobre la imagen */
.hero h1, .hero p {
    color: #FFFFFF;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-family: 'Paytone One', sans-serif;
    letter-spacing: 5px;
}

.hero p {
    font-size: 1.2rem;
}

.contact {
	padding: 30px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	gap: 30px;
	width: 100%;
}

.formulario {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60%;
}

form {
	padding: 50px 55px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	border-radius: 20px;
	text-align: center;
	background-color: #fff;
	width: 100%;
}

.input-group {
	display: flex;
	text-align: left;
	flex-direction: column;
}

.formulario h2 {
	color: #163F54;
	font-family: 'Paytone One', sans-serif !important;
	font-size: 35px;
	margin-bottom: 20px;
	letter-spacing: 2px;
}

label {
	color: #163F54;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 15px;
}

input {
	padding: 17px 25px;
	border-radius: 25px;
	margin-bottom: 20px;
	background-color: #EAF8FF;
	border: 2px solid #F0F9FA;
	color: #0D3165;
	outline: none;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
}

select {
	padding: 17px 25px;
	border-radius: 25px;
	margin-bottom: 20px;
	background-color: #EAF8FF;
	border: 2px solid #F0F9FA;
	color: #0D3165;
	outline: none;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
}

.iti {
    width: 100% !important; 
    margin-bottom: 20px;
}

#phone {
    width: 100%; 
    margin-bottom: 20px;
}

textarea {
	padding: 17px 25px;
	border-radius: 25px;
	margin-bottom: 20px;
	background-color: #EAF8FF;
	border: 2px solid #F0F9FA;
	color: #0D3165;
	outline: none;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	resize: none;

}

input::placeholder, textarea::placeholder {
	color: #B5C0CA;
}

.btn {
	font-size: 16px;
	color: #FFFFFF;
	border: 0;
	border-radius: 25px;
	background-color: #1F6081;
	box-shadow: 0 0 20px rgba(183, 205, 225, 0.4);
	cursor: pointer;
	margin-top: 20px;
	width: 100%;
}

.btn:hover {
	background-color: #163F54;
}

#message {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
}

.info {
	padding: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 40%;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	border-radius: 20px;
	text-align: center;
	background-color: #fff;
	gap: 30px;

}

.info-item {
    background-color: #EAF8FF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 272px;
    display: flex;
    flex-direction: column;
	justify-content: center;
	align-items: center;
}

.info-item h3 {
    color: #163F54;
	font-family: 'Paytone One', sans-serif !important;
	font-size: 25px;
	margin-bottom: 20px;
	letter-spacing: 2px;
}

.info-item p {
    font-size: 1rem;
    color: #555;
    margin: 5px 0;
}

.info-item a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #0056b3;
}

/* Footer Styling */
footer {
    text-align: center; /* Centra todo el contenido */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Color de fondo (ajustable) */
    font-family: 'Poppins', sans-serif; /* Fuente general */
}

/* Logo */
.foot {
    width: 150px; /* Ajusta el tamaño del logo */
    margin-bottom: 15px; /* Espaciado inferior */
}

/* Social Media Icons */
.footer-icons {
    display: flex; /* Coloca los íconos en línea */
    justify-content: center; /* Centra los íconos horizontalmente */
    gap: 15px; /* Espacio entre los íconos */
    margin-bottom: 15px; /* Espaciado inferior */
}

.footer-icons a {
    display: flex; /* Para centrar el contenido dentro del círculo */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    width: 40px; /* Tamaño del círculo */
    height: 40px; /* Tamaño del círculo */
    background-color: #8EBC7D; /* Fondo verde */
    color: white; /* Color del ícono blanco */
    border-radius: 50%; /* Hace el fondo circular */
    text-decoration: none; /* Elimina el subrayado */
    font-size: 20px; /* Tamaño del ícono */
    transition: background-color 0.3s ease; /* Transición suave para hover */
}

.footer-icons a:hover {
    background-color: #fff;
	color: #8EBC7D;
}

/* Copyright Text */
.footer-copyright {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px; /* Espaciado inferior */
}

/* Privacy and Terms Links */
.footer-links {
    font-size: 14px;
    color: #fff;
}

.footer-links a {
    text-decoration: none;
    color: #E1E1E1; /* Color del enlace */
    margin: 0 5px; /* Espacio entre enlaces */
}

.footer-links a:hover {
    text-decoration: underline;
}


/* General Modal Styling */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  overflow: hidden; /* Evitar overflow del contenido general */
  align-items: center; /* Centrar el modal verticalmente */
  justify-content: center; /* Centrar el modal horizontalmente */
  text-align: justify;
  font-family: 'Poppins', sans-serif;
}

.modal h2 {
	text-align: center;
	font-family: 'Paytone One', sans-serif !important;
}

/* Modal Content */
.modal-content {
  background-color: white;
  width: 80%;
  max-width: 600px; /* Ancho máximo */
  height: 80%; /* Alto fijo */
  overflow-y: auto; /* Activar scroll solo en el contenido */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

@media screen and (max-width: 991px) {
	
	header {
		position: absolute;
	}

	.lab {
		display: initial;
	}

	.navbar {
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
        margin-top: 10px;
        backdrop-filter: blur(70px);
        -webkit-backdrop-filter: blur(70px); /* Compatibilidad con Safari */
        background-color: rgba(255, 255, 255, 0.3); /* Fallback si no soporta blur */
        display: none;
        border-radius: 5px;
        min-height: 490px;
        flex-direction: column;
        z-index: 1001;
    }

	.navbar li {
		width: 100%;
		padding: 35px 0;
		text-align: center;
	}

	.navbar a {
		color: #FFFFFF;
	}

	.navbar a:hover {
		color: #000000;
	}

	#menu:checked ~ .navbar {
		display: initial;
		z-index: 3;
	}

	.contact {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 100vh;
		gap: 30px;
		width: 100%;
	}

	.formulario {
		width: 100%;
	}

	.info {
		width: 100%;
	}

	.info-item {
	    height: 175px;
	}

}