* {
    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: 130vh;
    display: flex;
    color: white;
    flex-direction: row;
    align-items: center;
    padding-top: 8%;
}

.heroTitle {
    height: 85vh;
    display: flex;
    color: white;
    flex-direction: column;
    align-items: center;
    padding-top: 20%;
}


.servicios-column {
    width: 50%;
    padding: 2rem;
}

.underlined {
    text-decoration: underline;
}


.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #254179;
    color: white;
    width: 100%;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background: #3b82f6;
}


.logos-img {
    max-width: 100%;
    width: 100%;
    height: 45vh;
    margin-bottom: 2%;
}

.texto-nuestros {
    color: #434343;
}

.texto-partners {
    color: #dc673c;
}

.parte-celeste {
    color: #3d85c6;
}

.que-nos {
    text-align: left;
    padding-left: 18%;
}

.definen {
    text-align: left;
    padding-left: 33%;
}

.button-container {
    width: 100%;
    text-align: center;
    margin-bottom: 5%;
}

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;
}

.main-title {
    color: #857d3c;
    font-family: 'Helvetica Neue', Arial;
    font-weight: 700;
    font-size: 34.0pt;
    text-align: center;
}

.hero-text {
    margin-bottom: 5%;
}

.hero-sub {
    color: #999999;
    font-family: 'Helvetica Neue', Arial;
    font-weight: 400;
    text-align: center;
    width: 80%;
}

.blog-card {
  width: 350px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  font-family: 'Segoe UI', sans-serif;
    margin-left: 5%;
    margin-bottom: 5%;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.blog-card a {
  color: inherit;
  text-decoration: none;
}

.blog-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.blog-content {
  padding: 15px;
}

.blog-content h3 {
  font-size: 16px;
  color: #1a237e;
  margin: 0 0 6px;
}

.blog-content p {
  font-size: 14px;
  color: #444;
  margin: 4px 0;
}

.blog-snippet {
  color: #555;
  font-size: 13px;
}
