/* ======================== */
/* Global Styles and Layout */
/* ======================== */

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
  
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  margin: 0;
}

/* Container */
#container {
   max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ======================== */
/* Header Section */
/* ======================== */

header {
  background-color: #FFF; /* Ajusta el color según el fondo del logo */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #ddd;
}

header .logo img {
  height: 350px; /* Tamaño fijo */
    max-width: 400px; /* Para evitar que sea demasiado ancho */
    object-fit: contain; /* Asegura que se mantengan las proporciones */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
}

nav ul li a:hover {
  color: #007BFF;
  border-bottom: 2px solid #007BFF;
}

/* ======================== */
/* Hero Section */
/* ======================== */

#hero {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.banner-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 31, 84, 0.8);
  padding: 30px;
  border-radius: 10px;
  color: white;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-text .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.hero-text .button:hover {
  background-color: #0056b3;
}

/* About Section */
#about {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

#about h1 {
  font-size: 3rem;
  color: #001F54;
  margin-bottom: 20px;
  font-weight: 700;
}

#about p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Contenedor de estadísticas */
.stats-container {
  display: flex; /* Flexbox para disposición en fila */
  justify-content: space-around; /* Espacio uniforme entre elementos */
  align-items: stretch; /* Centrar verticalmente */
  gap: 40px; /* Espacio entre los bloques */
  flex-wrap: wrap; /* Permitir que se ajusten en pantallas pequeñas */
  margin-top: 40px;
}
/* Estilos para el botón "Read More" */
.read-more-button {
    display: flex; /* Activa Flexbox */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    padding: 10px 20px; /* Ajusta el espacio interno */
    margin-top: 10px; /* Da un margen superior */
    background-color: #003366; /* Color sugerido */
    color: #ffffff; /* Contraste adecuado */
    font-size: 14px; /* Tamaño del texto */
    text-decoration: none; /* Quita el subrayado */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor al pasar */
    border: none; /* Elimina bordes predeterminados */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Animación */
}

.read-more-button:hover {
    background-color: #005599; /* Un tono más claro al pasar el cursor */
    transform: scale(1.05); /* Pequeño efecto de agrandamiento */
}


/* Estilos para cada bloque */
.stat-item {
  flex: 1; /* Ajusta el tamaño proporcionalmente */
  max-width: 280px; /* Ancho máximo para cada bloque */
  text-align: center;
  padding: 20px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0); /* Efecto sutil de relieve */
  border: 1px solid #ddd;
  border-radius: 15px; /* Bordes redondeados */
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1), -3px -3px 8px rgba(255, 255, 255, 0.7); /* Sombra suave */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; /* Activa flexbox para el contenido interno */
  flex-direction: column; /* Alinea los elementos en columna */
  justify-content: space-between; /* Espacio uniforme entre los elementos */
  align-items: center; /* Alinea los elementos horizontalmente */
}

.stat-item:hover {
  transform: translateY(-5px); /* Efecto de elevación al pasar el ratón */
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.2), -3px -3px 12px rgba(255, 255, 255, 0.9); /* Sombra más pronunciada */
}

.stat-item h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #007BFF; /* Color azul para destacar los números */
  font-weight: bold;
}

.stat-item p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px; /* Espaciado entre párrafo y botón */
}

.stat-item a {
  margin-top: auto; /* Empuja el botón al fondo */
  display: inline-block;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  background-color: #007BFF;
  border-radius: 20px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.stat-item a:hover {
  background-color: #0056b3;
  transform: scale(1.05); /* Efecto de agrandamiento */

}
.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espaciado uniforme */
    justify-content: center; /* Centra las tarjetas horizontalmente */
    align-items: stretch; /* Asegura que tengan la misma altura */
	margin-top: 40px;
}

