/* Estilos personalizados para la sección de APIs */

.api-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 120px;
    justify-content: center;
}

.api-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(0, 123, 255, 0.3);
}

.api-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.api-card:hover img {
    filter: brightness(1.1);
}

.api-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.2;
}

.api-category {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.api-category:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    border-color: rgba(0, 123, 255, 0.2);
}

.api-category .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.api-category:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.api-category h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

.api-category .text-300 {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .api-card {
        min-height: 100px;
        padding: 15px;
    }
    
    .api-card img {
        width: 50px;
        height: 50px;
    }
    
    .api-label {
        font-size: 11px;
    }
    
    .api-category {
        padding: 20px 15px;
    }
    
    .api-category .icon-wrapper {
        width: 60px;
        height: 60px;
    }
}

/* Animación para el carousel */
.carouselTicker__item .api-card {
    margin: 0 15px;
    min-width: 140px;
}

/* Colores específicos para iconos de categorías */
.api-category .text-primary { color: #007bff !important; }
.api-category .text-warning { color: #ffc107 !important; }
.api-category .text-success { color: #28a745 !important; }
.api-category .text-info { color: #17a2b8 !important; }
