.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
}
body {
    padding-top: 100px;
}
.header-image {
    position: relative;
    text-align: center;
    color: white;
}
.header-image img {
    width: 100%;
    height: auto;
}
.header-image .text-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 10px;
}
.text-above-line-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px; 
}
.text-above-line {
    position: relative;
    font-weight: bold;
    font-size: 25px; 
    color: #173b66; 
    background-color: #FFE599; 
    padding: 4px 250px; 
}
.white-background {
    background-color: white !important;
    color: black !important;
}
.right-aligned {
    justify-content: space-between;
}
.right-aligned .content {
    text-align: right;
}
.right-aligned img {
    margin-left: 20px;
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: -100%;
    margin-top: 0;
    margin-left: 0;
}
.contenedor {
    display: flex;
    justify-content: center;
}
footer {
    background-color: #0100A8;
    color: white;
    padding: 80px 0 0 0; 
}
.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    flex-wrap: wrap;
}
.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 0; 
    padding: 5px 0; 
}
.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 10px;
}
.footer-section ul li a {
    color: white;
    text-decoration: none;
}
.navbar {
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 5px 0;
    margin: 20px 0;
}
.contact-bar {
    width: 100%;
    background-color: #f8f9fa;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1100;
}
.contact-bar a {
    color: #000;
    margin: 0 15px;
    text-decoration: none;
}

footer {
    background-color: #0100A8;
    color: white;
    padding: 80px 0 0 0; /* Ajusta el padding inferior a 0 */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 0; 
    padding: 5px 0; 
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: #fff; /* Color del menú */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    margin: 40px 0;
}


.contact-bar a:last-child {
    margin-right: 0; /* Evita margen en el último enlace */
}

body {
    padding-top: 120px; 
}
.navbar .nav-link {
    color: #173b66 !important; /* Color de los enlaces del menú */
}
.img-container {
    margin-bottom: 30px;
}
.img-container img {
    margin-bottom: 15px;
}
.img-container p {
    font-weight: bold;
}
.footer {
    background-color: #173b66;
    color: #fff;
    padding: 30px;
}
.btn-second {
    background-color: #173b66; /* Fondo blanco */
    color: #fff; /* Color del texto */
    border: 2px solid #444444; 
    font-weight: bold; 
    transition: background-color 0.3s, color 0.3s; /* Transición suave */
}
.header-image {
    position: relative;
    text-align: center;
    color: white;
}
.header-image img {
    width: 100%;
    height: auto;
}
.header-image .text-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.blog-section {
    padding: 50px 0;
    max-width: 1900px; /* Aumenta el ancho máximo de la sección */
    margin: auto; /* Centra la sección */
}

.blog-post {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s; /* Agrega una transición para efectos */
    flex: 0 0 66.6667%; /* Ocupa dos tercios del ancho disponible */
    max-width: 66.6667%; /* Ocupa dos tercios del ancho disponible */
}

.blog-post:hover {
    transform: translateY(-5px); /* Efecto de elevación en hover */
}

.blog-post img {
    width: 100%;
    height: auto;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #515151;
}

.post-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

.post-excerpt {
    font-size: 1em;
    margin-bottom: 15px;
}

.btn-primary {
    background-color:#515151;
    color: white;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: right; 
}

.btn-primary:hover {
    background-color: #B59E00;
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}


.button-container {
    display: flex;
    justify-content: flex-end; /* Alinea el botón a la derecha */
    padding: 10px; /* Opcional: agrega espacio alrededor del contenedor */
}

.btn-primary {
    background-color: #B59E00;
    color: white;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: right; /* Este estilo es redundante en este caso, pero lo incluyo para referencia */
}

.btn-primary:hover {
    background-color: #f4c141;
}