.feature {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 300px; /* Ancho fijo para todas las tarjetas */
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Asegura que todo el contenido esté distribuido */
  align-items: center; /* Centra los elementos internamente */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-img {
    width: 100%; /* Ocupa el ancho completo del contenedor */
    height: 150px; /* Altura fija */
    object-fit: cover; /* Ajusta sin distorsionar */
    border-radius: 5px; /* Bordes redondeados */
    margin-bottom: 20px;
}
.feature:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  background-color: #007BFF;
  color: #fff;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.feature h2 {
  font-size: 1.5rem;
  color: #001F54;
  margin-bottom: 10px;
}	
.feature h3 {
  font-size: 1.8rem;
  color: #001F54;
  margin-bottom: 15px;
}

.feature p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.feature ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left
}

.feature ul li {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.feature ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #007BFF;
  font-size: 1.2rem;
}

/* ======================== */
/* Services Section */
/* ======================== */

#services {
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 40px;
}

#services h2 {
  font-size: 2.5rem;
  color: #001F54;
  margin-bottom: 20px;
}
#services > p {
    margin-bottom: 20px; /* Espaciado adicional */
}


.flex-container {
  display: flex; /* Flexbox para organizar en una fila */
  flex-wrap: wrap; /* Evita que las tarjetas se muevan a otra fila */
  justify-content: space-between; /* Espacio uniforme entre tarjetas */
  align-items: stretch; /* Alinea verticalmente al inicio */
  gap: 20px; /* Espacio adicional entre las tarjetas */
}

.card {
  flex: 1; /* Asegura que todas las tarjetas ocupen un tamaño similar */
  max-width: 300px; /* Define un ancho máximo para evitar que crezcan demasiado */
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column; /* Asegura que el contenido interno esté alineado */
  justify-content: space-between; /* Distribuye el contenido para que sea uniforme */
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%; /* Imagen ocupa todo el ancho del contenedor */
  height: 200px; /* Tamaño fijo para mantener consistencia */
  object-fit: cover; /* Ajusta la imagen sin distorsión */
  border-bottom: 5px solid #001F54;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.5rem;
  color: #001F54;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.card .button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  }

.card .button:hover {
  background-color: #0056b3;
}

/* ======================== */
/* Footer Section */
/* ======================== */

footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 40px 10px;
  border-top: 1px solid #001F54;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 5px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.footer-links li a {
  color: #001F54;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.footer-links li a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	
	
}
/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  margin: 0;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: white;
  border-bottom: 1px solid #ddd;
}

header .logo img {
  height: 70px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  font-size: 1.2rem;
  color: #333;
  font-weight: bold;
  padding: 10px 15px;
}

nav ul li a.active {
  border-bottom: 2px solid #007BFF;
}

/* Contact Hero Section */
.contact-hero {
  text-align: center;
  padding: 5px 15px;
  background-color: #001F54;
  color: white;
  border-radius: 8px;
}

.contact-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;	
}

.contact-hero p {
  font-size: 1rem;
  margin-bottom:  10px;	
}

/* Contact Details */
.contact-details {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 15px;
}

.details-card {
  flex: 1; /* Asegura que todas las tarjetas tengan el mismo ancho */
  max-width: 300px; /* Ajusta el ancho máximo */
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.details-card:hover {
  transform: scale(1.05); /* Efecto de hover consistente */
  }

.details-card h2 {
  font-size: 1.5rem; /* Tamaño uniforme */
  font-family: 'Lora', serif; /* Uniforma la tipografía */
  font-weight: bold;
  color: #001F54;
  margin-bottom: 15px;
}

.details-card p,
.details-card address {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif; /* Uniforma la tipografía */
  color: #555;
  line-height: 1.5;
  margin: 10px 0;
}

.details-card .button {
  display: inline-block;
  margin-top: auto;
  padding: 10px 15px;
  background-color: #007BFF;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.details-card .button:hover {
  background-color: #0056b3;
}

/* Map */
.map {
  text-align: center;
  margin: 50px 0;
}

.map h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.map-container iframe {
  max-width: 100%; /* No exceder el ancho del contenedor */
  height: 300px; /* Altura fija */
  border-radius: 10px; /* Consistencia con las tarjetas */
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}
