.typed-wrapper::after {
    visibility: hidden;
    display: inline-block;
    height: 0;
    overflow: hidden;
}

.icon-card {
    width: 2.5rem;            
    height: 2.5rem;           
    margin-bottom: 1rem;      
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: invert(49%) sepia(66%) saturate(612%) hue-rotate(132deg) brightness(94%) contrast(88%);
}

.icon-left {
    width: 2.5rem; 
    height: 2.5rem;
    margin-bottom: 0.5rem; /* Espacio inferior del ícono respecto al texto */
    margin-right: 1rem;
    display: inline-block;
    filter: invert(49%) sepia(66%) saturate(612%) hue-rotate(132deg) brightness(94%) contrast(88%);
    vertical-align: middle;
}
.icon-inline {
    width: 2rem; /* Más pequeño: 20px */
    height: 2rem;
    margin-right: 0.75rem; /* espacio con el texto */
    flex-shrink: 0;
    filter: invert(49%) sepia(66%) saturate(612%) hue-rotate(132deg) brightness(94%) contrast(88%);
}

.challenge-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.challenge-card.selected {
    border-color: #14b8a6;
    transform: translateY(-8px);
    box-shadow: 0 10px 25px -5px rgba(20, 184, 166, 0.2), 0 8px 10px -6px rgba(20, 184, 166, 0.2);
}

.cta-button {
    background-color: #14b8a6;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    opacity: 0.9;
}

.secondary-button {
    background-color: transparent;
    color: #14b8a6;
    border: 2px solid #14b8a6;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease-in-out;
}

.secondary-button:hover {
    background-color: rgba(20, 184, 166, 0.1);
}

.card {
    background-color: #1f2937;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    color: #9ca3af;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link-active {
    color: #14b8a6;
    font-weight: 600;
}

.tab-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: 1px solid #4b5563;
    border-radius: 0.5rem;
    color: #9ca3af;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.tab-button:hover {
    background-color: #374151;
}

.tab-button.active {
    background-color: #14b8a6;
    border-color: #14b8a6;
    color: white;
}

.cta-button {
    position: relative;
}

.section-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem; /* md:text-4xl */
    }
}

.section-subtitle {
    font-size: 1.125rem; /* text-lg */
    color: #d1d5db; /* text-gray-300 */
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.25rem; /* md:text-xl */
    }
}


.case-study-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.case-study-card.filtered-out {
    opacity: 0;
    transform: scale(0.95);
    order: 1;
    pointer-events: none;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.case-study-card.filtered-in {
    opacity: 1;
    transform: scale(1);
    order: 0;
}

/* Colaboradores */
.partners {
    background-color: #d1d5db;
    padding: 2rem 1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    object-fit: contain;
    transition: transform 0.3s ease;
    max-height: 90px;
    width: auto;
}

/* Logos de las empresas */
.logo-azure {
    max-height: 100px;
    width: auto;
}

.logo-aws {
    max-height: 100px;
    width: auto;
}

.logo-google {
    max-height: 150px;
    width: auto;
}

.logo-ibm {
    max-height: 60px;
    width: auto;
}

.logo-redhat {
    max-height: 350px;
    width: auto;
}

@media screen and (min-width: 768px) {
  .partners-grid {
    gap: 2.5rem;
  }
}

@media screen and (min-width: 1024px) {
  .partners-grid {
    gap: 4rem;
  }
}