* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #254179;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem; /* Reduced gap to save space */
    flex-wrap: nowrap; /* Prevents wrapping to new lines */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem; /* Slightly reduced font size */
    white-space: nowrap; /* Prevents text wrapping */
}

.nav-links a:hover {
    color: #93c5fd;
}

.hero {
    height: 100vh;
    background-color: #01030b;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: url("https://i.gifer.com/J4o.gif") no-repeat center center;
    background-size: cover;
}

.underlined {
    text-decoration: underline;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  white-space: normal;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #254179;
    color: white;
    width: 100%;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background: #3b82f6;
}


.pilares, .partners {
    padding: 2rem 2rem;
    text-align: center;
}

.pilares {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pilares-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px; /* opcional: bordes redondeados */
}

.logos-img {
    max-width: 15%;
    height: auto;
    border-radius: 12px;
}

.logos-img-special {
    max-width: 8%;
    height: auto;
    border-radius: 12px;
}

.pilares h2, .partners h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
    line-height: 1.2;
}

.texto-nuestros {
    color: #434343;
}

.texto-partners {
    color: #dc673c;
}

.parte-celeste {
    color: #3d85c6;
}

.los-pilares {
    text-align: left;
}

.que-nos {
    text-align: left;
    padding-left: 18%;
}

.definen {
    text-align: left;
    padding-left: 33%;
}

.button-container {
    width: 65%;
}

h2 > span {
  display: block;
}



.pilares-left {
    width: 50%;
    padding-left: 4%;
}

.pilares-diagram {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 50%;
}

.block {
    text-align: center;
    padding: 1rem;
    color: white; /* Asegura que el texto sea visible sobre fondos oscuros */
}

/* Fondo negro para el primer bloque */
.pilares-diagram .block:first-child {
    background-color: #000;
}

.titulo-partners-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
}


/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

.contacto {
    background-color: #223b73; /* azul */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    flex-wrap: wrap;
}

.contacto-info, .contacto-map, .contacto-social {
    flex: 1;
    margin: 10px;
    min-width: 250px;
}

.contacto-info h3,
.contacto-social h3 {
    margin-bottom: 10px;
}

.bold {
    font-weight: bold;
}

.social-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    background: white;
    padding: 5px;
}

.partners-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.partners-carousel {
    overflow: hidden;
    height: 100px; /* ajusta según el alto de tus filas */
    width: 100%;
    position: relative;
}

.partners-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease-in-out;
}

.partners-container {
    display: flex;
    justify-content: center;
    gap: 40px; /* espacio entre logos */
    align-items: center;
    height: 100px; /* igual al height del carousel */
}

.logos-header {
    max-width: 12%;
    height: auto;
    border-radius: 12px;
}
